Equipment control method, device and system, electronic equipment and computer program product
By determining the target controlled page on the device control interface of the smart home and generating device control data, the problem of users in multi-floor/multi-room residences need to operate the equipment themselves is solved, improving the degree of intelligence and convenience of life.
Patent Information
- Application Number
- CN202411696036.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-03-25
AI Technical Summary
In multi-floor/multi-room residences, users need to go to the floor/room where the equipment is located to operate, which is less intelligent.
A device control method and device are provided. By displaying the device control interface, the user can determine the target controlled page on the main control page, generate device control data, and send it to the associated controlled device, so that it can perform corresponding actions.
This avoids users' need to go to the floor/room where the controlled device is located to operate, improves the intelligence of smart homes, and thus improves the convenience of family life.
Smart Images

Figure CN119689879A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home, and in particular to a device control method, apparatus, system, electronic device and computer program product. Background Art
[0002] With the development of smart home technology, users have a growing demand for smart and automated living environments. In multi-story homes, users hope to be able to conveniently control smart devices on different floors / rooms to achieve a more efficient and comfortable living experience.
[0003] However, in a multi-floor / multi-room residence, users are often required to personally go to the floor / room where the device is located to operate it, and the degree of intelligence is low. Summary of the invention
[0004] Based on this, it is necessary to provide a device control method, apparatus, system, electronic device and computer program product to address the above-mentioned technical problems, which can solve the problem that in multi-floor / multi-room residences, users often need to go to the floor / room where the device is located to operate it in person, resulting in a low level of intelligence.
[0005] The present application provides a device control method, the method comprising:
[0006] Displaying a device control interface, the device control interface is used to display a main control page and at least one controlled page, the main control page is a control page of a main control device, and the controlled page is a control page of a controlled device associated with the main control device;
[0007] Determine the target controlled page of the device control interface;
[0008] In response to the page setting operation for the target controlled page, device control data is generated and sent to the target controlled device associated with the master device, so that the target controlled device controls the smart device associated with the target controlled device to perform corresponding actions according to the device control data.
[0009] Accordingly, the present application provides a device control apparatus, the apparatus comprising:
[0010] A first display module is used to display a device control interface, where the device control interface is used to display a main control page and at least one controlled page, where the main control page is a control page of a main control device, and the controlled page is a control page of a controlled device associated with the main control device;
[0011] A first determination module, used to determine a target controlled page of a device control interface;
[0012] The first generating module is used to generate device control data in response to a page setting operation for a target controlled page, and send the device control data to a target controlled device associated with the master device, so that the target controlled device controls the smart device associated with the target controlled device to perform corresponding actions according to the device control data.
[0013] Optionally, in some embodiments of the present application, the device control apparatus further includes:
[0014] The second generating module is used to generate device control data in response to the page setting operation for the target controlled page, so that the main control device controls the smart device associated with the main control device to perform corresponding actions according to the device control data.
[0015] Optionally, in some embodiments of the present application, the device control apparatus further includes:
[0016] The association module is used to associate the main control page of the master control device with the controlled pages corresponding to other controlled devices under the same account system when the master control device and multiple controlled devices are in the same account system.
[0017] Optionally, in some embodiments of the present application, the device control apparatus further includes:
[0018] A display module, configured to display a device adding page corresponding to the main control page in response to a trigger operation on the device control interface;
[0019] The adding module is used to determine the controlled device associated with the master device in response to the device adding operation on the device adding page, and add the control page corresponding to the controlled device in the device control interface.
[0020] Optionally, in some embodiments of the present application, the adding module includes:
[0021] A first display submodule, configured to display a device selection page in response to a device adding operation on the device adding page, wherein the device selection page includes a device list, the device list includes a plurality of devices to be controlled and corresponding selection controls thereof, and the plurality of devices to be controlled are devices of the same type as the main control device;
[0022] The first determination submodule is used to determine the controlled device associated with the master device in response to the selection operation on the selection control, and add a control page corresponding to the controlled device in the device control interface.
[0023] Optionally, in some embodiments of the present application, the multiple devices to be controlled and the main control device are devices of different types.
[0024] Optionally, in some embodiments of the present application, the first determining module includes:
[0025] The switching submodule is used to generate a page switching instruction in response to a page switching operation on the device control interface, and switch the controlled page / main control page currently displayed on the device control interface to the target controlled page indicated by the page switching instruction for display.
[0026] Optionally, in some embodiments of the present application, the device control apparatus further includes:
[0027] A third generating module, for generating a new device name in response to a name update operation on the device control interface, the name update operation being used to update the device name of the controlled device corresponding to the controlled page displayed on the device control interface or to update the device name corresponding to the master control device corresponding to the master control page displayed on the device control interface;
[0028] The update module is used to update the device name of the master device associated with the master page or the device name associated with the controlled page with a new device name.
[0029] Accordingly, the present application provides a device control system, comprising: a master control device and at least one controlled device associated with the master control device;
[0030] The master control device is used to display the device control interface, and the device control interface is used to display the main control page and at least one controlled page, the main control page is the control page of the master control device, and the controlled page is the control page of the controlled device associated with the master control device; determine the target controlled page of the device control interface; generate device control data in response to the page setting operation for the target controlled page, and send the device control data to the target controlled device associated with the master control device, so that the target controlled device controls the intelligent device associated with the target controlled device to perform corresponding actions according to the device control data.
[0031] Accordingly, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the device control method of each embodiment of the present application are implemented.
[0032] Accordingly, the present application provides a computer program product, including a computer program, which implements the steps in the device control method of each embodiment of the present application when the computer program is executed by a processor.
[0033] The present application provides a device control method, apparatus, system, electronic device and computer program product, which displays a device control interface, wherein the device control interface is used to display a main control page and at least one controlled page, wherein the main control page is a control page of a main control device, and the controlled page is a control page of a controlled device associated with the main control device; determining a target controlled page of the device control interface; generating device control data in response to a page setting operation for the target controlled page, and sending the device control data to a target controlled device associated with the main control device, so that the target controlled device controls the smart device associated with the target controlled device to perform a corresponding action according to the device control data. In the device control scheme provided by the present application, when a user needs to operate other controlled devices, the target controlled page is determined on the device control page, and the device control data generated based on the operation on the target controlled page is sent to the target controlled device, so that the target controlled device controls the smart device associated with the target controlled device to perform a corresponding action according to the device control data, thereby avoiding the situation in a multi-floor / multi-room residence where the user often needs to personally go to the floor / room where the controlled device is located to operate, thereby improving the degree of intelligence and thus improving the convenience of family life. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 An application environment diagram of a device control method in an embodiment;
[0035] Figure 2 A schematic diagram of the structure of a device control system in one embodiment;
[0036] Figure 3 A schematic diagram of a flow chart of a device control method in one embodiment;
[0037] Figure 4 A schematic diagram of a process of adding a controlled page to a device control interface in one embodiment;
[0038] Figure 5 A schematic diagram of a process of switching a display control page of a device control interface in one embodiment;
[0039] Figure 6 is a structural block diagram of a device control device in an embodiment;
[0040] Figure 7 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0042] The device control method provided in this application can be applied to Figure 1 In the application environment shown. Figure 1 A device control system is provided, which includes a smart device 10, a gateway 20 communicatively connected to the smart device 10, a router 30, a server 40, and a terminal 50.
[0043] The smart device 10 accesses the gateway 20 in the device control system, and communicates with the gateway 20 through its own configured communication module, and is then controlled by the gateway 20. In one embodiment, the smart device 10 accesses the gateway 20 through a local area network path or a wide area network path, and is deployed in the gateway 20. The local area network may include ZIGBEE or Bluetooth, and the wide area network may include 2G / 3G / 4G / 5G / WIFI, etc.
[0044] The gateway 20 establishes a network connection with the terminal 50 or the server 40 through the router 30. In one embodiment, the gateway 20 and the terminal 50 may establish a network connection through a local area network or a wide area network path. The network connection interacts with the terminal 50, so that the user can control the smart device 10 connected to the gateway 20 to perform corresponding actions through the terminal 50.
[0045] Among them, the smart device 10 can be a smart remote control, a smart camera, a smart curtain motor, a smart air conditioner, a smart door lock, a smart light, a smart TV, a smart control panel, a smart printer, a smart sweeper, a smart robot, and can also be a human body sensor, a door and window sensor, a temperature and humidity sensor, a water immersion sensor, a natural gas alarm, a smoke alarm, a wall switch, a wall socket, a wireless switch, a wireless wall switch, a magic cube controller, a smart control panel, a main control panel, a thermostat and other electronic devices equipped with a communication module. The terminal 50 can be a smart phone, a laptop, a personal computer, a tablet computer or other electronic devices that can implement network connection, which is not limited here. The server 40 can be implemented by an independent server or a server cluster composed of multiple servers.
[0046] Furthermore, the present application provides a device control system, which includes a main control device and at least one controlled device associated with the main control device; the main control device is used to display a device control interface, and the device control interface is used to display a main control page and at least one controlled page, the main control page is a control page of the main control device, and the controlled page is a control page of the controlled device associated with the main control device; determining a target controlled page of the device control interface; generating device control data in response to a page setting operation for the target controlled page, and sending the device control data to the target controlled device associated with the main control device, so that the target controlled device controls the intelligent device associated with the target controlled device to perform corresponding actions according to the device control data.
[0047] In one embodiment, see Figure 2 , Figure 2 The structural diagram of the device control system provided in the present application is illustrated by taking the master device 60-1 and the controlled devices 60-2, 60-3 and 60-4 as examples, that is, the master device 60-1 is used to display the device control interface, the device control interface is used to display the main control page and at least one controlled page, the main control page is the control page of the master device 60-1, and the controlled page is the control page of the controlled device 60-2, 60-3 or 60-4 associated with the master device 60-1; determine that the target controlled page of the device control interface is the control page of the controlled device 60-2; in response to the page setting operation for the target controlled page, generate device control data, and send the device control data to the target controlled device (i.e., the controlled device 60-2) associated with the master device 60-1, so that the intelligent device associated with the target controlled device (i.e., the controlled device 60-2) performs the corresponding action.
[0048] In actual device control, when the user is currently in room 1 on floor 1 and needs to operate the controlled device 60-2 on floor 2, the controlled device 60-3 on room 2 on floor 3, or the controlled device 60-4 on room 2 on floor 1, the user can trigger the master device 60-1 corresponding to room 1 on floor 1, so that the master device 60-1 displays the device control page. The device control interface is used to display the master control page and at least one controlled page. The master control page is the control page of the master device 60-1, and the controlled page is associated with the master device 60-1. When the user needs to operate the controlled device 60-2 on floor 2, the target controlled page of the device control interface on the master device 60-1 is determined to be the controlled page of the controlled device 60-2; in response to the page setting operation for the target controlled page, device control data is generated, and the device control data is sent to the target controlled device associated with the master device 60-1, that is, the controlled device 60-2, so that the target controlled device controls the target controlled device to be closed according to the device control data. the connected smart device performs the corresponding action; when the user needs to operate the controlled device 60-3 in room 2 on floor 3, the target controlled page of the device control interface on the main control device 60-1 is determined to be the controlled page of the controlled device 60-3; in response to the page setting operation for the target controlled page, the device control data is generated, and the device control data is sent to the target controlled device associated with the main control device 60-1, that is, the controlled device 60-3, so that the target controlled device controls the smart device associated with the target controlled device to perform the corresponding action according to the device control data; when the user needs to operate the controlled device 60-4 in room 2 on floor 1, it is determined that the target controlled page of the device control interface on the main control device 60-1 is the controlled page of the controlled device 60-4; in response to the page setting operation for the target controlled page, the device control data is generated, and the device control data is sent to the target controlled device associated with the main control device 60-1, that is, the controlled device 60-4, so that the target controlled device controls the smart device associated with the target controlled device to perform the corresponding action according to the device control data.
[0049] In the device control solution provided in the present application, when the user needs to operate the controlled devices on other floors / rooms, the target controlled page is determined on the device control page, and the device control data generated based on the operation of the target controlled page is sent to the controlled device corresponding to the target controlled page, so that the controlled device corresponding to the target controlled page controls the smart device associated with the controlled device to perform corresponding actions according to the device control data, thereby avoiding the situation in which the user often needs to go to the floor / room where the controlled device is located to operate in a multi-floor / multi-room residence, thereby improving the degree of intelligence and thus improving the convenience of family life.
[0050] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.
[0051] The present application provides a device control method, including: displaying a device control interface, the device control interface is used to display a main control page and at least one controlled page, the main control page is a control page of a main control device, and the controlled page is a control page of a controlled device associated with the main control device; determining a target controlled page of the device control interface; generating device control data in response to a page setting operation for the target controlled page, and sending the device control data to a target controlled device associated with the main control device, so that the target controlled device controls the intelligent device associated with the target controlled device to perform a corresponding action according to the device control data.
[0052] See also Figure 3 , provides a device control method, which is described by taking the method applied to an electronic device (or a computer device, etc.) as an example. The electronic device (or a computer device, etc.) may specifically be Figure 1 The terminal, gateway, server, or Figure 1 The smart devices in the system, such as smart control panels, thermostats, main control panels, etc., specifically include the following steps:
[0053] S101: Display the device control interface.
[0054] The device control interface is used to display a main control page and at least one controlled page. The main control page is a control page of the main control device, and the controlled page is a control page of a controlled device associated with the main control device.
[0055] The control page of the master device may be a page for users to interact with the master device, on which the user can monitor, operate and control the operating status, parameters and other information of the master device. The control page of the controlled device may be a page for users to interact with the controlled device, on which the user can monitor, operate and control the operating status, parameters and other information of the controlled device.
[0056] The master control device can be a control device on the current floor or in the current room where the user is located. The master control device can have a display screen, which is used to display the device control interface. The master control device can be a remote control, smart panel, control panel, smart central control screen, main control panel and other devices. The controlled device can be a control device on a non-current floor or in a non-current room. The controlled device can have a display screen, which is used to display the device control interface. The controlled device can be a remote control, smart panel, control panel, smart central control screen, main control panel and other devices.
[0057] For example, in an application scenario, a residential area includes Room 1 and Room 2. If a user displays a device control interface by triggering the control panel of the air conditioner in Room 2, the device control interface is used to display the control page of the air conditioner in Room 2, that is, the main control page, and to display the control page of the air conditioner in Room 1, that is, the controlled page. At this time, the control panel corresponding to the air conditioner in Room 2 is the main control device, and the control panel corresponding to the air conditioner in Room 1 is the controlled device associated with the main control device. If a user displays a device control interface by triggering the control panel corresponding to the air conditioner in Room 1, the device control interface is used to display the control page of the air conditioner in Room 1, that is, the main control page, and to display the control page of the air conditioner in Room 2, that is, the controlled page. At this time, the control panel corresponding to the air conditioner in Room 1 is the main control device, and the control panel corresponding to the air conditioner in Room 2 is the controlled device associated with the main control device.
[0058] S102: Determine a target controlled page of the device control interface.
[0059] The target controlled page may be a master page or a controlled page.
[0060] Specifically, the target controlled page is displayed on the device control interface to execute step S103.
[0061] Optionally, the device control interface may be provided with identification controls for the master device and for each controlled device. Each identification control may be displayed on the device control interface in a tiled manner or in a list manner. The target controlled page may be determined by triggering the corresponding identification control.
[0062] For example, in an application scenario, a residential area includes Room 1 and Room 2, and it is assumed that the device control interfaces of Room 1 and Room 2 include an identification control "Room 1" for Room 1 and an identification control "Room 2" for Room 2. If a user triggers the identification control "Room 1" on the device control interface corresponding to the control panel in Room 1, the main control page of the air conditioner in Room 1 on the control panel is used as the target controlled page and is displayed on the device control interface displayed on the control panel corresponding to the air conditioner in Room 1. If a user triggers the identification control "Room 2" on the device control interface corresponding to the control panel in Room 1, the controlled page of the air conditioner in Room 2 on the control panel is used as the target controlled page and is displayed on the device control interface displayed on the control panel corresponding to the air conditioner in Room 1.
[0063] S103: In response to the page setting operation for the target controlled page, generate device control data, and send the device control data to the target controlled device associated with the master device, so that the target controlled device controls the smart device associated with the target controlled device to perform corresponding actions according to the device control data.
[0064] The page setting operation may be an operation in which a user sets parameters for a target controlled page. The device control data may be data used to manage and operate the operation of a smart device. For example, if the smart device is an air conditioner, the device control data may include control data corresponding to functions such as cooling, heating, fan, and custom mode.
[0065] Specifically, the page setting operation of the target controlled page may be an operation in which the user sets parameters of the target controlled page to generate device control data corresponding to the operation.
[0066] For example, in an application scenario, a residential area includes room 1 and room 2, room 1 is provided with air conditioner 1 and control panel 1, room 2 is provided with air conditioner 2 and control panel 2, and the current temperature of air conditioner 2 is 22°C. If the user adjusts the temperature of air conditioner 2 in room 1, the target controlled page is the controlled page of air conditioner 2, the controlled page is the control page of air conditioner 2, and the target controlled device is air conditioner 2. By setting the air conditioner operating parameters to 26°C on the controlled page, the main control panel 2 synchronously sends the air conditioner operating parameters to air conditioner 2, so that air conditioner 2 adjusts the temperature from 22°C to 26°C.
[0067] In this implementation, when the user needs to operate other controlled devices, the target controlled page is determined on the device control page of the main control device, and device control data generated based on the operation of the target controlled page is sent to the target controlled device, so that the target controlled device controls the smart device associated with the target controlled device to perform corresponding actions according to the device control data. This avoids the situation in a multi-floor / multi-room residence where the user often needs to go to the floor / room where the controlled device is located to operate, thereby improving the level of intelligence and thereby improving the convenience of family life.
[0068] Optionally, in one embodiment, the device control method further includes:
[0069] In response to the page setting operation for the target controlled page, device control data is generated so that the master control device controls the smart device associated with the master control device to perform corresponding actions according to the device control data.
[0070] In an application scenario, a residential area includes room 1 and room 2. Room 1 is provided with air conditioner 1 and control panel 1, and room 2 is provided with air conditioner 2 and control panel 2. If the user needs to set the temperature of air conditioner 2 in room 2, the target controlled page is the main control page of air conditioner 2, which is the control page of air conditioner 2, and the main control device is air conditioner 2. By setting the air conditioner operating parameter to 22°C on the main control page, the air conditioner operating parameter is sent to air conditioner 2, so that air conditioner 2 executes the air conditioner operating parameter, that is, the temperature is set to 22°C.
[0071] In this embodiment, when the user's home uses multiple control devices to control corresponding smart devices because of multiple rooms or multiple floors, the device control data of the smart device associated with the main control device can be generated through the page setting operation of the target controlled page to control the smart device associated with the main control device to perform corresponding actions, thereby improving the intelligence level of smart home control and helping to improve the convenience of smart home life.
[0072] In one embodiment, the device control method further includes:
[0073] When a master control device and multiple controlled devices are in the same account system, the master control page of the master control device is associated with the controlled pages corresponding to other controlled devices in the same account system.
[0074] Specifically, the user can register an account on the mobile phone and add multiple control devices in the same area or different areas under the account, so that each control device is in the same account system. After that, the main control page of any control device can be associated with the controlled pages corresponding to other control devices in the same account system.
[0075] For example, after the user registers an account on the mobile phone, he / she can add multiple thermostats set in different areas (such as multiple different rooms or multiple different floors) or the same area (such as the same floor or the same room) under the account, and select one of the thermostats as the main control device. The control pages of other thermostats can be added to the main control page of the main control device to display and control the control pages of other thermostats on the main control page.
[0076] In this embodiment, when a user's home uses multiple control devices to control corresponding smart devices because of multiple rooms or multiple floors, when the master control device and the controlled device belong to the same account system, it is allowed to associate the controlled page of the controlled device on the master control page of the master control device, which facilitates centralized management and control of various control devices, improves the intelligence level of smart home control, and is conducive to improving the convenience of smart home life.
[0077] In one embodiment, before determining the target controlled page of the device control interface, the device control method further includes:
[0078] In response to a trigger operation on the device control interface, display a device adding page corresponding to the main control page;
[0079] In response to a device adding operation on a device adding page, a controlled device associated with the master device is determined, and a control page corresponding to the controlled device is added to the device control interface.
[0080] The triggering operation of the device control interface may be an operation of switching the device control interface to the device adding page for display. For example, the device control interface displays the main control page, and the device adding page can be displayed by pulling down the main control page.
[0081] The device adding operation for the device adding page may be an operation of adding a control page of a controlled device in the device control interface. For example, after the user pulls down the main control page and the device control interface displays the device adding page, the user can determine the controlled device associated with the main control device through the preset device adding method, and add the control page corresponding to the controlled device in the device control interface. The preset device adding method may be scanning the QR code of the controlled device, manually entering the device serial number of the controlled device, or automatically adding through the device discovery function (such as wireless signal search).
[0082] In this embodiment, when the user's home has multiple rooms or multiple floors and uses multiple control devices to control corresponding smart devices, the controlled page of the controlled device associated with it can be added to the device control interface of the main control device, which facilitates centralized management and control of each control device, improves the intelligence level of smart home control, and is conducive to improving the convenience of smart home life.
[0083] In one embodiment, in response to a device adding operation on a device adding page, determining a controlled device associated with a master device, and adding a control page corresponding to the controlled device in a device control interface includes:
[0084] In response to a device adding operation on the device adding page, a device selection page is displayed, the device selection page includes a device list, the device list includes a plurality of devices to be controlled and corresponding selection controls thereof, the plurality of devices to be controlled being of the same type as the master control device;
[0085] In response to a selection operation on a selection control, a controlled device associated with the master device is determined, and a control page corresponding to the controlled device is added to the device control interface.
[0086] The device to be controlled refers to a control device that has not yet been associated with the master device. The selection control refers to an interface element used to select the device to be controlled, such as a radio button, a check box, a toggle switch, a slider, etc.
[0087] The device adding operation for the device adding page can be an operation in which the user triggers the device adding page and displays the device selecting page. For example, the user clicks the "Device Add" button or the device adding symbol "+" on the device adding page, and in the device control interface, the device adding page is switched to the device selecting page for display. The selection operation for the selection control can be an operation in which the user selects the device to be controlled.
[0088] For example, Figure 4 As shown, assuming that the current residence is a three-story residence, a thermostat is set on each floor to control the air conditioning of each floor, and they are named "Thermostat Floor 1", "Thermostat Floor 2" and "Thermostat Floor 3" in sequence. The device control interface of Thermostat Floor 1 displays the main control page of Thermostat Floor 1, and the "Zone Control" button is displayed on the main control page. When the user clicks the "Partition Control" button, the device control interface switches from the main control page of the thermostat on the first floor to the device adding page for display. The device adding page displays "Thermostat on the first floor", the device adding symbol "+" and the function description of the device adding symbol "Add other thermostats"; after the user clicks the "+", the device control interface switches from the device adding page to the device selection page for display. The device selection page displays "Thermostat on the first floor" and a device list. The device list includes "Thermostat on the second floor" and its corresponding selection button, "Thermostat on the third floor" and its corresponding selection button. When the user checks the two selection buttons, it is determined that the controlled devices associated with "Thermostat on the first floor" include "Thermostat on the second floor" and "Thermostat on the third floor", and the control page corresponding to "Thermostat on the second floor" and the control page corresponding to "Thermostat on the third floor" are automatically added to the device control interface of "Thermostat on the first floor".
[0089] In this embodiment, when the user's home has multiple rooms or multiple floors and uses multiple control devices to control corresponding smart devices, the device list can be displayed on the device control interface of the main control device and the controlled pages of the controlled devices in the device list can be added, so as to facilitate the centralized management of various control devices, improve the intelligence level of smart home control, and help improve the convenience of smart home life.
[0090] In one embodiment, the plurality of controlled devices and the main control device are devices of different types.
[0091] For example, the master device may be a thermostat, and the devices to be controlled may include environmental sensors, smart switches, smart curtains, smart cat eyes, etc. When the user checks the buttons corresponding to the environmental sensors, smart switches, smart curtains, and smart cat eyes, the control pages of the environmental sensors, smart switches, smart curtains, and smart cat eyes can be added to the device control interface of the master device, so as to remotely control the environmental sensors, smart switches, smart curtains, and smart cat eyes on the device control interface of the master device.
[0092] In this embodiment, when the user's home has multiple rooms or multiple floors and uses multiple different types of control devices to control corresponding smart devices, a controlled page of a controlled device of a different type from the main control device can be added to the device control interface of the main control device, which is convenient for centralized management of various control devices. Different types of control devices can be added to make smart home control have good scalability, facilitate the linkage between each control device and other smart home devices, improve the intelligence level of smart home control, and help improve the convenience of smart home life.
[0093] In one embodiment, determining a target controlled page of a device control interface includes:
[0094] In response to a page switching operation on the device control interface, a page switching instruction is generated, and the controlled page / main control page currently displayed on the device control interface is switched to the target controlled page indicated by the page switching instruction for display.
[0095] The page switching operation for the device control interface may be an operation for switching the device control interface to the currently displayed control page. For example, the page switching operation for the device control interface may be an operation of the user swiping left and / or right on the device control interface.
[0096] For example, in an application scenario, the control page of the thermostat on the second floor is added to the device control interface of the thermostat on the first floor. At this time, the device control interface of the thermostat on the first floor includes the control page of the thermostat on the first floor, that is, the main control page, and the control page of the thermostat on the second floor, that is, the controlled page. Figure 5 As shown, the control page currently displayed on the device control interface of the thermostat 1st floor is the main control page, which displays the device identification of "Thermostat 1st floor", environmental information, target value setting elements of environmental information, and control interaction elements. The environmental information includes temperature, humidity, air quality, etc. The target value setting element can be an interface element for typing the target value, such as an input box for temperature setting, an input box for humidity setting, etc. The control interaction element can be an interface element for selecting and adjusting the settings of the smart device, such as a button / switch for switching between cooling mode and heating mode, a slider / button for adjusting the fan speed, and a configuration button for a custom mode. The user clicks the button to enter the custom setting, and can configure specific environmental information such as temperature, humidity, ventilation, etc. The controlled page and the main control page can have the same display, which will not be repeated here. When the user slides left / right on the device control interface, a page switching instruction for sliding left / right is generated. The target controlled page corresponding to the page switching instruction is the controlled page corresponding to the thermostat 2nd floor, and the main control page currently displayed on the device control interface is switched to the target controlled page for display.
[0097] In this embodiment, when the user's home has multiple rooms or multiple floors and uses multiple different types of control devices to control corresponding smart devices, a controlled page of a controlled device of a different type from the main control device can be added to the device control interface of the main control device, so as to facilitate the centralized management of various control devices, and through the page switching operation on the device control interface, the control pages of different control devices can be easily switched to display and control, so as to facilitate the linkage between each control device and other smart home devices, thereby improving the intelligence level of smart home control and helping to improve the convenience of smart home life.
[0098] In one embodiment, the device control method further includes:
[0099] In response to a name update operation on the device control interface, a new device name is generated, the name update operation being used to update the device name of the controlled device corresponding to the controlled page displayed on the device control interface or to update the device name corresponding to the master control device corresponding to the master control page displayed on the device control interface;
[0100] The device name of the master device associated with the master page or the device name associated with the controlled page is updated with the new device name.
[0101] The name update operation on the device control interface refers to an operation of updating the device name on the control page displayed on the device control interface.
[0102] For example, in an application scenario, assuming that the main control device is the main control panel of room 1, the device identifier of the main control page of the main control device is "Room 1". When the user moves the main control panel to room 2, the name is edited on the main control page, a new device name "Room 2" is generated, and "Room 1" on the main control page is changed to "Room 2".
[0103] For example, in one application scenario, assuming that the master control device is the main control panel of room 1, the device identifier of the controlled page of the master control device is "room 2". When the user moves the controlled device associated with the controlled page from room 2 to room 3, the name is edited on the controlled page, a new device name "room 3" is generated, and "room 2" in the controlled page is updated to "room 3", and the master control panel corresponding to the controlled device is updated synchronously.
[0104] In this embodiment, when a user's home has multiple rooms or multiple floors and uses multiple different types of control devices to control corresponding smart devices, a custom name can be given to each control device on the device control interface to facilitate identification and centralized management of each control device, thereby improving the intelligence level of smart home control and helping to improve the convenience of smart home life.
[0105] In the above device control method, by displaying the device control interface, the device control interface is used to display the main control page and at least one controlled page, the main control page is the control page of the main control device, and the controlled page is the control page of the controlled device associated with the main control device; determining the target controlled page of the device control interface; in response to the page setting operation for the target controlled page, generating device control data, and sending the device control data to the target controlled device associated with the main control device, so that the target controlled device controls the smart device associated with the target controlled device to perform corresponding actions according to the device control data. In the device control scheme provided by the present application, when the user needs to operate the controlled devices on other floors, by determining the target controlled page on the device control page, and sending the device control data generated based on the operation on the target controlled page to the target controlled device, so that the target controlled device controls the smart device associated with the target controlled device to perform corresponding actions according to the device control data, avoiding the situation in which the user often needs to go to the floor / room where the controlled device is located to operate in a multi-floor / multi-room residence, thereby improving the degree of intelligence and thus improving the convenience of family life.
[0106] In one embodiment, Figure 6 As shown, a device control apparatus is provided, comprising: a first display module 201, a first determination module 202 and a first generation module 203, wherein:
[0107] A first display module 201 is used to display a device control interface, where the device control interface is used to display a main control page and at least one controlled page, where the main control page is a control page of a main control device, and the controlled page is a control page of a controlled device associated with the main control device;
[0108] A first determination module 202 is used to determine a target controlled page of a device control interface;
[0109] The first generating module 203 is used to generate device control data in response to the page setting operation for the target controlled page, and send the device control data to the target controlled device associated with the master device, so that the target controlled device controls the smart device associated with the target controlled device to perform corresponding actions according to the device control data.
[0110] In this embodiment, by displaying the device control interface, the device control interface is used to display the main control page and at least one controlled page, the main control page is the control page of the main control device, and the controlled page is the control page of the controlled device associated with the main control device; determine the target controlled page of the device control interface; in response to the page setting operation for the target controlled page, generate device control data, and send the device control data to the target controlled device associated with the main control device, so that the target controlled device controls the smart device associated with the target controlled device to perform corresponding actions according to the device control data. In the device control scheme provided by the present application, when the user needs to operate the controlled device on other floors, by determining the target controlled page on the device control page, and sending the device control data generated based on the operation of the target controlled page to the target controlled device, so that the target controlled device controls the smart device associated with the target controlled device to perform corresponding actions according to the device control data, avoiding the situation in which the user often needs to go to the floor / room where the controlled device is located to operate in a multi-floor / multi-room residence, thereby improving the degree of intelligence and thus improving the convenience of family life.
[0111] Optionally, in some embodiments of the present application, the device control apparatus further includes:
[0112] The second generating module is used to generate device control data in response to the page setting operation for the target controlled page, so that the main control device controls the smart device associated with the main control device to perform corresponding actions according to the device control data.
[0113] Optionally, in some embodiments of the present application, the device control apparatus further includes:
[0114] The association module is used to associate the main control page of the master control device with the controlled pages corresponding to other controlled devices under the same account system when the master control device and multiple controlled devices are in the same account system.
[0115] Optionally, in some embodiments of the present application, the device control apparatus further includes:
[0116] A display module, configured to display a device adding page corresponding to the main control page in response to a trigger operation on the device control interface;
[0117] The adding module is used to determine the controlled device associated with the master device in response to the device adding operation on the device adding page, and add the control page corresponding to the controlled device in the device control interface.
[0118] Optionally, in some embodiments of the present application, the adding module includes:
[0119] A first display submodule, configured to display a device selection page in response to a device adding operation on the device adding page, wherein the device selection page includes a device list, the device list includes a plurality of devices to be controlled and corresponding selection controls thereof, and the plurality of devices to be controlled are devices of the same type as the main control device;
[0120] The first determination submodule is used to determine the controlled device associated with the master device in response to the selection operation on the selection control, and add a control page corresponding to the controlled device in the device control interface.
[0121] Optionally, in some embodiments of the present application, the multiple devices to be controlled and the main control device are devices of different types.
[0122] Optionally, in some embodiments of the present application, the first determining module includes:
[0123] The switching submodule is used to generate a page switching instruction in response to a page switching operation on the device control interface, and switch the controlled page / main control page currently displayed on the device control interface to the target controlled page indicated by the page switching instruction for display.
[0124] Optionally, in some embodiments of the present application, the device control apparatus further includes:
[0125] A third generating module, for generating a new device name in response to a name update operation on the device control interface, the name update operation being used to update the device name of the controlled device corresponding to the controlled page displayed on the device control interface or to update the device name corresponding to the master control device corresponding to the master control page displayed on the device control interface;
[0126] The update module is used to update the device name of the master device associated with the master page or the device name associated with the controlled page with a new device name.
[0127] For the specific definition of the device control device, please refer to the definition of the device control method above, which will not be repeated here. Each module in the above-mentioned device control device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0128] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a device control method is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.
[0129] Those skilled in the art will understand that Figure 7 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0130] In one embodiment, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0131] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0132] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0133] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0134] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A device control method, characterized in that: include: Displaying a device control interface, the device control interface is used to display a main control page and at least one controlled page, the main control page is a control page of a main control device, and the controlled page is a control page of a controlled device associated with the main control device; Determining a target controlled page of the device control interface; In response to a page setting operation for the target controlled page, device control data is generated and sent to the target controlled device associated with the master control device, so that the target controlled device controls the smart device associated with the target controlled device to perform corresponding actions according to the device control data.
2. The device control method according to claim 1, characterized in that: Also includes: In response to the page setting operation for the target controlled page, device control data is generated so that the master control device controls the smart device associated with the master control device to perform corresponding actions according to the device control data.
3. The device control method according to claim 1, characterized in that: Also includes: When the master control device and the plurality of controlled devices are in the same account system, the master control page of the master control device is associated with controlled pages corresponding to other controlled devices in the same account system.
4. The device control method according to claim 1, characterized in that: Before determining the target controlled page of the device control interface, the method further includes: In response to a trigger operation on the device control interface, displaying a device adding page corresponding to the main control page; In response to a device adding operation on the device adding page, a controlled device associated with the master device is determined, and a control page corresponding to the controlled device is added to the device control interface.
5. The device control method according to claim 4, characterized in that: The step of determining the controlled device associated with the master device in response to the device adding operation on the device adding page, and adding a control page corresponding to the controlled device in the device control interface includes: In response to a device adding operation on the device adding page, displaying a device selection page, the device selection page including a device list, the device list including a plurality of devices to be controlled and corresponding selection controls thereof, the plurality of devices to be controlled being of the same type as the master control device; In response to a selection operation on the selection control, a controlled device associated with the master device is determined, and a control page corresponding to the controlled device is added to the device control interface.
6. The device control method according to claim 5, characterized in that: The plurality of controlled devices and the main control device are devices of different types.
7. The device control method according to any one of claims 1 to 6, characterized in that: The determining of the target controlled page of the device control interface includes: In response to a page switching operation on the device control interface, a page switching instruction is generated, and the controlled page / main control page currently displayed on the device control interface is switched to the target controlled page indicated by the page switching instruction for display.
8. The device control method according to claim 1, characterized in that: Also includes: In response to a name update operation on the device control interface, a new device name is generated, wherein the name update operation is used to update the device name of the controlled device corresponding to the controlled page displayed on the device control interface or to update the device name corresponding to the master control device corresponding to the master control page displayed on the device control interface; The new device name is used to update the device name of the master device associated with the master page or the device name associated with the controlled page.
9. A device control device, characterized in that: The device comprises: A first display module, used to display a device control interface, wherein the device control interface is used to display a main control page and at least one controlled page, wherein the main control page is a control page of a main control device, and the controlled page is a control page of a controlled device associated with the main control device; A first determination module, used to determine a target controlled page of the device control interface; The first generating module is used to generate device control data in response to a page setting operation for the target controlled page, and send the device control data to the target controlled device associated with the master control device, so that the target controlled device controls the smart device associated with the target controlled device to perform corresponding actions according to the device control data.
10. A device control system, characterized in that: include: A master control device and at least one controlled device associated with the master control device; The master control device is used to display a device control interface, and the device control interface is used to display a master control page and at least one controlled page, the master control page is a control page of the master control device, and the controlled page is a control page of a controlled device associated with the master control device; Determining a target controlled page of the device control interface; In response to a page setting operation for the target controlled page, device control data is generated and sent to the target controlled device associated with the master control device, so that the target controlled device controls the smart device associated with the target controlled device to perform corresponding actions according to the device control data.
11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the device control method according to any one of claims 1 to 8 are implemented.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the device control method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Intelligent equipment control method and device, and intelligent home control panel
CN111830844A
Equipment control method and device
CN112486105A
Equipment control method and device, intelligent control panel and storage medium
CN116047924A
Expansion device control method, first main control device and control system
CN118938765A