Interaction method of equipment and intelligent door lock, equipment and readable storage medium
By interacting with the smart door lock in the screen saver mode of the device, the problem of the device having to exit the screen saver mode when interacting with the smart door lock in the screen saver mode is solved, and the effect of power consumption reduction and interactive flexibility is achieved.
Patent Information
- Application Number
- CN202311309983.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-10
- Publication Date
- 2025-04-11
AI Technical Summary
When the device enters screen saver mode, if it needs to interact with the smart door lock, the device usually needs to exit screen saver mode to restart the shutdown function, thereby increasing power consumption.
After the device enters screensaver mode, the device can interact with the smart door lock in screensaver mode without exiting screensaver mode. Through the configuration of screensaver applications or smart door lock interactive applications, the device can interact with smart door locks without restarting the closed function.
This method can reduce the power consumption of the device, avoid the increase in energy consumption caused by restarting the function in screen saver mode, and improve the flexibility of the device to interact with the smart door lock.
Smart Images

Figure CN119810953A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a method for interaction between a device and a smart door lock, a device, and a readable storage medium. Background Art
[0002] With the development of intelligent devices, current devices have screen saver related functions. For example, taking the device as a smart screen, when no one operates it for a period of time and the smart screen does not play videos, the smart screen will enter the screen saver mode. After the smart screen enters the screen saver mode, on the one hand, the smart screen can display landscapes, time, etc. to improve the user experience. On the other hand, after the smart screen enters the screen saver mode, the smart screen will turn off some functions to reduce power consumption. When the smart screen enters the screen saver mode, if someone presses the bell, the smart door lock can transmit the video obtained by the camera of the smart door lock to the smart screen, and the smart screen will exit the screen saver mode and display the video obtained by the camera. Among them, if the smart screen restarts the closed function when it exits the screen saver mode, it will cause the power consumption of the smart screen to increase. Summary of the invention
[0003] The embodiments of the present application provide a method, device and readable storage medium for interacting with a smart door lock. After the device enters the screen saver mode, if the device interacts with the smart door lock, the device may not exit the screen saver mode. Interacting with the smart door lock in the screen saver mode can reduce the power consumption of the device.
[0004] The first aspect provides a method for interacting with a device and a smart door lock. The execution subject of the method is a device or a chip in the device, etc. The following is an explanation using a device as an example. In the method, when the device enters a screen saver mode, the device displays a screen saver interface. When it is determined to interact with the smart door lock, the device interacts with the smart door lock in the screen saver mode.
[0005] In a possible implementation, the device interacting with the smart door lock in the screen saver mode may include the following two scenarios: First, the device may display the video acquired by the smart door lock. In a possible implementation, the device may overlay the video acquired by the smart door lock on the screen saver interface; or, the device may replace the screen saver interface to display the video acquired by the smart door lock. Second, the device may remotely open the door, and remote door opening may be understood as the device being able to control the smart door lock to open the door. Among them, the device may send a door opening instruction to the smart door lock, and the door opening instruction is used to instruct the smart door lock to open the door.
[0006] In an embodiment of the present application, after the device enters the screen saver mode, some functions can be turned off to reduce power consumption. If the device interacts with a smart door lock, the device does not need to exit the screen saver mode and can interact with the smart door lock in the screen saver mode. The device does not need to restart all functions that were turned off when entering the screen saver mode, thereby reducing the power consumption of the device.
[0007] In one possible implementation, when the device enters the screen saver mode, the smart door lock can initiate interaction with the device.
[0008] For example, when the smart door lock detects that a user operates the smart door lock, such as when the user rings the bell, the smart door lock can instruct the camera of the smart door lock to shoot a video, and the smart door lock can send a video display request to the device to request the device to display the video shot by the camera. The device receives the video display request from the smart door lock and can determine to interact with the smart door lock.
[0009] Exemplarily, when the camera of the smart door lock detects a user outside the door, the camera can shoot a video, and the smart door lock can send a video display request to the device to request the device to display the video shot by the camera. The device receives the video display request from the smart door lock and can determine to interact with the smart door lock.
[0010] In a possible implementation, when the device enters the screen saver mode, the user can trigger the device to interact with the smart door lock. Exemplarily, when the device enters the screen saver mode, the device displays the screen saver interface. The screen saver interface may include a video viewing control and / or a door opening control. The video viewing control is used to trigger the device to request the smart door lock to obtain a video from a camera to display the video. The door opening control is used to trigger the device to remotely open the door.
[0011] In this implementation, when the device receives an operation by the user on a video viewing control or a door opening control on the screen saver interface, it determines to interact with the smart door lock.
[0012] In the embodiment of the present application, when the device enters the screen saver mode, the smart door lock or the user can trigger the interaction between the smart door lock and the device, which is highly flexible.
[0013] The following describes the specific implementation of the device interacting with the smart door lock in the screen saver mode:
[0014] First, when the device receives a video display request from the smart door lock, the device can obtain the uniform resource location address of the video from the smart door lock and establish a connection with the smart door lock, where the connection is used to transmit the video. It should be understood that the connection used to transmit the video is different from the connection for transmitting the video display request. The device can obtain the video through the connection according to the uniform resource location address.
[0015] After the device acquires the video, the device may display the video. In a possible implementation, the device may overlay and display the video acquired by the smart door lock on the screen saver interface; or, the device may replace the screen saver interface and display the video acquired by the smart door lock. In some embodiments, in order not to interrupt the user's appreciation of the screen saver interface, when the device displays the video, the video may not cover or partially cover the screen saver interface.
[0016] Secondly, when the device receives a video viewing control from the user on the screen saver interface, the device may send a video acquisition request to the smart door lock. In response to the video acquisition request from the device, the smart door lock may send the uniform resource location address of the video to the device. The device receives the uniform resource location address from the smart door lock and may establish a connection with the smart door lock, which is used to transmit the video. After the device acquires the video, the device may display the video. In one possible implementation, the device may overlay the video acquired by the smart door lock on the screen saver interface; or, the device may replace the screen saver interface and display the video acquired by the smart door lock. In some embodiments, in order not to interrupt the user's enjoyment of the screen saver interface, the device may display the video without covering or partially covering the screen saver interface.
[0017] Third, when the device receives the user's operation on the door opening control on the screen saver interface, the device can send a door opening instruction to the smart door lock, and the door opening instruction is used to instruct the smart door lock to open the door. The smart door lock can perform the door opening operation in response to the door opening instruction.
[0018] Fourth, when the device displays a video captured by the camera of the smart door lock, a door opening control can be displayed on the video. When the device receives a user's operation on the door opening control on the video, the device can send a door opening instruction to the smart door lock, and the door opening instruction is used to instruct the smart door lock to open the door. In response to the door opening instruction, the smart door lock can perform the door opening operation.
[0019] In the embodiment of the present application, when the device is in the screen saver mode, if the device interacts with the smart door lock, in order to achieve the purpose of the device not exiting the screen saver mode and still being able to interact with the smart door lock, the following operations can be performed:
[0020] In some embodiments, the device may include a screen saver application, and the interactive function between the device and the smart door lock may be configured in the screen saver application. When the device enters the screen saver mode, the screen saver application displays the screen saver interface. In the screen saver mode, if the device needs to interact with the smart door lock, the device may not exit the screen saver mode, and the screen saver application implements the interaction between the device and the smart door lock.
[0021] In some embodiments, the device may include a screen saver application and a smart door lock interaction application. When the device enters the screen saver mode, the screen saver application is used to display the screen saver interface, and the smart door lock interaction application does not enter the sleep state. In this example, in the screen saver mode, if the device needs to interact with the smart door lock, the device can be configured not to exit the screen saver mode, and the smart door lock interaction application realizes the interaction between the device and the smart door lock.
[0022] In some embodiments, the device may include a screen saver application and a smart door lock interaction application. When the device enters the screen saver mode, the screen saver application is used to display the screen saver interface, and the smart door lock interaction application enters a dormant state. In this example, in the screen saver mode, if the device needs to interact with the smart door lock, the device can be configured not to exit the screen saver mode, and the screen saver application can wake up the smart door lock interaction application alone. After the smart door lock interaction application is awakened, the smart door lock interaction application can realize the interaction between the device and the smart door lock. Alternatively, the smart door lock interaction application can also be awakened by other applications or services that have not entered the dormant state, and the smart door lock interaction application can realize the interaction between the device and the smart door lock.
[0023] In some embodiments, a new software module or service may be added to the device, and the interaction function between the device and the smart door lock when the device is in screen saver mode may be configured in the software module or service. In this example, when the device enters screen saver mode, the screen saver application and the new software module or service may not enter a dormant state. If the device needs to interact with the smart door lock, the device may not exit the screen saver mode, and the interaction between the device and the smart door lock is realized by the new software module or service.
[0024] Alternatively, in this example, when the device enters the screen saver mode, the screen saver application does not enter the sleep state, and the newly added software module or service enters the sleep state. If the device needs to interact with the smart door lock, the device can remain in the screen saver mode, and the screen saver application (or other applications or services that have not entered the sleep state) wakes up the newly added software module or service, and the newly added software module or service realizes the interaction between the device and the smart door lock.
[0025] In the embodiments of the present application, multiple methods are provided to realize the method of interacting with the smart door lock in the screen saver mode without exiting the screen saver mode. In the screen saver mode, the device does not need to exit the screen saver mode, and does not need to restart all the functions that have been closed in the screen saver mode. Only the application or module or service related to the interaction with the smart door lock can be awakened, which can reduce the power consumption of the device.
[0026] A second aspect provides a device, which may include: a processor and a memory. The memory is used to store one or more programs; when the processor executes the one or more programs, the processor executes the method in the first aspect.
[0027] The third aspect provides a device, which may include a unit, a module or a circuit for executing the method provided by the first aspect above.
[0028] A fourth aspect provides a program product comprising instructions, which, when executed on a device, causes the device to execute the method in the first aspect.
[0029] The fifth aspect provides a readable storage medium, in which a program or instruction is stored. When the program or instruction is executed by a device, the device executes the method in the first aspect.
[0030] The beneficial effects of the possible implementation methods of the second to fifth aspects mentioned above can be referred to the beneficial effects brought about by the first aspect mentioned above, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A schematic diagram of the interaction between the smart screen and the smart door lock;
[0032] Figure 2 A schematic diagram of the structure of a device provided in an embodiment of the present application;
[0033] Figure 3 A flowchart of an embodiment of a method for interacting between a device and a smart door lock provided in an embodiment of the present application;
[0034] Figure 4 A schematic diagram of a screen saver interface displayed by a device provided in an embodiment of the present application;
[0035] Figure 5 Another flowchart of the method for interacting between the device and the smart door lock provided in the embodiment of the present application;
[0036] Fig. 6A A schematic diagram of a video acquired by a smart door lock displayed by a device provided in an embodiment of the present application;
[0037] Figure 6B Another schematic diagram of a video acquired by a smart door lock displayed by a device provided in an embodiment of the present application;
[0038] Figure 6C Another schematic diagram of a video acquired by a smart door lock displayed by a device provided in an embodiment of the present application;
[0039] Figure 7 Another flowchart of the method for interacting between the device and the smart door lock provided in the embodiment of the present application;
[0040] Figure 8 Another flowchart of the method for interacting between the device and the smart door lock provided in the embodiment of the present application;
[0041] Fig. 9 Another schematic diagram of the flow of interaction between the device and the smart door lock provided in the embodiment of the present application;
[0042] Fig.10 A schematic diagram of the structure of the device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0043] The device in the embodiment of the present application has a display screen, and the display screen can display the interface of the device. The device includes a television, a smart screen, a mobile phone, a tablet computer, a portable computer, a computer, a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a device in industrial control (industrial control), a central control screen in a smart home, etc. The form of the device is not specifically limited in the embodiment of the present application. The following embodiment is described by taking the device as a smart screen as an example.
[0044] In the embodiment of the present application, the device can be interconnected with the smart door lock. For example, the device can establish a Bluetooth connection, a Wi-Fi connection, or a Wi-Fi direct connection (Wi-Fi direct) with the smart door lock. The embodiment of the present application does not limit the connection method between the device and the smart door lock. Among them, Wi-Fi direct connection can also be called Wi-Fi peer to peer (P2P) connection.
[0045] Currently, the device has screen saver related functions. For example, taking the device as a smart screen, when no one operates it for a period of time and the smart screen does not play a video, the smart screen will enter the screen saver mode. In some embodiments, the screen saver mode can also be called wallpaper mode. After the smart screen enters the screen saver mode, the smart screen can display landscapes, time, etc. to improve the user experience.
[0046] In some embodiments, the smart screen will also turn off some functions to reduce power consumption. For example, after the smart screen enters the screen saver mode, the smart screen can turn off functions related to audio playback. For example, the modules related to audio playback in the smart screen, such as audio decoders, audio players, etc., will enter a dormant state. For example, after the smart screen enters the screen saver mode, the smart screen can turn off the Bluetooth scanning function.
[0047] Figure 1 This is a schematic diagram of the interaction between the smart screen and the smart door lock. Figure 1 a, after the smart screen enters the screen saver mode, the smart screen can display the screen saver interface 101. Figure 1In a of FIG. 1 , the screen saver interface 101 includes a landscape painting as an example. In a scenario where the device and the smart door lock are interconnected, when the device enters the screen saver mode, if someone rings the bell, the camera of the smart door lock can obtain a video. The smart door lock can transmit the video obtained by the camera to the smart screen, and the device will exit the screen saver mode and display the video transmitted by the smart door lock without displaying the screen saver interface 101. Figure 1 As shown in b. It should be understood that Figure 1 In b, a frame of picture transmitted by a smart door lock is taken as an example, and the frame of picture may include a user pressing the bell.
[0048] Among them, when the smart screen exits the screen saver mode, the smart screen restarts the functions that were turned off in the screen saver mode. For example, the smart screen needs to start functions related to audio playback and start Bluetooth scanning. For example, when the smart screen starts functions related to audio playback, it wakes up audio decoders, audio players and other modules related to audio playback. At present, when the smart screen exits the screen saver mode, it can restart all functions that were turned off in the screen saver mode, which will increase the power consumption of the smart screen.
[0049] In order to solve the above problems, the embodiment of the present application provides a method for interacting with a smart door lock. When the device is in screen saver mode, if the device interacts with the smart door lock, the device can interact with the smart door lock in the screen saver mode without exiting the screen saver mode. In this way, when the device enters the screen saver mode, if the device turns off some functions, in the embodiment of the present application, because the device does not exit the screen saver mode, the device does not need to restart all the functions that have been turned off in the screen saver mode, which can reduce the power consumption of the device.
[0050] In order to facilitate understanding of the interaction method between the device and the smart door lock provided in the embodiment of the present application, the structure of the device is first introduced below:
[0051] Figure 2 A schematic diagram of the structure of the device provided in the embodiment of the present application. Figure 2 , the device may include: a screen saver application and a smart door lock interaction application. It should be understood that the device may also include a first application, a second application, etc. For example, the first application may be an audio playback application, and the second application may be a Bluetooth scanning related application. The embodiment of the present application does not limit the first application and the second application.
[0052] At present, in the scenario where the device and the smart door lock are interconnected, when the device enters the screen saver mode, the device can start the screen saver application, and the screen saver application can trigger the display screen to display the screen saver interface. In some embodiments, the smart door lock interactive application, the first application, the second application, etc. can enter a dormant state. When the smart door lock transmits the video acquired by the smart door lock to the device, the device exits the screen saver mode, turns off the screen saver application, and wakes up the smart door lock interactive application, the first application, the second application, etc. In some embodiments, when the device enters the screen saver mode, the smart door lock interactive application does not enter a dormant state, and the first application, the second application, etc. enter a dormant state.
[0053] In the embodiment of the present application, when the device is in the screen saver mode, if the device interacts with the smart door lock, in order to achieve the purpose of the device not exiting the screen saver mode and still being able to interact with the smart door lock, see the following description:
[0054] In some embodiments, the interactive function between the device and the smart door lock can be configured in the screen saver application. In this example, when the device is in screen saver mode, if the device needs to interact with the smart door lock, the device does not need to exit the screen saver mode, and the screen saver application implements the interaction between the device and the smart door lock. In this way, the device does not need to exit the screen saver mode, and does not need to restart all the functions that have been closed in the screen saver mode, which can reduce the power consumption of the device.
[0055] In some embodiments, when the device is in screen saver mode, if the smart door lock interactive application does not enter a dormant state, if the device interacts with the smart door lock, the device can be configured not to exit the screen saver mode, and there is no need to restart all functions that were closed in the screen saver mode. The smart door lock interactive application implements the interaction between the device and the smart door lock. Because the device does not need to restart all functions that were closed in the screen saver mode, the power consumption of the device can be reduced.
[0056] In some embodiments, when the device is in screen saver mode, if the smart door lock interaction application enters a dormant state, if the device needs to interact with the smart door lock, the device may not exit the screen saver mode, and the screen saver application may wake up the smart door lock interaction application alone, and the smart door lock interaction application may implement the interaction between the device and the smart door lock. In this example, because the device does not need to exit the screen saver mode and does not wake up other applications or functional modules that are not related to the interaction with the smart door lock, the power consumption of the device can be reduced. In this example, when the device is in screen saver mode, if the smart door lock interaction application enters a dormant state, if the device needs to interact with the smart door lock, the device may not exit the screen saver mode, and other applications or services that have not entered a dormant state may wake up the smart door lock interaction application, and the smart door lock interaction application may implement the interaction between the device and the smart door lock.
[0057] In some embodiments, a new software module or service may be added to the device, and the interaction function between the device and the smart door lock when the device is in screen saver mode may be configured in the software module or service. In this example, when the device enters screen saver mode, the screen saver application and the new software module or service may not enter a dormant state. If the device needs to interact with the smart door lock, the device may not exit the screen saver mode, and the interaction between the device and the smart door lock is realized by the new software module or service.
[0058] Alternatively, in this example, when the device enters the screen saver mode, the screen saver application does not enter the sleep state, and the newly added software module or service enters the sleep state. If the device needs to interact with the smart door lock, the device does not need to exit the screen saver mode, and the screen saver application (or other applications or services that have not entered the sleep state) wakes up the newly added software module or service, and the newly added software module or service implements the interaction between the device and the smart door lock. In this way, the device does not need to exit the screen saver mode, and does not need to restart all the functions that have been closed in the screen saver mode, which can reduce the power consumption of the device.
[0059] The following is a description of the interaction method between the device and the smart door lock provided in the embodiments of the present application in conjunction with specific embodiments. The following embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0060] Figure 3 A flowchart of an embodiment of the method for interacting between a device and a smart door lock provided in an embodiment of the present application. Figure 3 The method for interacting between a device and a smart door lock provided in an embodiment of the present application may include:
[0061] S301, when the device enters the screen saver mode, the screen saver interface is displayed.
[0062] In some embodiments, the user can trigger the device to enter the screen saver mode. Exemplarily, an operation control for triggering the device to enter the screen saver mode can be pre-configured in the device, and the user can trigger the device to enter the screen saver mode by operating the control.
[0063] The trigger conditions for different types of devices to enter screen saver mode may be different. In some embodiments, for example, when the device is a TV, smart screen, notebook, etc., when the device is not operated for a period of time and the device is not playing a video, the device can enter screen saver mode. In some embodiments, for example, when the device is a mobile phone, the user can actively trigger the mobile phone to enter screen saver mode. The embodiments of the present application do not limit the trigger conditions for the device to enter screen saver mode.
[0064] When the device enters the screen saver mode, the device may display a screen saver interface. In some embodiments, the screen saver interface may include text, images, animated images, or videos. In some embodiments, the screen saver interface may also include information such as time and / or weather. The embodiments of the present application do not limit the screen saver interface.
[0065] S302: When it is determined to interact with the smart door lock, interact with the smart door lock in the screen saver mode.
[0066] After the device enters the screen saver mode, when the device determines to interact with the smart door lock, in order to reduce the power consumption of the device, the device may not exit the screen saver mode and interact with the smart door lock in the screen saver mode. Exemplarily, the screen saver application in the device can realize the interaction between the device and the smart door lock. Alternatively, when the device enters the screen saver mode and the smart door lock interaction application in the device does not enter the dormant state, the smart door lock interaction application can realize the interaction between the device and the smart door lock. Alternatively, when the device enters the screen saver mode and the smart door lock interaction application in the device enters the dormant state, the screen saver application can wake up the smart door lock interaction application alone, and the smart door lock interaction application realizes the interaction between the device and the smart door lock. Alternatively, when the device enters the screen saver mode and the newly added software module or service in the device does not enter the dormant state, the newly added software module or service in the device can realize the interaction between the device and the smart door lock. Alternatively, when the device enters the screen saver mode and the newly added software module or service in the device enters the dormant state, the screen saver application can wake up the newly added software module or service alone, and the newly added software module or service realizes the interaction between the device and the smart door lock. Among them, because the device has not exited the screen saver mode, the device will not restart all the functions that have been turned off in the screen saver mode, or the device can only start the functions related to the interaction with the smart door lock that have been turned off, which can reduce the power consumption of the device.
[0067] The following describes how the device determines how to interact with the smart door lock after entering screen saver mode:
[0068] First, when the device receives an interaction request from the smart door lock, the device determines to interact with the smart door lock. In other words, when the device is in screen saver mode, the smart door lock can initiate interaction with the device.
[0069] In some embodiments, when the smart door lock detects that a user operates the doorbell of the smart door lock, the smart door lock will instruct the camera of the smart door lock to capture the video outside the door, and obtain the video outside the door, which can be used as the video obtained by the camera of the smart door lock. The smart door lock can send the video outside the door to the device so that the device can display the video outside the door, so that the user can watch the video outside the door on the device in time. In this example, when the smart door lock detects that the user operates the doorbell of the smart door lock, because the smart door lock needs to send the video outside the door to the device, the smart door lock can send a video display request to the device. Among them, when the device receives the video display request from the smart door lock, the device can determine to interact with the smart door lock.
[0070] In some embodiments, when the camera of the smart door lock detects that there is a user outside the door, the camera captures the video outside the door, obtains the video outside the door, and the smart door lock can send the video outside the door to the device. In this example, when the camera of the smart door lock detects that there is a user outside the door, the video outside the door is captured, because the smart door lock needs to send the video outside the door to the device, and the smart door lock can send a video display request to the device. When the device receives the video display request from the smart door lock, the device can determine to interact with the smart door lock.
[0071] Second, when the device receives an interaction request with the smart door lock input by the user, the device determines to interact with the smart door lock. In other words, when the device is in screen saver mode, the user can trigger the device to interact with the smart door lock.
[0072] In some embodiments, an operation control may be configured on the screen saver interface, and a user operating the control may trigger the device to interact with the smart door lock.
[0073] In some embodiments, the screen saver interface may include: a video viewing control. When the user wants to actively view the situation outside the door, the user may operate the video viewing control, and the device may determine to interact with the smart door lock in response to the user's operation of the video viewing control. The device may request a video from the smart door lock to display the video acquired by the smart door lock.
[0074] For example, taking the device as a smart screen, refer to Figure 4 In a, when the smart screen enters the screen saver mode, the smart screen can display the screen saver interface 401, which can include an image 41 and a video viewing control 42. Figure 4 The a in the figure represents the image 41 as a landscape painting. When the user wants to view the situation outside the door, the user can operate the remote control and select the video viewing control 42. In response to the operation of the video viewing control 42, the smart screen can request the video from the smart door lock.
[0075] In some embodiments, the screen saver interface may include: a door opening control. When a user wants to remotely open a door, the user may operate the door opening control, and the device may determine to interact with the smart door lock in response to the user's operation of the door opening control. The device may send a door opening instruction to the smart door lock, and the smart door lock may perform the door opening operation in response to the door opening instruction.
[0076] For example, refer to Figure 4 In b, when the smart screen enters the screen saver mode, the smart screen can display the screen saver interface 401, which may include an image 41, a video viewing control 42, and a door opening control 43. When the user wants to open the door remotely, the user can operate the remote control and select the door opening control 43. In response to the operation of the door opening control 43, the smart screen can send a door opening instruction to the smart door lock, triggering the smart door lock to perform the door opening operation.
[0077] In some embodiments, the user can also trigger the device to interact with the smart door lock by voice, gesture, body movement, etc. For example, the user can say the "open the door" command, and the device responds to the voice command, can recognize the semantics, and then send the door opening command to the smart door lock, triggering the smart door lock to perform the door opening operation.
[0078] In an embodiment of the present application, when the device is in screen saver mode, if the device determines to interact with the smart door lock, the device may not exit the screen saver mode, and the device may interact with the smart door lock in the screen saver mode. Among them, because the device has not exited the screen saver mode, in order to realize the interaction between the device and the smart door lock in the screen saver mode in the present application, the device may use a screen saver application that has not entered a dormant state, a smart door lock interactive application, or a newly added software module or service to realize the interaction between the device and the smart door lock, or the device may only start the smart door lock interactive application that has entered a dormant state or a newly added software module or service to realize the interaction between the device and the smart door lock. The device does not need to restart all the functions that have been turned off in the screen saver mode, which can reduce the power consumption of the device.
[0079] The following describes the interaction method between the device and the smart door lock provided in the embodiment of the present application, respectively for the scenario in which the device displays the video acquired by the smart door lock, and the scenario in which the device remotely opens the door:
[0080] Scenario 1: Displaying the video captured by the smart door lock
[0081] In some embodiments, for example, when a user operates the doorbell of a smart door lock or the camera of a smart door lock actively collects video outside the door, the smart door lock can send a video display request to the device, and the device can obtain the video from the smart door lock and display the video in response to the video display request. It should be understood that Figure 5 , Figure 8The execution subject of the steps shown can be a screen saver application, a smart door lock interactive application, or a newly added software module or service in the device. It should be understood that when the device enters the screen saver mode, if the smart door lock interactive application, or the newly added software module or service enters a dormant state, then when the device needs to interact with the smart door lock in the screen saver mode, the screen saver application responds to the video display request from the smart door lock, and can wake up the smart door lock interactive application, or the newly added software module or service, and the smart door lock interactive application, or the newly added software module or service executes S502-S504. Figure 5 , Figure 8 The screen saver application is used as an example for explanation.
[0082] Figure 5 Another flowchart of the method for interacting between the device and the smart door lock provided in the embodiment of the present application. Figure 5 The interaction method between the device and the smart door lock provided in the embodiment of the present application may include:
[0083] S501, the screen saver application receives a video display request from the smart door lock.
[0084] In some embodiments, when the device is in screen saver mode, such as when a user operates the doorbell of the smart door lock or the camera of the smart door lock actively collects video, the smart door lock can send a video display request to the device. Correspondingly, the screen saver application in the device can receive the video display request from the smart door lock.
[0085] In some embodiments, when the screen saver application receives a video display request from the smart door lock, the screen saver application can start an interface window, which is used to display the video captured by the camera of the smart door lock. The video captured by the camera of the smart door lock is referred to as video below.
[0086] S502, the screen saver application obtains the uniform resource location address of the video from the smart door lock.
[0087] The screen saver application can obtain the uniform resource locator (URL) of the video from the smart door lock. Exemplarily, the screen saver application can send a URL acquisition request to the smart door lock, and the smart door lock can send the URL of the video to the screen saver application in response to the URL acquisition request.
[0088] S503, the screen saver application establishes a connection with the smart door lock.
[0089] It should be understood that the device has established a connection with the smart door lock, and the connection may be, for example, a Bluetooth connection, a Wi-Fi connection, or a Wi-Fi direct connection, etc. In some embodiments, the connection established between the device and the smart door lock may be referred to as a first connection, and the first connection is used to transmit control signals between the device and the smart door lock, such as video display requests, URL acquisition requests, etc.
[0090] When video needs to be transmitted between the device and the smart door lock, a connection can be established between the screen saver application and the smart door lock on the basis of the first connection, and the connection is used to transmit the video. In some embodiments, the connection for transmitting the video can be referred to as the second connection. Exemplarily, when the first connection is a Wi-Fi connection, the screen saver application and the smart door lock can establish a real-time streaming protocol (RTSP) connection, which is used to transmit the video. It is conceivable that when the first connection is a Bluetooth connection, the screen saver application and the smart door lock can establish a second connection in the Bluetooth protocol for transmitting the video to transmit the video.
[0091] S504, the screen saver application obtains the video according to the unified resource location address through the connection between the screen saver application and the smart door lock.
[0092] After the screen saver application and the smart door lock establish the second connection, the screen saver application can obtain the video from the smart door lock according to the uniform resource location address of the video through the connection between the screen saver application and the smart door lock (the second connection).
[0093] S505: The screen saver application displays the video in the screen saver mode.
[0094] In some embodiments, the screen saver application can replace the screen saver interface with a video. For example, the screen saver application can modify the property of the window to which the screen saver interface belongs to be hidden, so that the display screen will not display the screen saver interface, and the screen saver application can load the video into the newly started interface window of the device to display the video.
[0095] When the device enters the screen saver mode, the device may display the screen saver interface 601. Fig. 6A In a, the screen saver interface 601 may include time information 61, weather information 62, and a screen saver image 63. When the device displays a video, the device may replace the screen saver interface 601 with the video. Fig. 6A b in the figure takes a frame of image in a video as an example.
[0096] In some embodiments, the screen saver application can overlay and display the video on the screen saver interface. For example, the screen saver application can set the interface window where the video is located on the upper layer of the screen saver interface, and the screen saver application can display the screen saver interface and the video.
[0097] In some embodiments, the video may completely cover the screen saver interface, and the user can only see the video but not the screen saver interface.
[0098] In some embodiments, in order not to interrupt the user's enjoyment of the screen saver interface, the video may cover part of the screen saver interface, and the user may see the video and part of the screen saver interface.
[0099] Taking the video covering part of the screen saver interface as an example, for example, refer to Figure 6B In b, when the device displays a video, the device may overlay the video at the location of the screen saver image 63. Figure 6B The a in can refer to Fig. 6A In some embodiments, in order to avoid affecting the user's appreciation of the screen saver interface, the video may not cover the screen saver image 63. For example, the device may overlay the video at the location where the time information 61 and / or the weather information 62 are located. Alternatively, the device may overlay the video at a blank location of the screen saver interface 601.
[0100] For example, refer to Figure 6C In a, the screen saver interface 601 displays the screen saver image 63 in full screen. When the device displays a video, the device can overlay and display the video at a preset position on the screen saver interface, such as Figure 6C As shown in b in the figure. The present application embodiment does not limit the preset position. Figure 6C In b, the preset position is taken as the lower right corner of the screen saver interface 601 as an example.
[0101] In an embodiment of the present application, when the device is in screen saver mode, if the smart door lock requests the device to display a video, the device may not exit the screen saver mode, but may replace the screen saver interface to display the video, or overlay the video on the screen saver interface.
[0102] In some embodiments, when the device is in screen saver mode, the user can trigger the device to obtain video from the smart door lock and display the video.
[0103] Figure 7 Another flowchart of the method for interacting between the device and the smart door lock provided in the embodiment of the present application. Figure 7 The interaction method between the device and the smart door lock provided in the embodiment of the present application may include:
[0104] S701, in response to a user triggering an operation of the device to display a video of the smart door lock, the screen saver application sends a video acquisition request to the smart door lock.
[0105] In some embodiments, when the device enters the screen saver mode and displays the screen saver interface, the screen saver interface may include a video viewing control. When a user operates the video viewing control, it may trigger the screen saver application to send a video acquisition request to the smart door lock.
[0106] S702, the smart door lock sends the uniform resource locator address of the video to the screen saver application.
[0107] S703: The screen saver application establishes a connection with the smart door lock.
[0108] S704, the screen saver application obtains the video according to the unified resource location address through the connection between the screen saver application and the smart door lock.
[0109] S705: The screen saver application displays the video in the screen saver mode.
[0110] S702 - S705 may refer to the description in S502 - S505 .
[0111] For example, refer to Figure 4 In a, when the smart screen enters the screen saver mode, the smart screen can display a screen saver interface 401, which may include an image 41 and a video viewing control 42. The user operates the video viewing control 42 to trigger the execution of S701-S705.
[0112] In an embodiment of the present application, when the device enters the screen saver mode, if the user triggers the device to display the video captured by the camera of the smart door lock, the device may not exit the screen saver mode, but replace the screen saver interface to display the video, or superimpose the video on the screen saver interface.
[0113] Scenario 2: Remote door opening
[0114] In some embodiments, when the device is in screen saver mode, the user can trigger the device to remotely open the door.
[0115] Figure 8 Another flowchart of the method for interacting between the device and the smart door lock provided in the embodiment of the present application. Figure 8 The interaction method between the device and the smart door lock provided in the embodiment of the present application may include:
[0116] S801, in response to the user triggering the device to remotely open the door, the screen saver application sends a door opening instruction to the smart door lock.
[0117] For example, refer to Figure 4 In b, when the smart screen enters the screen saver mode, the smart screen can display the screen saver interface 401, which may include an image 41, a video viewing control 42, and a door opening control 43. When the user wants to open the door remotely, the user can operate the remote control and select the door opening control 43. In response to the operation of the door opening control 43, the smart screen can send a door opening instruction to the smart door lock, triggering the smart door lock to perform the door opening operation.
[0118] In some embodiments, the screen saver application can send a door opening instruction to the smart door lock through the first connection. In some embodiments, the door opening instruction can be transmitted in the form of a message.
[0119] S802, the smart door lock responds to the door opening instruction and performs the door opening operation.
[0120] When the smart door lock receives the door opening instruction from the screen saver application, it can execute the door opening operation. It should be understood that in the embodiment of the present application, the device may not exit the screen saver mode, and the screen saver application may instruct the smart door lock to execute the door opening operation, which can reduce the power consumption of the device on the one hand, and the device can still display the screen saver interface on the other hand, without interrupting the user's appreciation of the screen saver interface.
[0121] In the embodiment of the present application, when the device is in screen saver mode, if the user triggers the device to remotely open the door, the device may not exit the screen saver mode, and the screen saver application instructs the smart door lock to perform the door opening operation. Among them, the device does not exit the screen saver mode, which can reduce the power consumption of the device on the one hand, and the device can still display the screen saver interface without interrupting the user to enjoy the screen saver interface, and the user experience is high.
[0122] In some embodiments, when the device is in screen saver mode, such as when a user operates the doorbell of a smart door lock or the camera of a smart door lock actively collects video, the smart door lock can send a video display request to the device. In response to the video display request, the device can obtain the video from the smart door lock and display the video. Figure 5-Figure 7 In some embodiments, when the device displays a video, the video may include a door opening control, so that the user can not only watch the video, but also operate the door opening control to trigger the device to remotely open the door.
[0123] Among them, the device can execute S801-S802 in response to the user operating the door opening control displayed in the video.
[0124] For example, Figure 6B For example, Fig. 9 The a in can refer to Figure 6B When the device obtains video, refer to Fig. 9 In b, the device can overlay and display the video at the location where the screen saver image 63 is located. Figure 6B The difference between b and b is that the door opening control 43 can be displayed on the video. If the user wants to open the door remotely, the user can operate the door opening control 43. In response to the user operating the door opening control 43, the device can determine to interact with the smart door lock. The device can execute S801-S802 without exiting the screen saver mode to realize remote door opening. Fig. 9 As shown in c.
[0125] In an embodiment of the present application, a user can operate the door opening control on the screen saver interface to trigger remote door opening, or when the device displays a video, a user can operate the door opening control displayed on the video to trigger remote door opening. The device does not need to exit the screen saver mode to achieve remote door opening, which not only reduces the power consumption of the device, but the device still displays the screen saver interface and will not interrupt the user from enjoying the screen saver interface, thereby providing a high user experience.
[0126] It should be noted that the data involved in this application (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0127] In one embodiment, the present application also provides a device, referring to Fig.10 The device may include: a processor 1001 (e.g., a CPU), and a memory 1002. The memory 1002 may include a random access memory, and may also include a non-volatile memory, such as at least one disk memory. The memory 1002 may store various programs or instructions for completing various processing functions and implementing the method steps of the present application.
[0128] Optionally, the device involved in the present application may further include: a power supply 1003, a communication bus 1004 and a communication interface 1005. The above-mentioned communication interface 1005 is used to realize the connection and communication between the device and other peripherals. In the embodiment of the present application, the memory 1002 is used to store one or more programs; when the processor 1001 executes one or more programs, the processor 1001 of the device performs the actions in the above-mentioned method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0129] Optionally, the device involved in the present application may also include: a display screen 1006, and the display screen 1006 is used to display the screen saver interface and the video obtained by the camera of the smart door lock.
[0130] It should be noted that the modules or components described in the above embodiments may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits, or one or more digital signal processors, or one or more field programmable gate arrays, etc. For another example, when a certain module above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit or other processor that can call program code, such as a controller. For another example, these modules may be integrated together and implemented in the form of a system on a chip.
[0131] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a program product.
[0132] The term "plurality" in this article refers to two or more than two. The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the previous and next associated objects are in an "or" relationship; in the formula, the character " / " indicates that the previous and next associated objects are in a "division" relationship. In addition, it should be understood that in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0133] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.
[0134] It can be understood that in the embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Claims
1. A method for interaction between a device and a smart door lock, characterized in that: Applied to a device, the method comprises: When the device enters the screen saver mode, displaying the screen saver interface; When it is determined to interact with the smart door lock, interact with the smart door lock in the screen saver mode.
2. The method according to claim 1, characterized in that Determining to interact with the smart door lock includes: receiving a video display request from the smart door lock, wherein the video display request is sent by the smart door lock when the smart door lock detects that a user operates the smart door lock, and determining to interact with the smart door lock; or, Receive a user's operation on a video viewing control or a door opening control on the screen saver interface, and determine to interact with the smart door lock.
3. The method according to claim 1 or 2, characterized in that: The interacting with the smart door lock in the screen saver mode includes: Overlaying and displaying the video acquired by the smart door lock on the screen saver interface; or, Replace the screen saver interface and display the video acquired by the smart door lock.
4. The method according to claim 3, characterized in that Before the video acquired by the smart door lock is displayed on the screen saver interface, or the screen saver interface is replaced to display the video acquired by the smart door lock, the method further includes: Obtain a uniform resource locator address from the smart door lock; Establishing a connection with the smart door lock; The video is obtained through the connection according to the uniform resource locator address.
5. The method according to claim 1 or 2, characterized in that: The interacting with the smart door lock in the screen saver mode includes: A door opening instruction is sent to the smart door lock, where the door opening instruction is used to instruct the smart door lock to open the door.
6. The method according to any one of claims 1 to 5, characterized in that The device includes a screen saver application; The screen saver application is used to display the screen saver interface, and when it is determined to interact with the smart door lock, interact with the smart door lock.
7. The method according to any one of claims 1 to 5, characterized in that The device includes a screen saver application and a smart door lock interactive application, and the smart door lock interactive application enters a dormant state when the device enters a screen saver mode; The screen saver application is used to display the screen saver interface; The screen saver application is also used to wake up the smart door lock interaction application when it is determined to interact with the smart door lock; The smart door lock interaction application is used to interact with the smart door lock.
8. The method according to any one of claims 1 to 5, characterized in that The device includes a screen saver application and a smart door lock interactive application, and the smart door lock interactive application does not enter a dormant state when the device enters a screen saver mode; The screen saver application is used to display the screen saver interface; The smart door lock interaction application is used to interact with the smart door lock when it is determined to interact with the smart door lock.
9. A device, characterized in that: include: Processor and memory; The memory stores one or more programs; The processor executes one or more programs stored in the memory, so that the device performs the method according to any one of claims 1 to 8.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a device, the device implements the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Application display on a locked device
CN102550120A
Door control visual intercom service system and control method thereof
CN105447938A
Frequency-locking talkback method
CN107333002A
Display method and device, smart remote controller and computer readable memory medium
CN107682724A
Vehicle door lock state synchronization method, server and synchronization system based on mobile phone screen
CN109466507A