Equipment control method and electronic equipment
By automatically identifying and controlling the smart devices associated with their area, the problem of manual reconfiguration of smart knobs when moving between rooms in the prior art is solved, and a simpler operation process and a better user experience is achieved.
Patent Information
- Application Number
- CN202311288659.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2043-09-28
AI Technical Summary
The existing smart knob needs to manually reconfigure its control function when the user moves it from one room to another, resulting in cumbersome operation and poor user experience.
By acquiring the user operation of the portable control device and automatically determining and controlling the smart devices associated with the area based on its current area, the control function that can be used normally without manual configuration is realized.
It reduces the user's operation complexity, improves the user's control experience, and allows users to seamlessly switch the control of smart devices between different rooms.
Smart Images

Figure CN119717590A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of Internet of Things, and in particular to a device control method and an electronic device. Background Art
[0002] The Internet of Things can connect various types of devices, and the devices can exchange information to achieve intelligent management. The application of the Internet of Things is very wide. For example, it can be applied to many fields such as smart home, industrial production, disaster prevention monitoring, logistics tracking, smart grid, smart transportation, smart logistics, video surveillance, smart medical care, etc.
[0003] Take the smart home field as an example. In order to experience the security, convenience and comfort brought by the Internet of Things (IoT) devices (also called smart devices), more and more users install smart devices in environments such as homes or offices, or even install smart devices throughout the house (also called whole-house intelligence, whole-house smart home, etc.). When users want to control smart devices in smart homes, in addition to controlling smart devices through physical buttons on smart devices (or physical switches connected to smart devices through circuits), they can also control smart devices through a portable control device that can be carried around and placed anywhere. The portable control device is generally in the form of a mini knob, such as Figure 1 As shown, the top of the portable control device supports button operation, and the surrounding supports rotation operation. Therefore, the portable control device can also be called a smart knob. Users can control smart devices in smart homes by rotating and pressing the smart knob.
[0004] Currently, before a user wants to use a smart knob to control a smart device in a room (such as a living room), the user needs to first configure the control function of the smart knob in the room to ensure that the user can use the smart knob normally for control in the room. However, when the user wants to use the smart knob to control a smart device in another room (such as a bedroom) after using the smart knob in the room, the user needs to reconfigure the control function of the smart knob in the other room to ensure that the user can use the smart knob normally for control when the user takes the smart knob to the other room. The whole process is cumbersome and the user experience is poor. Summary of the invention
[0005] The present application provides a device control method and an electronic device. When a user controls a smart device in an environment through a portable control device, when the room where the control device is located changes, the control device can automatically control the smart devices that are currently responsive in the changed room. The user does not need to manually configure the control function of the control device in the changed room, thereby reducing the user's operation complexity and ensuring the user's control experience.
[0006] In order to achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, a device control method is provided, the method comprising: obtaining a first user operation on a movable control device; if the control device is in a first area, controlling the first device to perform an operation in response to the first user operation, the first device being one of at least one device associated with the first area that can currently respond to the first user operation; if the control device is in a second area, controlling the second device to perform an operation in response to the first user operation, the second device being one of at least one device associated with the second area that can currently respond to the first user operation.
[0008] The solution provided in the first aspect above, when a user operates a portable control device, can determine at least one device that can currently respond to the user's operation from the devices associated with the area where the control device is located based on the area where the control device is currently located, and determine one device as the device that the user intends to control through the control device, so that the device can be directly controlled to perform the corresponding operation. In this way, when the user wants to use the control device normally in a certain space, the user can directly take the control device to the space for use, without the user manually reconfiguring the control function of the control device in the space, thereby reducing the user's operation complexity and ensuring the user's control experience.
[0009] In a possible implementation, the above-mentioned acquisition of the first user operation on the movable control device includes: acquiring the first user operation on the movable control device at a first moment; the device control method of this scheme also includes: acquiring the first user operation on the movable control device at a second moment; if the control device is in the first area, then in response to the first user operation, controlling the third device to perform an operation, the third device being one of at least one device currently capable of responding to the first user operation among the devices associated with the first area. Among them, the current moment can be the second moment, or it can be the moment after a short delay from the second moment, the short time being the time required for acquiring, processing, etc. the operation. In this way, when the user operates the control device at different moments, since the devices that can respond to the user operation at different moments may be different, the scheme can determine a device from the devices associated with the current area of the control device and the devices that can respond to the user operation at the current moment as the device that the user intends to control through the control device, so that the device can be directly controlled to perform the corresponding operation.
[0010] For example, when the user operates the control device in the living room at 9 a.m., the volume of the smart speaker in the current living room that can respond to the operation can be directly adjusted. When the user operates the control device in the living room at 2 p.m., the curtain opening and closing degree of the smart curtain in the current living room that can respond to the operation can be directly adjusted.
[0011] In one possible implementation, after controlling the first device to perform an operation in response to a first user operation, the method further includes: obtaining a second user operation on the control device; if the control device is in the first area, then in response to the second user operation, switching to control a fourth device to perform an operation, the fourth device being another of the at least one device currently capable of responding to the first user operation among the devices associated with the first area. In this way, when the first device currently controlled by the control device is not the device the user wants to control, the user can also quickly switch to control another device by operating the control device. For example, when the user performs the first user operation on the control device, the volume of the smart speaker of the first device is currently controlled. If the user finds that it is not the device he wants to control, the user can also perform the second user operation on the control device again to quickly switch to control the brightness of the light of the smart lamp of another device.
[0012] In one possible implementation, the first user operation is a rotation operation, and the second user operation is a key operation. In this way, when the user performs a rotation operation on the control device, the present solution can automatically determine a device from the devices associated with the current area of the control device and the devices that can respond to the user operation at the current moment as the device controlled by the control device, and control the device to perform the operation. If the user finds that the device automatically determined to be controlled is not the device the user wants to control, the user can also perform a key operation on the control device to quickly switch to another device to perform the operation. The other device is another device that is associated with the current area of the control device and can respond to the user operation at the current moment.
[0013] In one possible implementation, the first user operation is a key operation, and the second user operation is a rotation operation. In this way, when the user performs a key operation on the control device, the present solution can automatically determine a device from the devices associated with the current area of the control device and the devices that can respond to the user operation at the current moment as the device controlled by the control device, and control the device to perform the operation. If the user finds that the device automatically determined to be controlled is not the device the user wants to control, the user can also perform a rotation operation on the control device to quickly switch to another device to perform the operation. The other device is another device that is associated with the current area of the control device and can respond to the user operation at the current moment.
[0014] In one possible implementation, before obtaining a first user operation on a movable control device, the method also includes: obtaining a second user operation on the control device; if the control device is in the first area, then in response to the second user operation, determining that a controlled device of the control device is a fourth device, where the fourth device is another one of at least one device associated with the first area that is currently capable of responding to the first user operation; obtaining a third user operation on the control device; if the control device is in the first area, then in response to the third user operation, switching the controlled device of the control device to the first device.
[0015] In this way, when the user intends to operate the control device, such as when the user performs a rotation operation on the control device, the present solution can automatically determine a device (such as the fourth device) from the devices associated with the current area of the control device and the devices that can respond to the user operation at the current moment as the device controlled by the control device. The user can also continue to perform a third user operation for switching devices on the control device, such as a key operation, to quickly switch to another device (such as switching to the first device) from the devices that can respond to the user operation at the current moment as the device controlled by the control device. In this way, when the user performs the first user operation on the control device, the other device (such as switching to the first device) can be directly controlled to perform the operation.
[0016] In one possible implementation, before obtaining the third user operation on the control device, the method also includes: when determining that the controlled device of the control device is the fourth device, outputting prompt information, the prompt information is used to prompt the user that the controlled device of the control device is the fourth device. In this way, when the user intends to operate the control device, this solution automatically determines a device (such as the fourth device) from the devices associated with the current area of the control device and the devices that can respond to the user's operation at the current moment as the device controlled by the control device, and can prompt the user of the device currently controlled by the control device. Thereby, the user can determine whether it is the device he wants to control. If it is not the device the user wants to control, the user can perform a third user operation for switching the device on the control device, thereby quickly switching to another device (such as switching to the first device) as the device controlled by the control device.
[0017] In one possible implementation, before obtaining the third user operation on the control device, the method also includes: when it is determined that the controlled device of the control device is the fourth device, controlling the fourth device to perform the operation. In this way, when the user intends to operate the control device, this solution automatically determines a device (such as the fourth device) from the devices associated with the current area of the control device and the devices that can respond to the user operation at the current moment as the device controlled by the control device, and can also directly control the device to perform the operation. Thus, the user can judge whether it is the device he wants to control based on the executed device. If it is not the device the user wants to control, the user executes the third user operation for switching the device on the control device, thereby quickly switching to another device (such as switching to the first device) as the device controlled by the control device.
[0018] In a possible implementation, before controlling the first device to perform an operation in response to the first user operation, the method further includes: obtaining device information of at least one device associated with the first area, the device information including device status and / or device control habits; and determining, based on the device information, that the controlled device of the control device is the first device. In this way, the solution can automatically select a device that is currently capable of responding to the user operation from at least one device associated with the first area as the device controlled by the control device based on the device status and / or device control habits.
[0019] In a possible implementation, the device state includes the working state; the device control habit includes the device control frequency or the number of times the device is controlled. Thus, the solution can automatically select a device that is currently capable of responding to user operations from at least one device associated with the first area as the device controlled by the control device based on at least one of the device's working state, device control frequency, and device control number.
[0020] In one possible implementation, when the device information includes a working state, determining that the controlled device of the control device is the first device based on the device information includes: when the number of devices in the at least one device whose working state is a controllable state is one, confirming that the device in the controllable state is the first device. Since if the device is currently in a state that cannot be controlled by the control device, it cannot respond to instructions. Therefore, this solution can select a device whose working state is a controllable state from at least one device associated with the first area as the device controlled by the control device. It can be understood that if only one device has a working state of a controllable state, it is directly used as the device controlled by the control device.
[0021] The controllable state may be that the device is in an open state (power-on state) or a normal operating state.
[0022] In a possible implementation, when the device information includes device control habits, if at least one device associated with the first area includes multiple devices, such as a first device and a fifth device, then the above-mentioned determination that the controlled device of the control device is the first device based on the device information includes: when the device control frequency of the first device is greater than the device control frequency of the fifth device, or when the device control times of the first device are greater than the device control times of the fifth device, determining that the controlled device of the control device is the first device. In this way, this solution can recommend the device that the user is accustomed to controlling as the device controlled by the current control device.
[0023] In one possible implementation, when the device information includes the device state and the device control habit, the controlled device of the control device is determined to be the first device according to the device information, including: when there are multiple devices in the controllable working state in at least one device, the controlled device of the control device is determined to be the first device according to the device control frequency or the number of device controls, and the first device is the device with the highest device control frequency or the device with the most device control times among the multiple controllable devices. In this way, this solution can recommend the device controlled by the current control device in combination with the device working state, the device state and the device control habit. That is, if there are multiple devices in the controllable working state from at least one device associated with the first area, the device that the user is used to controlling can be selected from them as the device controlled by the current control device.
[0024] Optionally, if there are multiple devices with the highest control frequency or the highest control number, a device may be selected in other ways (such as randomly) as the device controlled by the current controlling device.
[0025] In one possible implementation, if the control device is in the first area, then in response to the first user operation, after controlling the first device to perform an operation, the method further includes: when the control device moves from the first area to the third area, obtaining the first user operation on the control device; in response to the first user operation, controlling the sixth device to perform an operation, the sixth device being one of at least one device currently capable of responding to the first user operation among the devices associated with the third area. In this way, since the devices associated with different areas may be different, the devices currently capable of responding to the operation are also different. Therefore, when the user moves the control device from one area to another, the present solution can automatically switch to determining at least one device currently capable of responding to the user operation from the devices associated with another area, and determining a device therefrom as the device that the user intends to control through the control device, so that the device can be directly controlled to perform the corresponding operation.
[0026] In one possible implementation, after controlling the sixth device to perform an operation in response to a first user operation, the method further includes: obtaining a second user operation on the control device; if the control device is in a third area, then in response to the second user operation, switching to control the seventh device to perform an operation, the seventh device being another device among the devices associated with the third area that is currently capable of responding to the first user operation. In this way, when the user moves the control device from one area to another, if the first device currently controlled by the control device is not the device the user wants to control, the user can also quickly switch to control another device by operating the control device. The other device is another device among the devices associated with another area that is currently capable of responding to the user's operation.
[0027] In a possible implementation, before obtaining a first user operation on a movable control device, the method further includes: displaying a first interface, the first interface including device options for multiple regions, wherein each region includes at least one device option; in response to a first operation acting on the multiple device options, determining that multiple devices corresponding to the multiple device options are devices that can be controlled by the control device, wherein the multiple device options include an option corresponding to the first device and an option corresponding to the second device. In this way, the user can configure the control function of the control device for devices in different regions at one time without multiple configurations.
[0028] In a possible implementation, the first user operation is an operation on a physical key. For example, when the control device is a smart knob, the first user operation may be a rotation operation around the smart knob.
[0029] In a possible implementation, the first user operation is an operation on a virtual key. For example, when the control device is a control panel, the first user operation may be a touch operation on a virtual button displayed on the control panel.
[0030] In a second aspect, a device control method is provided, which is applied to a movable control device, and the method includes: obtaining a first user operation on the movable control device; if the control device is in a first area, controlling the first device to perform an operation in response to the first user operation, wherein the first device is one of at least one device associated with the first area that can currently respond to the first user operation; if the control device is in a second area, controlling the second device to perform an operation in response to the first user operation, wherein the second device is one of at least one device associated with the second area that can currently respond to the first user operation.
[0031] In the solution provided in the first aspect above, when a user operates a portable control device, the control device can determine at least one device that can currently respond to the user's operation from the devices associated with the current area where the control device is located based on the current area where the control device is located, and determine one device from among them as the device that the user intends to control through the control device, so that the control device can directly control the device to perform the corresponding operation. In this way, when the user wants to use the control device normally in a certain space, the user can directly take the control device to the space for use, without the user manually reconfiguring the control function of the control device in the space, thereby reducing the user's operation complexity and ensuring the user's control experience.
[0032] Optionally, the movable control device is a movable smart knob.
[0033] Optionally, the first user operation may be a rotation operation or a key operation.
[0034] Optionally, in response to the first user operation, the control device may control the first device to perform an operation through the hub device. In this way, the control device may forward the corresponding instruction to the first device through the hub device so that the first device performs the corresponding operation. Optionally, in response to the first user operation, the control device generates a first instruction; sends the first instruction to the hub device; and the hub device controls the first device to perform an operation according to the first instruction. The first instruction may be an instruction for instructing the first device to perform an operation.
[0035] In a third aspect, a device control method is provided, which is applied to a central device, and the method includes: obtaining a first user operation reported by a movable control device; if the control device is in a first area, controlling the first device to perform an operation in response to the first user operation, wherein the first device is one of at least one device associated with the first area that can currently respond to the first user operation; if the control device is in a second area, controlling the second device to perform an operation in response to the first user operation, wherein the second device is one of at least one device associated with the second area that can currently respond to the first user operation.
[0036] In the solution provided by the first aspect above, when a user operates a portable control device, the control device can report the user operation to the central device. Thus, the central device can determine at least one device that can currently respond to the user's operation from the devices associated with the current area where the control device is located based on the current area where the control device is located, and determine one device from among them as the device that the user intends to control through the control device, so that the central device can directly control the device to perform the corresponding operation. In this way, when the user wants to use the control device normally in a certain space, the user can directly take the control device to the space for use, without the user having to manually reconfigure the control function of the control device in the space, thereby reducing the user's operation complexity and ensuring the user's control experience.
[0037] Optionally, the above-mentioned central device can be a central control screen.
[0038] In a fourth aspect, an electronic device is provided, comprising: an acquisition unit and a response unit. The acquisition unit is used to acquire a first user operation on a movable control device; the response unit is used to control the first device to perform an operation in response to the first user operation if the control device is in a first area, wherein the first device is one of at least one device associated with the first area that can currently respond to the first user operation; the response unit is also used to control the second device to perform an operation in response to the first user operation if the control device is in a second area, wherein the second device is one of at least one device associated with the second area that can currently respond to the first user operation.
[0039] The electronic device provided in the fourth aspect above, when a user operates a portable control device, the electronic device can determine at least one device that can currently respond to the user's operation from the devices associated with the area where the control device is located based on the area where the control device is currently located, and determine a device as the device that the user intends to control through the control device, so that the electronic device can directly control the device to perform the corresponding operation. In this way, when the user wants to use the control device normally in a certain space, the user can directly take the control device to the space for use, without the user manually reconfiguring the control function of the control device in the space, thereby reducing the user's operation complexity and ensuring the user's control experience.
[0040] In one possible implementation, an acquisition unit is used to acquire a first user operation on a control device at a first moment. The acquisition unit is also used to acquire a first user operation on a movable control device at a second moment. The response unit is also used to control a third device to perform an operation in response to the first user operation if the control device is in a first area, the third device being one of at least one device associated with the first area that is currently capable of responding to the first user operation. In this way, when a user operates the control device at different moments, since the devices that can respond to the user operation at different moments may be different, the electronic device can determine a device from among the devices associated with the current area where the control device is located and among the devices that can respond to the user operation at the current moment as the device that the user intends to control through the control device, so that the electronic device can directly control the device to perform the corresponding operation.
[0041] In one possible implementation, the acquisition unit is further used to acquire a second user operation on the control device. The response unit is also used to, if the control device is in the first area, respond to the second user operation, switch to control the fourth device to perform the operation, the fourth device being another of the at least one device currently capable of responding to the first user operation among the devices associated with the first area. In this way, when the first device currently controlled by the control device is not the device the user wants to control, the user can also quickly switch to control another device by operating the control device. For example, when the user performs the first user operation on the control device, the volume of the smart speaker of the first device is currently controlled. If the user finds that it is not the device he wants to control, the user can also perform the second user operation on the control device again to quickly switch to control the brightness of the light of the smart lamp of another device.
[0042] In a possible implementation, the first user operation is a rotation operation, and the second user operation is a key operation. Alternatively, the first user operation is a key operation, and the second user operation is a rotation operation.
[0043] In one possible implementation, the acquisition unit is further used to acquire a second user operation on the control device. The response unit is further used to, if the control device is in the first area, determine that the controlled device of the control device is a fourth device in response to the second user operation, and the fourth device is another one of the at least one device associated with the first area that is currently capable of responding to the first user operation. The acquisition unit is further used to acquire a third user operation on the control device. The response unit is further used to, if the control device is in the first area, switch the controlled device of the control device to the first device in response to the third user operation.
[0044] In a possible implementation, the electronic device further includes an output unit for outputting prompt information when it is determined that the controlled device of the control device is the fourth device, wherein the prompt information is used to prompt a user that the controlled device of the control device is the fourth device.
[0045] In a possible implementation, the responding unit is further configured to control the fourth device to perform an operation when it is determined that the controlled device of the controlling device is the fourth device.
[0046] In one possible implementation, the electronic device further includes a device determination unit for obtaining device information of at least one device associated with the first area, the device information including device status and / or device control habits; and determining, based on the device information, that the controlled device of the control device is the first device.
[0047] In a possible implementation, the device status includes a working status; and the device control habit includes a device control frequency or a device control number of times.
[0048] In a possible implementation, when the device information includes the working state, the device determining unit is configured to confirm that the device in the controllable state is the first device when the number of devices in the at least one device whose working state is the controllable state is one.
[0049] In one possible implementation, when the device information includes device control habits, if at least one device associated with the first area includes multiple devices, such as a first device and a fifth device, a device determination unit is used to determine that the controlled device of the controlling device is the first device when the device control frequency of the first device is greater than the device control frequency of the fifth device, or when the device control times of the first device are greater than the device control times of the fifth device.
[0050] In one possible implementation, when the device information includes device status and device control habits, the device determination unit is used to: when there are multiple devices in at least one device whose working status is a controllable status, determine that the controlled device of the control device is the first device according to the device control frequency or the device control times, and the first device is the device with the highest device control frequency or the device with the largest number of device control times among the multiple controllable devices.
[0051] In a possible implementation, the acquisition unit is further configured to acquire a first user operation on the control device when the control device moves from the first area to the third area. The response unit is further configured to control a sixth device to perform an operation in response to the first user operation, the sixth device being one of at least one device associated with the third area that is currently capable of responding to the first user operation.
[0052] In one possible implementation, the electronic device also includes a configuration unit for displaying a first interface, the first interface including device options in multiple areas, wherein each area includes at least one device option; in response to a first operation acting on the multiple device options, a plurality of devices corresponding to the plurality of device options are determined to be devices that can be controlled by the control device, wherein the plurality of device options include options corresponding to the first device and options corresponding to the second device.
[0053] In a fifth aspect, an electronic device is provided, comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, the computer program codes including computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the device control method in any possible implementation of the first aspect.
[0054] Optionally, the electronic device may be a hub device or a movable control device.
[0055] Optionally, the movable control device may be a movable smart knob or a movable control panel.
[0056] In a sixth aspect, a device control system is provided, which includes a control device, a hub device, a first device, and a second device. Wherein: the hub device obtains a first user operation on the control device from a movable control device; if the control device is in a first area, the hub device responds to the first user operation and controls the first device to perform an operation, and the first device is one of at least one device associated with the first area that can currently respond to the first user operation; if the control device is in a second area, the hub device responds to the first user operation and controls the second device to perform an operation, and the second device is one of at least one device associated with the second area that can currently respond to the first user operation.
[0057] In the seventh aspect, a device control system is provided, which includes a control device, a hub device, a first device, and a second device. Wherein: the control device obtains a first user operation on a movable control device; if the control device is in a first area, the control device responds to the first user operation and controls the first device to perform an operation through the hub device, and the first device is one of at least one device associated with the first area that can currently respond to the first user operation; if the control device is in a second area, the control device responds to the first user operation and controls the second device to perform an operation through the hub device, and the second device is one of at least one device associated with the second area that can currently respond to the first user operation.
[0058] Optionally, the control device responds to the first user operation and controls the first device to perform an operation through the central device, which may include: the control device generates a first instruction in response to the first user operation; sends the first instruction to the central device; and the central device controls the first device to perform an operation according to the first instruction.
[0059] In an eighth aspect, a chip system is provided, which is applied to an electronic device. The chip system includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line. The interface circuit is used to receive a signal from a memory of the electronic device and send the signal to the processor, where the signal includes a computer instruction stored in the memory. When the processor executes the computer instruction, the electronic device executes the device control method in any possible implementation of the first aspect above.
[0060] In a ninth aspect, a computer-readable storage medium is provided, comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the device control method in any possible implementation of the first aspect.
[0061] In a tenth aspect, a computer program product is provided. When the computer program product runs on a computer, it enables the computer to execute the device control method in any possible implementation of the first aspect.
[0062] It can be understood that the beneficial effects that can be achieved by the methods of the second and third aspects, the electronic devices of the fourth and fifth aspects, the device control systems of the sixth and seventh aspects, the chip system of the eighth aspect, the computer-readable storage medium of the ninth aspect, and the computer program product of the tenth aspect provided above can be referred to the beneficial effects of the first aspect and any possible implementation thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 A schematic diagram of the structure of a control device provided in an embodiment of the present application;
[0064] Figure 2 A schematic diagram of a configuration interface provided in an embodiment of the present application;
[0065] Figure 3 A schematic diagram of another configuration interface provided in an embodiment of the present application;
[0066] Figure 4 A method flow chart of a device control method in the related art;
[0067] Figure 5 A scenario diagram provided for an embodiment of the present application Figure 1 ;
[0068] Figure 6A schematic diagram of the architecture of a smart home system provided in an embodiment of the present application;
[0069] Figure 7 A method flow chart of a device control method provided in an embodiment of the present application;
[0070] Figure 8 Scenario diagram provided for the embodiment of the present application Figure 2 ;
[0071] Fig. 9 A method flow chart of another device control method provided in an embodiment of the present application;
[0072] Fig.10 Scenario diagram provided for the embodiment of the present application Figure 3 ;
[0073] Fig.11 Scenario diagram provided for the embodiment of the present application Figure 4 ;
[0074] Fig.12 A flowchart of another device control method provided in an embodiment of the present application;
[0075] Fig.13 A schematic diagram of another device control method provided in an embodiment of the present application;
[0076] Fig.14 Scenario diagram provided for the embodiment of the present application Figure 5 ;
[0077] Fig.15 Scenario diagram provided for the embodiment of the present application Figure 6 ;
[0078] Fig.16 Device switching diagram provided in the embodiment of the present application Figure 1 ;
[0079] Fig.17 Device switching diagram provided in the embodiment of the present application Figure 2 ;
[0080] Fig.18 Device switching diagram provided in the embodiment of the present application Figure 3 ;
[0081] Fig.19 Device switching diagram provided in the embodiment of the present application Figure 4 ;
[0082] Fig. 20 Device switching diagram provided in the embodiment of the present application Figure 5 ;
[0083] Fig.21A flowchart of another device control method provided in an embodiment of the present application;
[0084] Fig. 22 A schematic diagram of a configuration interface provided in an embodiment of the present application. DETAILED DESCRIPTION
[0085] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0086] With the development of Internet of Things technology, various smart devices have entered people's lives. At present, a concept of smart home has been proposed for the home use scenario of smart devices. That is, with the house as the platform, using the Internet of Things, automatic control and other technologies, the smart home can integrate and control various smart devices in the user's home to improve home safety, convenience and comfort.
[0087] Among them, smart devices can be household devices, such as audio and video equipment (such as large-screen devices, Bluetooth speakers, etc.), lighting equipment (such as ceiling lights, table lamps, spotlights, etc.), environmental control equipment (such as air conditioners, air purifiers, etc.), anti-theft alarm equipment (such as human sensors, cameras, etc.), etc., and can also be gateway devices (such as switches), router devices, etc., and can also be gateway sub-devices (such as Bluetooth devices, wireless transceiver devices RF433). The embodiments of the present application do not limit the types of smart devices in smart homes.
[0088] Generally, the control methods of smart devices may include the following: first, controlling the smart device through physical buttons on the smart device or through a physical switch connected to the smart device through a circuit; second, controlling the smart device through a remote control that matches the smart device, such as an infrared remote control or a Bluetooth remote control; third, remotely controlling all smart devices connected to a wireless network (such as a wireless fidelity (Wi-Fi) network) through other terminals such as mobile phones and tablets; fourth, controlling the smart device configured by the smart knob through button operation or rotation operation of the smart knob.
[0089] Among them, Figure 1 As shown, the smart knob 100 is a portable control device in a smart home that can be carried around. The smart knob is a knob button that can be used to control a smart device by rotating the knob or pressing the knob. Specifically, the smart knob 100 may include a pressing component 101 located at the top and a rotating component 102 formed around the pressing component. The rotating component 102 may have a ring or annular shape and may rotate in a circumferential direction. Thus, the top of the rotating component 102 may support button operations, and the surroundings may support rotation operations.
[0090] Currently, before controlling a smart device through a smart knob, the control function of the smart knob needs to be configured first. As a method, the control function of the smart knob can be configured through the control panel of the smart home. The control panel can display the human-computer interaction interface of the smart home. The user can view the configuration interface of the smart knob in the human-computer interaction interface. The user can input setting instructions in the configuration interface by clicking the screen or voice, etc., to configure the smart device corresponding to the button or rotation operation of the smart knob.
[0091] As an example, Figure 2 As shown in (a) of FIG. 1 , the smart home may include a central control screen 200, and the human-computer interaction interface displayed on the central control screen 200 may include a smart knob control 201 for providing functions related to the smart knob. When a user clicks on the smart knob control 201 displayed on the central control screen 200, in response to the click operation, the central control screen 200 displays the following Figure 2 The function menu of the smart knob shown in (b) of FIG. The function menu includes an option 202 for writing a smart knob, which is used to provide the user with a manual configuration function of the smart knob. When the user clicks the option 202 for writing a smart knob, in response to the click operation, the central control screen 200 displays the following Figure 2 The function configuration interface of the smart knob in the living room shown in (c) of FIG. The function configuration interface includes a living room option 203, a button option 204, a rotation option 205, a confirmation option 206, etc.
[0092] Among them, the living room option 203 is used to indicate that the current configuration is the control function of the smart knob in the living room. Optionally, the living room is the default configuration space. When the user does not want to use the smart knob in the living room and wants to use the smart knob in other spaces, the user can click the living room option 203 to enter the configuration space interface of the smart knob, which may include options such as bedroom, study, toilet, kitchen, corridor, and dining room for the user to choose. If the user wants to use the smart knob in the bedroom, the user can select the bedroom option to enter the function configuration interface of the smart knob in the bedroom.
[0093] The button option 204 is used to trigger the configuration of the button function of the smart knob. The rotation option 205 is used to trigger the configuration of the rotation function of the smart knob. Taking the configuration of the rotation function of the smart knob as an example, the user can click the rotation option 205, and respond to the click operation, such as Figure 2 As shown in (c) in FIG. 1 , the central control screen 200 can highlight the rotation option 205 and display the configuration interface of the rotation function of the smart knob in the lower display area. The configuration interface includes the smart devices that can be controlled by rotating the smart knob and the corresponding function options.
[0094] like Figure 2As shown in (c) of FIG. 1 , the configuration interface may include function options such as the overall brightness of the lamp, the overall volume of the speaker, and the opening and closing degree of the curtain. The user selects one of the options, such as the overall brightness of the lamp, as the rotation control function of the smart knob. The user may then click on the confirmation option 206 to confirm the current manual configuration. In response to the click operation, the central control screen 200 may display the following: Figure 2 The smart knob association interface shown in (d) is used to write (i.e. associate) the function currently manually configured by the user to the smart knob of the entity that wants to be configured.
[0095] The smart knob association interface may include smart knob association prompt information 207 to prompt the user to write the currently manually configured function into the physical smart knob by placing the physical smart knob close to the designated area of the central control screen 200. Figure 3 As shown, after the user brings the physical smart knob 100 close to the designated area of the central control screen 200, the above-mentioned user-manually configured functions can be successfully written into the smart knob 100, and the central control screen 200 can display a prompt message of successful writing. Thus, when the user takes the smart knob 100 to the living room, by rotating the smart knob 100, the brightness of the lights in the living room can be directly controlled. For example, rotating the smart knob 100 counterclockwise reduces the brightness of the lights in the living room; rotating the smart knob 100 clockwise increases the brightness of the lights in the living room.
[0096] It can be understood that when there are multiple smart knobs in a smart home, if the smart knob that the user wants to configure is not the smart knob 100, but another smart knob, the user can also place the other smart knob close to the designated area of the central control screen 200, so that the function manually configured by the user can be successfully written into the other smart knob. In this way, when the user takes the other smart knob to the living room, the brightness of the light in the living room can also be directly controlled by rotating the other smart knob.
[0097] Similarly, when the button function of the smart knob 100 needs to be configured, the user can also click the button option 204 to enter the configuration interface of the button function of the smart knob. The button function configuration of the smart knob is completed through similar steps as above. No further description will be given here.
[0098] The following is an introduction to the implementation process of controlling smart devices through smart knobs in related technologies.
[0099] For example, Figure 4 As shown, the implementation process of controlling the smart device by using the smart knob in the related art may include S40 to S47:
[0100] S40, the input device displays a knob configuration interface.
[0101] Among them, the input device may be deployed (installed) with IoT application software for controlling the central device or smart device. The IoT application software may be a software program such as a mini-program, an application (APP), etc. The user may manually configure the control function of the smart knob through the human-computer interaction interface of the IoT application software.
[0102] In some scenarios, the input device may be a control panel in a smart home, a smart phone, a smart TV, etc. Among them, the control panel may be the central control screen 200, and the displayed knob configuration interface may be as follows: Figure 2 (c) shows the function configuration interface of the smart knob in the living room.
[0103] S41: The input device detects the configuration operation of the user. Thus, the control function configuration of the smart knob is completed based on the configuration operation of the user. The configuration process can be referred to in Figure 2 and Figure 3 .
[0104] S42. After the user completes the configuration of the smart knob through the input device of the smart home, the input device can report the knob control function configured by the user to the central device in a timely manner.
[0105] Among them, the central device can be understood as the central controller of the smart home, which is generally an integrated business hub service, resident in the environment, and long-lasting power device, such as central control screens, smart TVs, smart routers, set-top boxes and other devices.
[0106] The reported knob control function configured by the user this time includes the corresponding relationship between the smart knob configured this time and the functions of the controllable smart device, such as the rotation of the smart knob 100 -> the overall brightness of the living room lamp.
[0107] S43, after receiving the knob control function configured by the user this time, the central device can save it and overwrite the knob control function configured last time, that is, the control function of the subsequent smart knob shall be based on the knob control function configured by the user this time.
[0108] The hub device may include a processor or a hardware / software module for implementing the control function of the smart knob. The hardware / software module may be called a knob control module or a hub subsystem.
[0109] S44. When the smart knob detects that it is rotated or pressed by the user, it may report the rotation event or the key event to the central device.
[0110] S45. The central device converts the rotation event or key event into a device control command according to the latest saved configuration of the knob control function.
[0111] If the smart knob reports a rotation event, the central device can determine that the corresponding device control command is to adjust the overall brightness of the living room lamp based on the most recently saved correspondence between the knob control functions.
[0112] S46. The central device sends the device control command to the controlled device.
[0113] For example, when the device control command is to adjust the overall brightness of the living room lamp, the central device can determine that the controlled device corresponding to the rotation event currently reported by the smart knob 100 is the living room lamp, so that the central device can send the device control command to adjust the overall brightness of the lamp to the living room lamp.
[0114] S46: The controlled device performs corresponding operations according to the device control command, such as the living room lamp performs an operation of adjusting the overall brightness of the lamp.
[0115] However, although the smart knob can control the function of a smart device in the space where it is configured, the location of the smart knob often changes because the smart knob can be carried around and placed anywhere. If the above solution is adopted, every time the space where the smart knob is located changes, the user needs to reconfigure the function of the smart knob in order to use it normally. The whole process is cumbersome and cannot meet the user's demand for immediate use, resulting in a poor user experience.
[0116] Take the rotation function of the smart knob as an example. Figure 5 As shown in (a) in the figure, by rotating the smart knob, the function of a smart device in the space where it is configured can be controlled, such as the brightness of the smart light in the space where it is configured, or the volume of the smart speaker, or the opening and closing degree of the smart curtain, or the temperature of the smart air conditioner, or the wind direction of the smart air conditioner, etc. Figure 5 As shown in (b), after the user configures the control function of the smart knob in the living room, the user can use the smart knob normally in the living room. But when the user takes the smart knob from the living room to the bedroom, since the smart knob still controls the smart device in the living room at this time, the user cannot control the smart device in the bedroom. Therefore, the user must reconfigure the control function of the smart knob in the bedroom before being able to use the smart knob normally in the bedroom. After that, when the user uses the smart knob in the bedroom and takes the smart knob from the bedroom to the living room, the user still needs to reconfigure the smart knob before being able to use the smart knob normally in the living room. This requires the user to manually reconfigure the smart knob every time the room position is switched. Similarly, the controlled devices configured for the current smart knob are also relatively limited, so that when the user wants to switch the controlled device of the smart knob, it also needs to be manually reconfigured. It cannot meet the user's needs for ready-to-use, and the user experience is poor.
[0117] Based on the above problems, an embodiment of the present application provides a device control method. When a user controls a smart device in an environment through a portable control device, when the room where the control device is located changes, the control device can automatically control the smart device in the changed room. There is no need for the user to manually configure the control function of the control device in the changed room, thereby reducing the user's operation complexity and ensuring the user's control experience.
[0118] It is understandable that the device control method provided in the embodiment of the present application is not limited to the applicable fields, for example, it can be used in the field of the Internet of Things where everything is connected, such as smart home, industrial production, video surveillance, etc. This application will take the field of smart home as an example to specifically explain the device control method.
[0119] like Figure 6 As shown, an embodiment of the present application provides a schematic diagram of the architecture of a smart home system (also referred to as a device control system). The smart home system 600 may include a smart device 610, a hub device 620, and a control device 630. Among them, the smart device may be all devices in the home that can access the communication network. The scenarios in which the smart device accesses the communication network may include scenarios in which the smart device directly accesses the communication network, and scenarios in which the smart device relies on other devices to access the communication network.
[0120] Optionally, the smart device 610 can be a household device, such as a smart door lock, a smart speaker, a smart curtain, a smart air conditioner, a smart camera, a smart TV, a sweeping robot, a smart socket, a smart desk lamp, a smart refrigerator, a smart water heater, etc.
[0121] Optionally, the smart device 610 may also be a sensor device for sensing surrounding environmental information, such as a camera, an infrared sensor, a human motion sensor, an air quality monitor, a gas monitor, a flood monitor, a smoke alarm, a valve monitor, etc. The sensor device in the embodiment of the present application may sense whether a user exists, and may also sense the user's location information.
[0122] Optionally, the smart devices 610 can be interconnected through a communication network. The communication network can be a wired network or a wireless network. For example, the communication network can be a local area network (LAN) or a wide area network (WAN), such as the Internet. The communication network can be implemented using any known network communication protocol, and the network communication protocol can be various wired or wireless communication protocols, such as Ethernet, universal serial bus (USB), FireWire, 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), Bluetooth, Wi-Fi, NFC, voice over Internet protocol (VoIP), communication protocols supporting network slicing architecture, or any other suitable communication protocols.
[0123] For example, the smart devices 610 may establish a Wi-Fi connection through a Wi-Fi network. For another example, multiple smart devices 610 may be connected to each other through one or more servers after logging into the same account.
[0124] Optionally, the smart device 610 can also be a network access device for connecting to a local area network or the Internet. For example, a router, a gateway device, etc. For example, one or more routers can be deployed in the whole house to form a local area network, or to access a local area network or the Internet. After one or more household devices in the home are connected to the router, data can be transmitted with other devices in the local area network or other devices in the Internet through the network channel provided by the router.
[0125] Optionally, the smart device 610 can also be a gateway sub-device, which does not have the ability to directly connect to the Internet and needs to rely on other devices to access the local area network or the Internet. The other device may refer to a smart device that has networking capabilities and can mount sub-devices, such as a gateway device that has the ability to manage certain protocol sub-devices. Among them, gateway sub-devices include Bluetooth sub-devices, low-power Bluetooth (bluetooth low energy, BLE) sub-devices, power line communication (power line communication, PLC) sub-devices, Zigbee (Zigbee) sub-devices, etc. The connection between the gateway device and the gateway sub-device can be Bluetooth protocol, PLC protocol, Zigbee protocol, etc. Gateway devices of different communication protocols manage gateway sub-devices of their respective corresponding protocols.
[0126] Optionally, the plurality of smart devices 610 may be divided into one or more device subsystems according to the type and capability of the smart device 610. The types of the device subsystems may include a lighting subsystem, an air conditioning subsystem, a sunshade subsystem, an environmental monitoring subsystem, a safety protection subsystem, a network subsystem, a water use subsystem, and the like.
[0127] Optionally, the smart device 610 can also be classified according to the spatial attributes of the smart device 610. The spatial attributes of the above-mentioned smart device 610 can indicate the location of the smart device 610. For example, the spatial attribute of the smart device 610 is kitchen, which can indicate that the smart device 610 is located in the kitchen. According to the spatial attributes of the smart device 610, multiple smart devices 610 can be divided into device subsystems corresponding to each space. Among them, a device subsystem can include multiple smart devices 310 with the same spatial attributes. For example, smart devices such as smart table lamps, smart air conditioners, and smart curtains in the living room can be used as device subsystems in the living room.
[0128] The hub device 620 is also called a hub, a central control system or a host, etc. The hub device 620 can be used to manage each smart device 610 in the smart home system 600. For example, the hub device 620 can obtain the operating status of each smart device 610, which includes an open state (or a power-on state), a closed state (or a power-off state), a working state, a sleep state, a low power consumption state, a fault state, etc. For another example, the hub device 620 can send a corresponding control instruction to the smart device 610 to control the smart device 610 to implement a corresponding function. Optionally, each smart device 610 can also send a corresponding control instruction to the hub device 620 to forward the control instruction to other smart devices via the hub device 620.
[0129] Optionally, the central device 620 can execute the device control method provided in the present application to automatically enable the control device 630 to control the smart device 610 in the changed space when the space where the control device 630 is located changes.
[0130] Optionally, only one central device 620 may be provided in the whole house. The sensor devices in each room or each area may send the detected location information of the control device 630 to the central device 620 .
[0131] In some scenarios, multiple hub devices 620 may be set up throughout the house. Each hub device 620 manages multiple smart devices 610 in the smart home system 600. Optionally, a hub device may be set up in each room or area of the house. The sensor device in each room or area can send the location information of the detected control device 630 to the hub device in the room or area. Optionally, some rooms or areas may not need to be equipped with a hub device; that is, not all rooms or areas are equipped with a hub device. For example, a restaurant may not be equipped with a hub device. The restaurant and the entrance corridor share a hub device, or the restaurant and the living room share a hub device.
[0132] Optionally, a central device may be provided in each of the above-divided device subsystems. When the multiple smart devices 610 in the smart home system 600 are divided into device subsystem 1 and device subsystem 2, a central device is provided in each of the device subsystem 1 and the setting subsystem 2.
[0133] In some scenarios, multiple hub devices in the whole house can be independent and communicate with the cloud separately. The cloud can be used to manage each smart device 610 in the smart home system 600 through multiple hub devices. For example, the cloud can obtain the operating status of each smart device 610 through multiple hub devices 620. For another example, the cloud can send corresponding control instructions to each hub device 620 to control each hub device 620 to achieve corresponding functions.
[0134] In some scenarios, multiple hub devices in the whole house can also communicate with each other. Optionally, among the multiple hub devices in the whole house, there may be a hub device for unified management of the multiple hub devices, and the hub device can be defined as the control center of the smart home system. Thus, other hub devices can send relevant information to the control center, which will make centralized decisions and management. The control center can also send corresponding control instructions to other hub devices to instruct other hub devices to control the corresponding smart devices to achieve corresponding functions.
[0135] Optionally, the cloud may only communicate with the control center. For example, the cloud may send a control instruction to the control center, and the control center sends a corresponding control instruction to each central device to control each central device to implement a corresponding function.
[0136] Optionally, the control center can also assume the function of a central device in a room or area. For example, the control center can also assume the function of a central device in the living room. In one example, a central device is provided for each room or area outside the living room. When the control center communicates with the smart devices in the rooms or areas outside the living room, it still goes through the central devices in the rooms or areas; and when communicating with the smart devices in the living room, the control center communicates directly without the need to deploy the central device in the living room for communication.
[0137] Optionally, the hub device can also be used as a network access device for connecting to a local area network or the Internet. Thus, the smart device 610 can access the network by accessing the hub device. In one embodiment, the hub device 620 can be integrated with a router into one device. For example, the hub device 620 and the router are integrated into a router, that is, there can be a router in the whole house that has the function of the hub device 620.
[0138] Optionally, the hub device 620 can act as an edge node to communicate with the cloud, wherein the cloud may refer to a server cluster on the Internet, and optionally, the cloud may be a server corresponding to a smart home platform.
[0139] The control device 630 is a portable control device in the smart device system 600 that can be carried around and placed anywhere. The portable control device is generally in the form of a mini knob, such as Figure 1 As shown, the top of the portable control device supports button operation, and the surrounding supports rotation operation. Therefore, the portable control device 630 can also be called a smart knob. The user can control the smart device 610 in the smart home system 600 by rotating and pressing the smart knob. The present application does not limit the shape of the control device. For example, the shape of the portable control device can also be a mini sphere.
[0140] Optionally, when the control device 630 detects that it is rotated or pressed by the user, it can send a rotation event or a key event to the hub device 620 to turn on or off the smart device 610, and adjust the parameters of the smart device 610 (such as adjusting the brightness of a smart light) through the hub device 620.
[0141] Optionally, the control device 630 may include a wireless communication module, such as a WiFi module, a Bluetooth (BL) module, etc. The sensor device in the smart home system can sense the location information of the control device 630 through the wireless communication signal strength between the sensor device and the control device 630.
[0142] In some scenarios, the smart home system 600 may also include a cloud. Optionally, the cloud may also serve as a control center to execute the device control method provided in this application, so that when the space where the control device 630 is located changes, the control device 630 automatically controls the smart device 610 in the changed space.
[0143] In one embodiment, the hub device 620 may send the received location information of the control device 630 to the cloud. Furthermore, the hub device 620 may also send the control information of the hub device 620 on the smart device 610 to the cloud. Furthermore, the hub device 620 may also upload various information generated during the operation of the smart device 610 to the cloud for the user to view.
[0144] In one example, the smart home system 600 also includes one or more input devices (for example, the input device is a control panel, a mobile phone, etc.). Exemplarily, the control panel can display the human-computer interaction interface of the smart home system 600. The user can view the connection information of each device in the smart home system 600, the operation information of the smart device 610, and / or the control information of the central device 620 on the smart device 610, etc. in the human-computer interaction interface. The user can also input control instructions in the human-computer interaction interface by clicking the screen or voice, etc., to control the devices in the smart home system 600, or manually configure the control function of the control device 630. Exemplarily, a smart life application is installed in the mobile phone, and the mobile phone starts the smart life application to display the human-computer interaction interface of the smart home system 600. The user can view the connection information of each device in the smart home system 600, the operation information of the smart device 610, and / or the control information of the central device 620 on the smart device 310 in the human-computer interaction interface, and can also complete the function configuration of the control device 630 in the human-computer interaction interface.
[0145] Optionally, a control panel may be provided in each room or area of the house. The control panel of each room or area may display the human-computer interaction interface of the room or area. The user may view the connection information of each device in the room or area, the operation information of the smart device 610 in the room or area, and / or the control information of the central device 620 on the smart device 610, etc. in the human-computer interaction interface, and may also complete the function configuration of the control device 630 in the room or area in the human-computer interaction interface.
[0146] In some scenarios, the hub device 620 may be a control panel. When there are multiple hub devices in the whole house, and there is a hub device (i.e., a control hub) for uniformly managing the multiple hub devices, the control hub for managing the multiple hub devices may be a central control panel (also called a central control screen).
[0147] Need to explain, Figure 6 The architecture of the smart home system shown is only one implementation of the embodiment of the present application. In actual applications, the smart home system may also include more or fewer devices, which is not limited here.
[0148] In the following, a device control method provided by an embodiment of the present application will be described in conjunction with the accompanying drawings. The device control method can be applied to the above-mentioned central device / cloud. The following will be applied to the central device, and the control device is a smart knob as an example to specifically introduce the device control method.
[0149] See also Figure 7 , Figure 7 A device control method provided in an embodiment of the present application is provided, and the device control method includes:
[0150] S710: When the smart knob detects a user operation, it reports an operation event corresponding to the user operation to the central device.
[0151] The user operation is the operation applied by the user to the smart knob, which can be the user rotating the smart knob four times, or the user pressing the top of the smart knob. When the user rotates the smart knob four times, it can be clockwise or counterclockwise, and the rotation amplitude can be one rotation (360°), or half a rotation (180°), or one quarter of a rotation (90°), etc. When the user presses the top of the smart knob, it can be a hard press, a light press, a long press, a press once (single press), two consecutive presses (double press), etc. The embodiments of the present application do not limit the operation applied by the user to the smart knob.
[0152] When the user rotates the smart knob around or presses the top of the smart knob, the smart knob can report the corresponding operation event to the hub device. The operation event includes a rotation event generated by the smart knob based on the user's operation of rotating the smart knob around or a key event generated by the user's operation of pressing the top of the smart knob.
[0153] Optionally, the operation event includes information such as the operation event type, operation time, etc. The embodiment of the present application does not limit the information included in the operation event.
[0154] When the operation event is a rotation event, the rotation event may include the rotation event type and the rotation operation time. For example, when a quarter of a turn (90°) is used as a rotation unit, when the user rotates the smart knob three quarters of a turn clockwise at time T1, the rotation event reported by the smart knob includes the rotation event type - 4 consecutive clockwise rotations, the rotation time T1 and other information.
[0155] When the operation event is a key event, the key event may include the key event type and key operation time. For example, when the user presses the top of the smart knob twice in succession at time T2, the key event reported by the smart knob includes key event type - double-click, key time T2 and other information.
[0156] As a method, the smart knob can be connected to the central device of the smart home system, so that the smart knob can report the generated operation events to the central device through the upstream device. The upstream device can be a gateway device, router, etc. around the smart knob.
[0157] As another way, the smart knob can communicate and interact with the sensor device in the smart home system, so that the smart knob can report the generated operation events to the central device through the sensor device. The sensor device can be an infrared sensor, a distance sensor, a millimeter wave radar, etc.
[0158] S720: The central device receives an operation event from the smart knob.
[0159] In the embodiment of the present application, the central device can monitor the operation events from the smart knob in real time. When the operation events from the smart knob are monitored, the device control method of the embodiment of the present application is executed, that is, the smart device at the location of the smart knob is automatically selected as the controlled device that the current smart knob needs to control, without the need for manual reconfiguration by the user.
[0160] S730. The central device obtains the current location information of the smart knob.
[0161] Optionally, the location information includes the coordinates of the current location of the smart knob. As an example, a coordinate system of the entire house can be established, so as to obtain the current location information of the smart knob by calculating the coordinates of the current location of the smart knob.
[0162] Optionally, the location information includes a local area where the smart knob is currently located. As an example, the local area where the smart knob is currently located may refer to an area with a radius of R, with the coordinates of the current location of the smart knob as the origin. The value of R may be preset, such as 2m, and may be pre-stored in the hub device.
[0163] Optionally, the location information includes the space where the smart knob is currently located. The space can be divided based on rooms, such as kitchens, bedrooms, living rooms, etc. The space can also be divided based on areas, such as office areas, lunch areas, fitness areas, etc.
[0164] In some embodiments, the smart home system may include sensor devices, such as cameras, distance sensors, infrared sensors, millimeter wave radars, etc. The present application embodiment does not limit the sensor devices. The sensor device can be used to sense the current location information of the smart knob, and can also be used to sense the operation events reported by the smart knob.
[0165] The sensor device can be connected to the central device of the smart home system so that the central device can obtain the perception information reported by the sensor. The sensor device can report the position information of the perceived smart knob to the central device through the upstream device.
[0166] In one scenario, when the central device is a control center for the entire house, if there are other central devices deployed in one or more rooms / areas in the house, the location information of the smart knob reported by the sensor devices in these rooms / areas can also be transmitted to the control center through other central devices.
[0167] In some scenarios, the perception information reported by the sensor device also includes the user's position, direction (angle), etc. in the whole house, and may also include the user's identity information (such as physical characteristics such as face and clothing, and identity category information such as adult and child). The central device can also combine these perception information to automatically select the controlled device that the current smart knob needs to control from the smart devices where the smart knob is located. The embodiment of the present application does not limit the perception information reported by the sensor.
[0168] It should be noted that S730 can be executed after S710 to S720 or before S710 to S720. The embodiment of the present application does not limit the order of execution of S730 and S710 to S720. For example, S730 can be executed at a fixed time period, such as the central device obtains the current location information of the smart knob every 5 seconds.
[0169] S740: The central device determines the controlled device that the smart knob currently needs to control from the smart devices associated with the location information.
[0170] The smart device associated with the location information of the smart knob may be a smart device near the location information of the smart knob.
[0171] Optionally, if the hub device obtains the coordinates of the current location of the smart knob, the hub device may regard the smart devices located in the specified area as the smart devices near the location information of the smart knob. The specified area may be an area with the coordinates of the current location of the smart knob as the origin and a radius of r. The value of R may be preset, such as 3m, and may be pre-stored in the hub device.
[0172] Optionally, if the hub device acquires the local area where the smart knob is currently located, the hub device may regard the smart devices located in the local area as smart devices near the location information of the smart knob.
[0173] Optionally, if the hub device obtains the space where the smart knob is currently located, the hub device may regard the smart devices located in the space as the smart devices near the location information of the smart knob. For example, when the space is divided based on rooms, if the smart knob is currently located in the living room, the smart devices in the living room are the smart devices near the current location of the smart knob. For example, when the space is divided based on areas, if the smart knob is currently located in the office area, the smart devices in the office area are the smart devices near the current location of the smart knob.
[0174] In some embodiments, the hub device can save the historical configuration record of the smart knob, which includes the functions of all controllable smart devices that the smart knob has been historically configured. Optionally, when there are multiple smart knobs in the smart home system, the historical configuration records of the multiple smart knobs can be shared.
[0175] For example, when the smart home system includes smart knob A and smart knob B, if the user first configures the knob control function of smart knob A to control the brightness of the living room light, and first configures the knob control function of smart knob B to control the brightness of the bedroom light, the hub device can merge the configurations of smart knob A and smart knob B to save and manage them as a unified historical configuration record of the smart knobs.
[0176] That is, the historical configuration records saved by the central device include the functions of all smart devices that can be controlled by the smart knob, and do not distinguish which specific smart knob it is. For example, in the historical configuration records saved by the central device, each smart knob can control the brightness of the living room light as well as the bedroom light. In this way, even if the user does not configure the control function of smart knob A in the bedroom, due to the shared historical configuration records, the user can control the brightness of the bedroom light by taking smart knob A to the bedroom.
[0177] In the embodiment of the present application, after obtaining the location information of the smart knob, the central device can search for smart devices associated with the location information of the smart knob from the historical configuration records based on the location information. That is, the smart devices here are all controllable smart devices configured by the smart knob.
[0178] Then the hub device can determine the controlled device that the smart knob currently needs to control from the found smart devices associated with the location information of the smart knob. In this way, when the user controls the smart devices in the environment through the smart knob, the hub device can automatically select the smart devices near the location of the smart knob as the devices that the smart knob currently needs to control, thereby realizing the smart knob controlling the smart devices near the location of the smart knob.
[0179] For example, Figure 8 As shown in the figure, when the smart knob is in the living room, the central device can find out from the historical configuration record that the smart knob is in the living room, and can control smart devices such as smart lights, smart curtains, smart speakers, and smart air conditioners. At this time, if the smart knob reports an operation event, the central device can select the controlled device that the smart knob currently needs to control from smart devices such as smart lights, smart curtains, smart speakers, and smart air conditioners, such as the smart air conditioner.
[0180] In some embodiments, the smart device that can be controlled by the rotation function of the smart knob can be different from the smart device that can be controlled by the key function of the smart knob, such as controlling the temperature of a smart air conditioner or the opening and closing degree of a smart curtain by rotating the smart knob, and controlling the brightness of a smart light or the volume of a smart speaker by pressing the top of the smart knob. The hub device can save a history configuration record according to the key function and the rotation function of the smart knob.
[0181] For example, the central device can save a first historical configuration record and a second historical configuration record. The first historical configuration record includes the functions of smart devices controllable by all knob operations historically configured for the smart knob, and the second historical configuration record includes the functions of smart devices controllable by all button operations historically configured for the smart knob.
[0182] Therefore, the hub device can also search for the smart device associated with the current position information of the smart knob from the corresponding historical configuration record according to the operation event currently reported by the smart knob. For example, when the smart knob reports a rotation event, the hub device can search for the smart device associated with the current position information of the smart knob from the first historical configuration record.
[0183] S750: The central device sends a control command to the controlled device in response to the operation event.
[0184] In the embodiment of the present application, the historical configuration records saved by the central device may include the correspondence between the operation events of the smart knob and the functions of the controllable smart device. In this way, the central device can determine the operation that the controlled device needs to perform based on the correspondence, thereby generating a corresponding control instruction and sending it to the controlled device.
[0185] For example, when the smart knob is located in the living room, if the central device determines that the controlled device is the living room lamp, the central device can determine that the brightness of the living room lamp needs to be adjusted based on the corresponding relationship in the historical configuration record: the rotation operation of the smart knob - controls the brightness of the living room lamp. The central device can then generate corresponding control commands, such as "adjust the brightness of the lamp," based on the operation events reported by the current smart knob.
[0186] Optionally, the central device may also generate a corresponding control command according to the operation event type in the operation event. For example, when the rotation event reported by the smart knob includes the rotation event type - rotating clockwise four times continuously, the control command generated by the central device may be to increase the brightness of the light in four gears.
[0187] S760: The controlled device performs a corresponding operation based on the control command.
[0188] In the embodiment of the present application, after receiving the control command sent by the central device, the controlled device can perform corresponding operations based on the control command. For example, if the controlled device is a living room lamp, and the control command sent by the central device can be to increase the brightness of the lamp by four gears, the living room lamp can increase its brightness by four gears.
[0189] The device control method provided by the embodiment of the present application can automatically select a smart device near the real-time position as the controlled device of the smart knob according to the real-time position of the smart knob when the user controls the smart device in the environment through the portable smart knob. Therefore, when the user wants to use the smart knob normally in a certain space, the user can directly take the smart knob to the space for use, without the user having to manually reconfigure the control function of the smart knob in the space, thereby reducing the user's operation complexity and ensuring the user's control experience.
[0190] The following will take the case where the smart knob is currently located in the first position as an example to introduce another device control method provided in an embodiment of the present application.
[0191] See also Fig. 9 , Fig. 9 Another device control method provided by an embodiment of the present application is provided. The device control method includes:
[0192] S910. The smart knob reports the first event to the central device.
[0193] The first event may be a first rotation event or a first key event.
[0194] S920: The central device receives a first event from the smart knob.
[0195] S930: The central device detects that the smart knob is currently in the first position.
[0196] The first position may mean that the smart knob is currently located at a first position coordinate, or the smart knob is currently located in a first local area, or the smart knob is currently located in a first space, and the first space may be a first room or a first area.
[0197] S940: The hub device obtains device information of the smart device associated with the first location.
[0198] Optionally, the device information includes the operating state of the device. The operating state may include a switch state, that is, an open state (on state) or a closed state, and may also include a working state, a dormant state, a fault state, etc. The embodiment of the present application does not limit the operating state of the device.
[0199] Among them, the smart device associated with the first position may be a smart device near the first position. When the first position is the first position coordinate, the hub device may regard the smart devices located in the designated area as smart devices near the first position. Among them, the designated area may be an area with the first position coordinate as the origin and a radius of r. When the first position is the first local area, the hub device may regard the smart devices located in the first local area as smart devices near the first position. When the first position is the first space, such as the first room or the first area, the hub device may regard the smart devices located in the first space, such as the smart devices in the first room or the smart devices in the first area, as smart devices near the first position.
[0200] Taking the first position as the first room as an example, the hub device can obtain the switch status of the smart device in the first room. The smart device in the first room is a controllable smart device configured with a smart knob. The working status, sleep status, fault status, etc. of the smart device in the first room can also be obtained.
[0201] For example, if the controllable smart devices configured by the smart knob in the first room include smart lights, smart curtains, smart speakers, and smart air conditioners, the central device can obtain the switch status of the smart lights, smart curtains, smart speakers, smart air conditioners, etc.
[0202] For example, Fig.10As shown in FIG1 , the smart light is turned on, the smart curtain, the smart speaker, and the smart air conditioner are all turned off. For another example, as shown in FIG11 , the smart light, the smart curtain, and the smart speaker are turned on, and the smart air conditioner is turned off.
[0203] Optionally, the device information includes historical control information of the device. The historical control information may be historical control information from the first power-on to the current time, or historical control information within a specified time period. The specified time period may be the most recent week or the most recent month.
[0204] The historical control information may include a device control frequency or a device control count. Taking the first location as the first room as an example, the hub device may obtain a device control frequency or a device control count of the smart device in the first room.
[0205] For example, taking the first room as a living room, if the controllable smart devices configured by the smart knob in the first room include smart lights, smart curtains, smart speakers, and smart air conditioners, the central device can obtain the device control times of the smart lights, smart curtains, smart speakers, and smart air conditioners. For example, the device control times of each smart device can be shown in Table 1:
[0206] Room Smart devices Cumulative number of charges living room Smart Lights 20 living room Smart curtains 10 living room Smart Speakers 30 living room Smart air conditioning 40
[0207] Optionally, the historical control information is the historical control information of the smart device being controlled by the smart knob. As a method, each time the central device receives an operation event reported by the smart knob and issues a control instruction to the corresponding smart device based on the operation event, the smart device controlled by the current smart knob may be recorded, and the recorded content may include information such as the controlled smart device, the time of control, and the location of the smart device. Therefore, based on the control record of the smart knob, the central device can count the number of times each smart device is controlled by the smart knob, or the frequency of each smart device being controlled by the smart knob.
[0208] Optionally, the historical control information may also be the historical control information of all controlled smart devices, that is, the cumulative number of times the smart device has been controlled includes both the number of times the user controls it through the smart knob and the number of times the user controls it through other methods such as the central control screen, mobile phone, physical switch on the device, etc. The central device can uniformly manage the records of smart devices controlled by these control methods to count all the times each smart device has been controlled, or all the controlled frequencies of each smart device.
[0209] It can be understood that the device information obtained by the central device may include at least one of the operating status and historical control information of the above-mentioned device, and the embodiment of the present application does not limit the content of the obtained device information.
[0210] S950: The central device determines, based on the device information, the first device that the smart knob currently needs to control from the smart devices associated with the first position.
[0211] In one scenario, the hub device may determine the first device from smart devices associated with the first location based on an operating state of the device.
[0212] As a method, the hub device can determine the first device from the smart devices associated with the first position according to the first state of the device. The first state can be an open state or a working state. Taking the first state as an example, the hub device can determine the smart device that is currently in the open state from the smart devices associated with the first position, so as to determine the first device according to the smart devices that are in the open state.
[0213] Optionally, when there is only one smart device in the first state among the smart devices associated with the first position, the hub device may automatically determine the smart device in the first state as the first device that the smart knob currently needs to control.
[0214] For example, taking the first state as the open state as an example, Fig.10 As shown, among the smart devices associated with the first position, only the smart light is turned on, and the smart curtains, smart speakers, and smart air conditioners are all turned off. The central device can default to the smart light as the first device that the smart knob currently needs to control. At this time, when the central device receives an operation event reported by the smart knob, the central device can generate a control command for the smart light, such as controlling the brightness of the light, to achieve control of the smart light.
[0215] In some embodiments, if among the smart devices associated with the first position, there are multiple devices that are turned on, but only one device that is in working state, that is, the other devices are in sleep state, the hub device can also automatically determine the smart device in working state as the first device that the smart knob currently needs to control.
[0216] In one scenario, the hub device may also determine the first device from smart devices associated with the first location based on historical control information of the device.
[0217] As a method, the hub device can determine the smart device whose device control frequency or device control times meets the preset conditions from the smart devices associated with the first position, and determine the first device according to the smart devices whose device control frequency or device control times meet the preset conditions. The preset condition can be that the device control frequency is greater than the first frequency, or the device control frequency is the maximum frequency, or the device control times is greater than the first number, or the device control times is the maximum number. In this way, the hub device can automatically select the smart device that the user is accustomed to controlling as the controlled device of the current smart knob.
[0218] Optionally, the hub device may compare the device control times of each smart device associated with the first position to preferentially select the smart device with a larger number of control times as the controlled device of the current smart knob. For example, when the smart devices associated with the first position include a first device and a third device, the hub device may compare the device control times of the first device and the third device. When the device control frequency of the first device is greater than the device control frequency of the third device, or when the device control times of the first device are greater than the device control times of the third device, the hub device may select the first device as the controlled device that the current smart knob needs to control.
[0219] In one scenario, the hub device may also determine the first device from the smart devices associated with the first location based on the operating status of the device and the historical control information of the device.
[0220] As a method, if there is only one smart device in the first state among the smart devices associated with the first position, the hub device can automatically determine the smart device in the first state as the first device that the smart knob currently needs to control. If there are multiple devices in the first state, the hub device can continue to determine the first device from the multiple smart devices in the first state based on the historical control information of the device.
[0221] For example, Fig.11 As shown, among the smart devices associated with the first position, multiple devices such as smart lights, smart curtains, and smart speakers are turned on, and the smart air conditioner is turned off. Therefore, the central device can compare the cumulative controlled times of the smart lights, smart curtains, and smart speakers. Among them, the smart speaker has the largest number of controlled times. Therefore, the central device can automatically determine the smart speaker with the largest number of controlled times as the first device that the smart knob currently needs to control. It can be understood that although the smart air conditioner has the largest number of controlled times among the four smart devices, it is in the off state, so it may not be selected as the controlled device in priority.
[0222] S960: In response to the first event, the central device sends a first control command to the first device.
[0223] After the hub device automatically selects the first device that the smart knob currently needs to control, the hub device can generate a corresponding control command based on the first event and send it to the first device. For example, when the first event is a rotation event and the first device is a smart speaker, the corresponding first control command generated can be "adjust the volume of the speaker" and sent to the smart speaker.
[0224] S970: The first device performs a first operation based on the first control command.
[0225] For example, the smart speaker can adjust its own volume level based on the first control command “adjust the volume of the speaker”.
[0226] It can be understood that when the smart knob reports the first event to the central device, if the smart knob is currently in the second position, the central device can also obtain the device information of the smart device associated with the second position, so as to determine the second device that the smart knob currently needs to control from the smart devices associated with the second position based on the device information. Then the central device can send a second control command to the second device in response to the first event, so that the second device can perform the second operation based on the second control command. Among them, the second position can mean that the smart knob is currently located at the second position coordinate, or the smart knob is currently located in the second local area, or the smart knob is currently located in the second space, which can be a second room or a second area. The entire process can refer to the description of the smart knob being located at the first position, which is not limited this time.
[0227] In this way, no matter where the smart knob is currently located, the central device can automatically select the smart device near the current position of the smart knob as the controlled device, without the user having to manually configure it back and forth.
[0228] The device control method provided by the embodiment of the present application can automatically select a suitable smart device near the location of the smart knob as the controlled device of the smart knob from the smart devices associated with the location of the smart knob according to the running status of the device and / or the historical control information of the device when the user controls the smart device in the environment through the portable smart knob. Therefore, when the user wants to use the smart knob normally in a certain space, the user can directly take the smart knob to the space for use without the user manually reconfiguring the control function of the smart knob in the space, thereby reducing the user's operation complexity and ensuring the user's control experience.
[0229] In the embodiment of the present application, when the position of the smart knob is changed, the central device can also automatically select the smart device near the changed position of the smart knob as the controlled device of the smart knob, without the need for the user to manually reconfigure the control function of the smart knob at the changed position.
[0230] The following will take the movement of the smart knob from the first position to the third position as an example to introduce another device control method provided in an embodiment of the present application.
[0231] See also Fig.12 , Fig.12 Another device control method provided by an embodiment of the present application is provided. The device control method includes:
[0232] S980. The smart knob moves from the first position to the third position.
[0233] The third position may refer to that the smart knob is currently located at a third position coordinate, or the smart knob is currently located at a third local area, or the smart knob is currently located at a third space, and the third space may be a third room or a third area. The user may change the position of the smart knob in the environment. For example, the user may move the smart knob from the living room to the bedroom, or from the living room to the kitchen.
[0234] In an embodiment of the present application, when the user holds the smart knob in the first position and performs a rotation or pressing operation to control the first device, the user can also directly take the smart knob to the third position to control the smart device at the third position without manually reconfiguring the control function of the smart knob in the third position.
[0235] S990. The smart knob reports the second event to the central device.
[0236] The second event may be a second rotation event or a second key event.
[0237] S1000. The central device receives a second event from the smart knob.
[0238] S1010. The central device detects that the position of the smart knob changes to the third position.
[0239] Since the hub device detected that the smart knob was in the first position last time, when the smart knob moves from the first position to the third position, the hub device can detect that the position of the smart knob has changed, and the smart knob detected this time is in the third position.
[0240] S1020. The central device is changed to obtain device information of a smart device associated with a third location.
[0241] Among them, the smart device associated with the third position may be a smart device near the third position. Taking the third position as the third room as an example, the hub device can obtain the device information of the smart device in the first room. The smart device in the first room is a controllable smart device configured with a smart knob. Among them, the device information obtained by the hub device may include at least one of the operating status and historical control information of the above-mentioned device, and the embodiment of the present application does not limit the content of the obtained device information.
[0242] Since the hub device determines the smart device associated with the first position, when the smart knob moves from the first position to the third position, the hub device can detect that the position of the smart knob has changed, and can synchronously change to determine the smart device associated with the third position. After determining the smart device associated with the third position, the hub device can obtain device information of the smart device associated with the third position.
[0243] For example, when the first position is the living room, and the smart devices in the living room that can be controlled by the smart knob include smart speakers and smart air conditioners, after the central device obtains the device information of the smart speakers and smart air conditioners, if it detects that the smart knob is moved from the living room to the bedroom, then since the smart devices in the bedroom that can be controlled by the smart knob include smart curtains, smart screens, smart lights, etc., the central device can be updated to obtain the device information of smart curtains, smart screens, and smart lights.
[0244] S1030. The central device determines, based on the device information, a fourth device that the smart knob currently needs to control from the smart devices associated with the third position.
[0245] For example, if the smart knob is in the first position, such as the living room, the central device determines that the first device that the smart knob currently needs to control is the smart speaker based on the device information of the smart speaker and smart air conditioner obtained at the first position. When the smart knob moves to the third position, such as the bedroom, the central device updates the device information of the smart curtains, smart screens, and smart lights obtained at the third position, and determines that the smart knob currently needs to control the fourth device from the first device, such as the smart screen.
[0246] S1040: In response to the second event, the central device sends a third control command to the fourth device.
[0247] Based on the changed position of the smart knob, after the hub device automatically selects the fourth device that the smart knob currently needs to control, the hub device can generate a corresponding third control command based on the second event reported by the smart knob at this time, and send it to the fourth device. For example, when the second event is a key event and the fourth device is a smart screen, the corresponding third control command generated can be "adjust the volume of the smart screen" and sent to the smart screen.
[0248] S1050. The fourth device performs a third operation based on the third control command.
[0249] For example, the fourth device is a smart screen, and the smart screen can adjust its own volume level based on the third control command “adjust the volume of the smart screen”.
[0250] It can be understood that if the smart knob moves to the third position and reports a new operation event to the central device, the central device can also determine the device that the smart knob currently needs to control from the smart devices associated with the third position based on the device information, and send corresponding control instructions to the device.
[0251] The embodiment of the present application provides a device control method. When a user controls a smart device in an environment through a portable smart knob, the central device can automatically switch the controlled device of the smart knob after the room where the smart knob is located is changed, so as to switch to the control of the smart device in the changed room, without the need for the user to manually configure the control function of the control device in the changed room, thereby reducing the user's operation complexity and ensuring the user's control experience. Therefore, when the user wants to move to a certain space to use the smart knob normally, the user can directly take the smart knob to the space for use, without the need for the user to manually reconfigure the control function of the smart knob in the space, thereby reducing the user's operation complexity and ensuring the user's control experience.
[0252] In some embodiments, when there are multiple smart devices associated with the location of the smart knob, the user can also manually operate the smart knob to switch and select one smart device from the associated multiple smart devices as the controlled device of the smart knob. Optionally, after controlling a smart device, the user can manually operate the smart knob to switch and select one smart device from the associated multiple smart devices as the controlled device of the smart knob when the user finds that it is not the device he wants to control. Optionally, the user can also be prompted to the controlled device of the current smart knob. Therefore, when the user finds that it is not the device he wants to control, he can manually operate the smart knob to switch and select one smart device from the associated multiple smart devices as the controlled device of the smart knob.
[0253] Taking the smart knob being in the first position as an example, another device control method provided in an embodiment of the present application is introduced below.
[0254] See also Fig.13 , Fig.13 Another device control method provided by an embodiment of the present application is provided. The device control method includes:
[0255] S1310. The smart knob reports the third event to the central device.
[0256] The first event or the second event is an operation event that triggers the control function of the smart knob. In response to the first event or the second event, the central device can automatically select the controlled device of the smart knob for control. The third event is an operation event that triggers the switching of the controlled device of the smart knob, which can be a third rotation event or a third key event. In response to the third event, the central device can trigger the switching of the controlled device of the smart knob or the switching of the function of the controlled device.
[0257] Among them, the smart device may include multiple functions, and the smart knob can control different functions of the same smart device. The central device may also trigger the switching between different functions of the controlled device of the smart knob in response to the third event. For example, when the smart knob can control multiple functions of the smart air conditioner, such as the wind direction, temperature, cooling mode, heating mode, etc., the central device may also trigger the switching between the wind direction, temperature, cooling mode, heating mode, etc. of the smart air conditioner controlled by the smart knob in response to the third event.
[0258] Optionally, the third event may be a different event from the first event or the second event. For example, the first event or the second event is a single-click event, and the third event is a double-click event. In this way, the user can control the smart device by single-clicking the top button of the smart knob, or can switch the smart device or the function of the smart device currently controlled by the smart knob by double-clicking the top button of the smart knob.
[0259] For another example, the first event or the second event is a rotation event, and the third event is a key event. In this way, the user can control the smart device by rotating the smart knob, or switch the smart device or the function of the smart device currently controlled by the smart knob by pressing the top button of the smart knob.
[0260] For another example, the first event or the second event is a key event, and the third event is a rotation event. In this way, the user can control the smart device by pressing the smart knob, and can also switch the smart device or the function of the smart device currently controlled by the smart knob by rotating the smart knob.
[0261] Optionally, the third event may also be the same event as the first event or the second event. The smart knob may report a switching trigger event before reporting the third event to prompt the hub device to enter the switching function of the controlled device of the smart knob or the switching function of the function of the controlled device. Thus, the hub device may identify the third event reported by the smart knob as an operation event that triggers the switching of the controlled device of the smart knob.
[0262] The triggering event of the switch may be a long press event, a heavy press event, a double-click button event, etc. of the smart knob. In this way, the user can control the smart device by pressing or rotating the smart knob. If the controlled device of the smart knob needs to be switched, the user can also press or long press the smart knob to enter the switching mode of the controlled device of the smart knob, and then the user can switch the smart device or the function of the smart device currently controlled by the smart knob by pressing or rotating the smart knob.
[0263] After the user determines the controlled device that the smart knob is currently switching, the smart knob can also report the exit event of the switch to prompt the central device to exit the switching function of the controlled device of the smart knob or the switching function of the function of the controlled device. Therefore, the central device can identify the subsequent operation events reported by the smart knob as operation events that trigger the control function of the smart knob.
[0264] S1320: The central device receives a third event from the smart knob.
[0265] S1330: The central device detects that the smart knob is currently in the first position.
[0266] S1340: The hub device obtains multiple smart devices associated with the first location.
[0267] For example, when the first location is the living room, Fig.14 As shown, the smart devices that can be controlled by the smart knob in the living room include smart lights, smart curtains, smart speakers, and smart air conditioners.
[0268] S1350: In response to the third event, the hub device switches and selects one device from a plurality of smart devices associated with the first position as the first device that the smart knob at the first position currently needs to control.
[0269] Optionally, each time the user rotates or presses the smart knob, the smart knob will report a third event accordingly, and the hub device will sequentially switch from the multiple smart devices associated with the first position according to each third event.
[0270] Exemplarily, the first location is the living room, such as Fig.14 As shown, when the smart devices controllable by the smart knob in the living room include smart lights, smart curtains, smart speakers, and smart air conditioners, the central device can switch the controlled device currently required to be controlled by the smart knob among the smart lights, smart curtains, smart speakers, and smart air conditioners according to the third event reported by the smart knob each time. Among them, the controlled device confirmed by the user to be switched is the first device required to be controlled by the smart knob at the first position.
[0271] Optionally, the hub device may also switch and select one device from the multiple smart devices associated with the first location based on the operating status of the multiple smart devices associated with the first location as the first device at the first location.
[0272] As a method, the hub device can switch and select one device from multiple smart devices associated with the first position as the first device at the first position according to the first state of the device. The first state can be an open state or a working state.
[0273] For example, when the first location is the living room, Fig.13 As shown, among the smart devices controllable by the smart knob in the living room, the smart curtains, smart speakers, and smart air conditioners are all in the on state, and only the smart air conditioner is in the off state. Therefore, the central device can switch the controlled device that the smart knob currently needs to control between the smart curtains, smart speakers, and smart air conditioners that are in the on state according to the third event reported by the smart knob each time. For example, when the smart knob reports the third event 1 for the first time, the central device can switch the controlled device that the smart knob currently needs to control to the smart light. Later, when the smart knob reports the third event 2 again, the central device can switch the controlled device that the smart knob currently needs to control to the smart curtain. Later, when the smart knob reports the third event 3, the central device can switch the controlled device that the smart knob currently needs to control to the smart speaker.
[0274] Optionally, when the device types or the number of devices of the smart devices associated with the first position are different, the controlled devices switched by pressing or rotating the smart knob are also different.
[0275] For example, Fig.16 As shown in (a), when the smart devices associated with the first position include four types of smart devices, the central device can switch between the four types of smart devices in sequence, such as switching in the order of smart lights -> smart air conditioners -> smart curtains -> smart speakers -> smart lights... Among them, the four types of smart devices can be sorted from most to least according to the number of times the devices are controlled, or they can be arranged in the order of the time of the controlled devices configured as smart knobs. Among them, the embodiment of the present application does not limit the arrangement order of the smart devices associated with the first position.
[0276] For example, Fig.16 As shown in (b), when the smart devices associated with the first position include three types of smart devices, the central device can switch sequentially among the three types of smart devices, such as switching in the order of smart lights -> smart curtains -> smart speakers -> smart lights...
[0277] For example, Fig.17As shown in (a), when the smart devices associated with the first position include two types of smart devices, the hub device can switch between the two types of smart devices. Fig.17 As shown in (b), when there is only one type of smart device associated with the first position, the hub device will not switch. There is no switching response when the user rotates or presses the smart knob.
[0278] In this way, the user cannot manually configure the control function of the smart knob, and the user can directly rotate or press the smart knob to achieve automatic switching of the controlled device of the smart knob.
[0279] S1360. The smart knob reports the first event to the central device.
[0280] The central device switches and selects one device from multiple smart devices associated with the first position as the first device that the smart knob at the first position currently needs to control. After confirming the switch selection, when the user subsequently rotates or presses the smart knob, the central device can directly control the first device to implement the corresponding function.
[0281] S1370: The central device receives a first event from the smart knob.
[0282] S1380: When the central device detects that the smart knob is still in the first position, in response to the first event, the central device sends a first control command to the first device.
[0283] For example, when confirming that the first device selected for switching is a smart curtain, if the smart knob reports a first rotation event, the central device can generate a corresponding first control command "adjust the opening degree of the smart curtain" based on the first rotation event and send it to the smart curtain.
[0284] S1390. The first device performs a first operation based on the first control command.
[0285] For example, when the first device is a smart curtain, the smart curtain can adjust its own curtain opening degree according to the first control command of "adjusting the curtain opening degree of the smart curtain".
[0286] In some scenarios, the hub device can also detect changes in the operating status of the smart device associated with the location of the smart knob. Taking the switch state as an example, when it is detected that at least one of the smart devices associated with the location of the smart knob has switched from the on state to the off state, the number of controlled devices that the smart knob can currently switch is reduced. When it is detected that at least one of the smart devices associated with the location of the smart knob has switched from the off state to the on state, the number of controlled devices that the smart knob can currently switch is increased.
[0287] In an embodiment of the present application, when the operating status of a device in the smart device associated with the location of the smart knob changes, causing the controlled device that the smart knob can currently switch to change, the central device can automatically adjust the controlled devices that the smart knob can switch, and the corresponding switching method.
[0288] As an example, Fig.18 As shown on the left side of (a), when the smart knob is currently located in the living room, the smart lights, smart speakers, smart curtains, smart air conditioners, etc. in the living room are all turned on at the first moment. At this time, if the user rotates or presses the smart knob to switch the controlled device currently selected by the smart knob, the central device can determine that the set of controlled devices that can be switched by the smart knob is smart lights, smart speakers, smart curtains, and smart air conditioners, so that the central device can respond to the user's rotation or pressing of the smart knob to switch between the four types of devices: smart lights, smart speakers, smart curtains, and smart air conditioners. Fig.18 As shown on the left side of (b), switch in the order of smart light -> smart air conditioner -> smart curtain -> smart speaker -> smart light...
[0289] like Fig.18 As shown on the right side of (a), if the smart speaker in the living room is switched from on to off at the second moment, the smart lights, smart curtains, and smart air conditioners are still on. At this time, if the user rotates or presses the smart knob to switch the controlled device currently selected by the smart knob, the central device can determine that the set of controlled devices that can be switched by the smart knob is changed to smart lights, smart curtains, and smart air conditioners, so that the central device can respond to the user's rotation or pressing of the smart knob to switch between the three types of devices: smart lights, smart curtains, and smart air conditioners. Fig.18 As shown on the right side of (b), switch in the order of smart light -> smart air conditioner -> smart curtain -> smart light...
[0290] In some scenarios, the central device can also detect the number of smart devices associated with the location of the smart knob. It can be understood that when smart devices at other locations are moved to the location of the smart knob, the number of smart devices associated with the location of the smart knob will increase, and when the smart devices at the location of the smart knob are moved to other locations, the number of smart devices associated with the location of the smart knob will decrease. In an embodiment of the present application, when the number of smart devices associated with the real-time location of the smart knob changes due to the movement of the location of the smart device, the central device can automatically adjust the controlled devices that can be switched by the smart knob, as well as the corresponding switching method.
[0291] As an example, Fig.19As shown on the left side of (a), when the smart knob is currently in the bedroom, at the first moment, the only smart device that can be controlled by the smart knob in the bedroom is a smart light. At this time, when the user rotates or presses the smart knob to switch the controlled device, the central device can determine that the set of controlled devices that can be switched by the smart knob is only one smart light, so the central device will not respond to the switch. Fig.19 As shown on the left side of (b), the switching is unresponsive.
[0292] like Fig.19 As shown on the right side of (a), if there is a smart speaker moved from the living room to the bedroom at the second moment, then a smart speaker is added to the bedroom at the second moment. At this time, if the user rotates or presses the smart knob to switch the controlled device currently selected by the smart knob, the central device can determine that the set of controlled devices switchable by the smart knob is changed to smart lights and smart speakers, so that the central device can respond to the user's rotation or pressing of the smart knob to switch between the smart lights and the smart speakers, such as Fig.19 As shown on the right side of (b).
[0293] It can be understood that if the smart knob is located in the living room, the smart devices that can be controlled by the smart knob in the living room include smart lights, smart speakers, smart curtains, smart air conditioners, etc. At the beginning, since the smart speaker in the living room has been moved to the bedroom, the smart devices that can be controlled by the smart knob in the living room are reduced to smart lights, smart curtains, and smart air conditioners. At this time, if the user rotates or presses the smart knob to switch the controlled device currently selected by the smart knob, the central device can determine that the set of controlled devices that can be switched by the smart knob is changed to smart lights, smart curtains, and smart air conditioners. Thus, the central device can respond to the user's operation of rotating or pressing the smart knob to switch between the three types of devices: smart lights, smart curtains, and smart air conditioners.
[0294] In some scenarios, when the position of the smart knob changes, the number of smart devices associated with the location of the smart knob may increase or decrease. In the embodiment of the present application, when the position of the smart knob changes, resulting in a change in the number of smart devices associated with the real-time location of the smart knob, the hub device can automatically adjust the controlled devices that the smart knob can switch, and the corresponding switching method.
[0295] As an example, Fig. 20As shown on the left side of (a), if the smart knob is in the living room at the first moment, the smart devices that can be controlled by the smart knob in the living room include smart lights, smart speakers, smart curtains, smart air conditioners, etc. At this time, if the user rotates or presses the smart knob to switch the controlled device currently selected by the smart knob, the central device can determine that the set of controlled devices that can be switched by the smart knob is smart lights, smart speakers, smart curtains, and smart air conditioners. Therefore, the central device can respond to the user's rotation or pressing of the smart knob and switch between the four types of devices: smart lights, smart speakers, smart curtains, and smart air conditioners. Fig. 20 As shown on the left side of (b).
[0296] like Fig. 20 As shown on the right side of (b) in the figure, if the smart knob is moved to the bedroom at the second moment, the smart devices that can be controlled by the smart knob in the bedroom include smart lights and smart speakers. At this time, if the user rotates or presses the smart knob to switch the controlled device currently selected by the smart knob, the central device can determine that the set of controlled devices that can be switched by the smart knob is changed to smart lights and smart speakers. Therefore, the central device can respond to the user's operation of rotating or pressing the smart knob and switch between smart lights and smart speakers in turn, such as Fig. 20 As shown on the right side of (b).
[0297] The embodiment of the present application provides a device control method, when a user controls a smart device in an environment through a portable smart knob, the user can quickly switch the controlled device currently selected by the smart knob by directly rotating or pressing the smart knob. The user does not need to manually reconfigure the function of the controlled device switched by the smart knob, which reduces the user's operation complexity and ensures the user's control experience.
[0298] The following is an introduction to the implementation process of controlling smart devices through smart knobs in this application.
[0299] See also Fig.21 , Fig.21 The embodiment of the present application shows an implementation process of controlling a smart device through a smart knob. The implementation process may include S211 to S223:
[0300] S211. The input device displays a knob configuration interface.
[0301] As an example, when the input device is a central control screen, the displayed knob configuration interface can be as follows: Fig. 22 The knob configuration interface can include different smart devices in different rooms.
[0302] S212: The input device detects a configuration operation by the user.
[0303] As an example, the user can configure multiple smart devices supported by the control function of the smart knob at once from the knob configuration interface. Fig. 22 As shown, the user can select multiple smart devices in different rooms from the rotation configuration interface, or can select multiple smart devices in the same room as multiple smart devices that can be controlled by the currently configured smart knob.
[0304] S213: After the user completes the configuration of the smart knob through the input device of the smart home, the input device can report the knob control function configured by the user to the central device in a timely manner.
[0305] S214. When the central device detects that the user configures the knob control function for the first time, it creates a historical configuration record of the knob.
[0306] S215. The central device saves the knob control function configured by the user each time in the historical configuration record.
[0307] S216. The central device obtains the location of the smart knob.
[0308] S217. The central device determines the controlled device that the smart knob currently needs to control from the historical configuration records according to the location of the smart knob.
[0309] S218: The input device reports an operation event, where the operation event includes a rotation event or a key event.
[0310] S219: The central device detects that the position of the smart knob has changed.
[0311] S220. The central device changes the controlled device that the smart knob currently needs to control according to the changed position of the smart knob and the historical configuration record.
[0312] S221. The central device converts the rotation event or the key event into a device control instruction.
[0313] S222. The central device sends device control instructions.
[0314] S223. The central device performs corresponding operations based on the device control instructions.
[0315] In some embodiments, a device control method provided by an embodiment of the present application can also be applied to the cloud. After the central device detects the position information of the smart knob and the operation event reported by the smart knob, it can report it to the cloud. The cloud automatically selects the controlled device of the smart knob based on the position information of the smart knob and the operation event reported by the smart knob in real time, and sends the corresponding control instruction to the central device, so that the central device can forward the control instruction to the controlled device.
[0316] Some embodiments of the present application also provide an electronic device, which may include: a memory and one or more processors. The memory is coupled to the processor. The memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device may perform the various functions or steps performed by the hub device in the above method embodiment.
[0317] Among them, the electronic device can be a central device, an edge cloud node, or a cloud (cloud server), and the embodiments of the present application are not limited thereto.
[0318] Some other embodiments of the present application also provide a device control apparatus, which can be applied to the above electronic device and is used to execute the functions or steps executed by the central device in the above method embodiment.
[0319] Optionally, the device access device can specifically be a chip, component or module, which may include a connected processor and memory; wherein the memory is used to store computer execution instructions, and when the device is running, the processor can execute the computer execution instructions stored in the memory to enable the chip, component or module to execute the device access method executed by the central device in the above-mentioned method embodiments.
[0320] The embodiment of the present application also provides a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected through lines. For example, the interface circuit can be used to receive signals from other devices (such as the memory of an electronic device). For another example, the interface circuit can be used to send signals to other devices (such as processors). Exemplarily, the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instructions are executed by the processor, the electronic device can execute the various steps performed by the central device in the above embodiment. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
[0321] An embodiment of the present application also provides a computer storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the device access method executed by the central device in the above-mentioned embodiment.
[0322] An embodiment of the present application also provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the above-mentioned related steps to implement the device access method executed by the central device in the above-mentioned embodiment.
[0323] Among them, the electronic device, 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.
[0324] Through the description of the above implementation methods, technical personnel in the relevant field can clearly 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.
[0325] 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. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as 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.
[0326] 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.
[0327] 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.
[0328] 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 method described in each embodiment 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.
[0329] In the above, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. It should be understood that in this application, "at least one" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural.
[0330] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.
[0331] 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 changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A device control method, characterized in that: The method comprises: Acquire a first user operation on a movable control device; If the control device is in the first area, in response to the first user operation, controlling a first device to perform an operation, the first device being one of at least one device currently capable of responding to the first user operation among the devices associated with the first area; If the control device is in the second area, then in response to the first user operation, the second device is controlled to perform an operation, where the second device is one of at least one device associated with the second area that is currently capable of responding to the first user operation.
2. The method according to claim 1, characterized in that The obtaining of a first user operation on a movable control device includes: Acquire the first user operation on the control device at a first moment; The method further comprises: acquiring the first user operation on the control device at a second moment; If the control device is in the first area, then in response to the first user operation, a third device is controlled to perform an operation, where the third device is one of at least one device associated with the first area that is currently capable of responding to the first user operation.
3. The method according to claim 1 or 2, characterized in that: After controlling the first device to perform an operation in response to the first user operation, the method further includes: Acquire a second user operation on the control device; If the control device is in the first area, then in response to the second user operation, the control device switches to control a fourth device to perform an operation, where the fourth device is another one of the at least one device associated with the first area that is currently capable of responding to the first user operation.
4. The method according to claim 3, characterized in that The first user operation is a rotation operation, and the second user operation is a key operation.
5. The method according to claim 1 or 2, characterized in that: Before acquiring the first user operation on the movable control device, the method further includes: Acquire a second user operation on the control device; If the control device is in the first area, in response to the second user operation, determining that the controlled device of the control device is a fourth device, the fourth device being another one of the at least one device currently capable of responding to the first user operation among the devices associated with the first area; Acquire a third user operation on the control device; If the control device is in the first area, in response to the third user operation, the controlled device of the control device is switched to the first device.
6. The method according to claim 5, characterized in that Before acquiring a third user operation on the control device, the method further includes: When it is determined that the controlled device of the control device is the fourth device, outputting prompt information, where the prompt information is used to prompt a user that the controlled device of the control device is the fourth device; or When it is determined that the controlled device of the control device is the fourth device, the fourth device is controlled to perform an operation.
7. The method according to any one of claims 1 to 6, characterized in that: Before controlling the first device to perform an operation in response to the first user operation, the method further includes: Acquire device information of at least one device associated with the first area, the device information including device status and / or device control habits; According to the device information, it is determined that the controlled device of the control device is the first device.
8. The method according to claim 7, characterized in that The device status includes a working status; the device control habit includes a device control frequency or a device control number of times.
9. The method according to claim 8, characterized in that When the device information includes the working state, determining, according to the device information, that the controlled device of the control device is the first device includes: When the number of devices in the at least one device whose working state is a controllable state is one, it is confirmed that the device in the controllable state is the first device.
10. The method according to claim 8, characterized in that When the at least one device includes the first device and the fifth device, and the device information includes the device control habit, determining, according to the device information, that the controlled device of the control device is the first device includes: When the device control frequency of the first device is greater than the device control frequency of the fifth device, or when the device control times of the first device are greater than the device control times of the fifth device, it is determined that the controlled device of the controlling device is the first device.
11. The method according to any one of claims 8 to 10, characterized in that: When the device information includes the device state and the device control habit, determining, according to the device information, that the controlled device of the control device is the first device includes: When there are multiple devices whose working state is a controllable state in the at least one device, the controlled device of the control device is determined to be the first device according to the device control frequency or the device control times, and the first device is the device with the highest device control frequency or the device with the largest number of device control times among the multiple devices in the controllable state.
12. The method according to claims 1-11, characterized in that If the control device is in the first area, after controlling the first device to perform an operation in response to the first user operation, the method further includes: When the control device moves from the first area to a third area, acquiring the first user operation on the control device; In response to the first user operation, a sixth device is controlled to perform an operation, where the sixth device is one of at least one device associated with the third area that is currently capable of responding to the first user operation.
13. The method according to claims 1-12, characterized in that Before acquiring the first user operation on the movable control device, the method further includes: Displaying a first interface, wherein the first interface includes device options in multiple regions, wherein the device options in each region include at least one; In response to a first operation acting on a plurality of device options, a plurality of devices corresponding to the plurality of device options are determined to be devices controllable by the control device, wherein the plurality of device options include options corresponding to the first device and options corresponding to the second device.
14. The method according to claims 1-13, characterized in that The first user operation is an operation on a physical key or an operation on a virtual key.
15. An electronic device, characterized in that: The electronic device includes a memory and a processor; the memory and the processor are coupled; the memory is used to store program code, the program code includes instructions, and when the processor executes the instructions, the electronic device executes the method as described in any one of claims 1-14.
16. The device according to claim 15, characterized in that The electronic device is a movable control device.
17. The device according to claim 16, characterized in that The control device is a smart knob.
18. The device according to claim 15, characterized in that The electronic device is a hub device.
19. A chip system, characterized in that: The chip system is applied to an electronic device; the chip system includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through lines; the interface circuit is used to receive a signal from a memory of the electronic device and send the signal to the processor, the signal including a computer instruction stored in the memory; when the processor executes the computer instruction, the electronic device executes the method as described in any one of claims 1-14.
20. A readable storage medium, characterized in that: The method comprises instructions, which, when executed on an electronic device, cause the electronic device to execute the method according to any one of claims 1 to 14.
Citation Information
Patent Citations
Whole house smart home control method
CN113359505A
Smart home control method, device and apparatus
CN113759736A
Multi-device calling method and device, control terminal and storage medium
CN114124593A
Equipment control method and electronic equipment
CN115550391A
Intelligent equipment control method and electronic equipment
CN116804854A