Equipment control method and device, electronic equipment and storage medium
By displaying polygonal control objects and device controls in the graphical user interface, users can quickly determine and execute device control parameters through drag-and-drop operations, solving the problem of cumbersome device control processes and improving convenience and efficiency.
Patent Information
- Application Number
- CN202411384548.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2044-09-30
AI Technical Summary
Users need to adjust control parameters when using the same device to control different scenarios, which makes the device control process cumbersome, inconvenient, and inefficient.
By displaying polygonal control objects and device controls in the graphical user interface, users can drag and drop device controls to the corresponding side to determine control parameters and control smart home devices according to the parameters, supporting real-time control and preset scene control.
It simplifies the device control process, improves the convenience and efficiency of device control, and allows users to control multiple smart home devices through simple drag-and-drop operations.
Smart Images

Figure CN119270660A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of equipment control technology, and in particular to a equipment control method, an equipment control device, an electronic device and a computer-readable storage medium. Background Art
[0002] With the development of smart homes, applications for controlling smart home devices are becoming increasingly popular, and users can control smart home devices on the corresponding applications. Among them, the device control scene can change accordingly with the changes in user needs, and the use scenarios of device control scenes are gradually increasing. However, users may have slight differences in their needs when enabling the same device control scene in different scenarios. In this case, after the user turns on the device control scene, the control parameters of the corresponding device need to be adjusted, which will undoubtedly increase the user's device control process and reduce the convenience and efficiency of device control. Summary of the invention
[0003] The embodiments of the present invention provide a device control method, apparatus, electronic device and computer-readable storage medium to solve or partially solve the problems of complicated process, low convenience and low control efficiency of device control.
[0004] An embodiment of the present invention discloses a method for controlling a device, wherein a graphical user interface is provided through an electronic terminal, and content displayed by the graphical user interface includes a control interface for a smart home device. The method includes:
[0005] In response to the intelligent control instruction for the control interface, a polygonal control object and a device control are displayed in the control interface according to the intelligent control instruction, wherein the polygonal control object includes a plurality of edges, each of the edges is associated with a preset control parameter corresponding to at least one smart home device, and each of the device controls represents a smart home device;
[0006] In response to dragging the target device control to be adsorbed to the target edge of the polygonal control object, determining a first control parameter of a first smart home device corresponding to the target device control according to a preset control parameter corresponding to the target edge;
[0007] The first smart home device is controlled to perform corresponding device operations according to the first control parameter.
[0008] In some feasible implementations, determining the first control parameter of the first smart home device corresponding to the target device control according to the preset control parameter corresponding to the target edge includes:
[0009] If the target edge has preset control parameters of the first smart home device corresponding to the target device control, the preset control parameters associated with the target edge are used as the first control parameters corresponding to the first smart home device.
[0010] In some feasible implementations, determining the first control parameter of the first smart home device corresponding to the target device control according to the preset control parameter corresponding to the target edge includes:
[0011] If the target edge does not have the preset control parameters of the first smart home device corresponding to the target device control, switching the control interface to a device control page;
[0012] In response to a parameter input operation on the device control page, a first control parameter corresponding to the first smart home device is determined according to the parameter input operation.
[0013] In some feasible implementations, after determining the first control parameter corresponding to the first smart home device according to the parameter input operation, the method further includes:
[0014] The first control parameter is used as a preset control parameter of the first smart home device associated with the target edge.
[0015] Some possible implementations also include:
[0016] In response to the parameter display instruction for the target device control, a first control parameter corresponding to the target device control is displayed.
[0017] In some feasible implementations, the displaying, in response to the parameter display instruction for the target device control, the first control parameter corresponding to the target device control includes:
[0018] In response to a click operation or a long press operation on the target device control, a first control parameter corresponding to the target device control is displayed.
[0019] Some possible implementations also include:
[0020] In response to a long press operation on the polygonal control object, the display is adsorbed to the polygonal control. In some feasible implementations, the control interface includes at least a scene control, and the scene control is associated with at least one smart home device and a second control parameter corresponding to the smart home device. The method further includes:
[0021] In response to a trigger operation on a target scene control, a second smart home device associated with the target scene control is controlled to perform a corresponding device operation according to a second control parameter associated with the target scene control.
[0022] In some feasible implementations, the control interface includes at least a real-time control control, and the step of responding to an intelligent control instruction for the control interface and displaying a polygonal control object and a device control in the control interface according to the intelligent control instruction includes:
[0023] In response to a trigger operation on the real-time control widget, a polygonal control object and a device widget are displayed in the control interface.
[0024] In some feasible implementations, the control interface includes at least a device control control, each of the device control controls is associated with a smart home device and a corresponding third control parameter, and the method further includes:
[0025] In response to a trigger operation on a target device control control, a third smart home device associated with the target device control control is controlled according to a third control parameter associated with the target device control control to perform a corresponding device operation.
[0026] The embodiment of the present invention further discloses a device control apparatus, which provides a graphical user interface through an electronic terminal, wherein the content displayed by the graphical user interface includes a control interface for a smart home device, and the apparatus includes:
[0027] A display module, for responding to an intelligent control instruction for the control interface, and displaying a polygonal control object and a device control in the control interface according to the intelligent control instruction, wherein the polygonal control object includes a plurality of edges, each of the edges is associated with a preset control parameter corresponding to at least one smart home device, and each of the device controls represents a smart home device;
[0028] An operation response module, configured to determine, in response to the target device control being dragged and adsorbed to a target edge of the polygonal control object, a first control parameter of a first smart home device corresponding to the target device control according to a preset control parameter corresponding to the target edge;
[0029] An execution module is used to control the first smart home device to perform a corresponding device operation according to the first control parameter.
[0030] In some feasible implementations, the operation response module is specifically used to:
[0031] If the target edge has preset control parameters of the first smart home device corresponding to the target device control, the preset control parameters associated with the target edge are used as the first control parameters corresponding to the first smart home device.
[0032] In some feasible implementations, the operation response module is specifically used to:
[0033] If the target edge does not have the preset control parameters of the first smart home device corresponding to the target device control, switching the control interface to a device control page;
[0034] In response to a parameter input operation on the device control page, a first control parameter corresponding to the first smart home device is determined according to the parameter input operation.
[0035] In some feasible implementations, the device further includes:
[0036] A parameter association module is used to use the first control parameter as a preset control parameter of the first smart home device associated with the target edge.
[0037] Some possible implementations also include:
[0038] The parameter display module is used to display a first control parameter corresponding to the target device control in response to a parameter display instruction for the target device control.
[0039] In some feasible implementations, the parameter display module is specifically used to:
[0040] In response to a click operation or a long press operation on the target device control, a first control parameter corresponding to the target device control is displayed.
[0041] Some possible implementations also include:
[0042] The multi-parameter display module is used to display the first control parameter corresponding to all target device controls adsorbed onto the polygonal control object in response to a long press operation on the polygonal control object.
[0043] In some feasible implementations, the control interface includes at least a scene control, the scene control is associated with at least one smart home device and a second control parameter corresponding to the smart home device, and the apparatus further includes:
[0044] The first control module is used to control a second smart home device associated with the target scene control to perform a corresponding device operation according to a second control parameter associated with the target scene control in response to a trigger operation on the target scene control.
[0045] In some feasible implementations, the control interface includes at least a real-time control control, and the display module is specifically used for:
[0046] In response to a trigger operation on the real-time control widget, a polygonal control object and a device widget are displayed in the control interface.
[0047] In some feasible implementations, the control interface includes at least a device control control, each of the device control controls is associated with a smart home device and a corresponding third control parameter, and the apparatus further includes:
[0048] The second control module is used to control a third smart home device associated with the target device control control to perform a corresponding device operation according to a third control parameter associated with the target device control control in response to a trigger operation on the target device control control.
[0049] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0050] The memory is used to store computer programs;
[0051] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0052] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.
[0053] The embodiments of the present invention include the following advantages:
[0054] In an embodiment of the present invention, the electronic terminal can run a corresponding application and display a control interface for a smart home device through a graphical user interface. In the process of controlling the smart home device, the electronic terminal can respond to an intelligent control instruction for the control interface, and display a polygonal control object and a device control in the control interface according to the intelligent control instruction. The polygonal control object includes a plurality of edges, each edge is associated with at least one preset control parameter corresponding to a smart home device, and each device control represents a smart home device. Then, in response to dragging a target device control to be adsorbed to a target edge of the polygonal control object, a first control parameter of a first smart home device corresponding to the target device control is determined according to the preset control parameter corresponding to the target edge, and then the first smart home device is controlled to perform a corresponding device operation according to the first control parameter, thereby associating a corresponding smart home device and a corresponding control parameter on each edge of the polygonal control object, so that the user can trigger control of the smart home device by dragging the target device control to be adsorbed to the target edge of the polygonal control object, thereby greatly reducing the operation process of device control and improving the convenience and efficiency of device control. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1is a flowchart of a method for controlling a device provided in an embodiment of the present invention;
[0056] Figure 2 is a schematic diagram of a control interface provided in an embodiment of the present invention;
[0057] Figure 3 is a schematic diagram of a control interface provided in an embodiment of the present invention;
[0058] Figure 4 is a schematic diagram of a control interface provided in an embodiment of the present invention;
[0059] Figure 5 is a schematic diagram of a control interface provided in an embodiment of the present invention;
[0060] Figure 6 is a schematic diagram of a control interface provided in an embodiment of the present invention;
[0061] Figure 7 is a schematic diagram of a control interface provided in an embodiment of the present invention;
[0062] Figure 8 is a structural block diagram of a control device of a device provided in an embodiment of the present invention;
[0063] Fig. 9 It is a block diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0064] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0065] As an example, in the process of users controlling smart home devices, there are problems such as complicated device control process, poor control convenience and low efficiency.
[0066] In this regard, in the present invention, in the process of controlling smart home devices, the electronic terminal can respond to the intelligent control instructions for the control interface, and display the polygonal control object and the device control in the control interface according to the intelligent control instructions. The polygonal control object includes a plurality of edges, each edge is associated with at least one preset control parameter corresponding to a smart home device, and each device control represents a smart home device. Then, in response to dragging the target device control to be adsorbed to the target edge of the polygonal control object, the first control parameter of the first smart home device corresponding to the target device control is determined according to the preset control parameter corresponding to the target edge, and then the first smart home device is controlled according to the first control parameter to perform the corresponding device operation, thereby associating the corresponding smart home device and the corresponding control parameter on each edge of the polygonal control object, so that the user can trigger the control of the smart home device by dragging the target device control to be adsorbed to the target edge of the polygonal control object, thereby greatly reducing the operation process of device control and improving the convenience and efficiency of device control.
[0067] Reference Figure 1 , shows a flow chart of the steps of a control method of a device provided in an embodiment of the present invention, wherein a graphical user interface is provided by an electronic terminal, and the content displayed by the graphical user interface includes a control interface for a smart home device, and specifically may include the following steps:
[0068] Step 101, in response to an intelligent control instruction for the control interface, displaying a polygonal control object and a device control in the control interface according to the intelligent control instruction, wherein the polygonal control object includes a plurality of edges, each of the edges is associated with a preset control parameter corresponding to at least one smart home device, and each of the device controls represents a smart home device;
[0069] Optionally, the electronic terminal (hereinafter referred to as the terminal) can be a mobile terminal, etc., which can run corresponding applications, applets, browser pages and other software programs that can remotely control smart home devices. The terminal displays a corresponding control interface in a graphical user interface by running the corresponding software program, so that the user can input corresponding operations in the control interface to achieve remote control of the operation of the smart home device.
[0070] In one example, each smart home device can establish a corresponding communication connection with the terminal through a wired or wireless network. The terminal generates corresponding control instructions based on the user operations input by the user on the control interface, and then sends the control instructions to the corresponding smart home device to achieve remote control of the smart home device.
[0071] In an embodiment of the present invention, the terminal can respond to the intelligent control instruction input by the user in the control interface, and then display a polygonal control object and corresponding device controls for real-time control of the smart home device in the control interface according to the intelligent control instruction. The polygonal control object may include a plurality of edges, each edge may be associated with a preset control parameter corresponding to at least one smart home device, and each device control may represent a smart home device.
[0072] Assuming that the polygonal control object is a rectangle, the four sides of the rectangle can be associated with at least one preset control parameter corresponding to a smart home device. For example, for the top side of the rectangle, it can be associated with lamps, thermostats, curtains, doorbells, etc., among which the preset control parameters corresponding to the lamps can be "light brightness: 75%; color temperature: 4500k; scene mode: reading mode"; the preset control parameters corresponding to the thermostat can be "temperature setting: 22℃; mode selection: heating; wind speed adjustment: medium speed"; the preset control parameters corresponding to the curtains can be "curtain opening: 50%; timer switch: open at 7:00 am every day and close at 22:00 pm; scene linkage: linked with lighting and temperature control systems"; the preset control parameters corresponding to the doorbell can be "camera monitoring: real-time picture; door and window sensor status: doors and windows closed; alarm settings: intrusion alarm", etc. It can be understood that for other "sides", the preset control parameters corresponding to the corresponding smart home devices can also be associated.
[0073] Optionally, in the process of displaying the polygonal control object, each edge may be displayed in a different display style, such as being displayed in a different color, etc., and the present invention does not impose any limitation on this.
[0074] In addition, device controls can be used to represent corresponding smart home devices, such as air conditioners, chandeliers, curtains, smart lights, floor lamps, dehumidifiers, etc., and the present invention does not limit this.
[0075] In an optional implementation, for the polygonal control object, a corresponding instant control control can be provided in the control interface, and the instant control control can be used to trigger the display of the polygonal control object in the control interface. Specifically, the terminal can respond to the trigger operation on the instant control control and display the polygonal control object and the device control in the control interface, so that the user can realize instant control of at least one smart home device through the polygonal control object and the device control.
[0076] Step 102, in response to the target device control being dragged and adsorbed to the target edge of the polygonal control object, determining a first control parameter of a first smart home device corresponding to the target device control according to a preset control parameter corresponding to the target edge;
[0077] In an embodiment of the present invention, a user can control a first smart home device associated with the target device control by dragging the target device control to the target edge of the polygonal control object. Specifically, the terminal can determine a first control parameter of the first smart home device corresponding to the target device control according to a preset control parameter corresponding to the target edge in response to the target device control being dragged and adsorbed to the target edge of the polygonal control object, so as to control the first smart home device to perform a corresponding device operation based on the first control parameter.
[0078] In a specific implementation, when the user drags the target device control to be adsorbed to the target edge corresponding to the polygonal control object, the terminal can obtain the smart home device associated with the target edge and the corresponding preset control parameters, and then determine whether there are preset control parameters corresponding to the first smart home device. If there are preset control parameters of the first smart home device corresponding to the target device control on the target edge, the preset control parameters associated with the target edge are used as the first control parameters corresponding to the first smart home device. If there are no preset control parameters of the first smart home device corresponding to the target device control on the target edge, the control interface is switched to the device control page, and then the first control parameters corresponding to the first smart home device can be determined according to the parameter input operation input by the user for the device control page, and the first control parameters are used as the preset control parameters of the first smart home device associated with the target edge, so that by dragging the device control to be adsorbed on the polygonal control object, the control parameters of the corresponding smart home device can be quickly determined, so as to trigger the control of the smart home device based on the determined control parameters, which greatly reduces the operation process of device control and improves the convenience and efficiency of device control.
[0079] For example, assuming that the target device control is the device control corresponding to the lamp, when the user drags the device control to adsorb to the top edge of the polygonal control object, the terminal can obtain all smart home devices associated with the top edge and the corresponding preset control parameters. If there are preset control parameters corresponding to the lamp (such as "light brightness: 75%; color temperature: 4500k; scene mode: reading mode", etc.), the preset control parameters can be used as the control parameters of the lamp, so as to control the lamp to perform corresponding device operations based on the control parameters; if there are no preset control parameters corresponding to the lamp, the terminal can jump to the device control page for the lamp, and the user You can set the control parameters for the lamp on the device control page (such as "light brightness: 0%; color temperature: 0k; scene mode: sleep mode", etc.) so that the lamp can be controlled to perform corresponding device operations based on the set control parameters. After the settings are completed, the control parameters set by the user can be associated with the top edge, so that the control parameters set by the user can be used as preset control parameters, so that the next time the user adsorbs the device control to the top edge by dragging and dropping, the smart home device can be controlled to perform corresponding device operations based on the control parameters set last time, so as to simplify the device control process and improve the convenience and efficiency of control.
[0080] Step 103: Control the first smart home device to perform corresponding device operations according to the first control parameter.
[0081] After determining the first control parameter of the first smart home device based on the above process, the terminal can generate a corresponding control instruction based on the first control parameter, and then send the control instruction to the first smart home device so that the first smart home device executes the corresponding control instruction, thereby associating the corresponding smart home device and the corresponding control parameter on each edge of the polygonal control object, so that the user can trigger the control of the smart home device by dragging the target device control to the target edge of the polygonal control object, which greatly reduces the operation process of device control and improves the convenience and efficiency of device control.
[0082] It should be noted that in the above-mentioned instant process, the user can drag multiple device controls to the same or different edges of the polygonal control object to achieve one-time control of multiple smart home devices. For example, the user can drag the device control ① corresponding to the smart light to the edge A of the polygonal control object, drag the device control ② corresponding to the air conditioner to the edge B of the polygonal control object, drag the device control ③ corresponding to the floor lamp to the edge C of the polygonal control object, drag the device control ④ corresponding to the curtain to the edge A of the polygonal control object, etc., thereby achieving quick control of multiple smart home devices by dragging, greatly reducing the operation process of device control and improving the convenience and efficiency of device control.
[0083] In some optional implementations, during the above-mentioned real-time control process of smart home devices, when the device control is adsorbed to the edge corresponding to the polygonal control object, if the user wants to view the control parameters corresponding to the device control, the user can input the corresponding parameter display instruction, and the terminal can respond to the parameter display instruction for the target device control and display the first control parameter corresponding to the target device control.
[0084] In a specific implementation, the user can input a click operation or a long press operation on the adsorbed target device control, and the terminal can respond to the click operation or the long press operation on the target device control and display the first control parameter corresponding to the target device control. For example, the user can long press the device control ① corresponding to the smart light, and the terminal can display the control parameters corresponding to the smart light, such as "on"; or click the device control ② corresponding to the air conditioner, and the terminal can display the control parameters corresponding to the air conditioner, such as "cooling, 26℃, high wind", etc., and the present invention does not limit this.
[0085] In addition, the user can also directly input a long press operation for the polygonal control object, and the terminal can respond to the long press operation for the polygonal control object and display the first control parameters corresponding to all target device controls adsorbed on the polygonal control object. For example, if the user long presses the polygonal control object, the terminal can display the control parameters corresponding to the smart light, such as "on"; display the control parameters corresponding to the air conditioner, such as "cooling, 26°C, high wind"; display the control parameters corresponding to the floor lamp, such as "on"; display the empty box parameters corresponding to the curtain, "close", etc., so that by inputting the parameter display instruction for the device control or polygonal control object, the user can view the corresponding control parameters to determine whether the set control parameters meet the current needs and improve the user's control experience.
[0086] For the control interface, it may also include a scene control, and the scene control is associated with at least one smart home device and a second control parameter corresponding to the smart home device. Among them, for the scene control, it can be a device control scene that is pre-set by the user through the corresponding parameter setting process, and each scene control can be associated with at least one smart home device and a corresponding control parameter, so that the user can directly trigger the preset device control scene through the scene control. Specifically, the terminal can respond to the trigger operation for the target scene control, and control the second smart home device associated with the target scene control to perform the corresponding device operation according to the second control parameter associated with the target scene control.
[0087] For example, scene controls may include "turn off the air conditioner at midnight", "quick cooling of the living room", etc. Through the "turn off the air conditioner at midnight" control, the user can trigger the air conditioner to be turned off at 2:00 a.m. if the air conditioner is on; the user can use the "quick cooling of the living room" control to trigger quick cooling of the living room. If it is detected that the temperature of the living room is greater than or equal to the preset temperature threshold, the air conditioner is triggered to blow cold air to cool the living room, etc., so that by presetting the corresponding device control scene, when the user triggers the corresponding device control scene, the terminal can automatically detect whether the corresponding conditions are met, and automatically control the smart home device to perform the corresponding device operation if the conditions are met, thereby improving the automation of device control and reducing the user's operating burden.
[0088] In addition, the control interface also includes device control controls, each device control control is associated with a smart home device and a corresponding third control parameter. The user can instantly control the corresponding smart home device to perform the corresponding device operation by selecting the corresponding device control control in the control interface. Specifically, the terminal can respond to the trigger operation on the target device control control, and control the third smart home device associated with the target device control control to perform the corresponding device operation according to the third control parameter associated with the target device control control.
[0089] For example, the control interface may include device control controls such as "Floor lamp: living room | On", "Dehumidifier: living room | On", "Air conditioner 2: master bedroom | On", and "Air conditioner 3: second bedroom | Off". Through these controls, the corresponding smart home devices can be instantly controlled to perform corresponding device operations, so that through the corresponding device control controls, the smart home devices can be quickly controlled to perform corresponding device operations, thereby improving the convenience of device control.
[0090] It should be noted that the embodiments of the present invention include but are not limited to the above examples. It is understandable that those skilled in the art can also make settings according to actual needs under the guidance of the ideas of the embodiments of the present invention, and the present invention is not limited to this.
[0091] In an embodiment of the present invention, the electronic terminal can run a corresponding application and display a control interface for a smart home device through a graphical user interface. In the process of controlling the smart home device, the electronic terminal can respond to an intelligent control instruction for the control interface, and display a polygonal control object and a device control in the control interface according to the intelligent control instruction. The polygonal control object includes a plurality of edges, each edge is associated with at least one preset control parameter corresponding to a smart home device, and each device control represents a smart home device. Then, in response to dragging a target device control to be adsorbed to a target edge of the polygonal control object, a first control parameter of a first smart home device corresponding to the target device control is determined according to the preset control parameter corresponding to the target edge, and then the first smart home device is controlled to perform a corresponding device operation according to the first control parameter, thereby associating a corresponding smart home device and a corresponding control parameter on each edge of the polygonal control object, so that the user can trigger control of the smart home device by dragging the target device control to be adsorbed to the target edge of the polygonal control object, thereby greatly reducing the operation process of device control and improving the convenience and efficiency of device control.
[0092] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the following examples are used for exemplary description:
[0093] Reference Figure 2 , shows a schematic diagram of a control interface provided in an embodiment of the present invention, the terminal runs a corresponding application and displays a corresponding control interface through a graphical user interface, so that the user can remotely control the smart home device through the control interface. Among them, the control interface may include at least one scene control 210, an instant control control 220, and at least one device control control 230, and the user can trigger a pre-set device control scene through the scene control 210, or can instantly control the corresponding smart home device to perform corresponding device operations through the device control control.
[0094] When the user inputs a trigger operation for the instant control widget 220, the terminal may display the following Figure 3 The terminal can rearrange the control interface and display the corresponding device control 310 and the polygonal control object 320. The user can drag the device control 310 to the target edge of the polygonal control object 320 so as to control the corresponding smart home device based on the preset control parameters corresponding to the target edge. Figure 4As shown in the figure, when the user drags the device control corresponding to the air conditioner to the left side of the polygonal control object, if the "edge" is associated with the preset control parameters corresponding to the air conditioner, the terminal can directly use the corresponding control parameters as the target control parameters corresponding to the air conditioner; if the "edge" does not have the preset control parameters corresponding to the air conditioner, the terminal can jump to the corresponding device control page, such as Figure 5 As shown, the user can set the temperature, air volume, switch, mode, wind direction and timing and other related control parameters on the device control page of the air conditioner, so that the air conditioner can be controlled based on the control parameters set by the user on the one hand, and on the other hand, the terminal can also record the corresponding control parameters and associate them with the corresponding "edge" of the polygon control object (i.e., the left side), and then associate the corresponding smart home device and the corresponding control parameters on each edge of the polygon control object, so that the user can trigger the control of the smart home device by dragging the target device control to the target edge of the polygon control object, which greatly reduces the operation process of device control and improves the convenience and efficiency of device control. In addition, by inputting the input operation for the instant control control 220 again, the function of instant control through the polygon control object can be turned off.
[0095] In addition, refer to Figure 6 When the user clicks or long presses the device control that has been adsorbed on the polygonal control object, the terminal can display the control parameters corresponding to the device control. For example, the control parameter corresponding to the floor lamp is "on", which means that the floor lamp is turned on.
[0096] Accordingly, refer to Figure 7 As shown, users can drag multiple device controls to be adsorbed onto polygonal control objects, such as device controls corresponding to smart lights, curtains, floor lamps, and air conditioners, so as to achieve real-time control of these smart home objects. Thus, through convenient operation methods, real-time control of multiple smart home devices can be achieved, which greatly reduces the operation process of device control and improves the convenience and efficiency of device control.
[0097] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0098] Reference Figure 8, shows a structural block diagram of a control device of a device provided in an embodiment of the present invention, wherein a graphical user interface is provided through an electronic terminal, and the content displayed by the graphical user interface includes a control interface for a smart home device, which may specifically include the following modules:
[0099] A display module 801 is used to respond to the intelligent control instruction for the control interface and display a polygonal control object and a device control in the control interface according to the intelligent control instruction, wherein the polygonal control object includes a plurality of edges, each of the edges is associated with a preset control parameter corresponding to at least one smart home device, and each of the device controls represents a smart home device;
[0100] An operation response module 802 is used to determine a first control parameter of a first smart home device corresponding to the target device control according to a preset control parameter corresponding to the target edge in response to the target device control being dragged and adsorbed to the target edge of the polygonal control object;
[0101] An execution module is used to control the first smart home device to perform a corresponding device operation according to the first control parameter.
[0102] In some feasible implementations, the operation response module 802 is specifically used to:
[0103] If the target edge has preset control parameters of the first smart home device corresponding to the target device control, the preset control parameters associated with the target edge are used as the first control parameters corresponding to the first smart home device.
[0104] In some feasible implementations, the operation response module 802 is specifically used to:
[0105] If the target edge does not have the preset control parameters of the first smart home device corresponding to the target device control, switching the control interface to a device control page;
[0106] In response to a parameter input operation on the device control page, a first control parameter corresponding to the first smart home device is determined according to the parameter input operation.
[0107] In some feasible implementations, the device further includes:
[0108] A parameter association module is used to use the first control parameter as a preset control parameter of the first smart home device associated with the target edge.
[0109] Some possible implementations also include:
[0110] The parameter display module 801 is used to display a first control parameter corresponding to the target device control in response to a parameter display instruction for the target device control.
[0111] In some feasible implementations, the parameter display module 801 is specifically used for:
[0112] In response to a click operation or a long press operation on the target device control, a first control parameter corresponding to the target device control is displayed.
[0113] Some possible implementations also include:
[0114] The multi-parameter display module 801 is used to display the first control parameter corresponding to all target device controls adsorbed onto the polygonal control object in response to a long press operation on the polygonal control object.
[0115] In some feasible implementations, the control interface includes at least a scene control, the scene control is associated with at least one smart home device and a second control parameter corresponding to the smart home device, and the apparatus further includes:
[0116] The first control module is used to control a second smart home device associated with the target scene control to perform a corresponding device operation according to a second control parameter associated with the target scene control in response to a trigger operation on the target scene control.
[0117] In some feasible implementations, the control interface includes at least a real-time control control, and the display module 801 is specifically used for:
[0118] In response to a trigger operation on the real-time control widget, a polygonal control object and a device widget are displayed in the control interface.
[0119] In some feasible implementations, the control interface includes at least a device control control, each of the device control controls is associated with a smart home device and a corresponding third control parameter, and the apparatus further includes:
[0120] The second control module is used to control a third smart home device associated with the target device control control to perform a corresponding device operation according to a third control parameter associated with the target device control control in response to a trigger operation on the target device control control.
[0121] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0122] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the control method embodiment of the above-mentioned device are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0123] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the control method embodiment of the above-mentioned device is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0124] Fig. 9 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0125] The electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and a power supply 911. Those skilled in the art will appreciate that the electronic device structure involved in the embodiments of the present invention does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0126] It should be understood that in the embodiment of the present invention, the radio frequency unit 901 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 910 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 901 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 901 can also communicate with the network and other devices through a wireless communication system.
[0127] The electronic device provides users with wireless broadband Internet access through the network module 902, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0128] The audio output unit 903 can convert the audio data received by the RF unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output it as sound. Moreover, the audio output unit 903 can also provide audio output related to a specific function performed by the electronic device 900 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, a receiver, etc.
[0129] The input unit 904 is used to receive audio or video signals. The input unit 904 may include a graphics processor (GPU) 9041 and a microphone 9042, and the graphics processor 9041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 906. The image frame processed by the graphics processor 9041 can be stored in the memory 909 (or other storage medium) or sent via the radio frequency unit 901 or the network module 902. The microphone 9042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 901 in the case of a telephone call mode.
[0130] The electronic device 900 also includes at least one sensor 905, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 9061 and / or the backlight when the electronic device 900 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 905 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0131] The display unit 906 is used to display information input by the user or information provided to the user. The display unit 906 may include a display panel 9061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0132] The user input unit 907 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 9071 or near the touch panel 9071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 9071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 910, receives the command sent by the processor 910 and executes it. In addition, the touch panel 9071 can be implemented using various types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 9071, the user input unit 907 may also include other input devices 9072. Specifically, other input devices 9072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0133] Further, the touch panel 9071 may be covered on the display panel 9061. When the touch panel 9071 detects a touch operation on or near it, it is transmitted to the processor 910 to determine the type of the touch event, and then the processor 910 provides a corresponding visual output on the display panel 9061 according to the type of the touch event. It can be understood that in one embodiment, the touch panel 9071 and the display panel 9061 are used as two independent components to implement the input and output functions of the electronic device, but in some embodiments, the touch panel 9071 and the display panel 9061 can be integrated to implement the input and output functions of the electronic device, which is not limited here.
[0134] The interface unit 908 is an interface for connecting an external device to the electronic device 900. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 908 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 900 or may be used to transmit data between the electronic device 900 and an external device.
[0135] The memory 909 can be used to store software programs and various data. The memory 909 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 909 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0136] The processor 910 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 909, and calling data stored in the memory 909, so as to monitor the electronic device as a whole. The processor 910 may include one or more processing units; preferably, the processor 910 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 910.
[0137] The electronic device 900 may also include a power supply 911 (such as a battery) for supplying power to each component. Preferably, the power supply 911 may be logically connected to the processor 910 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
[0138] In addition, the electronic device 900 includes some functional modules not shown, which will not be described in detail here.
[0139] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0141] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0142] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0143] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0144] In the 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 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 system, 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.
[0145] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0146] In addition, each functional unit in each embodiment of the present invention 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.
[0147] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0148] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for controlling a device, characterized in that: Providing a graphical user interface by an electronic terminal, wherein the content displayed by the graphical user interface includes a control interface for a smart home device, and the method includes: In response to the intelligent control instruction for the control interface, a polygonal control object and a device control are displayed in the control interface according to the intelligent control instruction, wherein the polygonal control object includes a plurality of edges, each of the edges is associated with a preset control parameter corresponding to at least one smart home device, and each of the device controls represents a smart home device; In response to dragging the target device control to be adsorbed to the target edge of the polygonal control object, determining a first control parameter of a first smart home device corresponding to the target device control according to a preset control parameter corresponding to the target edge; The first smart home device is controlled to perform corresponding device operations according to the first control parameter.
2. The method according to claim 1, characterized in that The determining, according to the preset control parameter corresponding to the target edge, a first control parameter of the first smart home device corresponding to the target device control includes: If the target edge has preset control parameters of the first smart home device corresponding to the target device control, the preset control parameters associated with the target edge are used as the first control parameters corresponding to the first smart home device.
3. The method according to claim 1, characterized in that The determining, according to the preset control parameter corresponding to the target edge, a first control parameter of the first smart home device corresponding to the target device control includes: If the target edge does not have the preset control parameters of the first smart home device corresponding to the target device control, switching the control interface to a device control page; In response to a parameter input operation on the device control page, a first control parameter corresponding to the first smart home device is determined according to the parameter input operation.
4. The method according to claim 3, characterized in that After determining the first control parameter corresponding to the first smart home device according to the parameter input operation, the method further includes: The first control parameter is used as a preset control parameter of the first smart home device associated with the target edge.
5. The method according to any one of claims 1 to 4, characterized in that: Also includes: In response to the parameter display instruction for the target device control, a first control parameter corresponding to the target device control is displayed.
6. The method according to claim 5, characterized in that The step of displaying the first control parameter corresponding to the target device control in response to the parameter display instruction for the target device control comprises: In response to a click operation or a long press operation on the target device control, a first control parameter corresponding to the target device control is displayed.
7. The method according to any one of claims 1 to 4, characterized in that: Also includes: In response to a long press operation on the polygonal control object, first control parameters corresponding to all target device controls adsorbed onto the polygonal control object are displayed.
8. The method according to claim 1, characterized in that The control interface includes at least a scene control, the scene control is associated with at least one smart home device and a second control parameter corresponding to the smart home device, and the method further includes: In response to a trigger operation on a target scene control, a second smart home device associated with the target scene control is controlled to perform a corresponding device operation according to a second control parameter associated with the target scene control.
9. The method according to claim 1, characterized in that: The control interface at least includes a real-time control control, and the response to the intelligent control instruction for the control interface, displaying the polygonal control object and the device control in the control interface according to the intelligent control instruction, includes: In response to a trigger operation on the real-time control widget, a polygonal control object and a device widget are displayed in the control interface.
10. The method according to claim 1, characterized in that The control interface includes at least a device control control, each of which is associated with a smart home device and a corresponding third control parameter, and the method further includes: In response to a trigger operation on a target device control control, a third smart home device associated with the target device control control is controlled according to a third control parameter associated with the target device control control to perform a corresponding device operation.
11. A control device for an equipment, characterized in that: A graphical user interface is provided by an electronic terminal, wherein the content displayed by the graphical user interface includes a control interface for a smart home device, and the device includes: A display module, for responding to an intelligent control instruction for the control interface, and displaying a polygonal control object and a device control in the control interface according to the intelligent control instruction, wherein the polygonal control object includes a plurality of edges, each of the edges is associated with a preset control parameter corresponding to at least one smart home device, and each of the device controls represents a smart home device; An operation response module, configured to determine, in response to the target device control being dragged and adsorbed to a target edge of the polygonal control object, a first control parameter of a first smart home device corresponding to the target device control according to a preset control parameter corresponding to the target edge; An execution module is used to control the first smart home device to perform a corresponding device operation according to the first control parameter.
12. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 10 when executing the program stored in the memory.
13. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Household equipment control method and device, computer equipment and storage medium
CN115562053A
Intelligent household equipment scene automatic generation system and method
CN115718434A
Scene setting method and electronic equipment
CN117092921A
Game interaction method and device, computer equipment and computer readable storage medium
CN117482516A
Intelligent equipment control method and device, electronic equipment and storage medium
CN117742165A