CN112306364B - IoT (Internet of things) equipment control method and device, terminal and storage medium - Google Patents

IoT (Internet of things) equipment control method and device, terminal and storage medium Download PDF

Info

Publication number
CN112306364B
CN112306364B CN202011302612.8A CN202011302612A CN112306364B CN 112306364 B CN112306364 B CN 112306364B CN 202011302612 A CN202011302612 A CN 202011302612A CN 112306364 B CN112306364 B CN 112306364B
Authority
CN
China
Prior art keywords
control
screen
control interface
terminal
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011302612.8A
Other languages
Chinese (zh)
Other versions
CN112306364A (en
Inventor
徐炜楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011302612.8A priority Critical patent/CN112306364B/en
Publication of CN112306364A publication Critical patent/CN112306364A/en
Priority to PCT/CN2021/121410 priority patent/WO2022105447A1/en
Application granted granted Critical
Publication of CN112306364B publication Critical patent/CN112306364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Selective Calling Equipment (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a control method, a control device, a control terminal and a storage medium of IoT equipment, and belongs to the technical field of the Internet of things. The method is applied to the terminal and comprises the following steps: receiving gesture operation on the terminal in a screen extinguishing state; responding to the gesture operation to meet a preset operation condition, displaying a screen-off control interface, wherein the screen-off control interface is displayed in a screen-off state and comprises at least one equipment control, and different equipment controls correspond to different IoT (Internet of things) equipment; and responding to the first trigger operation of the target equipment control, and controlling the target IoT equipment corresponding to the target equipment control to execute preset operation. The user is not required to unlock the terminal, the IoT equipment can be controlled by the terminal to execute the preset operation in the screen-off state, and the efficiency of the user for controlling the IoT equipment to execute the preset operation through the terminal is improved.

Description

IoT (Internet of things) equipment control method and device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of internet of things, in particular to a control method, a control device, a control terminal and a storage medium for IoT equipment.
Background
Along with the popularization of intelligent household equipment, a plurality of intelligent household equipment can be contained in a common household scene, and more intelligent household equipment provide wired upper control functions for the convenience of controlling various intelligent household equipment.
In the related art, the smart home devices are generally provided with device control application programs, the terminal can download and install the application program corresponding to each smart home device, and when a user needs to control a certain smart home device, the user only needs to open the corresponding application program, so that the monitoring and control of the smart home device can be realized.
Obviously, by using the intelligent household appliance control method in the related art, the terminal needs to be unlocked, and the corresponding application program is selected in the application interface, so that the operation process is long, and if the number of the intelligent household appliances is large, the operation cost for selecting the application program by the user is high.
Disclosure of Invention
The embodiment of the application provides a control method, a control device, a control terminal and a storage medium of IoT equipment. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a control method of an IoT device, where the method is applied to a terminal, and the method includes:
receiving gesture operation on the terminal in a screen extinguishing state;
responding to the gesture operation and meeting a preset operation condition, displaying a screen-off control interface, wherein the screen-off control interface is displayed in a screen-off state, the screen-off control interface comprises at least one device control, and different device controls correspond to different IoT devices;
and responding to a first trigger operation of a target device control, and controlling a target IoT device corresponding to the target device control to execute a preset operation.
In another aspect, an embodiment of the present application provides a control apparatus for an IoT device, where the apparatus is applied to a terminal, and the apparatus includes:
the receiving module is used for receiving gesture operation on the terminal in a screen-off state;
the first display module is used for responding to the gesture operation and meeting a preset operation condition, and displaying a screen-off control interface, wherein the screen-off control interface is displayed in a screen-off state and comprises at least one device control, and different device controls correspond to different IoT devices;
the first control module is used for responding to a first trigger operation on a target device control and controlling a target IoT device corresponding to the target device control to execute a preset operation.
In another aspect, an embodiment of the present application provides a terminal, which includes a processor and a memory, where the memory stores at least one program code, and the program code is loaded and executed by the processor to implement the method for controlling an IoT device according to the above aspect.
In another aspect, the present embodiments provide a computer-readable storage medium having at least one program code stored therein, the program code being loaded and executed by a processor to implement the method for controlling an IoT device according to the above aspect.
In another aspect, embodiments of the present application provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal performs the control method of the IoT device provided in the various optional implementations of the above aspect.
The technical scheme provided by the embodiment of the application can bring the following beneficial effects:
the terminal can display a screen-off control interface containing at least one device control in a screen-off state, on one hand, a user does not need to unlock the terminal, and the terminal can directly control the IoT device to execute the preset operation in the screen-off state, so that the efficiency of controlling the IoT device to execute the preset operation through the terminal is improved; on the other hand, the device control corresponding to at least one IoT device is integrated in the screen-off control interface, the IoT device can be controlled by directly clicking the device control, and a user does not need to search for an application program corresponding to the IoT device to be controlled, open the application program and select the device control on the application program interface, so that the cost for selecting the device control by the user can be reduced, and the efficiency of controlling the IoT device to perform preset operation by the user through the terminal is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating an environment for implementing an exemplary embodiment of the present application;
fig. 2 illustrates a flowchart of a control method of an IoT device provided by an exemplary embodiment of the present application;
FIG. 3 illustrates a schematic diagram of a screen-out control interface shown in an exemplary embodiment of the present application;
fig. 4 shows a flowchart of a control method of an IoT device according to another exemplary embodiment of the present application;
FIG. 5 illustrates a process diagram showing a secondary control interface according to an exemplary embodiment of the present application;
fig. 6 shows a flowchart of a control method of an IoT device provided by another exemplary embodiment of the present application;
FIG. 7 illustrates a configuration interface schematic of a screen-out control interface shown in an exemplary embodiment of the present application;
FIG. 8 is a schematic diagram illustrating a display process of a screen-out control interface according to an exemplary embodiment of the present application;
fig. 9 shows a flowchart of a control method of an IoT device provided by another exemplary embodiment of the present application;
FIG. 10 is a schematic diagram showing the relationship of the device control interface and the screen-out control interface;
fig. 11 is a flowchart illustrating a method for controlling an IoT device according to another exemplary embodiment of the present application;
FIG. 12 is a schematic diagram illustrating a process for switching a display device control interface from a screen-out control interface according to an exemplary embodiment of the present application;
fig. 13 is a block diagram illustrating a control apparatus of an IoT device according to an embodiment of the present application;
fig. 14 shows a block diagram of a terminal 1400 according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of an implementation environment of an exemplary embodiment of the present application is shown, where the implementation environment includes a terminal 110 and at least one IoT device 120.
The terminal 110 is a device that controls the IoT device to perform a preset operation. It can be portable electronic equipment such as smart mobile phone, panel computer, intelligent remote controller, intelligent wrist-watch, intelligent bracelet. In this embodiment, the terminal 110 provides a function of displaying the screen-off control interface in the screen-off state, and controls the IoT device 120 to execute the preset operation by performing touch operation on a device control in the screen-off control interface.
The IoT device 120 is a device that can establish a data communication connection with the terminal 110, and may be a smart television 122, a smart sound box 121, a smart door lock 123, a smart refrigerator, a smart air conditioner, a smart light fixture, an on-board air conditioner, a smart water heater, or the like. In this embodiment, the IoT device 120 may receive a control instruction sent by the terminal 110, so as to execute a preset operation according to the control instruction.
Optionally, data communication connections such as a bluetooth communication connection, an infrared connection, a WIFI communication connection, and the like may be established between the terminal 110 and the IoT device 120, so that the terminal 110 controls the IoT device 120 to perform a preset operation.
Referring to fig. 2, a flowchart of a method for controlling an IoT device according to an exemplary embodiment of the present application is shown, where the method is applied to the terminal shown in fig. 1 as an example, the method includes:
step 201, receiving gesture operation to the terminal in the screen off state.
The gesture operation may be a tapping operation on a rear cover of the terminal, a touch operation on a touch panel of the terminal, a triggering operation on an entity key of the terminal, a pressing operation on a fingerprint identification area of the terminal, and the like, which is not limited in the embodiment of the present application.
Different from a method for controlling an IoT device through a terminal in the related art, a user needs to unlock the terminal, search an Application (APP) corresponding to the IoT device to be controlled in a main page of the terminal, open the APP, and select a device control to be operated in the APP.
The method includes displaying a screen-off control interface in a screen-off state, and therefore, a call operation or a gesture operation corresponding to the screen-off control interface is set, correspondingly, when a user is in the screen-off state at a terminal, the user wants to perform a preset operation through a terminal control target IoT device, and when the user needs to be in the screen-off state, the user performs the corresponding gesture operation, and correspondingly, the terminal receives the gesture operation on the terminal in the screen-off state.
Optionally, in the screen-off state, the terminal may detect a received gesture operation through the sensor, for example, receive a tapping operation on a rear cover of the terminal through the distance sensor.
Step 202, responding to the gesture operation and meeting the preset operation condition, displaying a screen-off control interface, wherein the screen-off control interface is displayed in a screen-off state, the screen-off control interface comprises at least one device control, and different device controls correspond to different IoT devices.
In a possible implementation manner, the preset gesture operation of calling out the screen-off control interface is preset in the terminal, and the preset gesture operation may be preset in the terminal by a developer or may be set by a user through a user, which is not limited in the embodiment of the present application.
When a user needs to be in a screen-off state at a terminal, the IoT equipment is controlled by the terminal to perform preset operation, gesture operation can be performed on the terminal according to preset calling operation of the screen-off control interface, correspondingly, the terminal receives the gesture operation, and when the gesture operation meets preset operation conditions, the screen-off control interface is displayed in the screen-off state.
Since the application scenario may include multiple IoT devices, in order to enable a user to control the multiple IoT devices in the screen-off control interface and improve efficiency of the user in controlling the multiple IoT devices to perform preset operations, in one possible implementation, at least one device control is displayed in the screen-off control interface, and different device controls correspond to different IoT devices, and the user performs a trigger operation in the screen-off control interface, so that the multiple IoT devices can be simultaneously controlled.
In another possible implementation, when the screen-off control interface is displayed, the terminal may obtain the current device state corresponding to each IoT device, and simultaneously display the current device state in the screen-off control interface, so that the user may directly know the current device state corresponding to each IoT device through the screen-off control interface, thereby more accurately determining what kind of preset operation is performed by controlling the IoT device through the terminal.
In an exemplary example, if the device control corresponding to the intelligent water heater is displayed in the screen-off control interface and the current water temperature of the intelligent water heater is displayed at the same time, that is, the user can directly obtain the current device state of the intelligent water heater through the screen-off control interface, for example, the current water temperature is 30 degrees celsius, and the user can adjust the water temperature of the intelligent water heater according to the current device state.
In one illustrative example, as shown in FIG. 3, a schematic diagram of a screen-out control interface is shown in an illustrative embodiment of the present application. As shown in fig. 3, at least one device control 302 is displayed in the screen-off control interface 301, where different device controls 302 correspond to different IoT devices, for example, the IoT device corresponding to the device control 302 is a water heater 1; optionally, a current device state corresponding to the IoT device is displayed on the device control 302, for example, the current device state corresponding to the water heater 1 is "42 ℃ turned on". Optionally, the device control 302 also displays the location of the IoT device, for example, the water heater 1 is located in a bathroom.
Step 203, in response to the first trigger operation on the target device control, controlling the target IoT device corresponding to the target device control to execute a preset operation.
The first trigger operation may be a single-click operation, a double-click operation, a long-press operation, and the like, and the first trigger operation is not limited in the embodiment of the present application.
In a possible implementation manner, if a user wants to control an IoT device to execute a preset operation, the user may directly click a target device control, and correspondingly, the terminal receives a first trigger operation on the target device control and sends a control instruction to the target IoT device corresponding to the target device control, so as to control the target IoT device to execute the preset operation.
Wherein different IoT devices can be controlled to perform different preset operations. If the target IoT device is an intelligent sound box, the terminal can control the intelligent sound box to execute preset operations such as sound box opening or closing operation, volume adjustment operation, music playing progress adjustment operation, playing mode adjustment operation and the like; if the target IoT equipment is an intelligent door lock, the terminal can control the intelligent door lock to execute door opening operation or door closing operation; if the target IoT device is an intelligent air conditioner, the terminal may control the intelligent air conditioner to perform a temperature adjustment operation, a mode adjustment operation, a wind speed adjustment operation, an air conditioner on or off operation, and the like.
Optionally, when the user needs to control the target IoT device through the terminal, the terminal may be pointed to the target IoT device, the terminal may establish a data communication connection with the target IoT device, and after the data communication connection is established, send a control instruction to the target IoT device, so as to control the target IoT device to perform a preset operation.
To sum up, in the embodiment of the present application, the terminal may display the screen-off control interface including at least one device control in the screen-off state, on one hand, without unlocking the terminal by a user, the IoT device may be controlled by the terminal to execute the preset operation in the screen-off state directly, so that efficiency of controlling the IoT device by the terminal to execute the preset operation is improved; on the other hand, the device control corresponding to at least one IoT device is integrated in the screen-off control interface, the IoT device can be controlled by directly clicking the device control, and a user does not need to search for an application program corresponding to the IoT device to be controlled, open the application program and select the device control on the application program interface, so that the cost for selecting the device control by the user can be reduced, and the efficiency of controlling the IoT device to perform preset operation by the user through the terminal is improved.
In a possible implementation manner, if the IoT device only involves a switching operation of the device, the corresponding triggering operation on the device control may be implemented, but for an operation that requires temperature adjustment and the like, functions such as temperature up-adjustment and temperature down-adjustment may be involved, and if only a single device control is triggered, the triggering operation is obviously not implemented.
In an exemplary example, as shown in fig. 4, a flowchart of a method for controlling an IoT device according to another exemplary embodiment of the present application is shown, where the method is applied to the terminal shown in fig. 1 as an example, the method includes:
step 401, receiving gesture operation on the terminal in the screen off state.
The implementation manner of this step may refer to the above embodiments, which are not described herein.
Step 402, responding to the gesture operation that meets a preset operation condition, displaying a screen-off control interface, wherein the screen-off control interface is displayed in a screen-off state, the screen-off control interface comprises at least one device control, and different device controls correspond to different IoT devices.
According to the method and the device, the corresponding screen-off control interface can be called when the terminal is in the screen-off state, if the gesture operation can trigger the terminal to light the screen, the precondition that the screen-off control interface is called can be obviously not met, and therefore the gesture operation meeting the preset operation condition is set to be the operation that the screen is not triggered.
Optionally, the gesture operation meeting the preset operation condition may be: presetting knocking operation on a terminal rear cover of a terminal; or presetting touch operation on a touch screen on the terminal; or the preset pressing operation of the entity key on the terminal. The embodiments of the present application do not limit this.
In an exemplary example, the preset tapping operation on the terminal rear cover of the terminal may be: knocking the rear cover of the terminal for N times, wherein N is an integer larger than 0; the preset touch operation on the touch screen on the terminal may be: clicking a preset area in a touch screen, pressing a preset fingerprint identification area on the touch screen, and the like; the preset pressing operation on the entity key on the terminal may be: the volume adjustment key is pressed.
Wherein, to pressing the fingerprint identification area of predetermineeing on the touch screen, in a possible implementation, the user can set up the target fingerprint and be used for putting out the screen control interface in the outgoing screen state exhalation, correspond, receive the user and press the operation to the fingerprint identification area when the terminal, gather the fingerprint of treating the discernment to should treat the discernment fingerprint and discern, if treat that the discernment fingerprint matches with the target fingerprint, confirm that the gesture operation satisfies preset operation condition, show the outgoing screen control interface under the outgoing screen state.
And step 403, in response to the click operation on the target device control, controlling the target IoT device corresponding to the target device control to execute a device opening operation or a device closing operation.
The click operation may be a single click operation, a double click operation, and the like, and the click operation is not limited in this embodiment of the application.
The IoT device can be turned off only by clicking the device control at the current time when the control target device control performs the device turning-on operation or the device turning-off operation, that is, if the IoT device is turned on at the current time, the user can click the device control, that is, the IoT device can be turned off.
In a possible implementation manner, how to determine what kind of operation to be performed by the control target IoT device may be determined according to the current device state corresponding to the target IoT device, for example, when the terminal determines that the current device state corresponding to the target IoT device is the device on state, the terminal receives a click operation on the target device control, and may control the target IoT device to perform the device off operation; when the terminal determines that the current device state corresponding to the target IoT device is the device off state, the terminal receives the click operation on the target device control, and can control the target IoT device to execute the device on operation.
And step 404, responding to the long-time pressing operation on the target equipment control, switching and displaying a secondary control interface, wherein the secondary control interface is displayed in a screen-off state and comprises at least one function control corresponding to the target IoT equipment.
When a terminal controls a target IoT device to perform some preset operations, such as a temperature adjustment operation and a volume adjustment operation, it is obviously impossible to implement such a more detailed adjustment process by only clicking the same control, so that a user can control the target IoT device in a screen-off control interface to implement a wider variety of preset operations.
Since the click operation on the device control is used to control the target IoT device to perform the device closing or device opening operation, another operation mode different from the click operation needs to be set to switch and display the screen-off control interface as the secondary control interface, for example, a long-time press operation on the device control is set to switch and display the secondary control interface.
In a possible implementation manner, when a long-press operation on a target device control is received, a terminal determines that a user needs to perform more detailed control on a target IoT device indicated by the target device control, and correspondingly switches and displays a secondary control interface corresponding to the target IoT device, where the secondary control interface includes at least one function control corresponding to the target IoT device.
In an illustrative example, as shown in FIG. 5, a process diagram is shown for displaying a secondary control interface in accordance with an illustrative embodiment of the present application. As shown in fig. 5, a plurality of device controls are displayed in the screen-off control interface 501, where the target IoT device corresponding to the target device control 502 is the water heater 1. When the user clicks the target device control 502, the water heater 1 may be controlled to perform a device opening operation or a device closing operation; when the user presses the target device control 502 for a long time, the secondary control interface 503 corresponding to the water heater 1 may be switched and displayed, where a plurality of function controls corresponding to the water heater 1 are displayed in the secondary control interface 503, for example, a temperature adjustment control 504, a heating control 505, a cooling control 508, a cold and hot mixing control 506, an intelligent control 507, and the like.
Optionally, the types of the function controls included in the secondary control interfaces corresponding to different IoT devices are different, for example, if the target IoT device is an intelligent water heater, the corresponding secondary control interface may include: temperature adjusting control, heating mode control, cold-hot mixed mode control, intelligent temperature control mode control and the like; if the target IoT device is a smart speaker, the corresponding secondary control interface may include: volume adjusting control, music progress adjusting control, play mode adjusting control and the like; if the target IoT device is an intelligent door lock, the corresponding secondary control interface may include: password setting controls, switch controls, and the like; if the target IoT device is an intelligent curtain, the corresponding secondary control interface may include: a curtain shading degree adjusting control, a curtain opening and closing control and the like; if the target IoT device is an intelligent air conditioner, the corresponding secondary control interface may include: a temperature adjusting control, a mode adjusting control, a wind speed adjusting control, a switch control and the like; if the target IoT device is an intelligent luminaire, the corresponding secondary control interface may include: a lamp switch control, a brightness adjusting control, a color temperature adjusting control and the like.
Optionally, some IoT devices may only involve device on operation or device off operation, and there may be no need to set a secondary control interface for the device, and correspondingly, if the user presses the device control for a long time, the terminal does not jump to display its corresponding secondary control interface.
Step 405, in response to the second trigger operation on the target function control, controlling the target IoT device to execute a function operation corresponding to the target function control.
The second trigger operation may be any one of a single-click operation, a double-click operation, a long-press operation, and a sliding operation, and the second trigger operation is not limited in this embodiment of the application.
In a possible implementation manner, when the terminal is in the screen-off state, after the user calls the secondary control interface corresponding to the target IoT device through a long-time pressing operation on the target device control, any functional control can be clicked according to a requirement, and correspondingly, the terminal receives a second triggering operation on the target functional control, and controls the target IoT device to execute a functional operation corresponding to the target functional control.
In an exemplary example, if the target IoT device is a smart speaker and the target function control is an increase volume control, when the terminal receives a trigger operation on the target function control, the smart speaker may be controlled to increase the volume of music playing.
Optionally, the terminal receives a trigger operation on the target function control, acquires function operation content that the trigger operation indicates that the target IoT device needs to execute, adds the function operation content to the control instruction, sends the control instruction to the target IoT device, and correspondingly, the target IoT device receives the control instruction sent by the terminal, and executes a corresponding function operation according to the function operation content included in the control instruction.
In this embodiment, the click operation on the device control is set to control the target IoT device corresponding to the target device control to execute a device opening operation or a device closing operation, so that a user can directly control any target IoT device to execute a preset operation through the screen-off control interface; in addition, a secondary control interface is provided, and the function control corresponding to each IoT device is displayed in the secondary control interface, so that a user can realize more detailed control over the IoT devices when the terminal is in a screen-off state, the types of preset operations performed on the IoT devices which can be controlled in the screen-off state are expanded, and the efficiency of the user in controlling the IoT devices through the terminal is further improved.
Taking an application scene as a user residence as an example, if a user has multiple residence places and each residence place is installed with IoT devices, the number of IoT devices is relatively large, and if device controls corresponding to all IoT devices are displayed in the screen-off control interface, the user may need to search for a target device control in the screen-off control interface according to the device location area of each IoT device, which obviously increases the operation cost of the user for controlling the target IoT device to execute the preset operation in the screen-off control interface, and in order to further improve the efficiency of controlling the IoT devices to execute the preset operation through the terminal, in one possible implementation manner, the device controls are respectively displayed in the screen-off control interface according to the location of the device.
In an exemplary example, as shown in fig. 6, a flowchart of a method for controlling an IoT device according to another exemplary embodiment of the present application is shown, where the method is applied to the terminal shown in fig. 1 as an example, the method includes:
step 601, in response to the configuration operation on the screen-off control interface, determining an IoT device to be configured.
In a possible implementation manner, a user may configure, in advance, an IoT device that needs to display a device control in an off-screen control interface in a terminal, and correspondingly, the terminal receives a configuration operation on the off-screen control interface and determines an IoT device to be configured.
Step 602, in response to that the IoT device to be configured meets the screen-off control condition, creating a device control corresponding to the IoT device to be configured in a screen-off control interface, where the screen-off control condition refers to that password authentication is not needed when the IoT device to be configured is controlled to execute a preset operation.
In a possible implementation manner, the terminal is provided with a screen-off control condition, when the terminal determines that the IoT device to be configured satisfies the screen-off control condition, that is, when the terminal controls the IoT device to be configured to perform the preset operation, the terminal does not need to perform password verification, and a device control corresponding to the IoT device to be configured is created in the screen-off control interface.
Optionally, if the IoT device to be configured does not satisfy the screen-off control condition, the terminal may display a prompt message to remind the user, and correspondingly, the device control corresponding to the IoT device to be configured may not be created in the screen-off control interface.
In a possible application scenario, ioT devices may be located in different device location areas, taking the example that a user has multiple residence places, ioT devices 1 to 5 are located in a user residence place a, ioT devices 6 to 10 are located in a user residence place B, and IoT devices 11 to 17 are located in a user residence place C, in order to distinguish IoT devices in different device location areas, in one possible embodiment, ioT devices located in the same device location area may be set in the same screen-off control page, and correspondingly, the screen-off control interface may have at least one screen-off control page, and different screen-off control pages correspond to IoT devices located in different device location areas.
In an illustrative example, as shown in fig. 7, a configuration interface diagram of a screen-out control interface is shown in an illustrative embodiment of the present application. The terminal is provided with a configuration function of a screen-off control interface, wherein a selection function of an equipment location area is provided in the first configuration interface 701, and a user can perform configuration operation according to the equipment location area corresponding to the IoT equipment, for example, if the user needs to configure the IoT equipment in the first suite, the user can click the selection control 702, and correspondingly, the terminal receives the click operation of the selection control 702 and displays the second configuration interface 703 corresponding to the first suite, and the user can perform creation and deletion operation of the equipment control of the IoT equipment in the second configuration interface 703.
Step 603, receiving gesture operation to the terminal in the screen off state.
The implementation manner of step 603 may refer to the above embodiments, which are not described herein.
Step 604, responding to that the gesture operation meets a preset operation condition, and acquiring a target device location area indicated by the gesture operation, wherein different gesture operations are used for calling out device controls corresponding to IoT devices in different device location areas.
Wherein the device location area indicates an area to which the IoT device is located, such as IoT devices located in different rooms: bedrooms, gymnasiums and living rooms; or IoT devices located in different residences of the user: the IoT devices in the first suite, the second suite, the office, and the like, or in customized different range areas, the partitioning of different device location areas in the embodiments of the present application is not limited.
Since IoT devices of the same type may be disposed in different device location areas, for example, a smart speaker a is disposed in a bedroom, a smart speaker B is disposed in a living room, a smart speaker C is disposed in a gymnasium, and device controls of the smart speakers a to the smart speakers B are created in a screen-off control interface by a user, if the user needs to control the smart speaker a to be turned on through a terminal, a device control corresponding to the smart speaker a may need to be searched in a screen-off control interface that is called out, when there are many device controls included in the screen-off control interface, the cost for the user to search for a target device control corresponding to a target IoT device is high, in order to improve the efficiency of the user to search for the target device control, in a possible implementation manner, different gesture operations may be set, and the different gesture operations are used to call out device controls corresponding to IoT devices located in different device location areas.
Optionally, when configuring the IoT device to be configured, the user may configure the IoT device to be configured according to the device location area where the IoT device to be configured is located, and correspondingly, the terminal obtains the device location area corresponding to the IoT device to be configured.
Optionally, the user may also set different gesture operations for different device location areas in the terminal in advance, and correspondingly, when the screen-off control interface is displayed, the target device location area indicated by the user may be determined according to the received gesture operation.
In an illustrative example, the relationship between a gesture operation and its corresponding device location area may be as shown in table one:
watch 1
Gesture operation Location area of equipment
Knock the rear cover of the terminal 2 times Bedroom
Pressing power key and volume key simultaneously Parlor
Drawing preset patterns on terminal screen Body-building house
Based on the relationship between the gesture operation and the device position area indicated by the gesture operation, when the user needs to control the IoT device located in the bedroom through the terminal, the user can tap the rear cover of the terminal twice, correspondingly, when the terminal receives the gesture operation, the target device position area indicated by the gesture operation is determined to be the bedroom, and the device control corresponding to the IoT device in the bedroom is displayed in the screen-off control interface.
Step 605, displaying a device control corresponding to the IoT device in the target device location area in the screen-off control interface.
Because different gesture operations are set for calling out the device controls of the IoT devices in different device location areas, in a possible implementation, after the terminal determines the target device location area indicated by the current gesture operation, the IoT devices in the target device location area may be screened out from the IoT device corresponding device controls preconfigured in the screen-out control interface, and the IoT device controls corresponding to the IoT devices in the target device location area are displayed in the screen-out control interface.
Step 606, responding to the gesture operation and meeting the preset operation conditions, and displaying the device control corresponding to the IoT device in each device location area in the screen-off control interface.
In another possible implementation manner, if the user does not set different gesture operations for different device location areas, when the terminal receives the gesture operation in the screen-off state and the gesture operation meets the preset operation condition, the device controls corresponding to the IoT devices in all the device location areas are displayed in the screen-off control interface based on a screen-off control interface configured in advance by the user.
Optionally, to facilitate a user to distinguish IoT devices of the same type located in different device location areas, the device location area in which the IoT device is located may be displayed in the device control.
Because the number of the devices to be configured with the IoT devices is large, and different device location areas may have the same type of IoT devices, in order to improve the efficiency of a user in searching for the IoT devices in the screen-off control interface, in a possible implementation, the screen-off control interface may perform split-screen display or split-area display according to the device location areas, where the split-screen display indication may switch different screen-off control pages through a sliding operation, and the device controls corresponding to the IoT devices in different device location areas are displayed in the different screen-off control pages; and displaying in a regional mode, wherein the screen-off control interface is indicated to be converted into different display regions, and the different display regions are used for displaying the equipment controls corresponding to the IoT equipment in different equipment position regions.
In an exemplary example, as shown in fig. 8, a schematic diagram illustrating a display process of a screen-out control interface according to an exemplary embodiment of the present application is shown. After the terminal receives a gesture operation meeting a preset gesture condition, displaying an off-screen control interface 801 in an off-screen state, where the off-screen control interface 801 includes three off-screen control pages, where different off-screen control pages are used to display device controls corresponding to IoT devices in different device location areas, for example, a first device control 803 corresponding to an IoT device in a bedroom is displayed in the off-screen control page 802, if a user needs to search for a device control corresponding to an IoT device in a living room, the user may slide in the off-screen control interface 801 along a direction indicated by an arrow 804, and correspondingly, the terminal receives a sliding operation on the off-screen control interface 801, and switches and displays an off-screen control page 805 in the off-screen control interface 801, where a second device control 806 corresponding to an IoT device in the living room is displayed in the off-screen control page 805.
Step 607, in response to the first trigger operation on the target device control, controlling the target IoT device corresponding to the target device control to execute a preset operation.
The implementation of step 607 may refer to the above embodiments, which are not described herein again.
In this embodiment, considering the corresponding processing performance of the terminal in the screen-off state, when the screen-off control interface is configured, the device control of the IoT device meeting the screen-off control condition is created in the screen-off control interface, so that it is avoided that when the user operates the target device control in the screen-off control interface, the IoT device cannot be controlled by the terminal to perform the preset operation, which affects the normal control of the IoT device.
In another possible application scenario, the terminal is provided with a device control interface in addition to a screen-off control interface, where the device control interface may be displayed in a screen-on state, and when the terminal is in the screen-on state, the user may call the corresponding device control interface and control the target IoT device to perform the preset operation by triggering the target device control in the device control interface.
In an exemplary example, as shown in fig. 9, a flowchart of a method for controlling an IoT device according to another exemplary embodiment of the present application is shown, where the method is applied to the terminal shown in fig. 1 as an example, the method includes:
step 901, in response to a configuration operation on the device control interface, determining an IoT device to be configured, and displaying the device control interface in a bright screen state.
Because the screen-off control interface can only be displayed in the screen-off state and cannot be displayed in the screen-on state, in order to avoid the problem that a user needs to search a control APP corresponding to a target IoT device in a terminal in the screen-on state, in a possible implementation manner, a device control interface is provided, device controls corresponding to a plurality of IoT devices can be integrated in the device control interface, so that the user can call the device control interface in the screen-on state, and operate the target device control in the device control interface, thereby realizing the purpose of executing preset operation by controlling the IoT device through the terminal.
Similar to the screen-off control interface, the device control interface also needs to be configured, and in a possible implementation manner, the terminal receives a configuration operation on the device control interface and acquires the IoT device to be configured.
Step 902, a device control corresponding to the IoT device to be configured is created in the device control interface.
When the IoT device to be configured is configured in the screen-off control interface, the IoT device to be configured needs to meet the screen-off control condition, that is, password verification is not needed when the IoT device to be configured is controlled to execute the preset operation; the device control interface can be displayed in a bright screen state, the terminal processing performance is high in the bright screen state, password verification is allowed to be performed when the IoT device to be configured is controlled to execute preset operation, or other more complex operations are allowed, therefore, when the device control interface is configured, judgment on whether the IoT device to be configured meets the screen-off control condition is not needed, that is, when the terminal receives configuration operation on the device control interface, the IoT device to be configured is obtained, and the device control corresponding to the IoT device to be configured can be directly created in the device control interface.
Optionally, when the device control interface is configured, the device control interface may also be configured according to the device location area, and correspondingly, when the device control interface is displayed, the device control interface may be displayed in a split screen manner or in a split area manner according to the device location area.
Step 903, displaying a device control corresponding to the IoT device to be configured, which meets the screen-off control condition in the IoT device to be configured, in a screen-off control interface, where the screen-off control condition means that password authentication is not required when the IoT device to be configured is controlled to execute a preset operation.
Because the difference between the device control interface and the screen-off control interface is only that the number of the device controls included in the screen-off control interface is different, and the device controls displayed in the screen-off control interface are screened according to the screen-off control condition, in a possible implementation manner, after the user completes configuration of the device control interface, the user does not need to repeatedly configure the screen-off control interface, the terminal can automatically screen out the device controls corresponding to the IoT devices to be configured and meeting the screen-off control condition according to the screen-off control condition and the device controls included in the device control interface, create the device controls corresponding to the IoT devices to be configured in the screen-off control interface, and store the device controls, so that the subsequent terminal can directly display the screen-off control interface in a screen-off state when receiving gesture operation of calling out the screen-off control interface.
In one illustrative example, as shown in FIG. 10, a diagram illustrating the relationship of a device control interface and a screen-out control interface is shown. At least one device control is created in the device control interface 1001, wherein the intelligent door lock 1 corresponds to a first device control 1003, and the intelligent door lock 2 corresponds to a second device control 1004, and since password verification is required when the terminal controls the intelligent door lock to open the door, that is, the intelligent door lock does not satisfy the screen-off control condition, when the screen-off control interface 1002 is configured according to the device controls in the device control interface 1001, the first device control 1003 corresponding to the intelligent door lock 1 and the second device control 1004 corresponding to the intelligent door lock 2 cannot be created and displayed in the screen-off control interface 1002 after the screen-off control condition is screened.
In this embodiment, the terminal is provided with an equipment control interface, and a user can create an equipment control corresponding to each IoT equipment in the equipment control interface to implement that, in a bright screen state, any IoT equipment is controlled by the terminal to execute a preset operation, so that the user is prevented from searching for control APPs corresponding to different IoT equipment in the terminal, and the efficiency of the user in controlling the IoT equipment to perform the preset operation by the terminal when the terminal is in the bright screen state is further improved; in addition, due to the relationship between the device control in the screen-off control interface and the device control in the device control interface, the terminal can automatically determine the device control which needs to be created and displayed in the screen-off control interface based on the device control interface configured by the user, the user does not need to repeat configuration operation on the screen-off control interface, and the configuration efficiency of the screen-off control interface is improved.
Based on the scenario in which the device control interface is preconfigured in the above embodiment, in another possible implementation manner, the device controls in the device control interface may be all directly displayed in the screen-off control interface without performing a screening operation of the screen-off control condition, when the user clicks the target device control and password verification is required when the target IoT device is controlled to perform a preset operation, the terminal unlocking operation may be directly triggered, and the device control interface is directly displayed after unlocking, so that the range of the device control operable in the screen-off control interface by the user is expanded, and at the same time, the efficiency of the user calling out the device control interface is improved.
As shown in fig. 11, which shows a flowchart of a method for controlling an IoT device according to another exemplary embodiment of the present application, an embodiment of the present application is described by taking an application of the method to the terminal shown in fig. 1 as an example, and the method includes:
step 1101, in response to configuration operation on a device control interface, determining an IoT device to be configured, and displaying the device control interface in a bright screen state.
Step 1102, a device control corresponding to the IoT device to be configured is created in the device control interface.
The implementation manner of step 1101 and step 1102 may refer to the above embodiments, which are not described herein again.
Step 1103, displaying each device control in the device control interface in the screen-off control interface.
In a possible implementation manner, the terminal does not need to perform screening operation on the device controls in the device control interface according to the screen-off control condition, and can directly create and display each device control in the device control interface in the screen-off control interface, and associate the device control interface with the screen-off control interface, that is, when a user operates in the screen-off control interface, when the first trigger operation on the target device control meets the condition, the device control interface can be directly displayed after the terminal is unlocked.
Optionally, the screen-off control interface is controlled and displayed by the coprocessor, the device control interface is controlled and displayed by the main processor, and the main processor is in a dormant state when the screen-off control interface is displayed.
Optionally, the processing performance of the coprocessor is lower than that of the main processor, and the coprocessor cannot process complex processing operations such as password verification operation.
And 1104, receiving gesture operation on the terminal in the screen off state.
Step 1105, responding to the gesture operation to meet a preset operation condition, displaying a screen-off control interface, wherein the screen-off control interface is displayed in a screen-off state, the screen-off control interface comprises at least one device control, and different device controls correspond to different IoT devices.
Because the screen-off control interface is displayed in the screen-off state, and when the terminal is in the screen-off state, the processing process of the terminal is executed by the coprocessor, correspondingly, the screen-off control interface can be controlled and displayed by the coprocessor, and the main processor can be in the dormant state when the screen-off control interface is displayed.
And corresponding to the screen-off control interface, because the equipment control interface can be displayed when the terminal is in a bright screen state, and the terminal is in the bright screen state, the processing operation of the terminal is executed by the main processor, and correspondingly, the equipment control interface can be controlled by the main processor to be displayed.
In a possible implementation manner, after a user sets an equipment control interface, a terminal directly creates and displays equipment controls included in the equipment control interface on a screen-off control interface, and when gesture operation on the screen-off control interface is received, a coprocessor controls and displays the screen-off control interface in a screen-off state, wherein all the equipment controls in the equipment control interface are displayed in the screen-off control interface.
Step 1106, responding to the first trigger operation on the target device control, controlling the target IoT device corresponding to the target device control to perform a preset operation, and performing password verification, waking up the main processor through the coprocessor, and displaying an unlocking interface of the terminal.
In a possible implementation manner, when the terminal receives a first trigger operation on the target device control and determines that the target IoT device corresponding to the control target device control needs to perform password verification when performing a preset operation or needs to perform an operation that cannot be processed by other coprocessors, the main processor can be awakened, and the main processor controls the display terminal to unlock the interface, so that the device control interface can be directly displayed after the terminal is unlocked, and the user can perform the trigger operation in the device control interface and continue to control the target IoT device to perform the preset operation.
Step 1107, in response to the terminal unlocking, a device control interface is displayed.
In a possible implementation manner, if the terminal is provided with the unlocking password, after the unlocking interface is displayed, the unlocking password verification operation is performed, and after the unlocking password verification is passed, the device control interface is directly displayed, so that the user does not need to call the device control interface after the terminal is unlocked, and the efficiency of calling the device control interface when the user is in the screen-off state is improved.
Optionally, if the terminal does not set the unlocking password, the control interface of the display device is directly switched after the unlocking interface is displayed after the terminal is on the screen.
In an exemplary example, as shown in fig. 12, a schematic diagram of a process of switching a control interface of a display device by a screen-off control interface according to an exemplary embodiment of the present application is shown. The terminal displays a screen-off control interface 1201 in a screen-off state, the screen-off control interface 1201 comprises a plurality of device controls, wherein a target device control 1202 corresponds to a target IoT device intelligent door lock, when a user clicks the target device control 1202, password verification is required to be performed due to the fact that the intelligent door lock is controlled to perform device opening operation, and a coprocessor cannot process the password verification operation, therefore, when the terminal receives trigger operation on the target device control 1202, the coprocessor wakes up a main processor and displays a terminal unlocking interface 1203, if fingerprint verification is required to be performed to unlock the terminal, a fingerprint identification area 1204 can be displayed in the terminal unlocking interface 1203, and after the fingerprint verification is passed, the device control interface 1205 can be directly displayed, wherein the device controls displayed in the device control interface 1205 are the same as the device controls displayed in the screen-off control interface 1201.
Step 1108, in response to the third trigger operation on the target device control in the device control interface, controlling the target IoT device corresponding to the target device control to execute a preset operation.
The third trigger operation may be a single-click operation, a double-click operation, a long-press operation, and the like, and the type of the third trigger operation is not limited in the embodiment of the present application.
In a possible implementation manner, after the user calls the device control interface, similar to the operation of the screen-off control interface, the user may click or long-press a device control in the device control interface, and correspondingly, the terminal receives a third trigger operation on the target device control, and may control the target IoT device corresponding to the target device control to perform a preset operation.
Optionally, if the third trigger operation is a click operation, the target IoT device may be controlled to perform a device on operation or a device off operation; if the third trigger operation is a long-press operation, a secondary control interface corresponding to the target IoT equipment can be switched and displayed, so that more detailed regulation and control of the target IoT equipment are realized.
In this embodiment, by displaying all the device controls in the device control interface in the screen-off control interface, after the terminal receives the first trigger operation on the target device control, if password verification is required when the target IoT device corresponding to the target device control performs the preset operation, the screen-off control interface can directly switch the display terminal unlocking interface, and after the terminal is unlocked, the device control interface is further displayed, so that the efficiency of calling the device control interface is improved, and the efficiency of controlling the target IoT device to perform the preset operation through the terminal is further improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 13, a block diagram of a control apparatus of an IoT device according to an embodiment of the present application is shown. The device has the function executed by the terminal in the method embodiment, and the function can be realized by hardware or by hardware executing corresponding software. As shown in fig. 13, the apparatus may include:
the receiving module 1301 is configured to receive a gesture operation on the terminal in a screen-off state;
a first display module 1302, configured to display a screen-off control interface in response to that the gesture operation meets a preset operation condition, where the screen-off control interface is displayed in a screen-off state, and the screen-off control interface includes at least one device control, and different device controls correspond to different IoT devices;
the first control module 1303 is configured to, in response to a first trigger operation on a target device control, control a target IoT device corresponding to the target device control to execute a preset operation.
Optionally, the first triggering operation is a click operation;
the first control module 1303 includes:
a first control unit, configured to control, in response to the click operation on the target device control, the target IoT device corresponding to the target device control to perform a device on operation or a device off operation.
Optionally, the first trigger operation is a long-press operation;
the first control module 1303 includes:
a first display unit, configured to switch and display a secondary control interface in response to the long-press operation on the target device control, where the secondary control interface is displayed in a screen-off state and includes at least one function control corresponding to the target IoT device;
and the second control unit is used for responding to a second trigger operation on a target function control and controlling the target IoT equipment to execute the function operation corresponding to the target function control.
Optionally, the gesture operation meeting the preset operation condition is an operation of not triggering the screen-on of the terminal.
Optionally, the gesture operation meeting the preset operation condition includes at least one of the following operations:
the gesture operation is a preset knocking operation on a terminal rear cover of the terminal;
the gesture operation is a preset touch operation on a touch screen on the terminal;
the gesture operation is a preset pressing operation of an entity key on the terminal.
Optionally, the first display module 1302 includes:
an obtaining unit, configured to obtain a target device location area indicated by the gesture operation in response to that the gesture operation satisfies the preset operation condition, where different gesture operations are used to call out device controls corresponding to IoT devices in different device location areas;
the second display unit is used for displaying a device control corresponding to the IoT device in the target device position area in the screen-off control interface;
or the like, or a combination thereof,
and the third display unit is used for responding to the gesture operation and meeting the preset operation condition, and displaying the device control corresponding to the IoT device in each device position area in the screen-off control interface.
Optionally, the apparatus further comprises:
a first determining module, configured to determine, in response to a configuration operation on the screen-out control interface, an IoT device to be configured;
a first creating module, configured to create, in response to that the IoT device to be configured meets a screen-off control condition, the device control corresponding to the IoT device to be configured in the screen-off control interface, where the screen-off control condition indicates that password authentication is not required when the IoT device to be configured is controlled to perform a preset operation.
Optionally, the apparatus further comprises:
a second determining module, configured to determine, in response to a configuration operation on a device control interface, an IoT device to be configured, where the device control interface is displayed in a bright screen state;
a second creating module, configured to create the device control corresponding to the IoT device to be configured in the device control interface;
a second display module, configured to display, in the screen-off control interface, the device control corresponding to the IoT device to be configured that meets a screen-off control condition in the IoT device to be configured, where the screen-off control condition indicates that password authentication is not required when the IoT device to be configured is controlled to perform a preset operation.
Optionally, the screen-off control interface is controlled and displayed by the coprocessor, the device control interface is controlled and displayed by the main processor, and the main processor is in a sleep state when the screen-off control interface is displayed;
the device further comprises:
the third display module is used for displaying each equipment control in the equipment control interface in the screen-off control interface;
the first control module 1303 includes:
a fourth display unit, configured to respond to the first trigger operation on the target device control, control the target IoT device corresponding to the target device control to perform the preset operation and perform password verification, wake up the main processor through the coprocessor, and display an unlocking interface of the terminal;
the fifth display unit is used for responding to unlocking of the terminal and displaying the equipment control interface;
a third control unit, configured to control the target IoT device corresponding to the target device control to execute the preset operation in response to a third trigger operation on the target device control in the device control interface.
To sum up, in the embodiment of the present application, the terminal may display the screen-off control interface including at least one device control in the screen-off state, on one hand, the IoT device may be controlled by the terminal to execute the preset operation in the screen-off state directly without unlocking the terminal by a user, so as to improve the efficiency of controlling the IoT device to execute the preset operation by the terminal; on the other hand, the device control corresponding to at least one IoT device is integrated in the screen-off control interface, the IoT device can be controlled by directly clicking the device control, and a user does not need to search for an application program corresponding to the IoT device to be controlled, open the application program and select the device control on the application program interface, so that the cost for selecting the device control by the user can be reduced, and the efficiency of controlling the IoT device to perform preset operation by the user through the terminal is improved.
It should be noted that: in the above embodiment, when the device implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 14, a block diagram of a terminal 1400 according to an exemplary embodiment of the present application is shown. Terminal 1400 in the present application can include one or more of the following: a processor 1410, a memory 1420, and a touch screen display 1430.
Processor 1410 may include one or more processing cores. The processor 1410 connects various parts throughout the terminal 1400 using various interfaces and lines, and performs various functions of the terminal 1400 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1420, and calling data stored in the memory 1420. Alternatively, the processor 1410 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1410 may integrate one or more of a CPU, a Graphics Processing Unit (GPU), a modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the touch display screen; the modem is used to handle wireless communications. It is to be understood that the modem may not be integrated into the processor 1410, but may be implemented by a communication chip.
In this embodiment, the processor 1410 may include a main processor and a coordination processor, where the coordination processor may be configured to turn off the control display of the screen control interface, and the main processor is configured to turn off the control display of the device control interface, and when the screen control interface is displayed, the main processor is in a sleep state.
The Memory 1420 may include a Random Access Memory (RAM) or a Read-Only Memory (ROM). Optionally, the memory 1420 includes a non-transitory computer-readable storage medium. The memory 1420 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1420 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, and the like), instructions for implementing various method embodiments described above, and the like, and the operating system may be an Android (Android) system (including a system based on Android system depth development), an IOS system developed by apple corp (including a system based on IOS system depth development), or other systems. The stored data area may also store data created by terminal 1400 in use (e.g., phone book, audio-video data, chat log data), and the like.
The touch display 1430 is used to receive touch operations of a user on or near the touch display using a finger, a stylus, or any other suitable object, and to display user interfaces of various applications. The touch display screen is generally provided at a front panel of the terminal 1400. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed to be a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in the embodiment of the present application.
Optionally, the terminal in this embodiment of the application further includes a sensor, and the sensor is configured to detect a gesture operation on the terminal. The sensor may be a distance sensor, a pressure sensor, a proximity sensor, or the like, and the embodiment of the present application does not limit the kind of the sensor included in the terminal.
Optionally, the terminal 1400 may further include a touch display screen, which may be a capacitive touch display screen for receiving a touch operation of a user on or near the touch display screen by using any suitable object, such as a finger, a touch pen, and the like, and displaying a user interface of each application program. The touch display screen is generally provided at a front panel of the terminal 1400. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed to be a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in the embodiment of the present application.
In addition, those skilled in the art will appreciate that the configuration of terminal 1400 illustrated in the above-described figures is not meant to be limiting with respect to terminal 1400, and that terminals may include more or less components than those shown, or some components may be combined, or a different arrangement of components. For example, the terminal 1400 further includes a radio frequency circuit, a shooting component, an audio circuit, a Wireless Fidelity (WiFi) component, a power supply, a bluetooth component, and other components, which are not described herein again.
The present embodiments also provide a computer-readable storage medium storing at least one program code, which is loaded and executed by a processor to implement the method for controlling an IoT device according to the above embodiments.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal performs the control method of the IoT device provided in the various optional implementations of the above aspect.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. In addition, the step numbers described herein only exemplarily show one possible execution sequence among the steps, and in some other embodiments, the steps may also be executed out of the numbering sequence, for example, two steps with different numbers are executed simultaneously, or two steps with different numbers are executed in a reverse order to the order shown in the figure, which is not limited by the embodiment of the present application.
The above description is intended only to illustrate the alternative embodiments of the present application, and should not be construed as limiting the present application, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A control method of an IoT device is applied to a terminal, and the method comprises the following steps:
in response to configuration operation on a device control interface, determining an IoT device to be configured, wherein the device control interface is displayed in a bright screen state;
creating a device control corresponding to the IoT device to be configured in the device control interface;
displaying the device control corresponding to the IoT device to be configured, which meets a screen-off control condition in the IoT device to be configured, in a screen-off control interface, wherein the screen-off control condition means that password authentication is not required when the IoT device to be configured is controlled to execute a preset operation;
receiving gesture operation on the terminal in a screen extinguishing state;
responding to the gesture operation to meet a preset operation condition, displaying the screen-off control interface, wherein the screen-off control interface is displayed in a screen-off state, the screen-off control interface comprises at least one device control, different device controls correspond to different IoT devices, the screen-off control interface is controlled and displayed by a coprocessor, a main processor is in a dormant state when the screen-off control interface is displayed, the coprocessor cannot process the preset operation needing password verification, and the gesture operation meeting the preset operation condition is an operation of not triggering screen lightening of a terminal;
and responding to a first trigger operation of a target device control, and controlling a target IoT device corresponding to the target device control to execute the preset operation.
2. The method of claim 1, wherein the first trigger operation is a click operation;
the control method includes the steps of responding to a first trigger operation on a target device control, controlling a target IoT device corresponding to the target device control to execute preset operations, and including:
and responding to the clicking operation of the target equipment control, and controlling the target IoT equipment corresponding to the target equipment control to execute equipment opening operation or equipment closing operation.
3. The method of claim 1, wherein the first trigger operation is a long press operation;
the control method includes the steps of responding to a first trigger operation on a target device control, controlling a target IoT device corresponding to the target device control to execute preset operations, and including:
responding to the long-press operation on the target equipment control, and switching and displaying a secondary control interface, wherein the secondary control interface is displayed in a screen-off state and comprises at least one function control corresponding to the target IoT equipment;
in response to a second trigger operation on a target function control, controlling the target IoT device to execute a function operation corresponding to the target function control.
4. The method according to claim 1, wherein the gesture operation meeting the preset operation condition comprises at least one of the following operations:
the gesture operation is a preset knocking operation on a terminal rear cover of the terminal;
the gesture operation is a preset touch operation on a touch screen on the terminal;
the gesture operation is a preset pressing operation of an entity key on the terminal.
5. The method according to any one of claims 1 to 3, wherein the displaying an off-screen control interface in response to the gesture operation meeting a preset operation condition comprises:
responding to the gesture operation meeting the preset operation condition, and acquiring a target device position area indicated by the gesture operation, wherein different gesture operations are used for calling out device controls corresponding to IoT devices in different device position areas; displaying a device control corresponding to the IoT device in the position area of the target device in the screen-off control interface;
or the like, or, alternatively,
responding to the gesture operation meeting the preset operation condition, and displaying the device control corresponding to the IoT device in each device position area in the screen-off control interface.
6. The method according to any one of claims 1 to 3, wherein in the screen-off state, before receiving the gesture operation on the terminal, the method further comprises:
in response to a configuration operation on the screen-off control interface, determining an IoT device to be configured;
in response to that the IoT device to be configured meets a screen-off control condition, creating the device control corresponding to the IoT device to be configured in the screen-off control interface, where the screen-off control condition means that password authentication is not required when the IoT device to be configured is controlled to execute a preset operation.
7. The method of claim 1, wherein the device control interface is controlled for display by the main processor;
after the device control corresponding to the IoT device to be configured is created in the device control interface, the method further includes:
displaying each device control in the device control interface in the screen-off control interface;
the control method includes the steps of responding to a first trigger operation on a target device control, controlling a target IoT device corresponding to the target device control to execute preset operations, and including:
responding to the first trigger operation of the target equipment control, controlling the target IoT equipment corresponding to the target equipment control to execute the preset operation and needing password verification, awakening the main processor through the coprocessor, and displaying an unlocking interface of the terminal;
responding to the unlocking of the terminal, and displaying the equipment control interface;
and in response to a third trigger operation on the target device control in the device control interface, controlling the target IoT device corresponding to the target device control to execute the preset operation.
8. A control device of an IoT device, wherein the device is applied to a terminal, and the device comprises:
a second determining module, configured to determine, in response to a configuration operation on a device control interface, an IoT device to be configured, where the device control interface is displayed in a bright screen state;
a second creating module, configured to create, in the device control interface, a device control corresponding to the IoT device to be configured;
the second display module displays the device control corresponding to the IoT device to be configured, which meets the screen-off control condition in the IoT device to be configured, in a screen-off control interface, wherein the screen-off control condition means that password authentication is not needed when the IoT device to be configured is controlled to execute preset operation;
the receiving module is used for receiving gesture operation on the terminal in a screen-off state;
the first display module is used for responding to the gesture operation and meeting a preset operation condition, displaying the screen-off control interface, wherein the screen-off control interface is displayed in a screen-off state, the screen-off control interface comprises at least one equipment control, different equipment controls correspond to different IoT (internet of things) equipment, the screen-off control interface is controlled and displayed by a coprocessor, a main processor is in a dormant state when the screen-off control interface is displayed, the coprocessor cannot process the preset operation needing password verification, and the gesture operation meeting the preset operation condition is an operation of not triggering screen lightening of a terminal;
the first control module is used for responding to a first trigger operation on a target device control and controlling the target IoT device corresponding to the target device control to execute the preset operation.
9. A terminal, characterized in that the terminal comprises a processor and a memory, wherein the memory has stored therein at least one program code, which is loaded and executed by the processor to implement the control method of the IoT device according to any of claims 1 to 7.
10. A computer-readable storage medium, wherein at least one program code is stored therein, the program code being loaded and executed by a processor to implement the method of controlling the IoT device recited in any of claims 1 to 7.
CN202011302612.8A 2020-11-19 2020-11-19 IoT (Internet of things) equipment control method and device, terminal and storage medium Active CN112306364B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011302612.8A CN112306364B (en) 2020-11-19 2020-11-19 IoT (Internet of things) equipment control method and device, terminal and storage medium
PCT/CN2021/121410 WO2022105447A1 (en) 2020-11-19 2021-09-28 Iot device control method, apparatus, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011302612.8A CN112306364B (en) 2020-11-19 2020-11-19 IoT (Internet of things) equipment control method and device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112306364A CN112306364A (en) 2021-02-02
CN112306364B true CN112306364B (en) 2023-02-10

Family

ID=74335965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011302612.8A Active CN112306364B (en) 2020-11-19 2020-11-19 IoT (Internet of things) equipment control method and device, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN112306364B (en)
WO (1) WO2022105447A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306364B (en) * 2020-11-19 2023-02-10 Oppo广东移动通信有限公司 IoT (Internet of things) equipment control method and device, terminal and storage medium
CN117762606A (en) * 2022-09-23 2024-03-26 华为技术有限公司 Equipment control method and electronic equipment
CN117879981A (en) * 2022-10-12 2024-04-12 华为技术有限公司 Display method and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549781A (en) * 2015-12-11 2016-05-04 魅族科技(中国)有限公司 Application starting method and terminal device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104298454A (en) * 2013-07-15 2015-01-21 霍尼韦尔国际公司 User interface navigation system and method used for smart home system
KR102310130B1 (en) * 2014-09-01 2021-10-08 삼성전자주식회사 A wearable electronic devcie
KR20160088102A (en) * 2015-01-15 2016-07-25 삼성전자주식회사 Apparatus and method for displaying connection status in network
KR102487902B1 (en) * 2015-12-23 2023-01-12 삼성전자주식회사 Method and apparatus for controlling home devices
CN107632750A (en) * 2017-09-05 2018-01-26 维沃移动通信有限公司 The operating method and mobile terminal of a kind of icon
CN108919658A (en) * 2018-06-27 2018-11-30 深圳绿米联创科技有限公司 Smart machine control method and device
CN110688179B (en) * 2019-08-30 2021-02-12 华为技术有限公司 Display method and terminal equipment
CN110851036A (en) * 2019-11-18 2020-02-28 珠海格力电器股份有限公司 Parameter adjusting method and device for electrical equipment and storage medium
CN110989882B (en) * 2019-11-28 2021-04-02 维沃移动通信有限公司 Control method, electronic device and computer readable storage medium
CN112306364B (en) * 2020-11-19 2023-02-10 Oppo广东移动通信有限公司 IoT (Internet of things) equipment control method and device, terminal and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549781A (en) * 2015-12-11 2016-05-04 魅族科技(中国)有限公司 Application starting method and terminal device

Also Published As

Publication number Publication date
CN112306364A (en) 2021-02-02
WO2022105447A1 (en) 2022-05-27

Similar Documents

Publication Publication Date Title
CN112306364B (en) IoT (Internet of things) equipment control method and device, terminal and storage medium
CN109240111B (en) Intelligent home control method, device and system and intelligent gateway
US20140253483A1 (en) Wall-Mounted Multi-Touch Electronic Lighting- Control Device with Capability to Control Additional Networked Devices
WO2022022121A1 (en) Interactive method for establishing device linkage scene, and storage medium and electronic device
US10089861B2 (en) Method and apparatus for configuring wireless remote control terminal by third-party terminal
CN106791215B (en) Alarm clock setting method and mobile terminal with alarm clock function
JP6140214B2 (en) CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, CONTROL SYSTEM, ENVIRONMENT CONTROL DEVICE, AND CONTROL PROGRAM
WO2017166623A1 (en) Terminal interaction control method and apparatus, and electronic device
CN110196557B (en) Equipment control method, device, mobile terminal and storage medium
CN106412313A (en) Method and system for automatically adjusting screen display parameters, and intelligent terminal
CN106020153B (en) Remote home control system based on WIFI and infrared technology and implementation method thereof
CN113110093A (en) Control method, device and equipment of intelligent household control panel and storage medium
WO2017136998A1 (en) Human-computer interaction control method
CN112506401B (en) Intelligent household appliance control method, terminal, device and storage medium based on Internet of things
WO2024104069A1 (en) Virtual remote controller display method and apparatus, electronic device and readable storage medium
CN114488880A (en) Intelligent control method and device of equipment, intelligent switch and storage medium
WO2022012060A1 (en) Method for collecting operation mode, and terminal device, massage device and storage medium
CN114826805A (en) Computer readable storage medium, mobile terminal and intelligent home control method
CN110941198A (en) Storage medium, smart panel and power-saving booting method thereof
CN106371343A (en) Household electrical appliance-based control method and electronic device
CN105446160A (en) Self-learning type control system of intelligent household
CN115268293A (en) Touch screen control panel based on whole-house intelligent household appliance control
US11782523B2 (en) Method for controlling Internet of Things device, and terminal device
WO2023050547A1 (en) Method for connecting terminal and household appliance, terminal, household appliance, and readable storage medium
CN113703351A (en) Equipment control method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant