Equipment state synchronization method and equipment
By adjusting the feedback information of the control operation on the control device, ensuring that its indication status is consistent with the actual status of the controlled device, the problem of inconsistent status between the control device and the controlled device is solved, and the control accuracy and reliability are improved.
Patent Information
- Application Number
- CN202311184419.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-13
- Publication Date
- 2025-03-14
AI Technical Summary
In the intelligent device control scenario, the indication status of the control device is inconsistent with the actual status of the controlled device, resulting in poor control effect.
By obtaining the state of the controlled device and adjusting the control operation feedback information on the control device when the state changes, to ensure that the indication state is consistent with the actual state.
The control device synchronizes the state of the controlled device, and improves the control accuracy and reliability.
Smart Images

Figure CN119621165A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a method and device for synchronizing device status. Background Art
[0002] With the rapid development of Internet of Things technology, users can install more and more smart devices in various places such as homes and offices to meet their needs. For example, these smart devices may include but are not limited to smart switch panels, smart knobs, smart lights, smart curtains, smart speakers and other devices.
[0003] In some scenarios, some smart devices can control other smart devices, causing the status of the controlled smart devices to change. For example: the smart switch panel can control the turning on or off of the smart light, control the smart light to change the lighting status, etc. Another example: the smart knob can control the brightness of the smart light, control the volume of the smart speaker, etc. In addition, the aforementioned controlled smart devices may also be controlled by the user through other operation entrances (such as: voice commands, applications on the mobile phone, central control screen, etc.), and the status of the controlled smart devices may also change. The status of the smart device is crucial to controlling the smart device. Summary of the invention
[0004] The present application provides a device status synchronization method and device, whereby a control device can synchronize the status of a controlled device, thereby enabling the controlled device to be better controlled by the control device.
[0005] In order to achieve the above objectives, this application adopts the following technical solutions:
[0006] In a first aspect, a device status synchronization method is provided, which is applied to a first device, and the method includes: obtaining the status of a second device, where the status of the second device can be controlled by the first device, as well as by methods other than control by the first device; when the status of the second device is controlled to a first status by methods other than control by the first device, adjusting the operation feedback information of a first control to a first feedback, where the first feedback is used to indicate that the status of the second device is the first status, and the first control is a control included by the first device for controlling the status of the second device.
[0007] Based on the above technical solution, the first device can obtain the state of the second device, and the state of the second device can be controlled by the first device or by methods other than the control of the first device. In this way, the first device is the control device of the second device, and the second device is the controlled device of the first device. When the controlled device is controlled to the first state by methods other than the control of the control device, the control device can adjust the operation feedback information of the control used to control the state of the controlled device to the first feedback, and the first feedback can indicate the first state of the controlled device. In this way, the state synchronization of the controlled device by the control device is achieved, and the problem of inconsistency between the state indicated by the control device and the actual state of the controlled device can be solved, so that the controlled device can be better controlled by the control device.
[0008] In one possible design, the first control is a control included in the first device for controlling the second device to be in a first state; when the state of the second device is controlled to be in the first state by a method other than the control of the first device, the method further includes: adjusting the operation feedback information of the second control to a second feedback, the second feedback is used to indicate that the state of the second device is not in the second state, and the second control is a control included in the first device for controlling the second device to be in the second state. For example: the first control may be button 1 on the smart switch panel, button 1 may control the smart light to be in a reading light state, and the second control may be button 2 on the smart switch panel, button 2 may control the smart light to be in a movie light state. When the state of the smart light is in a reading light state, the smart switch panel may light up the indicator light of button 1 and turn off the indicator light of button 2.
[0009] Based on this design, the first control of the control device is used to control the controlled device to be in the first state, and the second control of the control device is used to control the controlled device to be in the second state, that is, the control device can control the same controlled device to be in different states through different controls. In this way, when the state of the controlled device is in the first state, the operation feedback information of the second control is adjusted to the second feedback, and the second feedback can be used to indicate that the state of the controlled device is not the second state. In other words, in addition to adjusting the operation feedback information of the control used to control the controlled device in the current state, it is also necessary to adjust the operation feedback information of the control that controls the controlled device in other states, so as to avoid the situation where the operation feedback information of multiple controls included in the control device respectively indicates that the controlled device is in different states, while in fact the controlled device is only in one of the states, so that the state indicated by the adjusted control device is consistent with the actual state of the controlled device, so that the controlled device can be better controlled by the control device.
[0010] In a possible design, the method further includes: obtaining the state of a third device, the state of the third device being controllable by the first device and by a method other than the control of the first device; when the state of the third device is controlled to a third state by a method other than the control of the first device, adjusting the operation feedback information of the third control to a third feedback, the third feedback being used to indicate that the state of the third device is a third state, and the third control is a control included by the first device for controlling the state of the third device. Optionally, the third state may be the same as or different from the first state, and the first feedback may be the same as or different from the third feedback.
[0011] Based on this design, the control device can also obtain the state of the third device, and the state of the third device can be controlled by the first device through the third control, or by a method other than the control of the first device. In this way, the first device is the control device of the third device, and the third device is the controlled device of the first device. In other words, the first device can control both the second device and the third device, that is, the first device can control different devices respectively through different controls. When the third device is controlled to the third state by a method other than the control of the first device, the first device adjusts the operation feedback information of the control used to control the state of the third device, that is, the third control, to the third feedback, and the third feedback can be used to indicate that the third device is in the third state. In this way, the state synchronization of the third device is also achieved. When the control device controls multiple controlled devices at the same time, the control device can achieve the state synchronization of these controlled devices, so that the controlled devices can be better controlled by the control device.
[0012] In a possible design, the first control is also used to control the state of the fourth device; before adjusting the operation feedback information of the first control to the first feedback, the method further includes: obtaining the state of the fourth device, the state of the fourth device can be controlled by the first device, and controlled by a method other than the control of the first device; when the state of the fourth device is controlled to the fourth state by a method other than the control of the first device, adjusting the operation feedback information of the first control to the first feedback, the first feedback is also used to indicate that the state of the fourth device is the fourth state. Optionally, the fourth state can be the same as or different from the first state.
[0013] Based on this design, the first control can also control the state of the fourth device, that is, the first control can control the states of multiple devices, that is, the control device can control the states of a group of devices through one control. When the state of the first device is the first state and the state of the fourth device is the fourth state, the operation feedback information of the first control is adjusted to the first feedback, and the first feedback is used to indicate that the first device is in the first state and the fourth device is in the fourth state. In other words, the control device can indicate the states of multiple controlled devices through the operation feedback information of one control, so that a group of controlled devices can be better controlled through the control.
[0014] In a possible design, the state of the second device is acquired at a first moment; the method further includes: acquiring the state of the fifth device at a second moment, the state of the fifth device being controllable by the first device, and being controlled by a method other than the control of the first device; when the state of the fifth device is controlled to the fifth state by a method other than the control of the first device, adjusting the operation feedback information of the first control to a fourth feedback, the fourth feedback being used to indicate that the state of the fifth device is the fifth state, and the first control is a control included by the first device for controlling the state of the fifth device. Optionally, the first moment is different from the second device. The fifth state may be the same as or different from the first state. The first feedback is different from the fourth feedback, for example: taking the damping coefficient of the knob included in the smart knob as the operation feedback information of the first control as an example, the first feedback is different from the fourth feedback, that is, the damping coefficient is different.
[0015] Based on this design, the state of the second device is obtained at the first moment, the state of the fifth device can be obtained at the second moment, and the state of the fifth device can also be controlled by the first control of the first device, that is, the same control of the control device can control the states of different controlled devices at different moments. When the state of the fifth device is controlled to the fourth state by a method other than the control of the first device, the first device can also adjust the operation feedback information of the first control to indicate that the fifth device is in the fourth state. That is, when the control device controls different devices at different moments, the states of different controlled devices can be synchronized, thereby enabling the controlled devices to be better controlled by the control device.
[0016] In a possible design, there is an association relationship between the first control and the first state of the second device, and the association relationship is used for the first device to control the second device to the first state through the first control. Based on this design, the control of the control device is associated with the state of the controlled device, so that the corresponding state of the controlled device can be controlled through the control of the control device based on the association relationship, and the state of the controlled device can be synchronized to the corresponding control of the control device later.
[0017] In a possible design, the first device is one of a smart switch panel and a smart knob; and / or the second device is one of a lighting device, a music player, a smart curtain, a security device, a HVAC device, and a gateway device. The security device includes one or more of a smart door lock, a camera, an alarm, and a sensor; the HVAC device includes one or more of a heating device, a ventilation device, and an air conditioner.
[0018] In one possible design, the first device is an intelligent switch panel, the operation feedback information of the first control is an indicator light of a first button, and the first button is a button included in the intelligent switch panel; or, the first device is an intelligent knob, the operation feedback information of the first control is a damping coefficient of the knob, and the knob is a knob included in the intelligent knob.
[0019] In one possible design, the second device is a lighting device, and the state of the second device includes one or more of an open state, a closed state, a light state, and brightness, and the light state includes one or more of reading light, movie light, sleep-aiding light, leisure light, and warming light; or, the second device is a music playing device, and the state of the second device includes volume; or, the second device is a smart curtain, and the state of the second device includes the degree of opening and closing; or, the second device is an air conditioner, and the state of the second device includes one or more of an open state, a closed state, temperature, and humidity; or, the second device is a heating device, and the state of the second device includes temperature.
[0020] In one possible design, the first device is an intelligent switch panel, the operation feedback information of the first control is an indicator light of a first button, the first button is a button included in the intelligent switch panel, and the second device is a lighting device; when the state of the second device is controlled to the first state by a method other than control by the first device, the operation feedback information of the first control is adjusted to the first feedback, including: when the state of the lighting device is in the on state, the indicator light of the first button is turned on; or, when the state of the lighting device is in the off state, the indicator light of the first button is turned off.
[0021] In a possible design, the obtaining of the state of the second device includes: receiving the state of the second device from a target device, wherein the target device is a device that monitors the state of the second device. Based on this design, the state of the controlled device is monitored by a dedicated device, so that it is possible to timely monitor whether the state of the controlled device has changed, thereby enabling the control device to synchronize the state of the controlled device in a timely manner. In addition, for some control devices with limited configurations, these devices may not be able to monitor the state of the controlled device. In this way, these control devices with limited configurations can obtain the state of the controlled device in a timely manner.
[0022] In one possible design, the target device includes one or more of a whole-house smart host, a whole-house smart light host, a gateway device, and a routing device.
[0023] In one possible design, the method other than controlling by the first device includes one or more of controlling by a device other than the first device and controlling by voice commands.
[0024] In a second aspect, a device status synchronization method is provided, which is applied to a target device, and the method includes: obtaining the status of a second device, where the status of the second device can be controlled by the first device, as well as by methods other than control by the first device; sending the status of the second device to the first device, where the status of the second device is used to adjust operation feedback information of a control, and the adjusted operation feedback information of the control can be used to indicate the status of the second device, where the control is a control included in the first device for controlling the status of the second device.
[0025] In one possible design, before obtaining the state of the second device, the method also includes: obtaining an association relationship between a control included in the first device and the state of the second device, wherein the association relationship is used by the first device to control the second device to a corresponding state through the control.
[0026] In one possible design, sending the status of the second device to the first device includes: sending the status of the second device to the first device according to a change in the status of the second device.
[0027] In a third aspect, a first device is provided, which has the function of implementing the method described in the first aspect and any of the designs thereof. The function can be implemented by hardware, or by hardware executing corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions. In a possible example, the first device includes an acquisition unit (or acquisition module) and a processing unit (or processing module); the acquisition unit is used to acquire the state of the second device, the state of the second device can be controlled by the first device, and the control is controlled by a method other than the control of the first device; the processing unit is used to adjust the operation feedback information of the first control to the first feedback when the state of the second device is controlled to the first state by a method other than the control of the first device. The first feedback is used to indicate that the state of the second device is the first state, and the first control is a control included by the first device for controlling the state of the second device.
[0028] In one possible design, the first control is a control included in the first device for controlling the second device to be in a first state; when the state of the second device is controlled to be in the first state by a method other than the control of the first device, the processing unit is further used to adjust the operation feedback information of the second control to a second feedback, the second feedback is used to indicate that the state of the second device is not in the second state, and the second control is a control included in the first device for controlling the second device to be in the second state. For example: the first control may be button 1 on the smart switch panel, button 1 may control the smart light to be in a reading light state, and the second control may be button 2 on the smart switch panel, button 2 may control the smart light to be in a movie light state. When the state of the smart light is in a reading light state, the smart switch panel may light up the indicator light of button 1 and turn off the indicator light of button 2.
[0029] In one possible design, the acquisition unit is also used to acquire the state of a third device, and the state of the third device can be controlled by the first device, as well as by methods other than control by the first device; the processing unit is also used to adjust the operation feedback information of the third control to a third feedback when the state of the third device is controlled to a third state by methods other than control by the first device, and the third feedback is used to indicate that the state of the third device is the third state, and the third control is a control included by the first device for controlling the state of the third device.
[0030] In one possible design, the first control is also used to control the state of a fourth device; before adjusting the operation feedback information of the first control to the first feedback, the acquisition unit is also used to obtain the state of the fourth device, and the state of the fourth device can be controlled by the first device, as well as by methods other than control by the first device; the processing unit is also used to adjust the operation feedback information of the first control to the first feedback when the state of the fourth device is controlled to the fourth state by methods other than control by the first device, and the first feedback is also used to indicate that the state of the fourth device is the fourth state.
[0031] In one possible design, the state of the second device is acquired at a first moment; the acquisition unit is also used to acquire the state of the fifth device at a second moment, and the state of the fifth device can be controlled by the first device, as well as by methods other than control by the first device; the processing unit is also used to adjust the operation feedback information of the first control to a fourth feedback when the state of the fifth device is controlled to a fifth state by methods other than control by the first device, and the fourth feedback is used to indicate that the state of the fifth device is the fifth state, and the first control is a control included by the first device for controlling the state of the fifth device.
[0032] In one possible design, there is an association relationship between the first control and the first state of the second device, and the association relationship is used by the first device to control the second device to the first state through the first control.
[0033] In a possible design, the first device is one of a smart switch panel and a smart knob; and / or the second device is one of a lighting device, a music player, a smart curtain, a security device, a HVAC device, and a gateway device. The security device includes one or more of a smart door lock, a camera, an alarm, and a sensor; the HVAC device includes one or more of a heating device, a ventilation device, and an air conditioner.
[0034] In one possible design, the first device is an intelligent switch panel, the operation feedback information of the first control is an indicator light of a first button, and the first button is a button included in the intelligent switch panel; or, the first device is an intelligent knob, the operation feedback information of the first control is a damping coefficient of the knob, and the knob is a knob included in the intelligent knob.
[0035] In one possible design, the second device is a lighting device, and the state of the second device includes one or more of an open state, a closed state, a light state, and brightness, and the light state includes one or more of reading light, movie light, sleep-aiding light, leisure light, and warming light; or, the second device is a music playing device, and the state of the second device includes volume; or, the second device is a smart curtain, and the state of the second device includes the degree of opening and closing; or, the second device is an air conditioner, and the state of the second device includes one or more of an open state, a closed state, temperature, and humidity; or, the second device is a heating device, and the state of the second device includes temperature.
[0036] In one possible design, the first device is an intelligent switch panel, the operation feedback information of the first control is an indicator light of a first button, the first button is a button included in the intelligent switch panel, and the second device is a lighting device; when the state of the second device is controlled to the first state by a method other than control by the first device, the operation feedback information of the first control is adjusted to the first feedback, including: when the state of the lighting device is in the on state, the indicator light of the first button is turned on; or, when the state of the lighting device is in the off state, the indicator light of the first button is turned off.
[0037] In one possible design, the acquisition unit may be specifically implemented as a communication unit; the communication unit is used to receive the status of the second device from a target device, and the target device is a device that monitors the status of the second device.
[0038] In one possible design, the target device includes one or more of a whole-house smart host, a whole-house smart light host, a gateway device, and a routing device.
[0039] In one possible design, the method other than controlling by the first device includes one or more of controlling by a device other than the first device and controlling by voice commands.
[0040] In a fourth aspect, a target device is provided, which has the function of implementing the method described in the second aspect and any of the designs thereof. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In a possible example, the target device includes an acquisition unit (or acquisition module) and a communication unit (or communication module); the acquisition unit is used to acquire the state of the second device, the state of the second device can be controlled by the first device, and the control is controlled in a manner other than the control of the first device; the communication unit is used to send the state of the second device to the first device, the state of the second device is used to adjust the operation feedback information of the control, and the adjusted operation feedback information of the control can be used to indicate the state of the second device, and the control is a control included by the first device for controlling the state of the second device. Optionally, the acquisition unit can be specifically implemented as a processing unit or a communication unit.
[0041] In a possible design, before obtaining the status of the second device, the acquisition unit is also used to obtain the association relationship between the controls included in the first device and the status of the second device, and the association relationship is used by the first device to control the second device to a corresponding state through the controls.
[0042] In one possible design, the communication unit is specifically used to send the status of the second device to the first device according to a change in the status of the second device.
[0043] In a fifth aspect, a device is provided, comprising a processor and a memory, wherein the memory is coupled to the processor, the memory is used to store computer program code, the computer program code includes computer instructions, and the processor reads the computer instructions from the memory so that the device executes the method as described in the first aspect or the second aspect and any one of the designs thereof. Optionally, the memory may be coupled to the processor or may be independent of the memory.
[0044] In one possible design, the device further includes a communication interface, which can be used for the device to communicate with other devices. Exemplarily, the communication interface can be a transceiver, an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit, etc.
[0045] In a sixth aspect, a computer-readable storage medium is provided, the computer-readable storage medium comprising a computer program, and when the computer program runs on a device, the device executes the method described in the first aspect or the second aspect and any design thereof.
[0046] In a seventh aspect, a computer program product is provided, the computer program product comprising: a computer program or instructions, when the computer program or instructions are run on a computer, the computer executes the method described in the first aspect or the second aspect and any design thereof.
[0047] In an eighth aspect, a circuit system is provided, the circuit system including a processing circuit, and the processing circuit is configured to execute the method described in any one of the designs of the first aspect or the second aspect.
[0048] In the ninth aspect, a chip system is provided, comprising at least one processor and at least one interface circuit, wherein the at least one interface circuit is used to perform transceiver functions and send instructions to at least one processor, and when the at least one processor executes the instructions, the at least one processor executes the method described in any one of the designs in the first aspect or the second aspect above.
[0049] In a tenth aspect, a communication system is provided, comprising a first device and a second device, wherein the first device and the second device cooperate to implement the method described in the first aspect and any one of the designs thereof. Alternatively, the system comprises a first device, a second device and a target device, wherein the first device, the second device and the target device cooperate to implement the method described in any one of the designs of any one of the above aspects.
[0050] It should be noted that the technical effects brought about by any design in the above-mentioned second to tenth aspects can refer to the technical effects brought about by the corresponding design in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 A schematic diagram of a whole-house smart scene provided in an embodiment of the present application;
[0052] Figure 2 A schematic diagram of the structure of an intelligent switch panel provided in an embodiment of the present application;
[0053] Figure 3 A schematic diagram of a scenario of binding a relay to an intelligent switch panel provided in an embodiment of the present application;
[0054] Figure 4 Interface diagram provided for the embodiment of the present application Figure 1 ;
[0055] Figure 5 A structural schematic diagram of another intelligent switch panel provided in an embodiment of the present application;
[0056] Figure 6 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application;
[0057] Figure 7A schematic diagram of the structure of a control device provided in an embodiment of the present application;
[0058] Figure 8 A schematic diagram of the structure of a central device provided in an embodiment of the present application;
[0059] Fig. 9 A schematic diagram of a scenario in which a smart switch panel controls a smart light according to an embodiment of the present application;
[0060] Fig.10 This is a structural schematic diagram of another intelligent switch panel provided in an embodiment of the present application;
[0061] Fig.11 A schematic diagram of a scenario in which another smart switch panel controls a smart light provided in an embodiment of the present application;
[0062] Fig.12 A schematic diagram of a scenario in which a central control screen controls the state of a smart light provided in an embodiment of the present application;
[0063] Fig.13 A schematic diagram of a process flow of a device status synchronization method provided in an embodiment of the present application;
[0064] Fig.14 Interface diagram provided for the embodiment of the present application Figure 2 ;
[0065] Fig.15 Interface diagram provided for the embodiment of the present application Figure 3 ;
[0066] Fig.16 Interface diagram provided for the embodiment of the present application Figure 4 ;
[0067] Fig.17 Interface diagram provided for the embodiment of the present application Figure 5 ;
[0068] Fig.18 A schematic diagram of a scenario in which a smart knob is used to control a smart light according to an embodiment of the present application;
[0069] Fig.19 A schematic diagram of an interface of a central control screen provided in an embodiment of the present application;
[0070] Fig. 20 A flowchart of another device status synchronization method provided in an embodiment of the present application;
[0071] Fig.21 Interface diagram provided for the embodiment of the present application Figure 6 ;
[0072] Fig. 22 A process diagram of another device status synchronization method provided in an embodiment of the present application;
[0073] Fig.23 Interface diagram provided for the embodiment of the present application Figure 7 ;
[0074] Fig.24 A flowchart of another device status synchronization method provided in an embodiment of the present application;
[0075] Fig.25 A schematic diagram of the structure of a device provided in an embodiment of the present application;
[0076] Fig.26 A schematic diagram of the structure of another device provided in an embodiment of the present application;
[0077] Fig. 27 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0078] The technical solution provided by the embodiments of the present application is described in detail below in conjunction with the accompanying drawings.
[0079] The terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0080] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0081] In the description of this application, unless otherwise specified, the meaning of "plurality" refers to two or more. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0082] It can be understood that in the embodiments of the present application, when the devices communicate with each other, they can communicate directly or forward the communication through other devices.
[0083] At present, various smart devices have entered people's lives. Taking the whole house smart scene as an example, Figure 1 Schematic diagram of the whole-house smart scene provided by the embodiment of the present application. It can be understood that the whole-house smart uses the house as a platform, and integrates facilities related to home life by using various technologies such as integrated wiring technology, network communication technology, security technology, automatic control technology, audio and video technology, etc., and improves the experience of home safety, convenience, comfort and other aspects by building an efficient management system for residential facilities and family schedule affairs.
[0084] like Figure 1 As shown, the whole house includes the entrance corridor, kitchen, dining room, living room, balcony, master bedroom, second bedroom, bathroom, etc. The whole house is equipped with multiple smart devices. Specifically, the kitchen is equipped with rice cookers or electric pressure cookers, gas equipment, smart switch panels, smart lights, etc.; the living room is equipped with smart switch panels, smart knobs, smart speakers, smart lights, smart TVs, routing devices, etc.; the balcony is equipped with smart curtains, etc.; the dining room is equipped with smart switch panels, smart lights, sweeping robots, etc.; the master bedroom is equipped with smart switch panels, smart lights, smart knobs, smart curtains, smart TVs, smart speakers, routing devices, etc.; the second bedroom is equipped with smart switch panels, smart lights, smart table lamps, etc.; the bathroom is equipped with smart switch panels, smart lights, body fat scales, etc.
[0085] Among them, the smart devices in the whole house smart scene can be connected by wired communication or wireless communication. Exemplary, the wired communication method may include but is not limited to power line communication (PLC) and the like. The wireless communication method may include but is not limited to near field communication (NFC), Bluetooth (BT) (for example, traditional Bluetooth or low energy (BLE) Bluetooth), wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Zigbee, frequency modulation (FM), infrared (IR), etc.
[0086] In some scenarios, some smart devices can control other smart devices. In the embodiment of the present application, the smart device that can control other devices is called the control device, and correspondingly, the smart device that can be controlled by the control device is called the controlled device. Taking the control device as a smart switch panel as an example, Figure 2 A schematic diagram of the structure of an intelligent switch panel provided in an embodiment of the present application is shown. Figure 2 As shown, the intelligent switch panel may include one or more buttons ( Figure 2 3 are shown in the figure), such as the left button, the middle button, the right button, etc.
[0087] Currently, the buttons of the smart switch panel support being configured as device switch mode or scene mode. When the button of the smart switch panel is configured as device switch mode, the button controls the controlled device to be turned on or off by triggering the closing or opening of the relay bound to the button. Figure 2 The smart switch panel shown in Figure 3 As shown, each button of the smart switch panel can be bound to a corresponding relay, such as the left button is bound to relay 1, the middle button is bound to relay 2, the right button is bound to relay 3, etc. Each button of the smart switch panel controls the opening or closing of the controlled device by triggering the closing or opening of the bound relay. Figure 3 In the example, the controlled device is a smart light. When the button of the smart switch panel is configured as a scene mode, the button can control the controlled device to execute the setting of a certain scene.
[0088] For example, take configuring the buttons of the smart switch panel through the smart life application installed on the mobile phone as an example. Figure 4 As shown in (1), the mobile phone displays a main interface 400 (or desktop 400), which includes one or more application icons, such as a calendar application icon, a weather application icon, etc., which are not described one by one here. The icons of different applications can be used to open the running interface of the corresponding application and implement the functions of the corresponding application. The one or more application icons include an icon 401 of a smart life application.
[0089] If the mobile phone detects a user clicking on the icon 401 of the smart life application, in response to the clicking operation, such as Figure 4 As shown in (2), the mobile phone displays the operation interface 410 of the smart life application. The operation interface 410 includes one or more cards (or display controls) of smart devices that have been added to the smart life application, such as cards of a TV, a projector, etc., which are not illustrated one by one here. Optionally, smart devices can be added to the smart life application by scanning a code, adding an account, searching, etc., which is not limited in this application.
[0090] The one or more cards of the smart devices added to the smart life application include a card 411 of the smart switch panel. If the mobile phone detects a user clicking on the card 411 of the smart switch panel, in response to the operation, Figure 4As shown in (3), the mobile phone displays the details interface 420 of the smart switch panel. The details interface 420 includes configuration options of one or more buttons included in the smart switch panel, such as left button configuration option 421, middle button configuration option, right button configuration option, etc. The button configuration option can be used to configure the mode of the corresponding button.
[0091] Taking the left key configuration option 421 as an example, the mobile phone detects a user's click operation on the left key configuration option 421, and responds to the operation, such as Figure 4 As shown in (4), the mobile phone displays a key setting interface 430, wherein the key setting interface 430 includes a device switch option 431 and a scene option 432. The key switch option 431 can be used to set the left key of the smart switch panel to a device switch mode, and the scene option 432 can be used to set the left key of the smart switch panel to a scene mode. Figure 4 The middle button configuration option shown in (3) configures the middle button of the smart switch panel to device switch mode or scene mode, such as Figure 4 The right button configuration option shown in (3) configures the right button of the smart switch panel to device switch mode or scene mode.
[0092] Optionally, the button configuration interface 430 may further include a button association option 433, which may be used to associate the left button of the smart switch panel with the controlled device, so as to control the controlled device through the left button of the smart switch panel.
[0093] For example, when the left button of the smart switch panel is associated with the corridor light, when the left button of the smart switch panel is configured as the device switch mode, the left button of the smart switch panel can control the corridor light to turn on or off by triggering the closing or disconnection of the relay bound to the left button. When the left button of the smart switch panel is configured as the scene mode, the left button of the smart switch panel can control the corridor light to execute the setting of a certain scene. For example, when the set scene is "When the left button of the smart switch panel is pressed, turn on the corridor light, use the smart speaker to play voice, and open the smart curtains", the left button of the smart switch panel can control the corridor light to execute the setting of the scene.
[0094] Currently, each button on the intelligent switch panel is equipped with an indicator light, such as Figure 2 When the buttons on the smart switch panel are configured as device switch mode, the state of the indicator light of each button is associated with the relay bound to the button. For example, when the relay is disconnected, the indicator light is off. When the relay is closed, the indicator light is on. This may cause the state indicated by the smart switch panel to be inconsistent with the state of the controlled device. For example, if the controlled device is a smart lamp, Figure 3As shown, when the device controlled by the smart switch panel is a smart light, the relay is generally required to be in a closed state. Because once the relay is in an open state, the smart light cannot be controlled through other operation entrances such as applications (APP), scenes, and voice. Therefore, in this solution, since the relay is always in a closed state, the button indicator light on the smart switch panel is always in an on state, and the smart light may be controlled through the aforementioned other methods. The state indicated by the smart switch panel may not be consistent with the actual switch state of the smart light, and therefore cannot indicate the state of the smart light.
[0095] When the buttons on the smart switch panel are configured as scene modes, the indicator lights on the smart switch panel are always off. Therefore, the status of the smart light cannot be indicated.
[0096] In addition, the above is an example of a smart switch panel with three buttons. Currently, there are smart switch panels with more than three buttons, such as a smart switch panel with four buttons, a smart switch panel light with six buttons, etc. For example, Figure 5 The schematic diagram of the structure of a four-button smart switch panel provided by an embodiment of the present application is shown. Among them, for a smart switch panel with more than three buttons, only three of the buttons are bound to corresponding relays, and the remaining buttons are not bound to relays. For example: Figure 5 The buttons 1, 2, and 3 on the smart switch panel are bound to corresponding relays, but the button 4 is not bound to a corresponding relay. Therefore, the button indicator lights on the smart switch panel, such as indicator light 500, cannot be associated with the open state or closed state of the relay, and thus cannot indicate the state of the relay.
[0097] Based on this, an embodiment of the present application provides a device status synchronization method, in which a control device can synchronize the status of a controlled device, thereby solving the problem of inconsistency between the status indicated by the control device and the actual status of the controlled device, so that the controlled device can be better controlled by the control device.
[0098] The technical solution provided in the embodiments of the present application can be applied to scenarios in which various control devices control controlled devices, such as but not limited to scenarios in which smart switch panels control smart lights, scenarios in which smart knobs control smart lights, or smart speakers, or smart curtains, etc., and scenarios in which other control devices control controlled devices.
[0099] For example, Figure 6 The schematic diagram of the architecture of a communication system to which a device status synchronization method is applied according to an embodiment of the present application is shown. Figure 6As shown, the communication system 600 includes a control device 601 (which may be referred to as a first device) and one or more controlled devices 602 (which may be referred to as a second device) ( Figure 6 Only 3 are shown).
[0100] Among them, a communication connection is established between the control device 601 and the controlled device 602. Optionally, a communication connection may be established between different controlled devices 602, or a communication connection may not be established. Optionally, the communication connection may include but is not limited to a connection established by a limited communication method and / or a wireless communication method. The wired communication method may include but is not limited to PLC, etc. The wireless communication method may include but is not limited to short-range wireless communication NFC, Bluetooth (for example, traditional Bluetooth or low-power Bluetooth), WLAN (such as Wi-F network), Zigbee, FM, IR, a wide area network transferred by a relay device, etc.
[0101] Exemplarily, when the communication technology is the above-mentioned wide area network, the communication technology can be a third-generation wireless telephone technology (3G) network, a fourth-generation mobile communication technology (4G) network, a fifth-generation mobile communication technology (5G) network, a future evolved public land mobile network (PLMN) or the Internet, etc.
[0102] In some embodiments, both the control device 601 and the controlled device 602 support a proximity discovery function. Exemplarily, after the control device 601 approaches the controlled device 602, the control device 601 and the controlled device 602 can discover each other, and then establish a wireless communication connection such as a Wi-Fi peer-to-peer (P2P) connection, a Bluetooth connection, etc. After the wireless communication connection is established, the control device 601 and the controlled device 602 can implement signal interaction through the wireless communication connection.
[0103] In some embodiments, the control device 601 and the controlled device 602 establish a wireless communication connection via a local area network. For example, the control device 601 and the controlled device 602 are connected to the same router.
[0104] In some embodiments, the control device 601 and the controlled device 602 establish a wireless communication connection through a cellular network, the Internet, etc. For example, the controlled device 602 accesses the Internet through a router, and the control device 601 accesses the Internet through a cellular network; then, the control device 601 and the controlled device 602 establish a wireless communication connection.
[0105] After the control device 601 establishes a communication connection with the controlled device 602, the control device 601 can control the controlled device 602. In some embodiments, the control device 601 can control the state of the controlled device 602 to change. In other embodiments, the control device 601 can synchronize the state of the controlled device 602.
[0106] Optionally, in the embodiment of the present application, the control device 601 and / or the controlled device 602 may be a smart home device, a smart city device, a vehicle-mounted device, a mobile phone, a tablet computer, a laptop computer, a netbook, a personal digital assistant (PDA), a wearable device, an artificial intelligence (AI) device, an augmented reality (AR) device, a virtual reality (VR) device, etc., and smart home devices include, but are not limited to, smart switch panels, smart knobs, audio and video devices (such as large-screen devices, speakers, etc.), lighting system equipment (such as desk lamps, electric lights, etc.), environmental control equipment (such as air purifiers, sweeping robots, etc.), security system equipment (such as cameras, smart door locks, etc.), kitchen appliances (such as ovens, dishwashers, etc.), smart sensors, etc.
[0107] Optionally, the control device 601 and the controlled device 602 may be devices of the same type or devices of different types. Figure 6 In the figure, the control device 601 is a smart switch panel, and at least one controlled device 602 is a smart speaker, a smart curtain, and a smart lamp.
[0108] The operating systems installed on the control device 601 and / or the controlled device 602 may include but are not limited to: Or other operating systems. The control device 601 and / or the controlled device 602 may not have an operating system installed. In some embodiments, the control device 601 and / or the controlled device 602 may be a fixed device or a portable device. This application does not limit the specific type of the control device 601 and / or the controlled device 602, whether an operating system is installed, and the type of operating system when an operating system is installed.
[0109] In some embodiments, Figure 6The communication system 600 shown may also include a hub device 603 (which may be referred to as a target device), which may monitor the status of the controlled device 603, and the hub device 603 may also send the monitored status of the controlled device 602 to the control device 601, so that the control device 601 can synchronize the status of the controlled device 602. Exemplarily, the hub device 603 may include, but is not limited to, a whole-house smart host, a whole-house smart light host, a routing device, a gateway device, an AI device, a smart city device, a laptop computer, a smart screen, a personal computer (PC), a server, and other devices. The server may be a device or network device with computing functions such as a cloud server or a network server. The server may be a single server, a server cluster consisting of multiple servers, or a cloud computing service center. Figure 6 In the figure, the central device 603 is shown as the whole-house smart host.
[0110] The operating system installed on the hub device 603 may include but is not limited to Or other operating systems. The hub device 603 may not have an operating system installed. In some embodiments, the hub device 603 may be a fixed device or a portable device. The present application does not limit the specific type of the hub device 603, whether an operating system is installed, or the type of operating system if an operating system is installed.
[0111] Optionally, a connection may be established between the central device 603 and the control device 601, and between the central device 603 and the controlled device 602, via a wired communication method or a wireless communication method. For an introduction to the wired communication method and the wireless communication method, please refer to the above description.
[0112] It can be understood that in this embodiment, the central device 603 monitors the state of the controlled device 602 and synchronizes the monitored state of the controlled device 602 to the control device 601. In other embodiments, the function of the central device 603 can also be integrated into the controlled device 601, that is, the controlled device 601 can also monitor and synchronize the state of the control device 602.
[0113] Optional, Figure 6 The simplified schematic diagram is provided for ease of understanding. In actual applications, the above system may further include other devices which are not shown in the figure.
[0114] For example, taking the control device 601 as an intelligent switch panel, Figure 7 A schematic diagram of the structure of a control device 601 provided in an embodiment of the present application is shown.
[0115] The control device 601 may include a processor 710 , a memory 720 , a universal serial bus (USB) interface 730 , a charging management module 740 , a power management module 741 , a battery 742 , an antenna, a communication module 750 , a button 760 , and an indicator 770 .
[0116] The processor 710 may include one or more processing units, for example, the processor 710 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0117] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0118] The processor 710 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 710 is a cache memory. The memory may store instructions or data that the processor 710 has just used or cyclically used. If the processor 710 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 710, and thus improves the efficiency of the system.
[0119] In some embodiments, the processor 710 may include one or more interfaces, such as a USB interface 730 .
[0120] The charging management module 740 is used to receive charging input from a charger, where the charger can be a wireless charger or a wired charger.
[0121] The power management module 741 is used to connect the battery 742, the charging management module 740 and the processor 710. The power management module 741 receives input from the battery 742 and / or the charging management module 740, and supplies power to the processor 710, the memory 720, and the communication module 750. In some other embodiments, the power management module 741 may also be disposed in the processor 710. In some other embodiments, the power management module 741 and the charging management module 740 may also be disposed in the same device.
[0122] The communication function of the control device 601 can be implemented through an antenna, a communication module 750, etc.
[0123] The antenna is used to transmit and receive electromagnetic wave signals. Each antenna in the control device 601 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna. For example, the antenna can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0124] The communication module 750 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the control device 601. The communication module 750 can be one or more devices integrating at least one communication processing module. The communication module 750 receives electromagnetic waves via an antenna, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 710. The communication module 750 can also receive the signal to be sent from the processor 710, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna.
[0125] In some embodiments of the present application, the communication module 750 may be used to send control instructions to the controlled device to control the controlled device. In other embodiments of the present application, the communication module 750 may also be used to receive the status of the controlled device from the hub device.
[0126] In some embodiments, the antenna of the control device 601 is coupled to the communication module 750, so that the control device 601 can communicate with the network and other devices (such as but not limited to controlled devices, hub devices, etc.) through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0127] The memory 720 can be used to store computer executable program codes, which include instructions. The memory 720 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, at least one application required for a function, etc. The data storage area may store data created during the use of the control device 601, etc. In addition, the memory 720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 710 executes various functional applications and data processing of the control device 601 by running instructions stored in the memory 720 and / or instructions stored in a memory provided in the processor.
[0128] The button 760 includes a power button, a volume button, etc. The button 760 may be a mechanical button. It may also be a touch button. The control device 601 may receive a button input and generate a key signal input related to the user settings and function control of the control device 601. In some embodiments of the present application, the control device 601 may include one or more buttons 760, and different buttons 760 may be used to control different controlled devices. Alternatively, different buttons 760 may also be used to control the same controlled device.
[0129] The indicator 770 may be an indicator light, an indicator screen (such as a text display screen), or other indication information. In some embodiments of the present application, the indicator 770 may be used to indicate the state of the controlled device.
[0130] The above is merely an example of the structure of the control device 601 in the embodiment of the present application, but does not constitute a limitation on the structure and form of the control device 601. The embodiment of the present application does not limit the structure and form of the control device 601. For example, the structure of the control device 601 may also be such as Figure 8 The form of the central device 603 is not limited to this application.
[0131] In other embodiments of the present application, the control device 601 may include more or fewer components than those shown in the figure, for example, the control device 601 may also include one or more of a motor, a display screen, an audio module, etc. Or some components may be combined, or some components may be separated, or different component arrangements may be used. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0132] Optionally, the hub device 603 in the embodiment of the present application can be implemented by different devices. Figure 8 This can be achieved by using the devices in the Figure 8 The hardware structure diagram of the central device 603 provided in the embodiment of the present application is shown in FIG. The central device 603 includes at least one processor 801 , a communication line 802 , a memory 803 and at least one communication interface 804 .
[0133] The processor 801 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0134] In some embodiments of the present application, the processor 801 may be configured to monitor the status of a controlled device.
[0135] The communication link 802 may include a pathway to transmit information between the above-mentioned components.
[0136] The communication interface 804 is used to communicate with other devices (such as including but not limited to control devices, controlled devices, etc.). In an embodiment of the present application, the communication interface can be a module, a circuit, a bus, an interface, a transceiver or other device that can realize the communication function, which is used to communicate with other devices. Optionally, when the communication interface is a transceiver, the transceiver can be an independently arranged transmitter, which can be used to send information to other devices, and the transceiver can also be an independently arranged receiver for receiving information from other devices. The transceiver can also be a component that integrates the functions of sending and receiving information. The embodiment of the present application does not limit the specific implementation of the transceiver. In some embodiments of the present application, the communication interface 804 can be used to receive the state of the controlled device. In other embodiments of the present application, the communication interface 804 can also be used to send the state of the controlled device to the control device.
[0137] The memory 803 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 803 may exist independently and be connected to the processor 801 via the communication line 802. The memory 803 may also be integrated with the processor 801.
[0138] The memory 803 is used to store computer-executable instructions for implementing the solution of the present application, and the execution is controlled by the processor 801. The processor 801 is used to execute the computer-executable instructions stored in the memory 803, thereby implementing the method provided in the embodiment of the present application.
[0139] In some embodiments of the present application, the memory 803 may be used to store an association relationship between states of a control device and a controlled device.
[0140] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, instructions, computer program or other names, which are not specifically limited in the embodiments of the present application.
[0141] In a specific implementation, as an embodiment, the processor 801 may include one or more CPUs, such as Figure 8 CPU0 and CPU1 in.
[0142] In a specific implementation, as an embodiment, the hub device 603 may include multiple processors, such as Figure 8 801 and processor 805 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0143] The above-mentioned central device 603 can be a general device or a special device. The embodiment of the present application does not limit the type of the central device 603. The central device 603 can be a device having Figure 8 Devices of similar structure.
[0144] It is understandable that the structure shown in the embodiment of the present application does not constitute a specific limitation on the central device 603. In other embodiments of the present application, the central device 603 may include Figure 8 More or fewer components are shown, or some components are combined, or some components are separated, or different component arrangements are arranged. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0145] Optionally, the structure of the controlled device 602 may refer to the implementation of the control device 601 and / or the central device 603. Optionally, the controlled device 602 may include Figure 7 The control device 601 shown, and / or Figure 8 The hub device 603 shown has more or fewer components, or combines some components, or splits some components, or replaces some components, or arranges components differently. The components shown can be implemented in hardware, software, or a combination of software and hardware.
[0146] The technical solutions involved in the following embodiments can all be implemented in Figure 7 , Figure 8 The device of the structure shown, and Figure 6 The system is implemented in the system with the architecture shown.
[0147] It is understood that in the following embodiments, the control device, the controlled device, and / or the central device can perform some or all of the steps in the embodiments of the present application, and these steps or operations are only examples. The embodiments of the present application can also perform other operations or variations of various operations. In addition, the various steps can be performed in different orders presented in the embodiments of the present application, and it is possible that not all operations in the embodiments of the present application need to be performed.
[0148] The embodiment of the present application provides a device state synchronization method, where the control device can synchronize the state of the controlled device. For example: including but not limited to controlling the controlled device through the control device so that the state of the controlled device changes, or controlling the controlled device through other entrances other than the control device (such as but not limited to voice commands, central control screen, application, etc.) so that the state of the controlled device changes, the control device can synchronize the state of the controlled device, which can solve the problem of inconsistency between the state indicated by the control device and the actual state of the controlled device, so that the controlled device can be better controlled by the control device.
[0149] It can be understood that in the embodiment of the present application, the controlled device can be a single device or a collection of multiple devices.
[0150] The following describes the device status synchronization method provided in the embodiment of the present application in conjunction with specific scenarios.
[0151] Scenario 1: The smart switch panel synchronizes the status of the smart lamp (or lighting equipment).
[0152] Optionally, in this scenario, a smart light may refer to a single light (or a single lighting device), or a set of multiple lights (or a set of multiple lighting devices). Exemplarily, the state of a smart light may include but is not limited to one or more of an on state, an off state, a lighting state (or a lighting mode), etc. The lighting state may refer to the brightness, color temperature, color, etc. of the smart light. In some embodiments, the lighting state may be divided according to the lighting parameters of the smart light (such as including but not limited to brightness, color temperature, color, etc.). Optionally, when the lighting parameters of the smart light are different, the corresponding lighting state is different. For example, the lighting state may include but is not limited to one or more of reading light, meeting light, movie light, sleep-aiding light, leisure light, and warming light.
[0153] In some embodiments, the lighting state can be defined based on multiple lighting devices (such as some or all of the lighting devices) included in the space (such as: master bedroom, second bedroom, living room, bathroom, kitchen, balcony, entrance corridor, dining room, etc.). In other words, the lighting state corresponds to the space. The lighting state corresponding to a space may refer to the lighting effect constituted by the various lighting devices included in the same space. At the same time, a space can correspond to a lighting state. For example: taking the lighting state of reading light as an example, when the lighting parameters of each lighting device included in a space (such as including but not limited to brightness, color temperature, color, etc.) meet the corresponding standards set for reading light, the lighting state of the space is reading light. Similarly, the settings of other lighting states can refer to the aforementioned reading light settings. Optionally, under the same lighting state, the lighting parameters of each lighting device included in a space may be the same or different.
[0154] In other embodiments, the lighting state can also be defined based on a single lighting device. In other words, the lighting state corresponds to the lighting device. The lighting state corresponding to a certain lighting device may refer to the lighting effect constituted by the lighting parameters of the lighting device. For example: still taking the lighting state of reading light as an example, when the parameters of a certain lighting device (such as but not limited to brightness, color temperature, color, etc.) meet the corresponding standards set for reading light, the lighting state of the lighting device is reading light. When the parameters of the lighting device meet the corresponding standards set for meeting light, the lighting state of the lighting device is meeting light. The same applies to other lighting states. Optionally, for different lighting devices, the types and numbers of divided lighting states may be the same or different.
[0155] In some embodiments, the smart switch panel can control the state of the smart light by pressing a button, so that the state of the smart light changes. Figure 2 The smart switch panel shown is exemplary. Fig. 9 The following is a schematic diagram of a scenario in which an intelligent switch panel provided by an embodiment of the present application controls an intelligent light. For example, the left button of the intelligent switch panel can control the turning on or off of the light. Fig. 9 As shown in (1), the user presses the left button of the intelligent switch panel. In response to this operation, the intelligent switch panel controls the console light to turn on. Fig. 9 As shown in (2), the desk lamp is in the on state. Accordingly, the intelligent switch panel can synchronize the state of the desk lamp, such as the intelligent switch panel can switch the state of the desk lamp currently indicated to the on state. Taking the intelligent switch panel indicating the state of the desk lamp through the indicator light 200 on the left button as an example, the indicator light 200 on the left button of the intelligent switch panel can be as follows: Fig. 9 The extinguishing state shown in (1) is switched to Fig. 9 The lighting state shown in (3) in the figure.
[0156] Further, such as Fig. 9 As shown in (3), when the user presses the left button of the intelligent switch panel again, in response to the operation, the intelligent switch panel controls the console light to turn off. Fig. 9 As shown in (4), the desk lamp is in the off state. Correspondingly, the intelligent switch panel can also synchronize the state of the desk lamp, such as the intelligent switch panel can switch the state of the desk lamp currently indicated to the off state. Taking the intelligent switch panel indicating the state of the desk lamp through the indicator light 200 on the left button as an example, the indicator light 200 on the left button of the intelligent switch panel can be Fig. 9 The lighting state shown in (3) switches back to Fig. 9 The extinguished state shown in (1).
[0157] In other embodiments, the state of the smart light can be controlled through other operation entrances other than the smart switch panel, so that the state of the smart light changes. Exemplarily, the other operation entrances may include but are not limited to voice commands, applications installed on other devices (such as but not limited to smart life), central control screen, etc.
[0158] Taking voice commands as an example, users respond to presentations such as Fig. 9 In the example shown in (4) above, if a voice command "turn on the light" is input to the desk lamp in the off state, the desk lamp can be turned on as follows in response to the voice command: Fig. 9 The closed state shown in (4) is switched to Fig. 9 Accordingly, the smart switch panel can further synchronize such as Fig. 9 The intelligent switch panel can switch the current indicated state of the desk lamp to the on state. Taking the intelligent switch panel indicating the state of the desk lamp through the indicator light 200 on the left button as an example, the indicator light on the left button of the intelligent switch panel can be as follows: Fig. 9 The off state shown in (1) is switched to Fig. 9 The lighting state shown in (3) in the figure.
[0159] Understandably, Fig. 9 The scenario shown is based on the example of the smart switch panel controlling the on / off state of the smart light. In other embodiments, the smart switch panel can not only control the on / off state of the smart light, but also control the light state of the smart light. Fig.10 FIG. 2 shows a schematic diagram of the structure of another intelligent switch panel provided in an embodiment of the present application. Fig.10 As shown, the smart switch panel can include 4 buttons, namely button 1, button 2, button 3, button 4, etc. Among them, button 1 can be used to control the smart light to turn on, button 2 can control the smart light to turn off, button 3 can control the light state of the smart light to be a movie light, and button 4 can control the light state of the smart light to be a reading light, etc. It can be understood that Fig.10 The example in which the intelligent switch panel includes four buttons is taken. In actual applications, the intelligent switch panel may also include more or fewer buttons.
[0160] Combination Fig.10 The smart switch panel shown is exemplary. Fig.11 FIG. 2 shows a schematic diagram of another scenario in which an intelligent switch panel provided in an embodiment of the present application controls an intelligent light. Fig.11 As shown in (1), the user can perform an operation such as clicking on the button 1 of the smart switch panel. In response to the operation, the smart switch panel controls the living room light group to turn on. Fig.11 As shown in (2), the living room light group is in the on state. Accordingly, the smart switch panel can synchronize the state of the living room light group, such as the smart switch panel can indicate that the state of the living room light group is on. For example, the smart switch panel indicates the state of the living room light group through the text display on button 1, the text display on the smart switch panel button 1 can be Fig.11 The extinguishing state shown in (1) is switched to Fig.11 The lighting state shown in (3) in the figure.
[0161] Understandably, Fig.11 The state of the smart switch panel shown in (1) is an example in which the text display screen of the smart switch panel is off by default when the smart switch panel has not controlled the state of the living room lamp group. In other implementations, the text display screen of the smart switch panel can also be lit by default, or part of it can be lit by default, etc., and the present application embodiment does not limit this.
[0162] Furthermore, when the user wants to switch the state of the living room light group, such as Fig.11 As shown in (3), the user performs an operation such as clicking on the button 3 of the smart switch panel. In response to the operation, the smart switch panel controls the state of the living room light group to switch to the movie viewing light state. Fig.11 As shown in (4), the living room light group is in the movie watching light state. Accordingly, the smart switch panel can further synchronize the state of the living room light group, such as the smart switch panel switches the current state of the living room light group to the movie watching light state. Taking the example of the smart switch panel indicating the state of the living room light group through the text display on button 3, the smart switch panel can be Fig.11 The indication status shown in (3) is switched to Fig.11 The indication state shown in (5) is that the intelligent switch panel turns off the "Lights on" text display screen on button 1 and lights up the "Movie light" text display screen on button 3.
[0163] In other embodiments, when the state of the living room light group is controlled through other operation entrances other than the smart switch panel, if the state of the living room light group changes, the smart switch panel can also synchronize the state of the living room light group. Fig.12 As shown in (1), the central control screen can display the control interface 1200 of the living room light group, wherein the control interface 1200 may include one or more light status options, such as the light all on option, the light all on option, the reading light option, the movie light option, etc. If the central control screen detects a user clicking operation on the reading light option 1201, in response to the operation, the central control screen controls the state of the living room light group to switch to the reading light state. At this time, the living room light group can be Fig.11 The viewing light state shown in (4) is switched to Fig.12 The reading light state shown in (2) in FIG. Accordingly, the intelligent switch panel can further synchronize such as Fig.12 The state of the living room light group shown in (2) is shown in the figure. For example, the smart switch panel can switch the state of the living room light group currently indicated to the reading light state. Taking the text display screen on the tube button 4 of the smart switch panel to indicate the state of the living room light group as an example, the smart switch panel can be Fig.11 The indication status shown in (5) is switched to Fig.12 The indication state shown in (3) is that the intelligent switch panel turns off the "movie viewing light" text display screen on button 3 and lights up the "reading light" text display screen on button 4.
[0164] Optionally, in a Fig.12 The control interface 1200 shown in (1) can also display one or more light groups included in the living room light group, such as a sofa light group, a ceiling light group, a light strip group, a spotlight group, etc., as well as the parameters of these light groups (such as brightness) details, etc. The implementation of this application will not go into detail about these contents.
[0165] In this scenario, Fig.13 FIG. 1 is a flow chart of a device status synchronization method provided by an embodiment of the present application. Fig.13 As shown, the method comprises the following steps:
[0166] S1301. Configure the association between the buttons of the smart switch panel and the states of the smart lights.
[0167] Optionally, the smart switch panel may be provided with a single button or multiple buttons. When the smart switch panel is provided with a single button, step S1301 may also be described as configuring the association relationship between the smart switch panel and the state of the smart light. When the smart switch panel is provided with multiple buttons, the association relationship between each button and the state of the smart light may be configured among some or all of the buttons of the smart switch panel. Optionally, the association relationship between each button and different states of the same smart light may be configured, and the association relationship between each button and the same or different states of different smart lights may also be configured.
[0168] In some embodiments, different buttons of the configurable smart switch panel may be associated with the same state of different smart lights (such as but not limited to a single light, a light group, etc.). Figure 2 Taking the smart switch panel shown as an example, the left button of the smart switch panel can be configured to associate the on and off states of the corridor light group, the middle button of the smart switch panel can be configured to associate the on and off states of the bathroom light group, and the right button of the smart switch panel can be configured to associate the on and off states of the bedside light group.
[0169] In other embodiments, different buttons on the smart switch panel may be configured to associate with different states of the same smart light. Fig.10 Taking the smart switch panel shown as an example, you can configure the association relationship between button 1 of the smart switch panel and the on state of the master bedroom light group, the association relationship between button 2 of the smart switch panel and the off state of the master bedroom light group, the association relationship between button 3 of the smart switch panel and the movie-watching light state of the master bedroom light group, and the association relationship between button 4 of the smart switch panel and the reading light state of the master bedroom light group.
[0170] In some other embodiments, the association relationship between different buttons of the smart switch panel and different states of different smart lights can also be configured. Fig.10 Taking the smart switch panel shown as an example, the association relationship between button 1 of the smart switch panel and the on state of the corridor light group, the association relationship between button 2 of the smart switch panel and the off state of the bathroom light group, the association relationship between button 3 of the smart switch panel and the movie-watching light state of the master bedroom light group, and the association relationship between button 4 of the smart switch panel and the reading light state of the master bedroom light group can be configured.
[0171] The following describes the process of configuring the association between the buttons of the smart switch panel and the states of the smart lights.
[0172] In some embodiments, the association between the buttons of the smart switch panel and the states of the smart lights can be configured by a device capable of managing the smart switch panel and the smart lights. Exemplarily, the device may include but is not limited to a mobile phone, a tablet computer, a hub device, a central control screen, a smart switch panel, and other devices.
[0173] Taking a mobile phone as an example, the mobile phone can configure the association between the buttons of the smart switch panel and the status of the smart light through the application used to manage the control device and the controlled device. Figure 2 The smart switch panel shown and Figure 4 The key setting interface 430 shown in (3) is used to configure Figure 2 The process of associating the buttons of the smart switch panel and the status of the smart lights is introduced.
[0174] If the mobile phone detects that the user Figure 4 In response to the click operation of the left key configuration option 421 shown in (3), the mobile phone may display a Fig.14 The button setting interface 1400 shown in (1) of FIG. 1400 may include a subsystem option 1401. For an introduction to other contents in the button setting interface 1400, please refer to Figure 4 The introduction of the corresponding content in the interface shown in (4) will not be repeated here.
[0175] It is understandable that in some scenarios, the devices installed in the whole house environment can be classified into different subsystems based on the family function attributes. In other words, the devices in the whole house can be managed by means of subsystems. Exemplarily, the subsystems in the whole house smart scene may include but are not limited to one or more of a lighting subsystem, a sunshade subsystem, a security subsystem, a cold and warm fresh air subsystem, a whole house music subsystem, a network subsystem, an energy consumption subsystem, a water use subsystem, a home appliance / home furniture subsystem, etc. Optionally, one or more devices may be included in each subsystem, and each subsystem can manage the devices located in its respective system. It is understandable that the type and number of devices included in each subsystem are not specifically limited in the embodiments of the present application.
[0176] If the mobile phone detects a user clicking operation on subsystem option 1401, in response to the operation, the mobile phone may present a Fig.14 The subsystem interface 1410 shown in (2) in FIG. The subsystem interface 1410 may include one or more spaces, and each space corresponds to one or more subsystems ( Fig.14 (2) shows only the lighting subsystem and sunshade subsystem included in the master bedroom, as well as one or more atomic capabilities provided by these subsystems, such as the atomic capabilities of light groups and light states provided by the lighting subsystem, the atomic capabilities of curtain groups provided by the sunshade subsystem (not shown in the figure), etc. It can be understood that the atomic capability can refer to the description of the functions of the devices included in the subsystem after atomization.
[0177] In some embodiments, devices with the same functions in different spaces can be classified into the subsystems corresponding to the respective spaces. In other words, different spaces correspond to their own subsystems. For example, the master bedroom corresponds to lighting subsystem 1, the living room corresponds to lighting subsystem 2, the dining room corresponds to water subsystem 1, the bathroom corresponds to water subsystem 2, and so on.
[0178] In other embodiments, devices with the same functions in different spaces may also belong to the same subsystem. That is, different spaces may correspond to the same subsystem. For example, the master bedroom, living room, and dining room all correspond to the lighting subsystem 3. The bathroom and dining room all correspond to the water subsystem 3.
[0179] Understandably, Fig.14 The subsystem shown in the subsystem interface 1410 shown in (2) can be a subsystem corresponding to the master bedroom alone, or a subsystem corresponding to the master bedroom and other spaces. In other embodiments, the subsystem interface may not include subsystems such as Fig.14 The classification of each space shown in (2) can also be presented in the subsystem interface, such as Fig.14 The subsystem interface 1420 shown in (3) in FIG. 1420 may include one or more subsystems corresponding to multiple spaces (eg, the entire house). Fig.14 (3) also only shows the lighting subsystem and the sunshade subsystem), as well as one or more atomization capabilities provided by these subsystems.
[0180] In some other embodiments, when different spaces correspond to their own subsystems, the subsystem interface may also display only the subsystems related to the space. Figure 2 The smart switch panels shown are subsystems in the same space. For example, when the smart switch panel is installed in the living room, the subsystem interface can only display the subsystems corresponding to the living room and the atomic capabilities provided by these subsystems.
[0181] It will be understood that the above is only an example of the subsystem interface involved in the embodiment of the present application. In actual applications, the subsystem interface may include more or less content, or other implementation methods.
[0182] by Fig.14 Taking the subsystem interface 1410 shown in (2) as an example, the mobile phone detects an operation such as a user selecting the light group option 1411. In response to the operation, the mobile phone can establish an association relationship between the left button of the smart switch panel and the on state and the off state (which can be simply referred to as the switch state) of the living room light group (such as a set consisting of chandeliers, sofa light groups, light strip groups, ceiling light groups, etc. installed in the living room).
[0183] by Fig.14Taking the subsystem interface 1420 shown in (3) as an example, the mobile phone detects an operation such as a user selecting the light group option 1421. In response to the operation, the mobile phone can establish an association between the left button of the smart switch panel and the on and off states of the whole house light group (a collection of light groups in various spaces in the house, such as the living room light group, kitchen light group, dining room light group, bathroom light group, master bedroom light group, second bedroom light group, etc.).
[0184] Similarly, the mobile phone can also be configured in a similar manner as described above. Figure 2 The relationship between other buttons (such as the middle button, right button, etc.) of the smart switch panel and the on and off states of the smart light is shown.
[0185] Understandably, Fig.14 The embodiment shown is that the intelligent switch panel is presented as Figure 2 The form shown in the figure takes the buttons of the smart switch panel and the on and off states of the smart light as an example. Fig.10 The smart switch panel shown and Figure 4 Taking the operation interface 410 shown in (2) as an example, for configuration such as Fig.10 The process of associating the buttons of the smart switch panel and the status of the smart lights is introduced.
[0186] If the mobile phone detects a user clicking on the card 411 of the smart switch panel, in response to the operation, such as Fig.15 As shown in (1), the mobile phone can display the details interface 1500 of the smart switch panel. The details interface 1500 includes configuration options of one or more buttons included in the smart switch panel, such as button 1 configuration option 1501, button 2 configuration option, button 3 configuration option, button 4 configuration option, etc. These button configuration options can be used to configure the association relationship between the corresponding button and the state of the smart light.
[0187] Taking the button 1 configuration option 1501 as an example, the mobile phone detects a user clicking the button 1 configuration option 1501, and responds to the operation, such as Fig.15 As shown in (2), the mobile phone displays a button setting interface 1510. Similarly, the button setting interface 1510 may also include a subsystem option 1511. For an introduction to the subsystem option 1511, please refer to Fig.14 Related introduction to subsystem option 1401 shown in (1).
[0188] The mobile phone detects a user's click operation on the subsystem option 1511, and in response to the operation, the mobile phone may also present a Fig.14 The subsystem interface 1410 shown in (2) may also be presented as Fig.14The subsystem interface 1420 shown in (3) is shown in FIG. Fig.14 Taking the subsystem interface 1410 shown in (2) as an example, the mobile phone detects a user clicking on the light group option 1411, and responds to the operation, such as Fig.15 In the interface 1520 shown in (3), the mobile phone may display an on option 1521 and a off option 1522. The on option 1521 may be used to establish an association relationship between the button of the smart switch panel and the on state of the living room light group. The off option 1522 may be used to establish an association relationship between the button of the smart switch panel and the off state of the living room light group.
[0189] If the mobile phone detects that the user has selected the on option 1521, in response to the operation, the mobile phone can establish an association between the button 1 of the smart switch panel and the on state of the living room light group. Fig.15 The interface 1520 shown in (3) is configured Fig.10 The relationship between the button 2 of the smart switch panel and the off state of the living room light group is shown. Fig.10 The relationship between the button 3 of the smart switch panel and the viewing light state of the living room lamp group is shown. Fig.10 One or more of the association relationships between the button 4 of the smart switch panel shown and the reading light state of the living room lamp group.
[0190] Alternatively, you can use Fig.14 The subsystem interface 1420 shown in (3), and Fig.15 The interface 1520 shown in (3) is configured such as Fig.10 The shown relationship between the buttons of the smart switch panel and the status of the whole house light group.
[0191] It can be understood that the above embodiments are all based on the controlled devices as device sets, and the controlled devices are classified into different device sets by dividing the subsystems. In other embodiments, the controlled devices can also be divided into different device sets based on various factors such as spatial location, device type, and device installation time.
[0192] For example: in Fig.14 The subsystem interface shown in (2) may not present a subsystem, but may present one or more pre-divided device sets, such as lamp group 1 (e.g., sofa lamp group), lamp group 2 (e.g., ceiling lamp group), curtain group 1 (e.g., bedroom curtain group), curtain group 2 (e.g., balcony curtain group), etc. The user may configure the association between the left button of the smart switch panel and the state of the corresponding device set.
[0193] Of course, in other embodiments, the user may select one or more devices to form a device set, and the embodiments of the present application do not limit this.
[0194] It can be understood that the above embodiment introduces the process of directly configuring the association between the buttons of the smart switch panel and the state of the smart light. In other embodiments, the association between the buttons of the smart switch panel and the state of the smart light can also be configured in other ways. The following takes the example of indirectly configuring the association between the buttons of the smart switch panel and the state of the smart light by creating a scene as an example to introduce the specific configuration process.
[0195] Exemplary, combined Figure 4 Taking the operation interface 410 of the smart life shown in (2) as an example, Figure 4 As shown in (2), a scene control 412 is displayed in the operation interface 410, and the scene control 412 can be used to create one or more scenes. Figure 4 In response to the click operation of the scene control 412 shown in (2), as shown in FIG. Fig.16 As shown in (1), the mobile phone can display a scene recommendation interface 1600. The scene recommendation interface 1600 may include one or more scene cards recommended by smart life applications, and the user can select one or more scene cards according to actual needs to create a scene. If the mobile phone detects a click operation such as a user clicking a light scene card 1601, in response to the operation, Fig.16 As shown in (2), the mobile phone may display a one-touch light scene creation interface 1610. For example, a one-touch light scene may be used to realize a scene in which when the left button of the smart switch panel is pressed, the corridor light group is turned on or off; when the middle button of the smart switch panel is pressed, the bathroom light group is turned on or off; and when the right button of the smart switch panel is pressed, the bedside light group is turned on or off.
[0196] If the phone detects that the user Fig.16 In response to the operation of the Add to My Scene button 1611 shown in (2), the mobile phone creates a key-controlled light scene and indirectly establishes an association relationship between the left button of the smart switch panel and the on and off states of the corridor light group, the middle button of the smart switch panel and the on and off states of the bathroom light group, and the right button of the smart switch panel and the on and off states of the bathroom light group. It can be understood that Fig.16 The example shown is based on indirectly configuring the association between the buttons of the smart switch panel and the on and off states of the smart light by creating a scene. Similarly, the association between the buttons of the smart switch panel and the light state of the smart light can also be indirectly configured by creating a scene.
[0197] It can be understood that the above embodiments all take the smart lights as light groups as examples. In other embodiments, the association between the buttons of the smart switch panel and a single smart light can also be configured in a manner such as described above. Fig.17 As shown in (1), such as Fig.14 The subsystem option 1401 shown in (1) can also be implemented as a device option 1701 included in the key setting interface 1700. The mobile phone detects a user's click operation on the device option 1701. In response to the operation, the mobile phone can present a Fig.17 The device interface 1710 shown in (2) in the figure. The device interface 1710 may include one or more devices installed in the whole house, such as a table lamp 1, a bedside lamp 2, a chandelier 1, a curtain 1, etc. installed in the master bedroom. The mobile phone detects an operation such as a user clicking on a device option, and in response to the operation, the mobile phone may also present the status corresponding to the device.
[0198] Taking the table lamp 1 option 1711 as an example, the mobile phone detects an operation such as a user clicking on the table lamp 1 option 1711. In response to the operation, the mobile phone can present the state corresponding to the table lamp 1 (not shown in the figure). Exemplarily, the state corresponding to the table lamp 1 may be one or more of, but not limited to, an open state, an off state, a light state (such as, but not limited to, a reading light state, a movie light state, etc.). The mobile phone detects an operation such as a user selecting the state corresponding to the table lamp 1. In response to the operation, the mobile phone can establish an association relationship between the buttons of the smart switch panel and the corresponding state of the table lamp 1.
[0199] Of course, the association between the buttons of the smart switch panel and the state of a single smart light can also be configured by the aforementioned method of creating scenes. For the specific implementation, please refer to the relevant implementation described above.
[0200] It can be understood that the above embodiments are all based on the example that the smart switch panel includes multiple buttons. When the smart switch panel includes only one button, the association relationship between the button of the smart switch panel and the state of the smart light can also be configured. For the specific implementation, please refer to the relevant implementation described above.
[0201] In some embodiments, the association between the buttons of the smart switch panel and the states of the smart lights can be used to synchronize the states of the smart lights with the smart switch panel. For example: the smart switch panel can indicate the state of the smart light associated with the button by adjusting the state of the button. For example: if button 1 of the smart switch panel is associated with the on and off states of the corridor light, then when the corridor light is in the on state, button 1 of the smart switch panel indicates that the corridor light is in the on state, and when the corridor light is in the off state, button 1 of the smart switch panel indicates that the corridor light is in the off state. For another example: if button 2 of the smart switch panel is associated with the warm light of the bathroom light, then when the light state of the bathroom light is the warm light, button 2 of the smart switch panel indicates that the light state of the bathroom light is the warm light.
[0202] In other embodiments, the association between the buttons of the smart switch panel and the states of the smart lights can also be used for the smart switch panel to control the states of the smart lights associated with the buttons through the buttons.
[0203] In this embodiment, in some implementations, the same or different states of different smart lights can be controlled by performing the same operation on different buttons of the smart switch panel. For example: if button 1 of the smart switch panel is associated with the on and off states of the corridor light, a single-click operation is performed on button 1 of the smart switch panel, and in response to the operation, the smart switch panel can control the corridor light to turn on or off. For another example: if button 2 of the smart switch panel is associated with the on and off states of the bedside lamp, a single-click operation is performed on button 2 of the smart switch panel, and in response to the operation, the smart switch panel can control the bedside lamp to turn on or off. For another example: if button 3 of the smart switch panel is associated with the heating light state of the bathroom light, a single-click operation is performed on button 3 of the smart light, and in response to the operation, the smart switch panel can control the light state of the bathroom light to heating light, etc.
[0204] In other implementations, the same operation can be performed on different buttons of the smart switch panel to achieve control of different states of the same smart light. For example, if button 1 of the smart switch panel is associated with the on state of the living room light group, a single-click operation is performed on button 1 of the smart switch panel. In response to the operation, the smart switch panel can control the living room light group to turn on. If button 2 of the smart switch panel is associated with the off state of the living room light group, a single-click operation is performed on button 2 of the smart switch panel. In response to the operation, the smart switch panel can control the living room light group to turn off, etc.
[0205] It can be understood that the above embodiment is based on the example that the same button of the smart switch panel may only support one operation (such as a single-click operation, etc.). Therefore, in order to facilitate the smart switch panel to control the state of the smart light based on the association relationship, the association relationship between the button of the smart switch panel and the state of the smart light can be configured in step S1301.
[0206] In other embodiments, the same button of the smart switch panel may support multiple operations (such as single-click operation, double-click operation, triple-click operation, etc.). Therefore, in order to facilitate the smart switch panel to control the state of the associated smart light after the button of the smart switch panel receives the corresponding operation, the association relationship between the button of the smart switch panel and the state of the smart light configured in step S1301 can also be bound to the operation.
[0207] In this embodiment, in some implementations, different operations can be performed on the same button of the smart switch panel to achieve the same or different states of different smart lights. For example: if the button 1 of the smart switch panel is associated with the on and off states of the corridor light, and the association is bound to a single-click operation, a single-click operation is performed on the button 1 of the smart switch panel, and in response to the operation, the smart switch panel can control the corridor light to be turned on or off. For another example: if the button 1 of the smart switch panel is associated with the on and off states of the bedside lamp, and the association is bound to a double-click operation, a double-click operation is performed on the button 1 of the smart switch panel, and in response to the operation, the smart switch panel can control the bedside lamp to be turned on or off. For another example: if the button 1 of the smart switch panel is associated with the warm light state of the bathroom lamp, and the association is bound to a triple-click operation, a triple-click operation is performed on the button 1 of the smart switch panel, and in response to the operation, the smart switch panel can control the light state of the bathroom lamp to be warm light, etc.
[0208] In some other implementations, different operations can be performed on the same button of the smart switch panel to achieve control of different states of the same smart light. For example: if button 1 of the smart switch panel is associated with the on state of the living room light group, and the association is bound to a single-click operation, a single-click operation is performed on button 1 of the smart switch panel, and in response to the operation, the smart switch panel can control the living room light group to turn on. For another example: if button 1 of the smart switch panel is associated with the off state of the living room light group, and the association is bound to a double-click operation, a double-click operation is performed on button 1 of the smart switch panel, and in response to the operation, the smart switch panel can control the living room light group to turn off.
[0209] S1302. The central device monitors the status of the smart light.
[0210] Optionally, the central device can monitor the status of the smart light in real time or periodically. The embodiment of the present application does not limit the timing of the central device monitoring the status of the smart light. For example, the central device can send a status query message to the smart light in real time or periodically, and obtain the status of the smart light from the smart light through the status query message. Correspondingly, after receiving the status query message, the smart light can send a status response message to the central device, and send its own status to the central device through the status response message.
[0211] In some embodiments, the hub device may obtain an association relationship and monitor the smart lights indicated in the association relationship. Optionally, the association relationship obtained by the hub device may include an association relationship between one or more smart switch panels and smart lights. In some scenarios, the hub device may also control lighting devices other than the smart lights indicated (or included) in the association relationship. Optionally, the hub device may not monitor the status of these lighting devices, which can save power consumption of the hub device.
[0212] Optionally, in an embodiment of the present application, the central device may obtain the above-mentioned association relationship from a local or other device, and the present application does not impose any limitation on this.
[0213] S1303: The central device sends the status of the smart light to the smart switch panel. Correspondingly, the smart switch panel receives the status of the smart light from the central device.
[0214] In some embodiments, when the hub device monitors that the state of the smart light changes, it can send the state of the smart light to the smart switch panel. For example, when the hub device monitors that the smart light switches from the on state to the off state, or the smart light switches from the reading light state to the off state, or the smart light switches from the on state to the movie light state, etc., the hub device can send the state of the smart light to the smart switch panel. It can be understood that in this embodiment, the state of the smart light sent by the hub device to the smart switch panel refers to the state of the smart light after switching.
[0215] In other embodiments, the central device may also monitor the status of the smart light indicated by the smart switch panel, such as the status of the button indicator light. It is understandable that the smart switch panel may also be the smart switch panel included in the association relationship. When it is determined that the status of the smart light indicated by the smart switch panel is inconsistent with the status of the smart light with which there is an association relationship, the status of the corresponding smart light is sent to the smart switch panel. When it is determined that the status of the smart light indicated by the smart switch panel is consistent with the status of the smart light with which there is an association relationship, the status of the corresponding smart light is not sent to the smart switch panel. In this way, when the central device determines that the status of the smart light indicated by the smart switch panel is inconsistent with the actual status of the smart light, the actual status of the smart light is sent to the smart switch panel, which can save the power consumption and signaling overhead of the central device.
[0216] Optionally, the central device can send the status of the smart light to the smart switch panel through a product model (profile) command, or send the status of the smart light to the smart switch panel through other methods. For an introduction to the profile command, please refer to the introduction in the related art.
[0217] S1304. The smart switch panel synchronizes the status of the smart light.
[0218] In some embodiments, the state of the smart light indicated by the smart switch panel can be controlled so that the state of the smart light indicated by the smart switch panel is consistent with the state of the received smart light. As a possible implementation, after receiving the state of the smart light from the hub device, the smart switch panel directly adjusts the state of the smart light indicated by itself to the state of the received smart light. Optionally, before the smart switch panel is adjusted, the state of the smart light indicated by the smart switch panel can be the same as or different from the state of the received smart light.
[0219] As another possible implementation, after receiving the status of the smart light from the central device, the smart switch panel can first determine whether the status of the smart light indicated by itself is consistent with the status of the received smart light. In the case of inconsistency, the smart switch panel adjusts the status of the currently indicated smart light to the status of the received smart light. In the case of consistency, the smart switch panel may not perform the aforementioned adjustment operation. In this way, the power consumption of the smart switch panel can be saved.
[0220] In other embodiments, the state of the smart light indicated by the smart switch panel may also be controlled by the central device. As a possible implementation, the central device may directly control the smart switch panel to adjust the state of the smart light indicated by the smart switch panel to the state of the smart light monitored. Optionally, before the central device performs the aforementioned adjustment operation, the state of the smart light indicated by the smart switch panel may be the same as or different from the state of the smart light monitored by the central device.
[0221] As another possible implementation, the central device may first determine whether the state of the smart light indicated by the smart switch panel is consistent with the state of the smart light monitored. If they are inconsistent, the central device controls the smart switch panel to adjust the state of the smart light indicated by the smart switch panel to the state of the smart light monitored. If they are consistent, the central device may no longer perform the aforementioned operation of controlling the smart switch panel.
[0222] Optionally, in an embodiment of the present application, the smart switch panel can indicate the status of the smart light in various ways, such as lighting up or extinguishing the indicator light on the button, the text display screen, etc.
[0223] Based on the above technical solution, the central device can monitor the status of the smart light and send the monitored status of the smart light to the smart switch panel that controls the smart light, and then the smart switch panel can synchronize the status of the smart light. This can solve the problem that the status of the smart light indicated by the smart switch panel is inconsistent with the actual status of the smart light, so that the smart light can be better controlled through the smart switch panel.
[0224] Scenario 2: The smart knob synchronizes the status of the smart light, the music player, or the smart curtain.
[0225] Optionally, in this scenario, the smart light may refer to a single light or a set of multiple lights. Exemplarily, the state of the smart light may include but is not limited to the brightness of the smart light. When the smart light is a set of multiple smart lights, the brightness of the smart light may refer to the overall brightness of all the smart lights in the set. The music player (or music playback device) may refer to a single music player (such as a smart speaker) or a set of multiple music players (such as smart speakers, music hosts, TV speakers, etc.). Exemplarily, the state of the music player may include but is not limited to the volume of the music player. When the music player is a set of multiple music players, the volume of the music player may refer to the overall volume of all the music players in the set. The smart curtain may refer to a single smart curtain or a set of multiple smart curtains. Exemplarily, the state of the smart curtain may include but is not limited to the opening and closing degree of the smart curtain. When the smart curtain is a set of multiple smart curtains, the opening and closing degree of the smart curtain may refer to the opening and closing degree of each smart curtain in the set. Optionally, the opening and closing degree of each smart curtain in the set may be the same.
[0226] Taking the smart knob synchronizing the state of the smart light as an example, in some embodiments, the smart knob can control the state of the smart light, so that the state of the smart light changes. Fig.18A schematic diagram of a scenario in which a smart knob provided in an embodiment of the present application controls a smart light is shown. For example, a user rotates the smart knob to the right, and in response to the operation, the brightness of the living room light group becomes brighter. For example, a user rotates the smart knob to the left, and in response to the operation, the brightness of the living room light group becomes darker. It can be understood that the smart knob provided in the embodiment of the present application is only a simplified schematic diagram for ease of understanding. In actual applications, the smart knob may include controls such as buttons in addition to the knob.
[0227] For example: The user will Fig.18 The smart knob shown in (1) is rotated right by A degrees. In response to this operation, the smart knob controls the living room light group to become brighter and brighter. For example, the smart knob controls the living room light group to become brighter and brighter. Fig.18 The brightness shown in (2) gradually changes to Fig.18 The brightness shown in (3) in the figure. Correspondingly, in this process, the smart knob can synchronize the state of the living room light group. For example, the smart knob can adjust the damping coefficient and indicate the brightness of the living room light group through the damping coefficient. Fig.18 The damping coefficient corresponding to the brightness of the smart lamp shown in (2) gradually increases to Fig.18 The damping coefficient corresponding to the brightness of the smart light shown in (3).
[0228] For example: The user will Fig.18 The smart knob shown in (4) is rotated leftward by B degrees. In response to this operation, the smart knob controls the living room light group to become increasingly dim. For example, the smart knob controls the living room light group to become increasingly dim. Fig.18 The brightness shown in (5) gradually changes to Fig.18 (6) The brightness shown. Correspondingly, in this process, the smart knob can also synchronize the state of the living room light group, for example: the smart knob will Fig.18 The damping coefficient corresponding to the brightness of the smart lamp shown in (5) gradually increases to Fig.18 The damping coefficient shown in (6) is the brightness of the smart lamp.
[0229] It can be understood that in the above examples, the damping coefficient corresponding to the smart light is higher when the brightness is closer to 100% or closer to 0%. For example, when the brightness of the living room light group is closer to 100%, the damping coefficient of the smart knob rotating to the right becomes higher and higher, that is, the resistance of the smart knob becomes larger and larger, and the user can rotate the smart knob less. For example, when the brightness of the living room light group is closer to 0%, the damping coefficient of the smart knob rotating to the left becomes larger, that is, the resistance of the smart knob becomes larger, and the user can rotate the smart knob less.
[0230] In other embodiments, the brightness of the smart light can also be controlled through other operation entrances besides the smart knob, so that the state of the smart light changes. Fig.19As shown, the central control screen can display a control interface 1900 of the living room light group, wherein the control interface 1900 includes a brightness progress bar 1901, and the user can adjust the brightness of the living room light group by sliding the brightness progress bar 1901 left and right. If the central control screen detects an operation such as the user sliding the brightness progress bar 1901 to the right, in response to the operation, the central control screen controls the living room light group to become brighter. Accordingly, the smart knob can further synchronize the state of the living room light group, such as the smart knob can adjust the current damping coefficient to the damping coefficient corresponding to the current brightness of the living room light group.
[0231] It is understood that the above embodiments are all based on the example of synchronizing the brightness of the smart light with the smart knob. Similarly, the smart knob can also synchronize the volume of the music player, the opening and closing degree of the smart curtain, etc. Similarly, the smart knob can also indicate the volume of the music player, the opening and closing degree of the smart curtain, etc. by adjusting the damping coefficient. It is also understood that the smart knob can also synchronize other states of the aforementioned devices, such as: the color temperature of the smart light, the temperature of the smart air conditioner, etc.
[0232] In this scenario, Fig. 20 FIG. 1 is a flow chart of a device status synchronization method provided by an embodiment of the present application. Fig. 20 As shown, the method comprises the following steps:
[0233] S2001. Configure the relationship between the smart knob and the brightness of the smart light, the volume of the music player, the opening and closing degree of the smart curtain, etc.
[0234] In some embodiments, the smart knob can simultaneously synchronize the states of multiple devices such as smart lights, music players, and smart curtains. Therefore, the association relationship between the smart knob and the states of multiple devices such as smart lights, music players, and smart curtains can be configured.
[0235] In other embodiments, the smart knob can only synchronize the status of one device among the smart light, the music player, and the smart curtain, etc. Therefore, the association relationship between the smart knob and the status of one of the devices can be configured so that the smart knob can synchronize the status of the device.
[0236] The following describes the process of configuring the association between the smart knob and the brightness of the smart light, the volume of the music player, the opening and closing degree of the smart curtain, etc.
[0237] In some embodiments, the association between the smart knob and the states of the smart light, music player, and smart curtain light device can also be configured through a device that can manage the smart knob, smart light, music player, and smart curtain. Taking the device as a mobile phone as an example, the mobile phone can also perform the aforementioned configuration operation through the smart life application such as described above. For example, Fig.21As shown, the mobile phone can display a configuration interface 2100 , wherein the configuration interface 2100 includes an overall brightness option 2101 , an overall volume option 2102 , and a curtain opening and closing option 2103 .
[0238] If the mobile phone detects an operation such as the user selecting the overall brightness option 2101, the mobile phone can establish an association relationship between the smart knob and the brightness of the living room light group. If the mobile phone detects an operation such as the user selecting the overall volume option 2102, the mobile phone can establish an association relationship between the smart knob and the volume of the living room music. If the mobile phone detects an operation such as the user selecting the curtain opening and closing option 2103, the mobile phone can establish an association relationship between the smart knob and the curtain opening and closing. Similarly, in this scenario, the association relationship between the smart knob and the status of the smart light, music player, smart curtain, etc. can also be configured by dividing subsystems, device collections, creating scenes, and other methods. For this specific implementation, please refer to the similar implementation described above.
[0239] In some embodiments, the association between the smart knob and the brightness of the smart light can be used to synchronize the state of the smart knob with the smart light. Similarly, the association between the smart knob and the volume of the music player can be used to synchronize the state of the music player with the smart knob. The association between the smart knob and the opening and closing degree of the smart curtain can be used to synchronize the state of the smart curtain with the smart knob, etc. For example: the smart knob can indicate the state of the smart light, or indicate the state of the music player, or indicate the state of the smart air conditioner by adjusting the size of the damping coefficient. Optionally, when the smart device only supports indicating the state of one device at the same time, when the smart knob indicates the state of different devices, the size of the damping coefficient adjusted by the smart knob can be the same or different. When the smart knob supports indicating the state of multiple devices at the same time, when the smart knob indicates the state of different devices, for different devices, the size of the damping coefficient adjusted by the smart knob is the same.
[0240] In other embodiments, the association between the smart knob and the brightness of the smart light can be used to control the brightness of the smart light with the smart knob. Similarly, the association between the smart knob and the volume of the music player can be used to control the volume of the music player with the smart knob. The association between the smart knob and the opening and closing degree of the smart curtain can be used to control the opening and closing degree of the smart curtain with the smart knob, etc.
[0241] S2002. The central device monitors the status of smart lights, music players, smart curtains, etc.
[0242] S2003. The central device sends the status of smart lights, music players, smart curtains, etc. to the smart knob.
[0243] For the specific implementation of step S2002 and step S2003, please refer to Fig.13Similar implementations of step S1302 and step S1303 are shown.
[0244] S2004. The smart knob synchronizes the status of smart lights, music players, smart curtains, etc.
[0245] Optionally, the smart knob can indicate the status of smart lights, music players, smart curtains, etc. by adjusting the damping coefficient. For other implementations of this step, please refer to Fig.13 A similar implementation of step S1304 is shown.
[0246] It can be understood that the above embodiment is based on the example of the central device monitoring the state of the controlled device so that the control device can synchronize the state of the controlled device. In other embodiments, the control device can also synchronize the state of the controlled device by configuring scene commands. Fig. 22 FIG. 2 shows a process diagram of another device status synchronization method provided by an embodiment of the present application. Fig. 22 As shown, the intelligent switch panel executes the scene command after receiving the user operation. Exemplarily, the user operation may include but is not limited to key operation on the intelligent switch panel. It can be understood that the scene command executed by the intelligent switch panel may be the scene command configured by the intelligent switch panel.
[0247] Among them, the scene command may include instruction information to be executed by the smart switch panel, and the control operation to be performed by the smart switch panel on the smart light. In some embodiments, the instruction information to be executed by the smart switch panel contained in the scene command corresponds to the state of the smart light after the smart switch panel contained in the scene command performs the control operation on the smart light. In other words, the instruction information to be executed by the smart switch panel can be used to indicate the state of the smart light after the smart switch panel performs the control operation on the smart light. In other words, by configuring the scene command for the smart switch panel, the smart switch panel adjusts its own instruction information according to the scene command while controlling the state of the smart light according to the scene command, so that the state of the smart light indicated by the smart switch panel is synchronized with the actual state after the smart switch panel performs the control operation on the smart light.
[0248] Optionally, in some embodiments, before the smart switch panel executes the scene command through the button, the button of the smart switch panel can be configured as a scene mode. In the scene mode, the smart switch panel can execute the setting of the scene command through the button configured as the scene mode. The method for configuring the button of the smart switch panel as the scene mode can refer to the above description.
[0249] In some specific implementations, the indication information may include the status of the indicator light of the smart switch panel button. In this implementation, taking the configuration of scene commands through the smart life application installed on the mobile phone as an example, Fig.23 A schematic diagram of an interface for scene commands configured for an intelligent switch panel provided in an embodiment of the present application is shown.
[0250] For example, if the left button of the smart switch panel is configured as a scene mode, and Fig.23 The scene configuration interface 2300 shown in (1) configures a scene command for the left button of the smart switch panel: "When the left button of the smart switch panel is pressed, the corridor light group is turned on or off, and the indicator light on the left button is turned on or off." When the user presses the left button of the smart switch panel, in response to the operation, the smart switch panel controls the corridor light group to turn on and turns on the indicator light on the left button. When the user presses the left button of the smart switch panel again, in response to the operation, the smart switch panel controls the corridor light group to turn off and turns off the indicator light on the left button.
[0251] For example, if button 3 of the smart switch panel is configured as a scene mode, and Fig.23 The scene configuration interface 2310 shown in (2) configures a scene command for button 3 of the smart switch panel: "When button 3 of the smart switch panel is pressed, adjust the living room light group to the viewing light, light up the text display screen on button 3, and turn off the other text display screens." Then, when the user presses button 3 of the smart switch panel, in response to the operation, the smart switch panel controls the light state of the living room light group to the viewing light, lights up the text display screen on button 3, and turns off the text display screens on other buttons.
[0252] about Fig.23 (1) and Fig.23 For an introduction to other contents shown in (2), please refer to Fig.16 The relevant introduction shown.
[0253] Based on the above technical solution, the central device can monitor the status of smart lights, music players, smart curtains and other devices, and send the monitored status of smart lights, music players, smart curtains and other devices to the smart knob, and then the smart knob can synchronize the status of smart lights, music players, smart curtains and other devices. It can solve the problem that the status indicated by the smart knob is inconsistent with the status of the smart lights, music players, smart curtains and other devices, resulting in the smart lights, music players, smart curtains and other devices not responding to the control of the smart knob when the status of the smart lights, music players, smart curtains and other devices is controlled by the smart knob, affecting the user experience. It makes it possible to better control the status of various devices such as smart lights, music players, smart curtains and other devices through the smart knob.
[0254] It can be understood that in this embodiment, the control device is a smart switch panel and the controlled device is a smart lamp. Similarly, when the control device is other devices and / or the controlled device is other devices, the control device can also synchronize the state of the controlled device through scene commands such as those described in this embodiment.
[0255] It can also be understood that the interfaces in the embodiments of the present application are only schematic diagrams and do not constitute limitations of the embodiments of the present application. In practical applications, more or fewer interfaces may be included, and each interface may also include more or less content.
[0256] For example, Fig.24 A flow chart of another device status synchronization method provided by an embodiment of the present application is shown. The method comprises the following steps:
[0257] S2401. The first device obtains the status of the second device.
[0258] The state of the second device can be controlled by the first device and by methods other than the first device. For example, the methods other than the first device may include but are not limited to voice commands, applications on a mobile phone, a central control screen, and other methods.
[0259] In some specific implementations, the first device may receive the state of the second device from the target device, and the target device may be a device that monitors the state of the second device. The state of the second device is used to adjust the operation feedback information of the control, and the adjusted operation feedback information of the control may be used to indicate the state of the second device, and the control is a control included in the first device for controlling the state of the second device.
[0260] In other implementations, the first device may also directly obtain the status of the second device from the second device.
[0261] Exemplarily, the first device is one of a smart switch panel and a smart knob; and / or the second device is one of a lighting device, a music player, a smart curtain, a security device, a HVAC device, and a gateway device. The security device includes one or more of a smart door lock, a camera, an alarm, and a sensor; the HVAC device includes one or more of a heating device, a ventilation device, and an air conditioner.
[0262] In some embodiments, the second device is a lighting device, and the state of the second device includes one or more of an open state, an off state, a light state, and brightness, and the light state includes one or more of reading light, movie light, sleep-aiding light, leisure light, and warming light; or, the second device is a music playing device, and the state of the second device includes volume; or, the second device is a smart curtain, and the state of the second device includes the degree of opening and closing. Or, the second device is an air conditioner, and the state of the second device includes one or more of an open state, an off state, temperature, and humidity. Or, the second device is a heating device, and the state of the second device includes temperature.
[0263] S2402: When the state of the second device is the first state, adjust the operation feedback information of the first control to the first feedback.
[0264] Among them, the first feedback is used to indicate that the state of the second device is the first state, and the first control is a control included in the first device for controlling the state of the second device. For example: taking the second device as a lighting device and the first device as a smart knob as an example, the state of the second device as the first state can be such as the brightness of the lighting device is 60%, and the state of the lighting device that can be controlled by the first control (i.e., the knob included in the smart knob) is various brightness. For another example: taking the second device as a lighting device and the first device as a smart switch panel as an example, the state of the second device as the first state can be such as the state of the lighting device is a reading light, and the state of the lighting device that can be controlled by the first control (i.e., a button included in the smart switch panel) is a light state, etc.
[0265] In some specific implementations, the first control may be a control included in the first device for controlling the second device to be in the first state. For example, taking the second device as a lighting device and the first device as a smart switch panel as an example, the state of the second device as the first state may be, for example, the state of the lighting device is in the on state, and the state of the lighting device controllable by the first control (i.e., a button included in the smart switch panel) is specifically in the on state.
[0266] In some embodiments, the first control has an association relationship with the first state of the second device, and the association relationship can be used for the first device to control the second device to the first state through the first control. For a detailed introduction to the association relationship, please refer to the above description.
[0267] In some specific implementations, the state of the second device being the first state may be controlled by the first device or by a method other than the first device.
[0268] In some embodiments, the first device is a smart switch panel, and the operation feedback information of the first control is an indicator light of the first button (optionally, the indicator light can be such as the above-mentioned Figure 2 The indicator lights shown can also be Fig.10The text display screen shown, etc.), the first button is a button included in the smart switch panel; or, the first device is a smart knob, the operation feedback information of the first control is the damping coefficient of the knob, and the knob is a knob included in the smart knob.
[0269] In some implementations, the first device may be a smart switch panel, the operation feedback information of the first control is an indicator light of a first button, the first button is a button included in the smart switch panel, and the second device is a lighting device. Step S2402 may be specifically implemented as: when the lighting device is in an on state, lighting the indicator light of the first button; or, when the lighting device is in an off state, turning off the indicator light of the first button.
[0270] In some embodiments, the first device can control different devices through different controls. Therefore, the first device can also obtain the state of the third device, and the state of the third device can be controlled by the first device and in a manner other than the first device. The third device is a controlled device different from the second device. When the state of the third device is the third state, the first device adjusts the operation feedback information of the third control to the third feedback, and the third feedback is used to indicate that the state of the third device is the third state, and the third control is a control included in the first device for controlling the third device to be in the third state. The third control is a control different from the first control. Optionally, the introduction of the state of the third device can refer to the relevant introduction of the first state of the first device, and the operation feedback information of the third control can refer to the relevant introduction of the operation feedback information of the first control.
[0271] In some other embodiments, the first device can control a group of devices through the same control. For example, the first control can also control the state of the fourth device. Therefore, before adjusting the operation feedback information of the first control to the first feedback, the first device can also obtain the state of the fourth device, and the state of the fourth device can be controlled by the first device and by methods other than the first device. The fourth device is a controlled device different from the second device. When the state of the fourth device is the fourth state, the operation feedback information of the first control is adjusted to the first feedback, and the first feedback is also used to indicate that the state of the fourth device is the fourth state.
[0272] In some other embodiments, the first device can control different devices at different times through the same control. For example, if the state of the second device is obtained at the first moment, the first device can also obtain the state of the fifth device at the second moment, the second moment is different from the first moment, and the state of the fifth device can be controlled by the first device and in a manner other than the first device. The fifth device is a controlled device different from the second device. When the state of the fifth device is the fifth state, the operation feedback information of the first control is adjusted to the fourth feedback, and the fourth feedback is used to indicate that the state of the fifth device is the fifth state. The first control is a control included in the first device for controlling the state of the fifth device.
[0273] Optionally, in this embodiment, the first feedback and the fourth feedback may be different. That is to say, when the first device controls different devices through the same control, the operation feedback information of the adjusted control may be different. For example: taking the first device as a smart knob, the second device as a smart light, and the fourth device as a smart curtain as an example, when the brightness of the smart light is 50%, the smart knob can adjust the damping coefficient of the knob to a, and when the opening and closing degree of the smart curtain is also 50%, the smart knob can adjust the damping coefficient of the knob to b, and a is different from b.
[0274] Based on the above technical solution, after the first device (i.e., the control device) obtains the state of the second device (the controlled device), it indicates the corresponding state of the second device by adjusting the operation feedback information of the corresponding control included in the first device, thereby realizing the state synchronization of the control device with the controlled device. This can solve the problem of inconsistency between the state indicated by the control device and the actual state of the controlled device, so that the controlled device can be better controlled by the control device.
[0275] In some embodiments, when the state of the second device is the first state, Fig.24 The method shown also includes step S2403. (not shown in the figure):
[0276] S2403: Adjust the operation feedback information of the second control to the second feedback.
[0277] The second feedback is used to indicate that the state of the second device is not the second state, and the second control is a control included in the first device for controlling the second device to be in the second state. Optionally, the second control may be a control included in the first device other than the first control. For example, taking the operation feedback information of the second control as the indicator lights of other buttons (buttons other than the first button) included in the smart switch panel as an example, the indicator lights of these buttons may be turned off.
[0278] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. It is understandable that, in order to realize the above functions, the device includes a hardware structure and / or software module corresponding to the execution of each function. In combination with the units and algorithm steps of each example described in the embodiment disclosed in this application, the embodiment of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer-driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present application.
[0279] The embodiment of the present application can divide the functional modules of the device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0280] like Fig.25 2500 is a schematic diagram of a device provided in an embodiment of the present application. The device 2500 can be used to implement the method of controlling the device to execute as described in the above method embodiments. Exemplarily, the device 2500 may include: an acquisition unit 2501 and a processing unit 2502.
[0281] The acquisition unit 2501 is used to support the device 2500 to execute Figures 1 to 24 The processing unit 2502 is used to support the device 2500 to execute Figures 1 to 24 The processing functions performed by any one of the control devices described above.
[0282] In some embodiments, the acquisition unit 2501 may be specifically implemented as a communication unit, which is used to support the device 2500 to execute Figures 1 to 24 The communication function performed by any one of the control devices described above.
[0283] Optional, Fig.25 The device 2500 shown may also include a storage unit (not shown in the figure), which stores a program or instruction. When the processing unit 2502 executes the program or instruction, Fig.25 The device 2500 shown can execute the method of controlling the device to execute described in the above method embodiment.
[0284] like Fig.262600 is a schematic diagram of the structure of another device provided in an embodiment of the present application. The device 2600 can be used to implement the methods performed by the hub device in the above method embodiments. Exemplarily, the device 2600 can specifically include: an acquisition unit 2601 and a communication unit 2602.
[0285] The acquisition unit 2601 is used to support the device 2600 to execute Figures 1 to 24 The communication unit 2602 is used to support the device 2600 to execute Figures 1 to 24 The communication function performed by any of the hub devices described above.
[0286] In some embodiments, the acquisition unit 2601 may be specifically implemented as a processing unit or a communication unit 2602, and the processing unit is used to support the device 2600 to execute Figures 1 to 24 The processing functions performed by any of the hub devices described above.
[0287] Optional, Fig.26 The device 2600 shown may also include a storage unit (not shown in the figure), which stores a program or instruction. When the processing unit executes the program or instruction, Fig.26 The device 2600 shown can execute the method performed by the hub device described in the above method embodiment.
[0288] Fig.25 The device 2500 is shown as well as Fig.26 The technical effects of the device 2600 shown can refer to the technical effects described in the above method embodiment, and will not be repeated here. Fig.25 The processing unit 2502 involved in the device 2500 shown can be implemented by a processor or a processor-related circuit component, and can be a processor or a processing module. Fig.26 The communication unit 2602 shown may be implemented by a transceiver or a transceiver-related circuit component, and may be a transceiver or a transceiver module.
[0289] The present application also provides a chip system, such as Fig. 27As shown, the chip system includes at least one processor 2701 and at least one interface circuit 2702. The processor 2701 and the interface circuit 2702 can be interconnected via lines. For example, the interface circuit 2702 can be used to receive signals from other devices. For another example, the interface circuit 2702 can be used to send signals to other devices (such as processor 2701). Exemplarily, the interface circuit 2702 can read instructions stored in the memory and send the instructions to the processor 2701. When the instructions are executed by the processor 2701, the device can execute the various steps executed by the device in the above embodiment. Of course, the chip system can also include other discrete devices, which are not specifically limited in the embodiments of the present application.
[0290] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
[0291] Optionally, the memory in the chip system may be one or more. The memory may be integrated with the processor or may be separately provided with the processor, which is not limited in the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be provided on different chips. The present application does not specifically limit the type of memory and the arrangement of the memory and the processor.
[0292] Exemplarily, the chip system can be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD) or other integrated chips.
[0293] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.
[0294] An embodiment of the present application also provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on a device, the device executes the method described in the above method embodiment.
[0295] An embodiment of the present application provides a computer program product, which includes: a computer program or instructions, when the computer program or instructions are executed on a computer, the computer executes the method described in the above method embodiment.
[0296] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory so that the device executes the methods in the above-mentioned method embodiments.
[0297] Among them, the equipment, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0298] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0299] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The various embodiments can be combined with each other or referenced to each other without conflict. The device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0300] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0301] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0302] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0303] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A device status synchronization method, characterized in that: Applied to a first device, the method includes: Acquire a state of a second device, where the state of the second device can be controlled by the first device and can be controlled in a manner other than the control by the first device; When the state of the second device is controlled to the first state by a method other than control by the first device, the operation feedback information of the first control is adjusted to the first feedback, where the first feedback is used to indicate that the state of the second device is the first state, and the first control is a control included in the first device for controlling the state of the second device.
2. The method according to claim 1, characterized in that The first control is a control included in the first device and used to control the second device to be in a first state; when the state of the second device is controlled to be in the first state by a method other than control by the first device, the method further includes: The operation feedback information of the second control is adjusted to a second feedback, where the second feedback is used to indicate that the state of the second device is not the second state, and the second control is a control included in the first device and used to control the second device to be in the second state.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: Acquire a state of a third device, where the state of the third device can be controlled by the first device, and can be controlled in a manner other than control by the first device; When the state of the third device is controlled to a third state by a method other than control by the first device, the operation feedback information of the third control is adjusted to a third feedback, and the third feedback is used to indicate that the state of the third device is the third state. The third control is a control included in the first device for controlling the state of the third device.
4. The method according to any one of claims 1 to 3, characterized in that The first control is also used to control the state of the fourth device; before adjusting the operation feedback information of the first control to the first feedback, the method further includes: Acquire a state of a fourth device, where the state of the fourth device can be controlled by the first device, and can be controlled in a manner other than control by the first device; When the state of the fourth device is controlled to the fourth state by a method other than control by the first device, the operation feedback information of the first control is adjusted to the first feedback, and the first feedback is also used to indicate that the state of the fourth device is the fourth state.
5. The method according to claim 1, characterized in that: The state of the second device is acquired at a first moment; and the method further comprises: acquiring a state of a fifth device at a second moment, wherein the state of the fifth device can be controlled by the first device, and by a method other than control by the first device; When the state of the fifth device is controlled to the fifth state by a method other than control by the first device, the operation feedback information of the first control is adjusted to the fourth feedback, and the fourth feedback is used to indicate that the state of the fifth device is the fifth state. The first control is a control included in the first device for controlling the state of the fifth device.
6. The method according to any one of claims 1 to 5, characterized in that There is an association relationship between the first control and the first state of the second device, and the association relationship is used for the first device to control the second device to the first state through the first control.
7. The method according to any one of claims 1 to 6, characterized in that The first device is one of a smart switch panel and a smart knob; and / or the second device is one of a lighting device, a music player, a smart curtain, a security device, a HVAC device, and a gateway device.
8. The method according to claim 7, characterized in that The first device is an intelligent switch panel, the operation feedback information of the first control is an indicator light of a first button, and the first button is a button included in the intelligent switch panel; or, the first device is an intelligent knob, the operation feedback information of the first control is a damping coefficient of the knob, and the knob is a knob included in the intelligent knob.
9. The method according to claim 7 or 8, characterized in that: The second device is a lighting device, and the state of the second device includes one or more of an on state, an off state, a light state, and brightness; Or, the second device is a music playing device, and the state of the second device includes volume; Or, the second device is a smart curtain, and the state of the second device includes an opening degree; Or, the second device is an air conditioner, and the state of the second device includes one or more of an open state, a closed state, temperature, and humidity; Alternatively, the second device is a heating device, and the state of the second device includes temperature.
10. The method according to any one of claims 7 to 9, characterized in that: The first device is an intelligent switch panel, the operation feedback information of the first control is an indicator light of a first button, the first button is a button included in the intelligent switch panel, and the second device is a lighting device; When the state of the second device is controlled to the first state by a method other than control by the first device, adjusting the operation feedback information of the first control to the first feedback includes: When the lighting device is in an on state, lighting the indicator light of the first button; Or, when the lighting device is in an off state, the indicator light of the first button is turned off.
11. The method according to any one of claims 1 to 10, characterized in that The obtaining the status of the second device includes: The status of the second device is received from a target device, where the target device is a device that monitors the status of the second device.
12. The method according to claim 11, characterized in that The target device includes one or more of a whole-house smart host, a whole-house smart light host, a gateway device, and a routing device.
13. The method according to any one of claims 1 to 12, characterized in that The method other than controlling by the first device includes one or more of controlling by using a device other than the first device and controlling by using voice commands.
14. A device status synchronization method, characterized in that: Applied to a target device, the method comprises: Acquire a state of a second device, where the state of the second device can be controlled by the first device and can be controlled in a manner other than the control by the first device; The state of the second device is sent to the first device, the state of the second device is used to adjust the operation feedback information of the control, the adjusted operation feedback information of the control can be used to indicate the state of the second device, and the control is a control included in the first device for controlling the state of the second device.
15. The method according to claim 14, characterized in that Before obtaining the status of the second device, the method further includes: An association relationship between a control included in the first device and a state of the second device is obtained, where the association relationship is used by the first device to control the second device to a corresponding state through the control.
16. The method according to claim 14 or 15, characterized in that The sending the status of the second device to the first device includes: The status of the second device is sent to the first device according to a change in the status of the second device.
17. A device, characterized in that The device comprises a processor and a memory, wherein the memory is coupled to the processor, the memory is used to store computer program code, the computer program code comprises computer instructions, and the processor reads the computer instructions from the memory so that the device executes the method as described in any one of claims 1 to 13, or so that the device executes the method as described in any one of claims 14 to 16.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises a computer program, and when the computer program is executed on a device, the device is caused to execute the method according to any one of claims 1 to 13, or the device is caused to execute the method according to any one of claims 14 to 16.
19. A computer program product, characterized in that The computer program product comprises: a computer program or instructions, which, when executed on a computer, enables the computer to execute the method according to any one of claims 1 to 13, or enables the computer to execute the method according to any one of claims 14 to 16.