CN112306364A - 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 PDFInfo
- Publication number
- CN112306364A CN112306364A CN202011302612.8A CN202011302612A CN112306364A CN 112306364 A CN112306364 A CN 112306364A CN 202011302612 A CN202011302612 A CN 202011302612A CN 112306364 A CN112306364 A CN 112306364A
- Authority
- CN
- China
- Prior art keywords
- control
- screen
- terminal
- target
- control interface
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution 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
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 flow 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 extinguishing state;
the first display module is used for 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;
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, in which at least one program code is stored, and the program code is 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 illustrates a schematic diagram of an implementation environment of 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 provided by 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 of the application, 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 a 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 speaker 121, a smart door lock 123, a smart refrigerator, a smart air conditioner, a smart light fixture, an on-vehicle 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 perform 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:
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.
In a possible implementation manner, the terminal is preset with a preset gesture operation for calling out the screen-off control interface, where the preset gesture operation may be preset in the terminal by a developer or may be set by a user in a user-defined manner, and the preset gesture operation is not limited in this embodiment of the 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.
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, 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.
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:
The implementation manner of this step may refer to the above embodiments, which are not described herein.
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 the embodiment of the present 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.
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 controls corresponding to the IoT devices are displayed in the secondary control interface, so that the user can control the IoT devices in more detail when the terminal is in the screen-off state, the types of preset operations of 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:
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 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 perform a preset operation.
In order to enable all the device controls configured in the screen-off control interface by the user to be usable, 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 the 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.
The implementation manner of step 603 may refer to the above embodiments, which are not described herein.
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, hall lights; 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 division of different device location areas in the embodiment of the present application is not limited.
Since the same type of IoT devices may be located in different device location areas, e.g., a bedroom with smart speaker a, a living room with smart speaker B, a gym with smart speaker C, and the user creates the device controls of the intelligent sound boxes A-B in the screen-off control interface, if the user needs to control the intelligent sound boxes A to be opened through the terminal, it may be necessary to search the called-out screen-off control interface for the device control corresponding to the smart sound box a, when the screen-off control interface contains more device controls, the cost for the user to search for the target device control corresponding to the target IoT device is high, in order to improve the efficiency of the user to search for the target device control, in one possible implementation, 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 |
Knocking the rear cover of the terminal for 2 times | Bedroom |
Simultaneously pressing power key and volume key | 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.
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.
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.
The implementation manner of step 607 may refer to the above embodiments, which are not described herein.
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 screen-off control interface and a device 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:
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.
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.
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 equipment control in the screen-off control interface and the equipment control in the equipment control interface, the terminal can automatically determine the equipment control which needs to be created and displayed in the screen-off control interface based on the equipment control interface configured by the user, the user does not need to repeatedly configure 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:
The implementation manner of step 1101 and step 1102 may refer to the above embodiments, which are not described herein again.
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.
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 contained 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.
In order to improve the efficiency of the user in calling out the equipment control interface, in a possible implementation mode, when the terminal receives a first trigger operation on the target equipment control and determines that the target IoT equipment corresponding to the control target equipment control needs to be controlled to execute a preset operation, the password verification or other operations which cannot be processed by the coprocessor need to be carried out, the main processor can be used for awakening the main processor, and the main processor controls the display terminal to unlock the interface so as to directly display the equipment control interface after the terminal is unlocked, and enabling the user to perform triggering operation in the device control interface and continuously control the target IoT device to execute preset operation.
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 terminal displays the unlocking interface after being turned on.
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.
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 execute 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, alternatively,
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, in response to a third trigger operation on the target device control in the device control interface, the target IoT device corresponding to the target device control to execute the 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, 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.
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, etc.), instructions for implementing the above-described method embodiments, and the like, and the operating system may be an Android (Android) system (including an Android system depth development-based system), an IOS system developed by apple inc (including an IOS system depth development-based system), 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 only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (12)
1. A control method of an IoT device is applied to a terminal, and the method comprises the following steps:
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.
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;
and in response to a second trigger operation on a target function control, controlling the target IoT equipment to execute a function operation corresponding to the target function control.
4. The method according to any one of claims 1 to 3,
and the gesture operation meeting the preset operation condition is an operation of not triggering the screen lightening of the terminal.
5. The method according to claim 4, 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.
6. 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 target device position area in the screen-off control interface;
or the like, or, alternatively,
responding to the gesture operation to meet the preset operation condition, and displaying a device control corresponding to the IoT device in each device position area in the screen-off control interface.
7. 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.
8. 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 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 the 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 the screen-off control condition in the IoT device to be configured, in the 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 preset operation.
9. The method of claim 8, wherein the screen-off control interface is controlled by a coprocessor, the device control interface is controlled by a main processor, and the main processor is in a sleep state when the screen-off control interface is displayed;
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.
10. A control device of an IoT device, wherein the device is applied to a terminal, and the device comprises:
the receiving module is used for receiving gesture operation on the terminal in a screen extinguishing state;
the first display module is used for 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;
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.
11. A terminal, characterized in that the terminal comprises a processor and a memory, the memory having stored therein at least one program code, the program code being loaded and executed by the processor to implement the control method of the IoT device according to any of claims 1 to 9.
12. 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 9.
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 true CN112306364A (en) | 2021-02-02 |
CN112306364B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022105447A1 (en) * | 2020-11-19 | 2022-05-27 | Oppo广东移动通信有限公司 | Iot device control method, apparatus, terminal, and storage medium |
WO2024060986A1 (en) * | 2022-09-23 | 2024-03-28 | 华为技术有限公司 | Device control method and electronic device |
WO2024078251A1 (en) * | 2022-10-12 | 2024-04-18 | 华为技术有限公司 | Display method and electronic device |
Citations (8)
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 |
CN105549781A (en) * | 2015-12-11 | 2016-05-04 | 魅族科技(中国)有限公司 | Application starting method and terminal device |
US20160209997A1 (en) * | 2015-01-15 | 2016-07-21 | Samsung Electronics Co., Ltd. | Apparatus and method for displaying connection status in network |
CN107632750A (en) * | 2017-09-05 | 2018-01-26 | 维沃移动通信有限公司 | The operating method and mobile terminal of a kind of icon |
US20180367330A1 (en) * | 2015-12-23 | 2018-12-20 | Samsung Electronics Co., Ltd. | Method and apparatus for controlling electronic device |
CN110688179A (en) * | 2019-08-30 | 2020-01-14 | 华为技术有限公司 | Display method and terminal equipment |
CN110851036A (en) * | 2019-11-18 | 2020-02-28 | 珠海格力电器股份有限公司 | Parameter adjusting method and device for electrical equipment and storage medium |
CN110989882A (en) * | 2019-11-28 | 2020-04-10 | 维沃移动通信有限公司 | Control method, electronic device and computer readable storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102310130B1 (en) * | 2014-09-01 | 2021-10-08 | 삼성전자주식회사 | A wearable electronic devcie |
CN108919658A (en) * | 2018-06-27 | 2018-11-30 | 深圳绿米联创科技有限公司 | Smart machine control method and device |
CN112306364B (en) * | 2020-11-19 | 2023-02-10 | Oppo广东移动通信有限公司 | IoT (Internet of things) equipment control method and device, terminal and storage medium |
-
2020
- 2020-11-19 CN CN202011302612.8A patent/CN112306364B/en active Active
-
2021
- 2021-09-28 WO PCT/CN2021/121410 patent/WO2022105447A1/en active Application Filing
Patent Citations (8)
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 |
US20160209997A1 (en) * | 2015-01-15 | 2016-07-21 | Samsung Electronics Co., Ltd. | Apparatus and method for displaying connection status in network |
CN105549781A (en) * | 2015-12-11 | 2016-05-04 | 魅族科技(中国)有限公司 | Application starting method and terminal device |
US20180367330A1 (en) * | 2015-12-23 | 2018-12-20 | Samsung Electronics Co., Ltd. | Method and apparatus for controlling electronic device |
CN107632750A (en) * | 2017-09-05 | 2018-01-26 | 维沃移动通信有限公司 | The operating method and mobile terminal of a kind of icon |
CN110688179A (en) * | 2019-08-30 | 2020-01-14 | 华为技术有限公司 | Display method and terminal equipment |
CN110851036A (en) * | 2019-11-18 | 2020-02-28 | 珠海格力电器股份有限公司 | Parameter adjusting method and device for electrical equipment and storage medium |
CN110989882A (en) * | 2019-11-28 | 2020-04-10 | 维沃移动通信有限公司 | Control method, electronic device and computer readable storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022105447A1 (en) * | 2020-11-19 | 2022-05-27 | Oppo广东移动通信有限公司 | Iot device control method, apparatus, terminal, and storage medium |
WO2024060986A1 (en) * | 2022-09-23 | 2024-03-28 | 华为技术有限公司 | Device control method and electronic device |
WO2024078251A1 (en) * | 2022-10-12 | 2024-04-18 | 华为技术有限公司 | Display method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN112306364B (en) | 2023-02-10 |
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 | |
CN104133387B (en) | Intelligent kitchen main frame, the method for work of intelligent kitchen main frame and control method | |
WO2015070708A1 (en) | Smart home scenario switching method and system | |
CN110196557B (en) | Equipment control method, device, mobile terminal and storage medium | |
WO2017166623A1 (en) | Terminal interaction control method and apparatus, and electronic device | |
JP2016206851A (en) | Control apparatus, control method thereof, control system, environment control device, and control program | |
CN106330635B (en) | Manipulate the method, apparatus and system of smart machine | |
CN113110093A (en) | Control method, device and equipment of intelligent household control panel and storage medium | |
CN106020153B (en) | Remote home control system based on WIFI and infrared technology and implementation method thereof | |
WO2017136998A1 (en) | Human-computer interaction control method | |
CN109270844A (en) | Reservation management method, device, terminal equipment and storage medium | |
CN114488880A (en) | Intelligent control method and device of equipment, intelligent switch and storage medium | |
WO2024104069A1 (en) | Virtual remote controller display method and apparatus, electronic device and readable storage medium | |
CN112506401B (en) | Intelligent household appliance control method, terminal, device and storage medium based on Internet of things | |
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 | |
CN105446160B (en) | The self-learning type control system of smart home | |
CN112015101A (en) | Control method and device of intelligent equipment, intelligent control switch and storage medium | |
CN106371343A (en) | Household electrical appliance-based control method and electronic device | |
CN110941198A (en) | Storage medium, smart panel and power-saving booting method thereof |
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 |