Modem wake-up method and apparatus, communication modem, and storage medium

By employing a low-power keep-alive communication module and an independent power supply system in the face recognition door lock, and by adjusting configuration parameters and saving network parameters, the problem of high power consumption of the face recognition module is solved, achieving more efficient power management and practical application.

CN113869243BActive Publication Date: 2025-12-16BEIJING SENSETIME TECH DEV CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111161858.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-30
Publication Date
2025-12-16
Estimated Expiration
2041-09-30

Smart Images

  • Figure CN113869243B_ABST
    Figure CN113869243B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a module wake-up method and device, a communication module and a storage medium. In the present disclosure, the communication module receives a wake-up instruction in a low-power keep-alive state. In the low-power keep-alive state, the configuration parameter value of the communication module is lower than a preset threshold, and the communication module belongs to a part of a face recognition module loaded in a smart door lock. In response to the wake-up instruction, the smart door lock supplies power to the face recognition module to wake up the face recognition module. The communication module and the face recognition module use independent power supply systems, and the communication module uses a long power supply mode. The communication module of the present disclosure receives a wake-up instruction in a low-power keep-alive state. In the low-power keep-alive state, the configuration parameter value of the communication module is lower than a preset threshold, so the power consumption of the whole face recognition module in which the communication module is located can be effectively controlled, the applicability is improved, and the user experience is provided.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of smart home, and in particular, to a module wake-up method and device, a communication module, and a storage medium. BACKGROUND

[0002] In today's society, people's awareness of home property safety protection is also increasing, and door locks, as an important tool for protecting property safety, have been widely used in daily life. However, residents often forget their keys, which leads them to call a lock opening company to open the lock, which not only causes many inconveniences to the residents, but also causes additional expenses. There are also smart door locks on the market that do not require keys, such as password door locks, fingerprint smart locks, and face recognition door locks.

[0003] However, since the power consumption required by the face recognition module in the face recognition door lock is relatively large, most face recognition door locks can only simply provide some front door unlocking functions. However, considering that the front door unlocking function can be realized by a password door lock or a fingerprint smart lock, and the power consumption is relatively small, the door lock based on the face recognition module can usually only be recommended as an additional function, lacking practical application scenarios. SUMMARY

[0004] The present disclosure provides a module wake-up method, device, communication module, and storage medium.

[0005] The present disclosure provides a module wake-up method applied to a communication module, the communication module being part of a face recognition module, the face recognition module being loaded in a smart door lock, the method comprising:

[0006] receiving a wake-up instruction in a low-power keep-alive state of the communication module, wherein the configuration parameter value of the communication module is lower than a preset threshold in the low-power keep-alive state;

[0007] in response to the wake-up instruction, triggering the smart door lock to supply power to the face recognition module to wake up the face recognition module, wherein the communication module and the face recognition module adopt independent power supply systems, and the communication module adopts a long power supply mode.

[0008] The communication module of the present disclosure is in a low-power keep-alive state to receive a wake-up instruction, and in the low-power keep-alive state, the configuration parameter value of the communication module is lower than a preset threshold. Therefore, the power consumption of the entire face recognition module in which the communication module is located can be effectively controlled, the applicability thereof can be improved, and user experience can be provided.

[0009] In some possible embodiments, in response to the wake-up instruction, the smart door lock supplies power to the face recognition module to wake up the face recognition module, comprising:

[0010] In response to the wake-up instruction, the smart door lock is triggered to supply power to the face recognition module, and the network parameters saved before the face recognition module is powered off are reconfigured into the face recognition module to wake up the face recognition module.

[0011] The face recognition module is woken up again, and the network parameters can be directly obtained for configuration, so that the time-saving goal is achieved.

[0012] In some possible embodiments, in response to the wake-up instruction, the smart door lock is triggered to supply power to the face recognition module, including:

[0013] In response to the wake-up instruction, a hardware interrupt is sent to the smart door lock to wake up the smart door lock and trigger the smart door lock to supply power to the face recognition module.

[0014] In the embodiments of the present application, when the communication module is in the low-power keep-alive state, the power consumption of the smart door lock can be reduced by powering off the smart door lock.

[0015] In some possible embodiments, when the communication module is in the low-power keep-alive state, before receiving the wake-up instruction, the method further includes:

[0016] When the face recognition module is converted into the low-power keep-alive state, the frequency of sending broadcast data is modified from a first frequency to a second frequency; the first frequency is greater than the second frequency.

[0017] The frequency of sending heartbeat messages is modified from a third frequency to a fourth frequency; the third frequency is greater than the fourth frequency.

[0018] The embodiments of the present application reduce the overall power consumption of the entire face recognition module by adjusting the configuration parameters.

[0019] In some possible embodiments, when the face recognition module is converted into the low-power keep-alive state, before the frequency of sending heartbeat messages is modified from the third frequency to the fourth frequency, the method further includes:

[0020] When the face recognition module completes the interaction behavior, a heartbeat link of the third frequency is established between the face recognition module and the server.

[0021] The network parameters currently configured by the face recognition module are saved.

[0022] When the face recognition module is converted into the low-power keep-alive state, the frequency of sending heartbeat messages is modified from the third frequency to the fourth frequency, including:

[0023] When the face recognition module is powered off and enters the low-power keep-alive state, the frequency of sending heartbeat messages is modified from the third frequency to the fourth frequency, and a heartbeat link of the fourth frequency is maintained with the server.

[0024] The embodiments of the present application can ensure the change of heartbeat link before and after the completion of the interactive behavior, so as to achieve the result of reducing power consumption.

[0025] In some possible embodiments, the method further includes:

[0026] After the face recognition module is woken up, the network connection between the face recognition module and the server is established using the reconfigured network parameters, and after the network connection is successful, the face recognition module performs audio and video monitoring or video call.

[0027] The embodiments of the present application save the network parameters before shutdown, so that when the face recognition module is woken up again subsequently, the network parameters can be directly obtained for configuration, thereby achieving the goal of saving time.

[0028] The present disclosure provides a module wake-up device, which is applied to a communication module, the communication module being part of a face recognition module, the face recognition module being loaded in a smart door lock, and the device comprising:

[0029] An instruction receiving unit is configured to receive a wake-up instruction when the communication module is in a low-power keep-alive state, wherein the configuration parameter value of the communication module is lower than a preset threshold in the low-power keep-alive state.

[0030] A power supply triggering unit is configured to trigger the smart door lock to supply power to the face recognition module to wake up the face recognition module in response to the wake-up instruction, wherein the communication module and the face recognition module adopt independent power supply systems, and the communication module adopts long power supply.

[0031] In some possible embodiments, the power supply triggering unit is configured to trigger the smart door lock to supply power to the face recognition module and reconfigure the network parameters saved before the face recognition module is powered off into the face recognition module in response to the wake-up instruction, so as to wake up the face recognition module.

[0032] In some possible embodiments, the power supply triggering unit is configured to send a hardware interrupt to the smart door lock in response to the wake-up instruction, so as to wake up the smart door lock and trigger the smart door lock to supply power to the face recognition module.

[0033] In some possible embodiments, the device further comprises a configuration parameter modification module configured to:

[0034] When the face recognition module is converted into the low-power keep-alive state, the frequency of sending broadcast data is modified from a first frequency to a second frequency; the first frequency is greater than the second frequency.

[0035] The frequency of sending the heartbeat packet is modified from a third frequency to a fourth frequency; the third frequency is greater than the fourth frequency.

[0036] In some possible embodiments, the apparatus further includes:

[0037] The link establishment module is configured to establish a heartbeat link between the face recognition module and the server at the third frequency when the face recognition module completes the interaction behavior.

[0038] The saving module is configured to save the network parameters currently configured for the face recognition module.

[0039] The configuration parameter modification module is configured to modify the frequency of sending the heartbeat packet from a third frequency to a fourth frequency when the face recognition module is powered off and enters the low-power keep-alive state, and maintain a heartbeat link with the server at the fourth frequency.

[0040] In some possible embodiments, the apparatus further includes a network connection establishment module configured to:

[0041] After the face recognition module is woken up, the network connection between the face recognition module and the server is established using the reconfigured network parameters, and after the network connection is successful, the face recognition module performs audio and video monitoring or video call.

[0042] The present disclosure provides a communication module including at least one processor and a memory connected with the at least one processor; the memory stores instructions executable by the at least one processor, and the at least one processor implements any of the module wake-up methods by executing the instructions stored in the memory.

[0043] The present disclosure provides a face recognition module including the communication module, and the communication module is configured to execute any of the module wake-up methods.

[0044] The present disclosure provides a smart door lock including the face recognition module.

[0045] The present disclosure provides a module wake-up system including a plurality of smart door locks with the built-in face recognition module, a plurality of terminals, and a server.

[0046] The present disclosure provides a computer-readable storage medium, and the computer-readable storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by a processor to implement any of the module wake-up methods.

[0047] The present disclosure provides a computer program product comprising instructions, the computer program product comprising a computer program stored in a readable storage medium, at least one processor of a computer device reading and executing the computer program from the readable storage medium, so that the device executes any one of the above module wake-up methods.

[0048] In the embodiment of the present disclosure, the communication module receives a wake-up instruction in a low-power keep-alive state. In the low-power keep-alive state, the configuration parameter value of the communication module is lower than a preset threshold, and the communication module belongs to a part of a face recognition module loaded in a smart door lock. In response to the wake-up instruction, the smart door lock supplies power to the face recognition module to wake up the face recognition module. The communication module and the face recognition module use independent power supply systems, and the communication module uses a long power supply mode. In the embodiment of the present disclosure, the communication module receives a wake-up instruction in a low-power keep-alive state. In the low-power keep-alive state, the configuration parameter value of the communication module is lower than a preset threshold, so the power consumption of the whole face recognition module in which the communication module is located can be effectively controlled, the applicability is improved, and the user experience is provided.

[0049] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, but not limiting the present disclosure.

[0050] Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the drawings. BRIEF DESCRIPTION OF DRAWINGS

[0051] In order to more clearly illustrate the technical solutions and advantages of the embodiments or prior art in the specification, the drawings needed in the embodiment or prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the specification, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.

[0052] Figure 1 A structural diagram of a smart door lock according to an embodiment of the present disclosure is shown;

[0053] Figure 2 A structural diagram of a smart door lock according to an embodiment of the present disclosure is shown;

[0054] Figure 3 A flowchart of a module wake-up method according to an embodiment of the present disclosure is shown;

[0055] Figure 4 A block diagram of a module wake-up device according to an embodiment of the present disclosure is shown;

[0056] Figure 5A block diagram illustrating an electronic device according to an embodiment of the disclosure is shown.

[0057] Figure 6 A block diagram illustrating another electronic device according to an embodiment of the disclosure is shown. DETAILED DESCRIPTION

[0058] The technical solutions in the embodiments of the present specification will be described clearly and completely below with reference to the drawings in the embodiments of the present specification. Obviously, the described embodiments are only some of the embodiments of the present specification, rather than all the embodiments. Based on the embodiments in the present specification, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present disclosure.

[0059] It should be noted that the terms "first", "second", and the like in the specification and claims of the present disclosure and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or server including a series of steps or units does not necessarily have to include only those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to the process, method, product, or device.

[0060] Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numbers in the drawings represent functionally similar or the same elements. Although various aspects of the embodiments are illustrated in the drawings, the drawings are not necessarily drawn to scale unless specifically indicated.

[0061] The word "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any implementation described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other implementations.

[0062] The term "and / or" in this document is merely used to describe an associated relationship, which means that there can be three relationships, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. In addition, the term "at least one" in this document means any one of a plurality or at least any combination of at least two of a plurality, for example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.

[0063] Furthermore, to better illustrate this disclosure, numerous specific details are set forth in the following detailed description. Those skilled in the art will understand that this disclosure can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art have not been described in detail in order to highlight the main points of this disclosure.

[0064] Please see Figure 1 , Figure 1 A structural diagram of a smart door lock according to an embodiment of the present disclosure is shown, as follows: Figure 1 As shown, the system includes a door lock control module 10, a face recognition module 11, and a power supply module 12. The door lock control module 10 may include password unlocking and fingerprint unlocking functions. The face recognition module 11 is responsible for recognizing the face to be recognized. When the face to be recognized matches a pre-stored face, it can send unlocking information to the door lock control module 11, thus unlocking the door lock control module 10. Therefore, the door lock control module 10 can be connected to the face recognition module 11. The power supply module 12 provides power to both the door lock control module 10 and the face recognition module 11, and both the door lock control module 10 and the face recognition module 11 are connected to the power supply module 12.

[0065] However, Figure 1 The face recognition module 11 in the illustrated structure requires relatively high power consumption. Furthermore, most face recognition modules 11 can only provide basic door unlocking functions, which can be achieved through password and fingerprint unlocking functions included in the door lock control module 10, with lower power consumption. Therefore, door locks based on face recognition modules are typically recommended only as an add-on feature, lacking practical application scenarios. Moreover, since they are not frequently used by users, the face recognition module 11 not only increases the complexity of the structural equipment and wastes space in the overall structure of the smart door lock, but also causes material waste and increases production costs.

[0066] Based on the above technical solution, this disclosure proposes a smart door lock. Please refer to [link / reference]. Figure 2 , Figure 2 A structural diagram of a smart door lock according to an embodiment of the present disclosure is shown, as follows: Figure 2 As shown, the system includes: a smart door lock 20, a face recognition module 21, a communication module 22, a first power supply system 23, and a second power supply system 24. The communication module 22 is part of the face recognition module 21, which is installed in the smart door lock 20. The first power supply system 23 and the second power supply system 24 are also part of the smart door lock 20, providing power to the communication module 22 and the face recognition module 21, respectively.

[0067] Based on the above embodiments of smart door locks,Figure 3 A flow chart of a module wake-up method according to an embodiment of the present disclosure is shown, the module wake-up method is applied to a communication module, the communication module belongs to a part of a face recognition module, the face recognition module is loaded in a smart door lock, and the method comprises the following steps:

[0068] In step S301, a wake-up instruction is received when the communication module is in a low-power keep-alive state, wherein the configuration parameter value of the communication module is lower than a preset threshold in the low-power keep-alive state.

[0069] In the embodiment of the present application, the low-power keep-alive state can correspond to a normal power state. The configuration parameter of the communication module in the low-power keep-alive state can be lower than the preset threshold, and the configuration parameter of the communication module in the normal power state is the preset threshold.

[0070] In the embodiment of the present application, the configuration parameter of the communication module can at least include the frequency of sending broadcast data and the frequency of sending heartbeat messages. Wherein, sending broadcast data refers to the communication module sending broadcast signals around.

[0071] The heartbeat message refers to a self-defined command word between the communication module and the server, which is used to inform each other of the state at a certain time interval, similar to a heartbeat, so it is called a heartbeat message.

[0072] In order to reduce the overall power consumption of the whole face recognition module, when the communication module belonging to the face recognition module is converted from a normal power state to a low-power keep-alive state, i.e., when the whole face recognition module is in a low-power keep-alive state, the frequency of sending broadcast data is modified from a first frequency to a second frequency, wherein the first frequency is greater than the second frequency. The first frequency can be the preset threshold corresponding to the broadcast data in the above.

[0073] Similarly, in order to reduce the overall power consumption of the whole face recognition module, when the communication module belonging to the face recognition module is converted from a normal power state to a low-power keep-alive state, i.e., when the whole face recognition module is in a low-power keep-alive state, the frequency of sending heartbeat messages is modified from a third frequency to a fourth frequency, wherein the third frequency is greater than the fourth frequency. The third frequency can be the preset threshold corresponding to the heartbeat message in the above.

[0074] Since the configuration parameter of the communication module can be set to be lower than the threshold in the low-power keep-alive state of the communication module, the power consumption of the face recognition module can be reduced as a whole.

[0075] In step S302, in response to the wake-up instruction, the smart door lock supplies power to the face recognition module to wake up the face recognition module, wherein the communication module and the face recognition module adopt independent power supply systems, and the communication module adopts long power supply mode.

[0076] In some possible embodiments, the communication module can trigger the smart door lock to supply power to the face recognition module to wake up the face recognition module in response to the wake-up instruction. Wherein, the communication module and the face recognition module adopt independent power supply systems, such as Figure 2 As shown, the communication module can be connected with the first power supply system, and the first power supply system is used to supply power to the communication module. The face recognition module is connected with the second power supply system, and the second power supply system is used to supply power to the face recognition module.

[0077] In some possible embodiments, the first power supply system and the second power supply system can be a battery built in the smart door lock.

[0078] In some possible embodiments, the first power supply system and the second power supply system can be a power supply in the home.

[0079] Wherein, the communication module adopts a long power supply mode to maintain always running.

[0080] In some possible embodiments, when the communication module responds to the wake-up instruction, the smart door lock can supply power to the face recognition module by using the power supply system corresponding to the face recognition module (such as the second power supply system described above).

[0081] Since the face recognition module needs to be powered off after completing the audio and video monitoring or video call at the historical time in order to reduce power consumption. However, when the face recognition module is needed to be used again for audio and video monitoring or video call, the face recognition module needs to be reconnected based on network parameters. In order to reduce the time of obtaining network parameters and thus reduce the time of reconnection, the network parameters can be saved before the face recognition module is powered off each time. Thus, when the communication module responds to the wake-up instruction, the smart door lock can supply power to the face recognition module by using the power supply system corresponding to the face recognition module (such as the second power supply system described above) after the network parameters saved before the face recognition module is powered off are reconfigured into the face recognition module to wake up the face recognition module.

[0082] Optionally, the network parameters can include a gateway, an Internet Protocol (IP) address and a Media Access Control (MAC) address.

[0083] In some possible embodiments, in order to reduce the power consumption of the smart door lock, the smart door lock can be powered off when the communication module is in a low-power keep-alive state. Therefore, when the communication module responds to the wake-up instruction, the smart door lock can be sent a hardware interrupt to wake up the smart door lock, and the smart door lock can supply power to the face recognition module by using the power supply system corresponding to the face recognition module (such as the second power supply system described above).

[0084] Therefore, by controlling the running state of the intelligent door lock, the power consumption can be controlled as a whole.

[0085] In some possible embodiments, when the communication module belonging to the face recognition module is switched from the normal power consumption state to the low power consumption keep-alive state, i.e., the whole face recognition module is in the low power consumption keep-alive state, the frequency of sending the heartbeat packet is modified from the third frequency to the fourth frequency. Before the face recognition module completes the interactive behavior, i.e., completes the audio / video monitoring or the video call, a heartbeat link with the third frequency can be established between the face recognition module and the server. After the audio / video monitoring or the video call is completed, the network parameters currently configured by the face recognition module are saved, and when the face recognition module is powered off and the communication module enters the low power consumption keep-alive state, the frequency of sending the heartbeat packet by the communication module is modified from the third frequency to the fourth frequency, and the fourth frequency heartbeat link is maintained with the server.

[0086] Therefore, by the embodiments, the change of the heartbeat link before and after the completion of the interactive behavior can be ensured, so as to reduce the power consumption. Meanwhile, by saving the network parameters before the power-off, when the face recognition module is woken up again subsequently, the network parameters can be directly obtained for configuration, so that the time is saved.

[0087] Therefore, in step S302, when the face recognition module is woken up, the network parameters can be obtained from the area where the network parameters are saved, the face recognition module is controlled to be reconfigured, and the network connection between the face recognition module and the server is established. After the network connection is successful, the audio / video monitoring or the video call is performed by the face recognition module.

[0088] In some possible embodiments, the face recognition module and the communication module can be connected through a secure digital input and output (SDIO) peripheral interface. Alternatively, the face recognition module and the communication module can be connected through a serial peripheral interface (SPI).

[0089] The communication module can be a WiFi module created based on a wireless local area network technology.

[0090] Optionally, the face recognition module can include an audio / video module and a voice module. The audio / video module can perform the audio / video monitoring and the video call, and the voice module can perform the voice call.

[0091] In an optional embodiment, the face recognition module further comprises a storage module, a human body sensing module, a camera and a data analysis module. The storage module is used to store some face feature information that is recorded. When a person approaches, the face recognition module automatically lights up the screen through the human body sensing module. The screen can be a touch screen. The data analysis module can capture the image data transmitted by the camera and perform matching analysis with the face feature information in the storage module. Optionally, the face recognition module is further installed with an application program compatible with the smart phone terminal, and the application program on the face recognition device can independently complete the functions of recording, capturing, alarming, unlocking, locking, system setting, information pushing, video voice intercom and the like. Optionally, the camera can be a dual infrared camera, or a dual infrared camera plus a three-primary-color camera.

[0092] In an optional embodiment, when the user needs to check the state in front of the door, the client can send an interaction instruction to the server. After receiving the interaction instruction of the client, the server can send a wake-up instruction to the communication module through the router. After receiving the wake-up instruction, the communication module can send a hardware interrupt to the smart door lock to wake up the smart door lock and trigger the smart door lock to supply power to the face recognition module by using the power supply system (such as the second power supply system described above) corresponding to the face recognition module, so as to wake up the face recognition module. After the face recognition module is woken up, the network parameters can be obtained from the place where the network parameters are saved, the face recognition module is controlled to be reconfigured, and the network connection between the face recognition module and the server is established. After the network connection is successful, the face recognition module performs audio and video monitoring or video call between the communication module and the server, so that the server connects the client and the face recognition module as an intermediate device.

[0093] The server described above can be a cloud server.

[0094] In some possible embodiments, before the user sends an interaction instruction to the server through the client, in the embodiment of the present application, the face recognition module can first install the software development kit of the server, so that the software development code of the server can run on the face recognition module. Subsequently, the face recognition module and the server (cloud server) are encryptedly linked, and when the face recognition module receives a shutdown instruction of the smart door lock, the face recognition module can simultaneously establish an unencrypted link with the communication module (WiFi module). Subsequently, the face recognition module can send a first device update state to the server, such as sending a first device update state that a device is in a low-power consumption keep-alive state to the server, to inform the server that the face recognition module is in a low-power consumption keep-alive state. At this time, the face recognition module cannot directly interact with the face recognition module through the WiFi module, because the face recognition module is not powered on.

[0095] Optionally, within a period of time after the face recognition module sends the device update state to the server, the face recognition module can send a heartbeat packet to the communication module, and the communication module and the server also contact each other through the heartbeat packet. After the period of time elapses, the face recognition module completes shutdown and sends a shutdown instruction to the smart door lock. At this time, the smart door lock completes the power-off operation on the face recognition module by controlling the power supply system. In this way, the face recognition module cannot directly interact with the communication module and the face recognition module when it is in the low-power keep-alive state.

[0096] Optionally, the face recognition module can send a second device update state to the server through the communication module, informing the server that the smart door lock is no longer in the low-power keep-alive state and can directly transmit information to the server through the WiFi module.

[0097] In some possible embodiments, the smart door lock can send a power supply instruction to the power supply system based on the wake-up instruction, and the power supply instruction is used to instruct the power supply system to supply power to the face recognition module, so that the face recognition module and the communication module restore communication linkage.

[0098] In summary, the wake-up instruction is sent to the smart door lock through the communication module, so that the smart door lock controls the power supply system to supply power to the face recognition module, and then the face recognition module and the communication module restore communication linkage. In this way, on the basis of reducing the power consumption of the face recognition module, the face recognition module has more selection possibilities, improves its applicability, and thus provides a user experience.

[0099] Figure 4 A block diagram of a module wake-up device according to an embodiment of the present disclosure is shown, which is applied to a communication module, the communication module belongs to a part of a face recognition module, and the face recognition module is loaded in a smart door lock, as shown in Figure 4 The device includes an instruction receiving unit 401 and a power supply triggering unit 402.

[0100] The instruction receiving unit 401 is configured to receive a wake-up instruction when the communication module is in a low-power keep-alive state, wherein the configuration parameter value of the communication module is lower than a preset threshold in the low-power keep-alive state.

[0101] The power supply triggering unit 402 is configured to trigger the smart door lock to supply power to the face recognition module in response to the wake-up instruction, so as to wake up the face recognition module, wherein the communication module and the face recognition module adopt independent power supply systems, and the communication module adopts a long power supply mode.

[0102] In some possible embodiments, the power supply triggering unit is configured to, in response to the wake-up instruction, trigger the smart door lock to supply power to the face recognition module, and reconfigure network parameters saved before the face recognition module is powered off into the face recognition module, so as to wake up the face recognition module.

[0103] In some possible embodiments, the power supply triggering unit is configured to, in response to the wake-up instruction, send a hardware interrupt to the smart door lock, so as to wake up the smart door lock and trigger the smart door lock to supply power to the face recognition module.

[0104] In some possible embodiments, the apparatus further includes a configuration parameter modification module configured to:

[0105] When the face recognition module is converted into the low-power keep-alive state, modify a frequency of sending broadcast data from a first frequency to a second frequency; the first frequency is greater than the second frequency.

[0106] Modify a frequency of sending heartbeat packets from a third frequency to a fourth frequency; the third frequency is greater than the fourth frequency.

[0107] In some possible embodiments, the apparatus further includes:

[0108] The link establishment module is configured to, when the face recognition module completes the interactive behavior, establish the third frequency heartbeat link between the face recognition module and the server.

[0109] The saving module is configured to save network parameters currently configured by the face recognition module.

[0110] The configuration parameter modification module is configured to, when the face recognition module is powered off and enters the low-power keep-alive state, modify the frequency of sending heartbeat packets from the third frequency to the fourth frequency, and maintain the fourth frequency heartbeat link with the server.

[0111] In some possible embodiments, the apparatus further includes a network connection establishment module configured to:

[0112] After the face recognition module is woken up, use the reconfigured network parameters to establish a network connection between the face recognition module and the server, and after the network connection is successful, perform audio and video monitoring or video call by the face recognition module.

[0113] In some embodiments, the system provided by the embodiments of the present disclosure has functions or includes units that can be used to execute the methods described in the above method embodiments, and the specific implementation can refer to the description of the above method embodiments. For brevity, it will not be repeated here.

[0114] The present disclosure provides a communication module, comprising at least one processor, and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the at least one processor implements any of the above-mentioned module wake-up methods by executing the instructions stored in the memory.

[0115] The present disclosure provides a face recognition module, comprising the above-mentioned communication module, wherein the communication module is used to execute any of the above-mentioned module wake-up methods.

[0116] The present disclosure provides a smart door lock, comprising the above-mentioned face recognition module.

[0117] The present disclosure provides a module wake-up system, comprising a plurality of smart door locks with the above-mentioned built-in face recognition module, a plurality of terminals and a server.

[0118] The present disclosure further provides a computer readable storage medium, wherein at least one instruction or at least one program is stored in the computer readable storage medium, and the at least one instruction or at least one program is loaded and executed by a processor to implement the above-mentioned method. The computer readable storage medium can be a non-volatile computer readable storage medium.

[0119] The present disclosure provides a computer program product comprising instructions, wherein the computer program product comprises a computer program stored in a readable storage medium, and at least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the device executes any of the above-mentioned module wake-up methods.

[0120] Figure 5 A block diagram of an electronic device according to an embodiment of the present disclosure is shown. For example, the electronic device 500 can be a terminal such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0121] Referring to Figure 5 , the electronic device 500 can include one or more of the following components: a processing component 502, a memory 504, a power supply component 506, a multimedia component 508, an audio component 510, an input / output (I / O) interface 512, a sensor component 514, and a communication component 516.

[0122] The processing component 502 generally controls the overall operations of the electronic device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 can include one or more processors 520 to execute instructions and to complete all or part of steps of the above-described methods. In addition, the processing component 502 can include one or more modules to facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.

[0123] The memory 504 is configured to store various types of data to support operations of the electronic device 500. Examples of these data include instructions for any application or method operating on the electronic device 500, contact data, phonebook data, messages, pictures, videos, and so on. The memory 504 can be implemented by any type of volatile or nonvolatile memory, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0124] The power component 506 provides power to the various components of the electronic device 500. The power component 506 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 500.

[0125] The multimedia component 508 includes a screen providing an output interface between the electronic device 500 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes the touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide, and a gesture on the touch panel. The touch sensors can not only sense a boundary of a touching or sliding action, but also detect duration and pressure related to the touching or sliding action. In some embodiments, the multimedia component 508 includes a front camera and / or a back camera. The front camera and / or the back camera can receive external multimedia data when the electronic device 500 is in an operating mode, such as a shooting mode or a video mode. Each of the front camera and the back camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0126] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC) that is configured to receive an external audio signal when the electronic device 500 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 504 or transmitted via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.

[0127] The I / O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0128] The sensor component 514 includes one or more sensors for providing status assessments of various aspects of the electronic device 500. For example, the sensor component 514 can detect an open / closed position of the electronic device 500, relative positioning of components, such as a display and a keypad of the electronic device 500, a change of location of the electronic device 500 or a component of the electronic device 500, the presence or absence of user contact with the electronic device 500, the orientation or acceleration / deceleration of the electronic device 500, and a temperature change of the electronic device 500. The sensor component 514 can include an orientation sensor, an acceleration sensor, a proximity sensor, a gesture sensor, a biometric sensor, a temperature / humidity sensor, an illumination sensor, and / or an interaction sensor. The sensor component 514 can further include an electronic component, for example, a camera, a microphone, and / or a user input interface, to measure a physical quantity or to generate a user interface.

[0129] The communication component 516 is configured to facilitate wired or wireless communication between the electronic device 500 and other devices. The electronic device 500 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an example embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcasting management system via a broadcast channel. In an example embodiment, the communication component 516 further includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technology.

[0130] In exemplary embodiments, the electronic device 500 can be implemented with one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements, for performing the above-described methods.

[0131] In exemplary embodiments, a non-transitory computer readable storage medium, such as the memory 504 including computer program instructions, is also provided, which can be executed by the processor 520 of the electronic device 500 to complete the above-described methods.

[0132] Figure 6 A block diagram of another electronic device according to an embodiment of the present disclosure is shown. For example, the electronic device 600 can be provided as a server. Referring to Figure 6 , the electronic device 600 includes a processing component 622, which further includes one or more processors, and a memory resource represented by a memory 632, for storing instructions, such as application programs, executable by the processing component 622. The application programs stored in the memory 632 can include one or more than one module each corresponding to a set of instructions. In addition, the processing component 622 is configured to execute the instructions to perform the above-described methods.

[0133] The electronic device 600 can also include a power supply component 626 configured to perform power management of the electronic device 600, a wired or wireless network interface 650 configured to connect the electronic device 600 to a network, and an input / output (I / O) interface 658. The electronic device 500 can operate based on an operating system stored in the memory 632, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.

[0134] In exemplary embodiments, a non-transitory computer readable storage medium, such as the memory 632 including computer program instructions, is also provided, which can be executed by the processing component 622 of the electronic device 600 to complete the above-described methods.

[0135] The present disclosure can be a system, a method, and / or a computer program product. The computer program product can include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present disclosure.

[0136] Computer readable storage media can be tangible storage media which can retain and store instructions for use by an instruction execution device. Computer readable storage media can be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer readable storage media include the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.

[0137] Computer readable program instructions described herein can be downloaded to respective computing / processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and / or a wireless network. The network can comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and / or edge servers. A network adapter card or network interface in each computing / processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing / processing device.

[0138] Computer readable program instructions for carrying out operations of the present disclosure can be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate array (FPGA), or programmable logic array (PLA) can execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present disclosure.

[0139] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0140] These computer readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer readable program instructions can also be stored in a computer readable storage medium that can include random access memory (RAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other data storage device. When the computer readable program instructions are loaded into the computer and other programmable data processing apparatus, a series of operational steps are implemented that provide processes such that the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0141] The computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer, other programmable data processing apparatus, or other device implement the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0142] The flow and block diagrams in the drawings show architectural, functional, and operational representations of possible implementations of systems, methods, and computer program products according to the present disclosure. In this regard, each block in the flow and block diagrams can represent a module, a segment, or a portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims

1. A method for module wake-up, the method comprising: The module wake-up method is applied to a communication module, the communication module belongs to a part of a face recognition module, the face recognition module is loaded in a smart door lock, and the method comprises the following steps: In the low-power keep-alive state of the communication module, a wake-up instruction is received, wherein in the low-power keep-alive state, the configuration parameter value of the communication module is lower than a preset threshold value; In response to the wake-up instruction, the smart door lock is triggered to supply power to the face recognition module to wake up the face recognition module, wherein the communication module and the face recognition module adopt an independent power supply system, and the communication module adopts a long power supply mode; Before the communication module is in the low-power keep-alive state and the wake-up instruction is received, the method further comprises the following steps: When the face recognition module is converted into the low-power keep-alive state, the frequency of sending broadcast data is modified from a first frequency to a second frequency; the first frequency is greater than the second frequency; When the face recognition module completes an interaction behavior, a third frequency heartbeat link is established between the face recognition module and a server; The current network parameters configured by the face recognition module are saved; When the face recognition module is powered off and enters the low-power keep-alive state, the frequency of sending heartbeat messages is modified from a third frequency to a fourth frequency; and the fourth frequency heartbeat link is maintained with the server; the third frequency is greater than the fourth frequency.

2. The module wake-up method of claim 1, wherein, The response to the wake-up instruction and the triggering of the smart door lock to supply power to the face recognition module to wake up the face recognition module comprise the following steps: In response to the wake-up instruction, the smart door lock is triggered to supply power to the face recognition module, and the network parameters saved before the face recognition module is powered off are reconfigured into the face recognition module to wake up the face recognition module.

3. The module wake-up method of claim 1 or 2, wherein, The response to the wake-up instruction and the triggering of the smart door lock to supply power to the face recognition module comprise the following steps: In response to the wake-up instruction, a hardware interrupt is sent to the smart door lock to wake up the smart door lock and trigger the smart door lock to supply power to the face recognition module.

4. The module wake-up method of claim 2, wherein, The method further comprises the following steps: After the face recognition module is woken up, the network connection between the face recognition module and a server is established by using the reconfigured network parameters, wherein after the network connection is successful, audio and video monitoring or video call is performed by the face recognition module.

5. A module wake-up device, characterized by The module wake-up device is applied to a communication module, the communication module belongs to a part of a face recognition module, the face recognition module is loaded in a smart door lock, and the device comprises the following steps: An instruction receiving unit is configured to receive a wake-up instruction in a low-power keep-alive state of the communication module, wherein in the low-power keep-alive state, the configuration parameter value of the communication module is lower than a preset threshold value; A power supply triggering unit is configured to trigger the smart door lock to supply power to the face recognition module in response to the wake-up instruction to wake up the face recognition module, wherein the communication module and the face recognition module adopt an independent power supply system, and the communication module adopts a long power supply mode; The configuration parameter modification module is configured to modify a frequency of sending broadcast data from a first frequency to a second frequency when the face recognition module is switched to the low-power keep-alive state; the first frequency is greater than the second frequency; establish a third frequency heartbeat link between the face recognition module and a server when the face recognition module completes an interaction behavior; save a current network parameter configured for the face recognition module; modify a frequency of sending a heartbeat packet from a third frequency to a fourth frequency when the face recognition module is powered off and enters the low-power keep-alive state; and maintain the fourth frequency heartbeat link with the server; the third frequency is greater than the fourth frequency.

6. A communication module, characterized in that The communication module comprises at least one processor and a memory connected in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor implements the module wake-up method according to any one of claims 1-4 by executing the instructions stored in the memory.

7. A face recognition module, characterized by, The communication module according to claim 6 is used to execute the module wake-up method according to any one of claims 1-4.

8. An intelligent door lock, characterized by The face recognition module according to claim 7.

9. A module wake-up system, comprising: The smart door lock according to claim 8, a plurality of terminals, and a server.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the module wake-up method according to any one of claims 1-4.

Citation Information

Patent Citations

  • Robot and voice interaction system thereof

    CN111230891A

  • Method for reducing power consumption of mobile terminal and mobile terminal

    CN113133095A