Control method and device of equipment, electronic equipment and storage medium
By displaying polygonal control objects and device controls in a graphical user interface, users can quickly set control parameters, solving the problem of cumbersome control processes for smart home devices and improving convenience and efficiency.
Patent Information
- Application Number
- CN202411384548.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2026-01-23
- Estimated Expiration
- 2044-09-30
AI Technical Summary
Users have different control needs for smart home devices in different scenarios, and the existing device control process is 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 automatically or manually set control parameters, enabling quick control of smart home devices.
This greatly reduces the operational procedures for equipment control and improves the convenience and efficiency of equipment control.
Smart Images

Figure CN119270660B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of device control, and in particular to a device control method, a device control apparatus, an electronic device, and a computer readable storage medium. BACKGROUND
[0002] With the development of home intelligence, application programs for controlling smart home devices have gradually become popular, and smart home devices can be controlled on corresponding application programs. Among them, the device control scene can be changed according to the change of user demand, and the use scenario of the device control scene gradually increases. However, there may be slight differences in the needs of users in different scenarios when the same device control scene is enabled, and in this case, the user needs to adjust the control parameters of the corresponding device after starting the device control scene, which undoubtedly increases the device control process of the user and reduces the convenience and efficiency of device control. SUMMARY
[0003] Embodiments of the present application provide a device control method, apparatus, electronic device, and computer readable storage medium to solve or partially solve the problems of cumbersome process, low convenience, and low control efficiency of device control.
[0004] Embodiments of the present application disclose a device control method, which provides a graphical user interface through an electronic terminal, and the content displayed by the graphical user interface includes a control interface for smart home devices. The method comprises:
[0005] In response to a smart control instruction for the control interface, a polygon control object and a device control are displayed in the control interface according to the smart control instruction. The polygon control object includes a plurality of sides, each side is associated with at least one preset control parameter of a corresponding smart home device, and each device control represents a smart home device.
[0006] In response to the target device control being adsorbed to the target side of the polygon 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 side.
[0007] The first smart home device is controlled to perform a corresponding device operation according to the first control parameter.
[0008] In some possible implementation manners, 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 side, comprising:
[0009] If the target edge exists preset control parameters of the first smart home device corresponding to the target device control, preset control parameters associated with the target edge are taken as the first control parameters corresponding to the first smart home device.
[0010] In some possible implementation manners, the determining the first control parameters of the first smart home device corresponding to the target device control according to the preset control parameters corresponding to the target edge comprises:
[0011] If the target edge does not exist preset control parameters of the first smart home device corresponding to the target device control, the control interface is switched to a device control page.
[0012] In response to a parameter input operation for the device control page, the first control parameters corresponding to the first smart home device are determined according to the parameter input operation.
[0013] In some possible implementation manners, after the determining the first control parameters corresponding to the first smart home device according to the parameter input operation, the method further comprises:
[0014] The first control parameters are taken as preset control parameters of the first smart home device associated on the target edge.
[0015] In some possible implementation manners, the method further comprises:
[0016] In response to a parameter display instruction for the target device control, the first control parameters corresponding to the target device control are displayed.
[0017] In some possible implementation manners, the displaying the first control parameters corresponding to the target device control in response to the parameter display instruction for the target device control comprises:
[0018] In response to a click operation or a long press operation for the target device control, the first control parameters corresponding to the target device control are displayed.
[0019] In some possible implementation manners, the method further comprises:
[0020] In response to a long press operation for the polygonal control object, the first control parameters corresponding to the target device control are displayed.
[0021] In response to a trigger operation for 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 second control parameters associated with the target scene control.
[0022] In some possible implementation manners, the control interface at least includes an instant control control, and the method further includes:
[0023] In response to a triggering operation on the instant control control, displaying a polygon control object and device controls in the control interface.
[0024] In some possible implementation manners, the control interface at least includes device control controls, 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 triggering operation on a target device control control, controlling 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.
[0026] The embodiment of the present application further discloses a device control apparatus, which provides a graphical user interface through an electronic terminal, and the content displayed by the graphical user interface includes a control interface for a smart home device, and the apparatus includes:
[0027] The display module is configured to display a polygon control object and device controls in the control interface according to the smart control instruction in response to the smart control instruction for the control interface, the polygon control object includes a plurality of sides, each side is associated with a preset control parameter of a corresponding smart home device, and each device control represents a smart home device.
[0028] The operation response module is configured 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 a target side of the polygon control object in response to the target device control being adsorbed to the target side.
[0029] The execution module is configured to control the first smart home device to perform a corresponding device operation according to the first control parameter.
[0030] In some possible implementation manners, the operation response module is specifically configured to:
[0031] If the target side has a preset control parameter of the first smart home device corresponding to the target device control, the preset control parameter associated with the target side is taken as the first control parameter corresponding to the first smart home device.
[0032] In some possible implementation manners, the operation response module is specifically configured to:
[0033] if the target edge does not exist the preset control parameter 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 for the device control page, determining the first control parameter corresponding to the first smart home device according to the parameter input operation.
[0035] In some possible implementation manners, the apparatus further includes:
[0036] a parameter association module, configured to take the first control parameter as the preset control parameter of the first smart home device associated on the target edge.
[0037] In some possible implementation manners, the apparatus further includes:
[0038] a parameter display module, configured to display the first control parameter corresponding to the target device control in response to a parameter display instruction for the target device control.
[0039] In some possible implementation manners, the parameter display module is specifically configured to:
[0040] display the first control parameter corresponding to the target device control in response to a click operation or a long press operation for the target device control.
[0041] In some possible implementation manners, the apparatus further includes:
[0042] a multi-parameter display module, configured to display the first control parameters corresponding to all target device controls adsorbed to the polygonal control object in response to a long press operation for the polygonal control object.
[0043] In some possible implementation manners, the control interface at least includes a scene control, the scene control being 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] a first control module, configured to control the second smart home device associated with the target scene control to perform a corresponding device operation according to the second control parameter associated with the target scene control in response to a trigger operation for the target scene control.
[0045] In some possible implementation manners, the control interface at least includes an instant control, and the display module is specifically configured to:
[0046] display the polygonal control object and the device control in the control interface in response to a trigger operation for the instant control.
[0047] In some possible implementation manners, the control interface comprises at least device control controls, each of the device control controls is associated with a smart home device and a corresponding third control parameter, and the apparatus further comprises:
[0048] a second control module configured to, in response to a triggering operation on a target device control control, 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.
[0049] The embodiment of the present application 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 complete communication with each other through the communication bus.
[0050] The memory is used for storing a computer program.
[0051] The processor is used for executing the program stored on the memory, and the method is realized as described in the embodiment of the present application.
[0052] The embodiment of the present application further discloses a computer readable storage medium, which stores instructions, and when executed by one or more processors, causes the processor to execute the method as described in the embodiment of the present application.
[0053] The embodiment of the present application has the following advantages:
[0054] In the embodiment of the present application, the electronic terminal can run a corresponding application program and display a control interface for smart home devices through a graphical user interface. In the process of controlling the smart home devices, the electronic terminal can display a polygonal control object and device controls in the control interface in response to a smart control instruction for the control interface according to the smart control instruction. The polygonal control object comprises a plurality of sides, each side is associated with a preset control parameter of at least one smart home device, each device control represents a smart home device. Then, the first control parameter of the first smart home device corresponding to the target device control can be determined according to the preset control parameter corresponding to the target side of the polygonal control object in response to the target device control being adsorbed to the target side of the polygonal control object. Then, the first smart home device is controlled to perform a corresponding device operation according to the first control parameter, so that each side of the polygonal control object is associated with a corresponding smart home device and a corresponding control parameter. A user can trigger the control of the smart home device by adsorbing the target device control to the target side of the polygonal control object, which greatly reduces the operation process of device control and improves the convenience and efficiency of device control. BRIEF DESCRIPTION OF DRAWINGS
[0055] Figure 1is a step flow chart of a control method of a device provided in an embodiment of the present application;
[0056] Figure 2 is a schematic diagram of a control interface provided in an embodiment of the present application;
[0057] Figure 3 is a schematic diagram of a control interface provided in an embodiment of the present application;
[0058] Figure 4 is a schematic diagram of a control interface provided in an embodiment of the present application;
[0059] Figure 5 is a schematic diagram of a control interface provided in an embodiment of the present application;
[0060] Figure 6 is a schematic diagram of a control interface provided in an embodiment of the present application;
[0061] Figure 7 is a schematic diagram of a control interface provided in an embodiment of the present application;
[0062] Figure 8 is a structural block diagram of a control device of a device provided in an embodiment of the present application;
[0063] Figure 9 is a block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to make the above objectives, characteristics and advantages of the present application more apparent, obvious and easy to understand, the present application is further described in detail below with reference to the drawings and specific embodiments.
[0065] As an example, in the process of controlling the smart home device by the user, there are problems of complicated device control flow, poor control convenience and low efficiency.
[0066] To this end, in the present application, in the process of controlling the smart home devices, the electronic terminal can display a polygonal control object and device controls in the control interface in response to a smart control instruction for the control interface, the polygonal control object including a plurality of sides, each side being associated with a preset control parameter of at least one smart home device, each device control representing a smart home device, then in response to the target device control being adsorbed to the target side of the polygonal control object, 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 side, and then controlling the first smart home device to perform the corresponding device operation according to the first control parameter, so that each side of the polygonal control object is associated with a corresponding smart home device and a corresponding control parameter, so that the user can trigger the control of the smart home device by adsorbing the target device control to the target side of the polygonal control object, greatly reducing the operation process of device control and improving the convenience and efficiency of device control.
[0067] Referring to Figure 1 , a step flowchart of a device control method provided in an embodiment of the present application is shown, a graphical user interface is provided by an electronic terminal, and the content displayed by the graphical user interface includes a control interface for smart home devices, which can specifically include the following steps:
[0068] Step 101, in response to a smart control instruction for the control interface, a polygonal control object and device controls are displayed in the control interface according to the smart control instruction, the polygonal control object including a plurality of sides, each side being associated with a preset control parameter of at least one smart home device, each device control representing a smart home device;
[0069] Optionally, the electronic terminal (hereinafter referred to as the terminal) can be a mobile terminal or the like, which can run corresponding application programs, applets, browser pages and other software programs capable of remotely controlling smart home devices, and the terminal displays the corresponding control interface in the graphical user interface by running the corresponding software programs, so that the user can input corresponding operations in the control interface to achieve remote control of the smart home devices.
[0070] In an example, each smart home device can establish a corresponding communication connection with the terminal through a wired or wireless network or the like, and the terminal generates a corresponding control instruction according to the user operation input by the user on the control interface, and then sends the control instruction to the corresponding smart home device to achieve remote control of the smart home device.
[0071] In the embodiment of the present application, the terminal can display a polygonal control object and corresponding device controls for instant control of smart home devices in the control interface in response to a smart control instruction input by the user in the control interface. The polygonal control object can include several sides, each of which can be associated with at least one preset control parameter of a smart home device corresponding to each device control.
[0072] Assuming the polygonal control object is a rectangle, the four sides of the rectangle can be associated with at least one preset control parameter of a smart home device corresponding to each side, such as the top side of the rectangle, which can be associated with a lamp, a thermostat, a curtain, a doorbell, etc. The preset control parameter corresponding to the lamp can be "light brightness: 75%; color temperature: 4500k; scene mode: reading mode"; the preset control parameter corresponding to the thermostat can be "temperature setting: 22°C; mode selection: heating; wind speed adjustment: medium"; the preset control parameter corresponding to the curtain can be "curtain opening degree: 50%; timing switch: open at 7:00 every morning and close at 22:00 every night; scene linkage: linked with light and temperature control system"; the preset control parameter corresponding to the doorbell can be "camera monitoring: real-time picture; door and window sensor status: door and window closed; alarm setting: intrusion alarm", etc. It can be understood that the same applies to other "sides", which can be associated with the preset control parameter corresponding to the corresponding smart home device.
[0073] Optionally, during the display of the polygonal control object, each side can be displayed in different display styles, such as different colors, etc., which are not limited by the present application.
[0074] In addition, the device control can be used to represent the corresponding smart home device, such as the device control corresponding to the air conditioner, ceiling lamp, curtain, smart lamp, floor lamp, dehumidifier, etc., which are not limited by the present application.
[0075] In an optional implementation, for the polygonal control object, a corresponding instant control control can be provided in the control interface, and the polygonal control object can be displayed in the control interface by the instant control control. Specifically, the terminal can display the polygonal control object and the device control in the control interface in response to the triggering operation of the instant control control, so that the user can achieve 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 attracted to the target side of the polygonal control object, 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 side;
[0077] In the embodiments of the present application, the user can control the first smart home device associated with the target device control by dragging the target device control to the target side of the polygon control object. Specifically, the terminal can determine 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 side in response to the target device control being adsorbed to the target side of the polygon 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 side of the polygon control object, the terminal can obtain the smart home device associated with the target side and the corresponding preset control parameter, and then determine whether there is a preset control parameter corresponding to the first smart home device. If the target side has the preset control parameter of the first smart home device corresponding to the target device control, the preset control parameter associated with the target side is used as the first control parameter corresponding to the first smart home device. If the target side does not have the preset control parameter of the first smart home device corresponding to the target device control, the control interface is switched to a device control page, and then the terminal can determine the first control parameter corresponding to the first smart home device according to the parameter input operation input by the user for the device control page in response to the parameter input operation input by the user for the device control page, and use the first control parameter as the preset control parameter of the first smart home device associated with the target side. Thus, by dragging the device control to be adsorbed to the polygon control object, the control parameter 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 parameter, greatly reducing the operation process of device control and improving 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 and adsorbs the device control to the top edge of the polygonal control object, the terminal can obtain all the smart home devices associated with the top edge and the corresponding preset control parameters, and if the preset control parameters corresponding to the lamp exist (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 the preset control parameters corresponding to the lamp do not exist, the terminal can jump to the device control page for the lamp, and the user can set the control parameters for the lamp (such as "light brightness: 0%; color temperature: 0k; scene mode: sleep mode", etc.) on the device control page, so as to control the lamp to perform corresponding device operations based on the set control parameters, and after the setting is completed, the control parameters set by the user can be associated with the top edge, so that the control parameters set by the user are used as the preset control parameters, so that the next time the user drags and adsorbs the device control to the top edge, 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 operation process of device control and improve the convenience and efficiency of control.
[0080] In step 103, the first smart home device is controlled to perform corresponding device operations according to the first control parameters.
[0081] After determining the first control parameters of the first smart home device based on the above process, the terminal can generate corresponding control instructions based on the first control parameters, and then send the control instructions to the first smart home device, so that the first smart home device executes corresponding control instructions, thereby associating corresponding smart home devices and corresponding control parameters with each edge of the polygonal control object, so that the user can trigger control of the smart home device by dragging and adsorbing 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 instant process, the user can drag and adsorb multiple device controls to the same or different edges of the polygonal control object to control multiple smart home devices at a time, such as dragging and adsorbing the device control ① corresponding to the smart lamp to the edge A of the polygonal control object, dragging and adsorbing the device control ② corresponding to the air conditioner to the edge B of the polygonal control object, dragging and adsorbing the device control ③ corresponding to the floor lamp to the edge C of the polygonal control object, and dragging and adsorbing the device control ④ corresponding to the curtain to the edge A of the polygonal control object, etc., so that quick control of multiple smart home devices can be achieved through the dragging mode, which greatly reduces the operation process of device control and improves the convenience and efficiency of device control.
[0083] In some optional implementations, in the process of the instant control of the smart home devices described above, when the device control is adsorbed to the side corresponding to the polygonal control object, if the user wants to view the control parameter corresponding to the device control, a corresponding parameter display instruction can be input, and the terminal can display the first control parameter corresponding to the target device control in response to the parameter display instruction for the target device control.
[0084] In a specific implementation, the user can input a click operation or a long press operation for the adsorbed target device control, and the terminal can display the first control parameter corresponding to the target device control in response to the click operation or the long press operation for the target device control. For example, the user can long press the device control ① corresponding to the smart lamp, and the terminal can display the control parameter corresponding to the smart lamp, such as “on”. The user can also click the device control ② corresponding to the air conditioner, and the terminal can display the control parameter corresponding to the air conditioner, such as “cooling, 26°C, high wind”, and the like, which is not limited in the present application.
[0085] In addition, the user can also directly input a long press operation for the polygonal control object, and the terminal can display the first control parameter corresponding to all target device controls adsorbed to the polygonal control object in response to the long press operation for the polygonal control object. For example, the user long presses the polygonal control object, and the terminal can display the control parameter corresponding to the smart lamp, such as “on”, display the control parameter corresponding to the air conditioner, such as “cooling, 26°C, high wind”, display the control parameter corresponding to the floor lamp, such as “on”, and display the control parameter corresponding to the curtain, such as “off”, and the like. Thus, by inputting a parameter display instruction for the device control or the polygonal control object, the user can view the corresponding control parameter, so as to determine whether the set control parameter meets the current demand, and improve the control experience of the user.
[0086] For the control interface, it can also include a scene control, which is associated with at least one smart home device and a second control parameter corresponding to the smart home device. Wherein, for the scene control, it can be a device control scene set in advance by the user through a 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 control the second smart home device associated with the target scene control to perform a corresponding device operation according to the second control parameter associated with the target scene control in response to a trigger operation for the target scene control.
[0087] For example, the scene control can include "turn off air conditioner at 2:00 am", "quickly cool the living room", etc. The user can trigger the "turn off air conditioner at 2:00 am" control to turn off the air conditioner at 2:00 am if the air conditioner is on. The user can trigger the "quickly cool the living room" control to quickly cool the living room, and if the temperature of the living room is greater than or equal to a preset temperature threshold, the air conditioner blows cold air to cool the living room, etc. Thus, the corresponding device control scene is preset, and when the user triggers the corresponding device control scene, the terminal can automatically detect whether the corresponding condition is met, and automatically control the smart home device to perform the corresponding device operation if the condition is met, thereby improving the automation of device control and reducing the operation burden of the user.
[0088] In addition, the control interface further includes a device control control, each device control control is associated with a smart home device and a corresponding third control parameter, and the user can 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 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 in response to the triggering operation of the target device control control.
[0089] For example, the control interface can include "floor lamp: living room | on", "dehumidifier: living room | on", "air conditioner 2: master bedroom | on", "air conditioner 3: secondary bedroom | off", etc. These controls can be used to control the corresponding smart home device to perform the corresponding device operation, so that the corresponding device control control can be used to quickly control the smart home device to perform the corresponding device operation, thereby improving the convenience of device control.
[0090] It should be noted that the embodiments of the present application include but are not limited to the above examples. It can be understood that those skilled in the art can set up according to actual needs under the guidance of the idea of the embodiments of the present application, and the present application does not limit this.
[0091] In the embodiment of the present application, the electronic terminal can run a corresponding application and display a control interface for the smart home device through a graphical user interface. In the process of controlling the smart home device, the electronic terminal can display a polygonal control object and a device control in the control interface in response to a smart control instruction for the control interface according to the smart control instruction. The polygonal control object includes a plurality of sides, each side is associated with at least one preset control parameter of a smart home device, each device control represents a smart home device. Then, the first control parameter of the first smart home device corresponding to the target device control can be determined according to the preset control parameter corresponding to the target side of the polygonal control object in response to the target device control being adsorbed to the target side of the polygonal control object. Then, the first smart home device is controlled to perform a corresponding device operation according to the first control parameter. Thus, each side of the polygonal control object is associated with a corresponding smart home device and a corresponding control parameter. A user can trigger the control of the smart home device by adsorbing the target device control to the target side of the polygonal control object. The operation process of device control is greatly reduced, and the convenience and efficiency of device control are improved.
[0092] In order for those skilled in the art to better understand the technical solutions in the embodiments of the present application, the following will be exemplarily described by corresponding examples:
[0093] Referring to Figure 2 , a schematic diagram of a control interface provided in the embodiment of the present application is shown. The terminal displays a corresponding control interface through a graphical user interface by running a corresponding application, so that a user can remotely control a smart home device through the control interface. At least one scene control 210, an instant control 220 and at least one device control 230 can be included in the control interface. The user can trigger a pre-set device control scene through the scene control 210, or can control a corresponding smart home device to perform a corresponding device operation through the device control.
[0094] When the user inputs a trigger operation for the instant control 220, the terminal can display a control interface as shown in Figure 3 . The terminal can rearrange the control interface and display a corresponding device control 310 and a polygonal control object 320. The user can adsorb the device control 310 to a target side of the polygonal control object 320, so as to control a corresponding smart home device based on the preset control parameter corresponding to the target side. As shown in Figure 4As shown, when the user drags the air conditioner corresponding device control to be adsorbed to the left of the polygon control object, in the case where the "edge" is associated with the preset control parameter corresponding to the air conditioner, the terminal can directly take the corresponding control parameter as the target control parameter corresponding to the air conditioner; if the "edge" does not have the preset control parameter 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, air direction, and timing related control parameters on the device control page of the air conditioner, so that on the one hand, the air conditioner can be controlled based on the user set control parameters, and on the other hand, the terminal can also record the corresponding control parameters and associate them to the "edge" (i.e. the left edge) of the polygon control object, and then associate the corresponding smart home device and control parameter 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 be adsorbed 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, when the input operation of the instant control control 220 is input again, the function of instant control through the polygon control object can be closed.
[0095] In addition, referring to Figure 6 When the user clicks or long-presses the device control that has been adsorbed on the polygon control object, the terminal can display the control parameter corresponding to the device control, such as the control parameter of the floor lamp being "on", which represents turning on the floor lamp.
[0096] Correspondingly, referring to Figure 7 As shown, the user can drag multiple device controls to be adsorbed to the polygon control object, such as the device controls corresponding to the smart lamp, the curtain, the floor lamp, and the air conditioner, so as to realize instant control of these smart home objects, so that instant control of multiple smart home devices can be realized through a convenient operation mode, 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 method embodiments, in order to simply describe, they are all described as a series of action combinations, but those skilled in the art should know that the embodiments of the present application are not limited by the action order described, because according to the embodiments of the present application, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions involved are not necessarily necessary for the embodiments of the present application.
[0098] Referring to Figure 8, a structural block diagram of a control device of an apparatus provided in an embodiment of the present application is shown, a graphical user interface is provided through an electronic terminal, and the content displayed by the graphical user interface includes a control interface for smart home apparatuses, and specifically can include the following modules:
[0099] a display module 801, configured to display a polygonal control object and device controls in the control interface according to a smart control instruction for the control interface in response to the smart control instruction, the polygonal control object including a plurality of sides, each side being associated with preset control parameters of at least one smart home apparatus, and each device control representing a smart home apparatus;
[0100] an operation response module 802, configured to determine a first control parameter of a first smart home apparatus corresponding to a target device control according to preset control parameters corresponding to a target side of the polygonal control object in response to the target device control being adsorbed to the target side of the polygonal control object;
[0101] an execution module, configured to control the first smart home apparatus to perform a corresponding device operation according to the first control parameter.
[0102] In some possible implementation manners, the operation response module 802 is specifically configured to:
[0103] if the target side has preset control parameters of the first smart home apparatus corresponding to the target device control, the preset control parameters associated with the target side are taken as the first control parameter corresponding to the first smart home apparatus.
[0104] In some possible implementation manners, the operation response module 802 is specifically configured to:
[0105] if the target side does not have preset control parameters of the first smart home apparatus corresponding to the target device control, the control interface is switched to a device control page.
[0106] in response to a parameter input operation for the device control page, a first control parameter for the first smart home apparatus is determined according to the parameter input operation.
[0107] In some possible implementation manners, the apparatus further includes:
[0108] a parameter association module, configured to take the first control parameter as preset control parameters of the first smart home apparatus associated on the target side.
[0109] In some possible implementation manners, the apparatus further includes:
[0110] The parameter display module 801 is configured to display the first control parameter corresponding to the target device control in response to a parameter display instruction for the target device control.
[0111] In some possible implementation manners, the parameter display module 801 is specifically configured to:
[0112] In response to a click operation or a long press operation for the target device control, the first control parameter corresponding to the target device control is displayed.
[0113] In some possible implementation manners, the apparatus further includes:
[0114] The multi-parameter display module 801 is configured to display the first control parameters corresponding to all target device controls attached to the polygonal control object in response to a long press operation for the polygonal control object.
[0115] In some possible implementation manners, the control interface includes at least a scene control, the scene control being 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 configured to control the second smart home device associated with the target scene control to perform a corresponding device operation according to the second control parameter associated with the target scene control in response to a trigger operation for the target scene control.
[0117] In some possible implementation manners, the control interface includes at least an instant control, and the display module 801 is specifically configured to:
[0118] In response to a trigger operation for the instant control, the polygonal control object and the device control are displayed in the control interface.
[0119] In some possible implementation manners, the control interface includes at least a device control, each device control being associated with a smart home device and a third control parameter corresponding to the smart home device, and the apparatus further includes:
[0120] The second control module is configured to control the third smart home device associated with the target device control to perform a corresponding device operation according to the third control parameter associated with the target device control in response to a trigger operation for the target device control.
[0121] For the apparatus embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and relevant parts refer to the part of the method embodiment.
[0122] In addition, the embodiment of the present application further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, which, when executed by the processor, implements each process of the control method embodiment of the device and achieves the same technical effects. To avoid repetition, details are not described here.
[0123] The embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements each process of the control method embodiment of the device and achieves the same technical effects. To avoid repetition, details are not described here. The computer readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0124] Figure 9 A hardware structure schematic diagram of an electronic device for implementing various embodiments of the present application.
[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, etc. Those skilled in the art can understand that the electronic device structure involved in the embodiments of the present application does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than the illustration, or combine certain components, or different component arrangements. In the embodiments of the present application, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle terminal, a wearable device, and a pedometer, etc.
[0126] It should be understood that in the embodiments of the present application, the radio frequency unit 901 can be used for receiving and sending signals in the process of information or call. Specifically, after receiving the downlink data from the base station, the processor 910 processes it. In addition, the 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 wireless broadband Internet access for users through the network module 902, such as helping users to send and receive emails, browse web pages, and access streaming media, etc.
[0128] The audio output unit 903 can convert audio data, which is received by the radio frequency unit 901 or the network module 902 or stored in the memory 909, into an audio signal and output as sound. Also, the audio output unit 903 can provide an audio output related to a particular function performed by the electronic device 900 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 903 includes a speaker, a buzzer, and a receiver, etc.
[0129] The input unit 904 is used to receive audio or video signals. The input unit 904 can include a graphics processing unit (GPU) 9041 and a microphone 9042. The graphics processing unit 9041 processes image data of a still picture or a video obtained by an image capture device (e.g., 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 processing unit 9041 can be stored in the memory 909 (or other storage medium) or transmitted via the radio frequency unit 901 or the network module 902. The microphone 9042 can receive sound and can process such sound as audio data. The processed audio data can be converted into a format transmittable 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 further 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 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 one of the motion sensors, 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 at rest, which can be used to identify the electronic device posture (such as screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, knock), 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 described here.
[0131] The display unit 906 is used to display information input by a user or information provided to a user. The display unit 906 can include a display panel 9061, which can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
[0132] The user input unit 907 can be used to receive inputted numerical or character information, and to generate key signal inputs related to user settings of the electronic device and control of functions. Specifically, the user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071, also called a touch screen, can collect touch operations of a user thereon or adjacent thereto, such as operations of the user using a finger, a stylus, or any suitable object or accessory on or adjacent to the touch panel 9071. The touch panel 9071 can include two parts, a touch detecting device and a touch controller. The touch detecting device detects a user's touch position and detects a signal resulting from a touch operation, and transmits the signal to the touch controller. The touch controller receives touch information from the touch detecting device, converts it into touch coordinates, and sends it to the processor 910, and receives commands from the processor 910 and executes them. In addition, the touch panel 9071 can be implemented in various types such as a resistive type, a capacitive type, an infrared type, and a surface acoustic wave type. In addition to the touch panel 9071, the user input unit 907 can include other input devices 9072. Specifically, the other input devices 9072 can include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, a joystick, and the like, which are not described here.
[0133] Further, the touch panel 9071 can be overlaid on the display panel 9061, and when the touch panel 9071 detects a touch operation thereon or adjacent thereto, it transmits to the processor 910 to determine the type of touch event, and then the processor 910 provides a corresponding visual output on the display panel 9061 according to the type of touch event. It can be understood that, in one embodiment, the touch panel 9071 and the display panel 9061 are implemented as two independent components to realize 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 realize 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 can 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 having an identification module, an audio input / output (I / O) port, a video I / O port, an earphone port, and the like. The interface unit 908 can 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 can be used to transmit data between the electronic device 900 and the external device.
[0135] The memory 909 is operable 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, application programs (such as a sound play function, an image play function, etc.) required by at least one function, etc.; and the data storage area can store data (such as audio data, a phone book, etc.) created according to the use of the mobile phone, etc. In addition, the memory 909 can include a high-speed random access memory, and can further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.
[0136] The processor 910 is a control center of the electronic device, connects all parts of the electronic device through various interfaces and lines, 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, and thus performs overall monitoring on the electronic device. The processor 910 can include one or more processing units; preferably, the processor 910 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 910.
[0137] The electronic device 900 can further include a power supply 911 (such as a battery) for supplying power to various components; preferably, the power supply 911 can be logically connected to the processor 910 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system.
[0138] In addition, the electronic device 900 includes some functional modules which are not shown and will not be described herein.
[0139] It should be noted that, in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article, or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of additional identical elements in the process, method, article, or device including the element.
[0140] Those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by means of software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal (which can be a mobile phone, computer, server, air conditioner, or network device) execute the method described in each embodiment of the present application.
[0141] The embodiments of the present application are described above with reference to the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative, not restrictive. Those skilled in the art can make many forms without departing from the purpose of the present application and the scope protected by the claims under the inspiration of the present application, which all belong to the protection of the present application.
[0142] Those skilled in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed in the embodiments of the present application can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solutions. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0143] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-mentioned system, device and unit can refer to the corresponding process in the foregoing method embodiments, which 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 illustrative, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed units can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0145] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0146] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present alone, or two or more units can be integrated in one unit.
[0147] If the functions are realized 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 solutions of the present application or the part of the prior art that essentially contributes or the part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The foregoing storage medium includes various storage media that can store program codes, such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
[0148] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for controlling a device, characterized in that, The method includes providing a graphical user interface via an electronic terminal, wherein the graphical user interface displays content including a control interface for smart home devices. In response to a smart control command for the control interface, a polygonal control object and a device control are displayed in the control interface according to the smart control command. The polygonal control object includes several sides, each side is associated with a preset control parameter corresponding to at least one smart home device, and each device control represents a smart home device. In response to dragging a target device control to a target edge of the polygonal control object, the first control parameters of the first smart home device corresponding to the target device control are determined according to the preset control parameters corresponding to the target edge; the target device control includes multiple device controls, which are attached to the same or different edges of the polygonal control object. The first smart home device is controlled to perform corresponding device operations according to the first control parameters; The step of determining the first control parameters of the first smart home device corresponding to the target device control based on the preset control parameters corresponding to the target edge includes: If the target edge does not have the preset control parameters of the first smart home device corresponding to the target device control, then the control interface will be switched to the 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 based on the parameter input operation, and the first control parameter is used as a preset control parameter for the first smart home device associated with the target edge.
2. The method according to claim 1, characterized in that, The step of determining the first control parameters of the first smart home device corresponding to the target device control based on the preset control parameters corresponding to the target edge includes: If the target edge contains preset control parameters for the first smart home device corresponding to the target device control, then 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, After determining the first control parameter corresponding to the first smart home device based on the parameter input operation, the method further includes: The first control parameter is used as the preset control parameter for the first smart home device associated with the target edge.
4. The method according to any one of claims 1 to 3, characterized in that, Also includes: In response to a parameter display instruction for the target device control, the first control parameter corresponding to the target device control is displayed.
5. The method according to claim 4, characterized in that, The step of displaying the first control parameter corresponding to the target device control in response to a parameter display instruction for the target device control includes: In response to a click or long press operation on the target device control, the first control parameter corresponding to the target device control is displayed.
6. The method according to any one of claims 1 to 3, characterized in that, Also includes: In response to a long press operation on the polygonal control object, the first control parameters corresponding to all target device controls snapped onto the polygonal control object are displayed.
7. The method according to claim 1, characterized in that, The control interface includes at least a scene control, the scene control being associated with at least one smart home device and a second control parameter corresponding to the smart home device; the method further includes: In response to a trigger operation on a target scene control, the second smart home device associated with the target scene control is controlled to perform a corresponding device operation based on the second control parameter associated with the target scene control.
8. The method according to claim 1, characterized in that, The control interface includes at least real-time control controls. The step of responding to intelligent control commands for the control interface and displaying polygonal control objects and device controls on the control interface according to the intelligent control commands includes: In response to a trigger operation on the instant control control, a polygonal control object and a device control are displayed in the control interface.
9. The method according to claim 1, characterized in that, The control interface includes at least device control controls, each of which is associated with a smart home device and a corresponding third control parameter. The method further includes: In response to a trigger operation on a target device control control, the third smart home device associated with the target device control control is controlled to perform a corresponding device operation based on the third control parameters associated with the target device control control.
10. A control device for an equipment, characterized in that, The device provides a graphical user interface via an electronic terminal, the graphical user interface displaying content including a control interface for smart home devices, and the device includes: The display module is used to respond to intelligent control commands for the control interface and display polygonal control objects and device controls in the control interface according to the intelligent control commands. The polygonal control object includes several sides, each side is associated with at least one preset control parameter corresponding to a smart home device, and each device control represents a smart home device. An operation response module is used to respond to dragging a target device control to a target edge of the polygonal control object, and to determine the first control parameters of the first smart home device corresponding to the target device control according to the preset control parameters corresponding to the target edge; the target device control includes multiple device controls, and the multiple device controls are attached to the same or different edges in the polygonal control object. The execution module is used to control the first smart home device to perform corresponding device operations according to the first control parameters; Specifically, the operation response module is used for: If the target edge does not have the preset control parameters of the first smart home device corresponding to the target device control, then the control interface will be switched to the 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 based on the parameter input operation, and the first control parameter is used as a preset control parameter for the first smart home device associated with the target edge.
11. 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; When the processor executes a program stored in the memory, it implements the method as described in any one of claims 1-9.
12. A computer-readable storage medium having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method as described in any one of claims 1-9.
Citation Information
Patent Citations
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