Device control method, device, storage medium and electronic device

By monitoring the display status of the control interface, only sending wake-up instructions to the device when the conditions to be triggered are met, solving the problems of low device control efficiency and power loss and improving the user experience.

CN114385252BActive Publication Date: 2024-12-31SHENZHEN TCL NEW-TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111570786.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2024-12-31
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

During device control, the device wake-up process is inefficient, resulting in poor user experience, and unconditional early wake-up leads to excessive power loss of the device.

Method used

By monitoring the display status of the target view in the control interface, if the state to be triggered is met, a wake-up command is sent to the device to be controlled to avoid unconditional early wake-up and improve device control efficiency and user experience.

Benefits of technology

Improves the efficiency of equipment control, reduces equipment power loss, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114385252B_ABST
    Figure CN114385252B_ABST
Patent Text Reader

Abstract

The present application discloses a device control method, apparatus, storage medium and electronic device, and relates to the field of Internet of Things technology. The method comprises: detecting a local control interface to determine the display state of a target view in the control interface, wherein the target view is associated with a control window of a device to be controlled; if the display state meets the to-be-triggered state, sending a wake-up instruction to the device to be controlled, wherein the wake-up instruction is used to wake up the device to be controlled; when the target view is triggered, displaying the control window; and sending the control instruction triggered in the control window to the awakened device to be controlled. The present application can reliably improve the efficiency of device control and enhance user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of Internet of Things, and in particular to a device control method, apparatus, storage medium and electronic device. Background Art

[0002] The device usually works in a low-power mode. When the device is controlled, it needs to be woken up. Currently, when the device is woken up to control, it is usually woken up when the user starts the control operation. Since the wake-up usually requires a series of processes and it takes a certain amount of time to wake up the device, the device control efficiency is low and the user experience is poor. Summary of the invention

[0003] The embodiments of the present application provide a solution that can reliably improve device control efficiency and enhance user experience.

[0004] The embodiments of the present application provide the following technical solutions:

[0005] According to one embodiment of the present application, a device control method includes: detecting a local control interface to determine the display state of a target view in the control interface, the target view being associated with a control window of a device to be controlled; if the display state matches a to-be-triggered state, sending a wake-up instruction to the device to be controlled, the wake-up instruction being used to wake up the device to be controlled; when the target view is triggered, displaying the control window; and sending the control instruction triggered in the control window to the awakened device to be controlled.

[0006] In some embodiments of the present application, the detecting of the local control interface includes: detecting the control interface when the local control interface is initialized; and / or detecting the control interface when the sliding of the view list in the control interface is detected.

[0007] In some embodiments of the present application, the display status includes a display size; determining the display status of the target view in the control interface includes: determining a display area of ​​the target view in the control interface; and calculating the size of the display area to obtain the display size.

[0008] In some embodiments of the present application, the display status includes a display position; determining the display status of the target view in the control interface includes: determining a display area of ​​the target view in the control interface; and performing position calculation on the display area to obtain the display position.

[0009] In some embodiments of the present application, if the display state meets the to-be-triggered state, sending a wake-up instruction to the device to be controlled includes: if the display size is greater than a predetermined size threshold, determining that the display size meets the to-be-triggered state, and sending a wake-up instruction to the device to be controlled.

[0010] In some embodiments of the present application, if the display state meets the to-be-triggered state, sending a wake-up command to the device to be controlled includes: if the deviation between the display position and the predetermined display position is less than a predetermined deviation threshold, determining that the display position meets the to-be-triggered state, and sending a wake-up command to the device to be controlled.

[0011] In some embodiments of the present application, it also includes: obtaining the historical display position of the target view and the corresponding historical screen sliding gesture when the target view is historically triggered in the local control interface; determining the predetermined display position according to the historical display position, the historical screen sliding gesture and the current screen sliding gesture.

[0012] According to one embodiment of the present application, a device control apparatus includes: a detection module, which is used to detect a local control interface to determine the display state of a target view in the control interface, wherein the target view is associated with a control window of a device to be controlled; a wake-up module, which is used to send a wake-up instruction to the device to be controlled when the display state meets the to-be-triggered state, wherein the wake-up instruction is used to wake up the device to be controlled; a display module, which is used to display the control window when the target view is triggered; and a sending module, which is used to send the control instruction triggered in the control window to the awakened device to be controlled.

[0013] According to another embodiment of the present application, a storage medium stores a computer program thereon, and when the computer program is executed by a processor of a computer, the computer executes the method described in the embodiment of the present application.

[0014] According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the method described in the embodiment of the present application.

[0015] In an embodiment of the present application, a local control interface is detected to determine the display state of a target view in the control interface, and the target view is associated with a control window of a device to be controlled; if the display state meets the to-be-triggered state, a wake-up instruction is sent to the device to be controlled, and the wake-up instruction is used to wake up the device to be controlled; when the target view is triggered, the control window is displayed; and the control instruction triggered in the control window is sent to the awakened device to be controlled.

[0016] In this way, by monitoring the display status of the target view locally, when the display status meets the triggering status, a wake-up instruction is sent to the device to be controlled, and the device to be controlled is extracted and woken up. When controlling, it can be directly controlled. The device control efficiency is high, and the related methods of unconditional early wake-up can be avoided, which will cause the device power to be consumed too quickly, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 A schematic diagram of a system to which the embodiments of the present application can be applied is shown.

[0019] Figure 2 A flow chart of a device control method according to an embodiment of the present application is shown.

[0020] Figure 3 A block diagram of a device control apparatus according to an embodiment of the present application is shown.

[0021] Figure 4 A block diagram of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0023] In the following description, the specific embodiments of the present application will be described with reference to steps and symbols performed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be mentioned several times as being performed by a computer, and the computer execution referred to herein includes the operation of a computer processing unit by electronic signals representing data in a structured form. This operation converts the data or maintains it at a location in the memory system of the computer, which can be reconfigured or otherwise change the operation of the computer in a manner familiar to those skilled in the art. The data structure maintained by the data is a physical location in the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the above text, which does not represent a limitation, and those skilled in the art will understand that the various steps and operations described below can also be implemented in hardware.

[0024] Figure 1 FIG. 1 is a schematic diagram showing a system 100 to which the embodiments of the present application can be applied. Figure 1 As shown, the system 100 may include a cloud server 101, a device 102, and a device 103. The devices 102 and 103 may be any computer devices, such as computers, mobile phones, smart watches, and home appliances. The cloud server 101 may be a server that provides cloud services. In one example, the device 102 is a smart door lock, and the device 103 is a user terminal.

[0025] In one implementation of this example, device 102 can: detect the local control interface to determine the display state of the target view in the control interface, the target view is associated with the control window of the device to be controlled; if the display state meets the to-be-triggered state, send a wake-up instruction to the device to be controlled, the wake-up instruction is used to wake up the device to be controlled; when the target view is triggered, display the control window; send the control instruction triggered in the control window to the awakened device to be controlled. The device to be controlled can be device 103, device 103 can establish a long link (such as a TCP long connection) with the cloud server 101, device 102 can send the wake-up instruction to the cloud server 101, and the cloud server 101 sends the wake-up instruction to device 103 via the long link.

[0026] Figure 2 The flowchart of the device control method according to an embodiment of the present application is schematically shown. The execution subject of the device control method can be any device, such as Figure 1 Device 102 is shown.

[0027] like Figure 2 As shown, the device control method may include steps S210 to S240.

[0028] Step S210, detect the local control interface to determine the display status of the target view in the control interface, and the target view is associated with the control window of the device to be controlled; Step S220, if the display status meets the to-be-triggered status, send a wake-up instruction to the device to be controlled, and the wake-up instruction is used to wake up the device to be controlled; Step S230, when the target view is triggered, display the control window; Step S240, send the control instruction triggered in the control window to the awakened device to be controlled.

[0029] The control interface can be a locally specified control interface, and the control interface can be detected locally in real time or periodically. The target view corresponds to the control entrance of the target device, that is, the target view is associated with the control window of the device to be controlled. The target view can be displayed in the form of a card, and the display status such as the display size and display position of the target view in the control interface can be detected through image detection.

[0030] The waiting-to-trigger state can be pre-specified to represent that the target view is in a state of waiting for user triggering. When the display state meets the waiting-to-trigger state, a wake-up instruction is sent to the device to be controlled, which can wake up the device to be controlled to the working mode. Before waking up, the device can be in a low power consumption mode.

[0031] When the target view is triggered, the control window is displayed, and the user can perform control operations in the control window to generate corresponding control instructions. Then, the control instructions triggered in the control window can be sent locally to the awakened device to be controlled, controlling the device to be controlled to perform the action indicated by the control instruction.

[0032] In this way, based on steps S210 to S240, the display status of the target view is monitored locally, and when the display status meets the triggering status, a wake-up instruction is sent to the device to be controlled, and the device to be controlled is extracted and woken up. When controlling, the device can be directly controlled. The device control efficiency is high, and the related method of unconditional early wake-up can be avoided, which causes the device power to be consumed too quickly, thereby improving the user experience.

[0033] The following describes the specific process of each step when controlling the device.

[0034] In step S210, the local control interface is detected to determine the display state of a target view in the control interface, where the target view is associated with a control window of a device to be controlled.

[0035] The control interface can be a locally specified control interface, and the control interface can be detected locally in real time or periodically. The target view corresponds to the control entrance of the target device, that is, the target view is associated with the control window of the device to be controlled. The target view can be displayed in the form of a card, and the display status such as the display size and display position of the target view in the control interface can be detected through image detection.

[0036] In one embodiment, in step S210, the detection of the local control interface includes: detecting the control interface when the local control interface is initialized; and / or detecting the control interface when the sliding of the view list in the control interface is detected.

[0037] The local control interface initialization may be when the user opens the control interface or when the device initializes the control interface automatically, etc. The view list contains many views, and the user can find the target view by sliding the view list.

[0038] When the local control interface is initialized, the control interface is detected, and / or when the view list in the control interface is detected to be sliding, the control interface is detected, which can avoid invalid detection and improve detection reliability.

[0039] In one embodiment, in step S210, the display status includes a display size; determining the display status of the target view in the control interface includes: determining a display area of ​​the target view in the control interface; and calculating the size of the display area to obtain the display size.

[0040] The display area of ​​the target video on the screen can be detected by performing image detection on the control interface, and the display size can be obtained by calculating the size of the displayed display area, such as the area or the side length.

[0041] In one embodiment, in step S210, the display status includes a display position; determining the display status of the target view in the control interface includes: determining a display area of ​​the target view in the control interface; and performing position calculation on the display area to obtain the display position.

[0042] The display area of ​​the target video on the screen can be detected by performing image detection on the control interface, and the display coordinates of the displayed display area on the screen can be calculated as the display position.

[0043] In step S220, if the display state meets the to-be-triggered state, a wake-up instruction is sent to the device to be controlled, and the wake-up instruction is used to wake up the device to be controlled.

[0044] The waiting-to-trigger state can be pre-specified to represent that the target view is in a state of waiting for user triggering. When the display state meets the waiting-to-trigger state, a wake-up instruction is sent to the device to be controlled, which can wake up the device to be controlled to the working mode. Before waking up, the device can be in a low power consumption mode.

[0045] In one embodiment, if the display state meets the to-be-triggered state, sending a wake-up instruction to the device to be controlled includes: if the display size is greater than a predetermined size threshold, determining that the display size meets the to-be-triggered state, and sending a wake-up instruction to the device to be controlled.

[0046] The predetermined size threshold can be 0. At this time, as long as the target view appears in the control interface, a wake-up command is sent to the device to be controlled; the predetermined size threshold can also be a value such as two-thirds of the original size of the target view. At this time, the target view appears in the control interface and can be triggered by the user, and a wake-up command is sent to the device to be controlled.

[0047] In one embodiment, if the display state meets the to-be-triggered state, sending a wake-up instruction to the device to be controlled includes: if the deviation between the display position and the predetermined display position is less than a predetermined deviation threshold, determining that the display position meets the to-be-triggered state, and sending a wake-up instruction to the device to be controlled.

[0048] The predetermined display position can be a pre-specified display position of the target view that represents when the target user frequently triggers the view. By calculating the difference between the display position and the predetermined display position, the deviation can be obtained. When the deviation is less than the predetermined deviation threshold, it is determined that the target view is displayed near the predetermined display position, and the user is very likely to trigger the target view. At this time, it is further accurately determined that the display position meets the to-be-triggered state, and a wake-up command is sent to the device to be controlled, thereby further improving the effectiveness of waking up the device to be controlled.

[0049] In one embodiment, it also includes: obtaining the historical display position of the target view and the corresponding historical screen sliding gesture when the target view is historically triggered in the local control interface; determining the predetermined display position according to the historical display position, the historical screen sliding gesture and the current screen sliding gesture.

[0050] The historical display position is the display position of the target view recorded in history. The historical screen sliding gesture is the trigger gesture of the user when the target view is displayed at the historical display position. The historical screen sliding gesture and the current screen sliding gesture can be detected based on the existing gesture monitoring method according to the user's sliding method, etc. The historical screen sliding gesture and the current screen sliding gesture can be such as left or right hand clicks.

[0051] After determining the user's current screen sliding gesture, the historical screen sliding gesture that is the same as the current screen sliding gesture can be determined, and the historical display position corresponding to the same historical screen sliding gesture can be determined. The corresponding historical display position can be used as the predetermined display position, and the reliability of early wake-up can be further improved by combining the gesture operation habit.

[0052] In step S230, when the target view is triggered, the control window is displayed.

[0053] When the user clicks or presses a target view to trigger the target view, a control window associated with the target view is displayed. Various control controls can be displayed in the control window, and corresponding control instructions can be generated when the control controls are triggered.

[0054] Furthermore, when the target view is triggered, it is possible to further query whether the device to be controlled is awakened. At this time, a query command may be sent to the device to be controlled or the cloud to further determine whether the device to be controlled is awakened.

[0055] In step S240, the control instruction triggered in the control window is sent to the awakened device to be controlled.

[0056] The user can generate corresponding control instructions for control operations on the control controls in the control window. Then, the control instructions triggered in the control window can be sent locally to the awakened device to be controlled to control the device to be controlled to execute the action indicated by the control instruction.

[0057] In order to better implement the device control method provided in the embodiment of the present application, the embodiment of the present application also provides a device control apparatus based on the device control method. The meanings of the terms are the same as those in the device control method, and the specific implementation details can refer to the description in the method embodiment. Figure 3 A block diagram of a device control apparatus according to an embodiment of the present application is shown.

[0058] like Figure 3 As shown, the device control apparatus 300 may include a detection module 310 , a wake-up module 320 , a display module 330 and a sending module 340 .

[0059] The detection module 310 can be used to detect the local control interface to determine the display status of the target view in the control interface, and the target view is associated with the control window of the device to be controlled; the wake-up module 320 can be used to send a wake-up instruction to the device to be controlled when the display status meets the to-be-triggered status, and the wake-up instruction is used to wake up the device to be controlled; the display module 330 can be used to display the control window when the target view is triggered; the sending module 340 can be used to send the control instruction triggered in the control window to the awakened device to be controlled.

[0060] In some embodiments of the present application, the detection module 310 includes a first detection unit, which is used to: detect the control interface when the local control interface is initialized; and / or, a second detection unit, which is used to: detect the control interface when the sliding of the view list in the control interface is monitored.

[0061] In some embodiments of the present application, the display state includes a display size; the detection module 310 includes a first calculation unit, which is used to: determine a display area of ​​the target view in the control interface; and calculate the size of the display area to obtain the display size.

[0062] In some embodiments of the present application, the display state includes a display position; the detection module 310 includes a second calculation unit, which is used to: determine a display area of ​​the target view in the control interface; and perform position calculation on the display area to obtain the display position.

[0063] In some embodiments of the present application, the wake-up module 320 includes a first wake-up unit, which is used to: if the display size is greater than a predetermined size threshold, determine that the display size meets the to-be-triggered state, and send a wake-up instruction to the device to be controlled.

[0064] In some embodiments of the present application, the wake-up module 320 includes a second wake-up unit, which is used to: if the deviation between the display position and the predetermined display position is less than a predetermined deviation threshold, determine that the display position meets the to-be-triggered state, and send a wake-up instruction to the device to be controlled.

[0065] In some embodiments of the present application, a position setting module is also included, which is used to: obtain the historical display position of the target view and the corresponding historical screen sliding gesture when the target view was historically triggered in the local control interface; determine the predetermined display position according to the historical display position, the historical screen sliding gesture and the current screen sliding gesture.

[0066] In this way, based on the device control device 300, the display status of the target view is monitored locally. When the display status meets the triggering status, a wake-up instruction is sent to the device to be controlled, and the device to be controlled is extracted and woken up. When controlling, the device can be directly controlled. The device control efficiency is high, and the related method of unconditional early wake-up can be avoided, which causes the device power to be consumed too quickly, thereby improving the user experience.

[0067] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0068] In addition, an embodiment of the present application further provides an electronic device, which may be a terminal or a server. Figure 4 As shown, it shows a schematic diagram of the structure of the electronic device involved in the embodiment of the present application, specifically:

[0069] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0070] The processor 401 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, it executes various functions of the computer device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user pages and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.

[0071] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0072] The electronic device also includes a power supply 403 for supplying power to each component. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 403 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0073] The electronic device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0074] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the electronic device will load the executable files corresponding to the processes of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 will run the computer program stored in the memory 402, thereby realizing various functions in the aforementioned embodiments of the present application, such as the processor 401 may perform the following steps:

[0075] The local control interface is detected to determine the display status of the target view in the control interface, and the target view is associated with the control window of the device to be controlled; if the display status meets the to-be-triggered status, a wake-up instruction is sent to the device to be controlled, and the wake-up instruction is used to wake up the device to be controlled; when the target view is triggered, the control window is displayed; and the control instruction triggered in the control window is sent to the awakened device to be controlled.

[0076] In some embodiments of the present application, when the local control interface is detected, the processor 401 may execute: when the local control interface is initialized, detecting the control interface; and / or, when the sliding of the view list in the control interface is detected, detecting the control interface.

[0077] In some embodiments of the present application, the display status includes a display size; when determining the display status of the target view in the control interface, the processor 401 can execute: determining a display area of ​​the target view in the control interface; calculating the size of the display area to obtain the display size.

[0078] In some embodiments of the present application, the display status includes a display position; when determining the display status of the target view in the control interface, the processor 401 can execute: determining the display area of ​​the target view in the control interface; performing position calculation on the display area to obtain the display position.

[0079] In some embodiments of the present application, if the display state meets the to-be-triggered state and a wake-up instruction is sent to the device to be controlled, the processor 401 may execute: if the display size is greater than a predetermined size threshold, determine that the display size meets the to-be-triggered state, and send a wake-up instruction to the device to be controlled.

[0080] In some embodiments of the present application, if the display state meets the to-be-triggered state and a wake-up instruction is sent to the device to be controlled, the processor 401 may execute: if the deviation between the display position and the predetermined display position is less than a predetermined deviation threshold, determine that the display position meets the to-be-triggered state, and send a wake-up instruction to the device to be controlled.

[0081] In some embodiments of the present application, the processor 401 can execute: obtaining the historical display position of the target view and the corresponding historical screen sliding gesture when the target view was historically triggered in the local control interface; determining the predetermined display position based on the historical display position, the historical screen sliding gesture and the current screen sliding gesture.

[0082] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0083] To this end, an embodiment of the present application further provides a storage medium, in which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any method provided in the embodiment of the present application.

[0084] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0085] Since the computer program stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by the method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0086] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0087] It should be understood that the present application is not limited to the embodiments that have been described above and shown in the accompanying drawings, but various modifications and changes may be made without departing from the scope thereof.

Claims

1. A device control method, characterized in that: include: Detecting a local control interface to determine a display state of a target view in the control interface, wherein the target view is associated with a control window of a device to be controlled, and the control interface is a locally specified control interface; If the display state meets the to-be-triggered state, sending a wake-up instruction to the device to be controlled, wherein the wake-up instruction is used to wake up the device to be controlled; the to-be-triggered state is a state pre-specified to indicate that the target view is in a state waiting for a user trigger; When the target view is triggered, displaying the control window; Sending the control instruction triggered in the control window to the awakened device to be controlled; The display state includes a display size; the determining the display state of the target view in the control interface includes: determining a display area of ​​the target view in the control interface; and calculating the size of the display area to obtain the display size; If the display state meets the to-be-triggered state, sending a wake-up instruction to the device to be controlled includes: if the display size is greater than a predetermined size threshold, determining that the display size meets the to-be-triggered state, and sending a wake-up instruction to the device to be controlled; The detecting of the local control interface includes: detecting the control interface when the local control interface is initialized; and / or detecting the control interface when the sliding of the view list in the control interface is detected.

2. The method according to claim 1, characterized in that: The display state includes a display position; and determining the display state of the target view in the control interface includes: Determining a display area of ​​the target view in the control interface; Performing position calculation on the display area to obtain the display position.

3. The method according to claim 2, characterized in that If the display state meets the to-be-triggered state, sending a wake-up instruction to the device to be controlled includes: If the deviation between the display position and the predetermined display position is less than a predetermined deviation threshold, it is determined that the display position meets the to-be-triggered state, and a wake-up instruction is sent to the device to be controlled.

4. The method according to claim 3, characterized in that The method further comprises: Acquire the historical display position of the target view and the corresponding historical screen sliding gesture when the target view is historically triggered in the local control interface; The predetermined display position is determined according to the historical display position, the historical screen sliding gesture and the current screen sliding gesture.

5. A device control device, characterized in that: include: A detection module, used to detect a local control interface to determine a display state of a target view in the control interface, wherein the target view is associated with a control window of a device to be controlled; The display state includes display size; The determining the display state of the target view in the control interface includes: determining a display area of ​​the target view in the control interface; and calculating the size of the display area to obtain the display size, wherein the control interface is a locally specified control interface; the detecting the local control interface includes: detecting the control interface when the local control interface is initialized; and / or detecting the control interface when it is detected that the view list in the control interface slides; A wake-up module is used to send a wake-up instruction to the device to be controlled if the display state meets the to-be-triggered state, and the wake-up instruction is used to wake up the device to be controlled; the to-be-triggered state is pre-specified to represent that the target view is in a state waiting for a user trigger; if the display state meets the to-be-triggered state, sending the wake-up instruction to the device to be controlled includes: if the display size is greater than a predetermined size threshold, determining that the display size meets the to-be-triggered state, and sending the wake-up instruction to the device to be controlled; A display module, configured to display the control window when the target view is triggered; The sending module is used to send the control instruction triggered in the control window to the awakened device to be controlled.

6. A storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 to 4.

7. An electronic device, characterized in that: include: a memory storing a computer program; A processor reads a computer program stored in a memory to execute the method according to any one of claims 1 to 4.