Device wakeup method, device, equipment and storage medium
By detecting the target approaching the smart device and determining its object type, the face recognition module is only activated when the owner is approaching, solving the problem of high power consumption of smart door locks caused by long-term standby of the module, extending the service life of the device and improving security.
Patent Information
- Application Number
- CN202210532211.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-10
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-05-10
AI Technical Summary
Smart devices such as smart door locks have high power consumption because the facial recognition module is always on, which affects the service life of the device.
By detecting when the target is close to the device, its characteristic data is obtained to determine the object type. The face recognition module is only activated when the owner is close, and remains dormant in other cases to avoid unnecessary module activation.
It effectively reduces the power consumption of the device, extends the service life of the smart door lock, and improves the accuracy and safety of wake-up.
Smart Images

Figure CN115240296B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Internet of Things, and specifically, to a device wake-up method, apparatus, device and storage medium. Background Art
[0002] With the rapid development of Internet of Things technology, the application of smart devices is becoming more and more extensive. For example, the smart device is a smart door lock. Since the smart door lock needs to perform corresponding identification and processing when unlocking, the smart door lock often has a face recognition module. Then, when the owner returns home, the smart door lock can automatically unlock the door to welcome the owner home through the face recognition function provided by the face recognition module.
[0003] However, if the face recognition module is always on, the power consumption of the smart door lock will be high, requiring frequent battery replacement, which will affect the service life of the smart door lock.
[0004] From the above, it can be seen that how to reduce the power consumption of equipment to extend the service life of the equipment needs to be solved urgently. Summary of the invention
[0005] The embodiments of the present application provide a device wake-up method, apparatus, device and storage medium, which can solve the problem of high device power consumption in related technologies. The technical solution is as follows:
[0006] According to one aspect of an embodiment of the present application, a device wake-up method includes: if a target is detected approaching a device, obtaining characteristic data of the target, the characteristic data being used to indicate a biological characteristic of the target; determining an object type of the target based on the biological characteristic of the target indicated by the characteristic data; and generating a corresponding device wake-up instruction based on the object type of the target, the device wake-up instruction being used to start an associated module of the device.
[0007] According to one aspect of an embodiment of the present application, a device wake-up apparatus includes: a data acquisition module, for acquiring characteristic data of the target if a target is detected to be close to the device, the characteristic data being used to indicate a biological characteristic of the target; a type determination module, for determining an object type of the target based on the biological characteristic of the target indicated by the characteristic data; and a module wake-up module, for generating a corresponding device wake-up instruction based on the object type of the target, the device wake-up instruction being used to start an associated module of the device.
[0008] According to one aspect of an embodiment of the present application, a device includes: at least one processor, at least one memory, and at least one communication bus, wherein a computer program is stored in the memory, and the processor reads the computer program in the memory through the communication bus; when the computer program is executed by the processor, the device wake-up method as described above is implemented.
[0009] According to one aspect of an embodiment of the present application, a storage medium stores a computer program thereon, and when the computer program is executed by a processor, the device wake-up method as described above is implemented.
[0010] According to one aspect of an embodiment of the present application, a computer program product includes a computer program, the computer program is stored in a storage medium, a processor of a computer device reads the computer program from the storage medium, and the processor executes the computer program, so that the computer device implements the device wake-up method as described above when executing the computer program.
[0011] The beneficial effects of the technical solution provided by this application are:
[0012] In the above technical solution, if it is detected that the target is close to the device, the characteristic data of the target is obtained to determine the object type of the target according to the biological characteristics of the target indicated by the characteristic data, and then generate a corresponding device wake-up instruction based on the object type to start the associated module of the device. Taking the device as a smart door lock as an example, for the target, even if the target is close to the device, if the object type of the target indicates that the target is not the owner, the face recognition module will not be started, thereby ensuring that the face recognition module is in a dormant state and does not consume power, thereby effectively solving the problem of high device power consumption in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0014] Figure 1 It is a schematic diagram of an implementation environment involved in an embodiment of the present application;
[0015] Figure 2 is a flow chart of a device waking up method according to an exemplary embodiment;
[0016] Figure 3 yes Figure 2 A flowchart of step 310 in one embodiment of the corresponding embodiment;
[0017] Figure 4 is a schematic diagram showing distance detection based on different distance detection sensors and obtaining height characteristics of a target according to an exemplary embodiment;
[0018] Figure 5 yes Figure 2 A flowchart of step 310 in another embodiment corresponding to the embodiment;
[0019] Figure 6 yes Figure 2 A flowchart of step 330 in one embodiment corresponding to the embodiment;
[0020] Figure 7 is a flow chart of another device wake-up method according to an exemplary embodiment;
[0021] Figure 8 It is a schematic diagram of a specific implementation of a device wake-up method in an application scenario;
[0022] Fig. 9 is a structural block diagram of a device waking up an apparatus according to an exemplary embodiment;
[0023] Fig.10 is a hardware structure diagram of a device according to an exemplary embodiment;
[0024] Fig.11 It is a structural block diagram of a device according to an exemplary embodiment. DETAILED DESCRIPTION
[0025] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.
[0026] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0027] The following is an introduction and explanation of several terms involved in this application:
[0028] Ultrasonic human body sensor: Based on close-range human body detection technology, it can detect whether there is a target in the detection area through reflection, and then determine the distance of the target from the sensor through the time difference between emission and reflection. It can also determine whether the target is large or small through the intensity of reflection. In short, ultrasonic human body sensors can detect both distance and the reflection intensity of the target, which can also be understood as the volume of the target.
[0029] As mentioned above, for devices with associated modules, if the associated modules are always turned on, the power consumption of the device will be high, requiring frequent battery replacement, which will affect the service life of the device. For example, smart door locks have high power consumption because the face recognition module is always turned on.
[0030] In view of the above problems, a smart door lock wake-up solution is proposed. When the distance between the target and the smart door lock is less than the preset distance, the face recognition module is activated. In other words, the face recognition module will not be activated until the target approaches the smart door lock, otherwise it will remain in a dormant state. In this way, while ensuring the unlocking demand, the long standby time of the face recognition module is avoided, thereby reducing the power consumption of the smart door lock.
[0031] However, in the above scheme, on the one hand, the detection method is very simple, which is not only easy to be caused by ambient light, animals, etc. to cause the face recognition module to be misactivated, but it can only determine that there is someone in front of the smart door lock, and it is not clear what the person is doing in front of the smart door lock (such as whether the owner has returned home), or whether the person has left after approaching the smart door lock. For example, if the target is a neighbor, the neighbor may just pass by the smart door lock, but because the distance between the neighbor and the smart door lock is less than the preset distance, the face recognition module will be misactivated, or if the target is a visitor, the visitor will inevitably approach the smart door lock to visit the owner, and the distance between the visitor and the smart door lock will be less than the preset distance, which will inevitably cause the face recognition module to be misactivated. On the other hand, for the face recognition module, it is usually necessary to activate it when the target is the owner to achieve automatic unlocking to welcome the owner home, while other people (such as neighbors, illegal elements) do not need to activate it.
[0032] Similarly, for the camera module, if the camera module is activated for every target close to the smart door lock, it may involve privacy. For example, a neighbor does not want to be photographed when passing by the smart door lock. In this case, it is necessary to activate the camera module only against illegal elements.
[0033] Based on this, since the face recognition module, camera module and other related modules are still started up unnecessarily, the energy saving effect of the device is improved very limitedly. As can be seen from the above, the related technology still has the defect of high power consumption of the device.
[0034] To this end, the device wake-up method provided in the present application can effectively reduce the power consumption of the device. Accordingly, the device wake-up method is applicable to a device wake-up device, and the device wake-up device can be deployed on a device, and the device has several associated modules. For example, the device can be a smart door lock, and the associated modules of the smart door lock include but are not limited to a face recognition module, a doorbell module, a camera module, etc.
[0035] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0036] Figure 1 is a schematic diagram of an implementation environment of a device wake-up method provided in an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes a device 110 and a target 130 .
[0037] Among them, device 110 refers to a smart device with an associated module, and the smart device can be an electronic device such as a smart printer, a smart fax machine, a smart camera, a smart speaker, a smart air conditioner, a smart door lock, a smart light, a smart curtain, a smart TV, a smart refrigerator, etc.
[0038] In one possible implementation, at least one sensing device 111 may be deployed inside the device 110, and the target 130 may be detected by the deployed sensing device 111 to obtain relevant information about the target 130. For example, the detection may be distance detection, volume detection, temperature detection, target detection, etc. Correspondingly, the relevant information about the target 130 obtained by detection may be the distance between the target 130 and the device 110, the reflection intensity of the target 130, the temperature of the target 130, whether the target 130 exists in the detection area, etc.
[0039] Then, taking the smart door lock as an example, the associated modules of the smart door lock include but are not limited to: camera module, doorbell module, face recognition module, etc. As the target 130 approaches or moves away from the smart door lock, the associated modules of the smart door lock will enter the open state or remain in the dormant state. For example, if the target 130 approaches the smart door lock and the target 130 is the owner, the associated module of the smart door lock, the face recognition module, will be started and perform corresponding recognition and processing to realize the automatic unlocking of the smart door lock to welcome the owner home.
[0040] See also Figure 2 The embodiment of the present application provides a device wake-up method, which is applicable to a device, which may be Figure 1 The device 110 in the implementation environment shown refers to a smart device with associated modules. For example, the device specifically refers to a smart door lock with at least one sensor device deployed inside. The associated modules of the smart door lock include but are not limited to: a camera module, a doorbell module, a face recognition module, etc.
[0041] In the following method embodiments, for the convenience of description, the execution subject of each step of the method is taken as an example of a device, but this does not constitute a specific limitation.
[0042] like Figure 2 As shown, the method may include the following steps:
[0043] Step 310: If it is detected that the target is close to the device, characteristic data of the target is obtained.
[0044] First of all, the target refers to the object that will appear in the smart home scene, which can be any one of a person, a robot, or an animal. For example, for a smart door lock, the target refers to the object that will appear in front of the smart door lock, which is a person, and can be any one of the owner, visitor, neighbor, or other person.
[0045] It should be understood that if there is no target in the detection area, that is, no target is detected, there is no need to start the associated module of the device; or, if the target is detected to be away from the device, for example, for a smart door lock, a neighbor passes by the smart door lock and then moves away from the smart door lock, then there is no need to start the associated module of the device. For this reason, in this embodiment, the premise for waking up the device is to detect that the target is approaching the device.
[0046] In one possible implementation, whether the target is detected is determined by a sensor device for detecting the target deployed inside the device. For example, the sensor device may be a PIR (passive infrared radiation) human body sensing sensor or a temperature sensor. The detection process may include the following steps: determining whether there is a target in the detection area based on the target detection signal received by the sensor device; if there is a target in the detection area, determining that the target is detected. Taking the temperature sensor as an example, if it is determined that an object with a temperature of 37 degrees Celsius appears in the detection area based on the target detection signal, it can be determined that there is a target in the detection area, and the target is a person, and then determining that the target is detected.
[0047] Please refer to Figure 1 ,exist Figure 1 In the example, the target 130 is located in the detection area 201 . Then, based on the target detection signal 202 received by the sensor device 111 , the device 110 can determine that the target 130 is detected.
[0048] In a possible implementation, whether the target is detected to be close to the device is realized by a sensor device for measuring distance deployed inside the device. For example, the sensor device can be a distance detection sensor or an ultrasonic human body sensor. The detection process can include the following steps: if the target is detected, the trajectory data of the target is obtained; according to the moving trajectory indicated by the trajectory data, the behavior of the target relative to the device is determined; based on the behavior of the target relative to the device, it is determined whether the target is detected to be close to the device.
[0049] The target's behavior relative to the device includes: a first behavior, a second behavior, and a third behavior. The first behavior refers to the behavior of the target approaching the device, the second behavior refers to the behavior of the target moving away from the device, and the third behavior refers to the behavior of the target passing by the device. Based on this, if the determined behavior is the first behavior, it is determined that the target is detected approaching the device. Similarly, if the determined behavior is the second behavior, it is determined that the target is detected moving away from the device.
[0050] The trajectory data is used to indicate the movement trajectory of the target relative to the device. Regarding the determination of the movement trajectory, specifically, at least two first distances between the device and the target are determined based on at least two first distance detection signals received within a third set time period; based on the at least two first distances, the movement trajectory of the target relative to the device is determined.
[0051] Continue reading Figure 1 ,exist Figure 1 , the target 130 moves from position A to position C. During this movement, the sensing device 111 will receive multiple first distance detection signals, for example, three first distance detection signals respectively used to determine the first distances between the device 110 and the position A, position B, and position C where the target 130 is located. Then, based on these first distance detection signals 203, the device 110 can determine that the moving trajectory of the target 130 is from position A to position C, and further determine that the behavior of the target 130 relative to the device 110 is the first behavior, thereby finally determining that the target 130 is detected close to the device 110.
[0052] Similarly, if the moving trajectory of the target 130 is from position C to position A, it can be determined that the behavior of the target 130 relative to the device 110 is the second behavior, so that it is finally determined that the target 130 is detected to be away from the device 110; Figure 1 The dotted line shows that the direction exceeds the position D. Based on the two first distance detection signals used to determine the first distances between the device 110 and the positions A and D where the target 130 are located, it can be determined that the moving trajectory of the target 130 is from position A to position D, and then it can be determined that the behavior of the target 130 relative to the device 110 is the third behavior, thereby ultimately determining that the target 130 is detected passing by the device 110.
[0053] It is worth mentioning that the inventors realized that in the smart door lock scenario, if the target is a neighbor, the neighbor may just be passing by the smart door lock. At this time, there is no need to activate the associated module of the smart door lock. Of course, the neighbor may also be a visitor of the owner and stay at a certain position passing by the smart door lock. At this time, it may be necessary to activate the associated module of the smart door lock, for example, to activate the doorbell module for the visitor to use.
[0054] Based on this, in this embodiment, for determining that the target's behavior relative to the device is the third behavior, the detection process may also include the following steps: if the determined behavior is the third behavior, then determine whether the target exists in the detection area within the second set time period based on the received target detection signal; if so, determine that the target is detected to be close to the device. In other words, after determining that the target's behavior relative to the device is the third behavior, it is necessary to further determine whether the target stays in the detection area. If so, re-determine that the target's behavior relative to the device is the first behavior, thereby fully ensuring the accuracy of behavior detection, which is conducive to improving the accuracy of device wake-up.
[0055] As mentioned above, for a smart door lock, if a target is detected approaching the smart door lock, the associated module of the smart door lock will be activated, and there is a possibility of the associated module being activated by mistake. For example, if the target is a neighbor, the neighbor may just be passing by the smart door lock, but because the neighbor is close to the smart door lock, the distance between the neighbor and the smart door lock is less than the preset distance, which causes the face recognition module to be activated by mistake.
[0056] Therefore, in this embodiment, before starting the associated module of the device, it is necessary to obtain the characteristic data of the target so as to identify the target based on the characteristic data of the target. For example, for a smart door lock, it is necessary to identify whether the target is the owner based on the characteristic data of the target. If the target is the owner, the face recognition module of the smart door lock is started to perform corresponding identification and processing, so as to realize automatic unlocking to welcome the owner home.
[0057] Among them, the characteristic data is used to indicate the biological characteristics of the target. In a possible implementation, the biological characteristics of the target include but are not limited to: height characteristics, area characteristics, temperature characteristics, etc. In a possible implementation, the height characteristic refers to the height of the target; in a possible implementation, the temperature characteristic refers to the temperature of the target; in a possible implementation, the area characteristic refers to the area of the target, and the area specifically reflects the reflection intensity of the target at at least one distance. It can also be understood that the area substantially constructs a corresponding relationship between at least one distance and the reflection intensity.
[0058] It should be noted that the target's biometric features, such as face, fingerprint, and iris, can uniquely identify the target's identity. In other words, the target can be accurately identified based on the target's biometric features. However, if the biometric recognition module, such as the face recognition module, is always in the on state, it consumes a lot of energy. Therefore, for smart door locks, the face recognition module is an associated module waiting to be started and does not participate in the acquisition of the target's feature data to reduce the power consumption of the smart door lock. It can be seen that the target's biological features are used to preliminarily identify the target. Compared with the target's biological features, it is impossible to accurately identify the target. Accordingly, the module used to obtain the target's biological features consumes less energy and is more conducive to reducing the power consumption of smart door locks.
[0059] Regarding the acquisition of characteristic data of the target, in one possible implementation, the characteristic data of the target is obtained by using at least one sensor device deployed inside the device. Taking the temperature characteristic as an example, based on the temperature sensor deployed inside the device, the temperature sensor will perform temperature detection. If there is a target in the detection area, the temperature sensor can determine the temperature characteristic of the target through the received temperature detection signal.
[0060] Step 330 , determining the object type of the target according to the biological characteristics of the target indicated by the characteristic data.
[0061] Among them, the object type of the target is used to indicate the identity of the target. In a possible implementation, the object type of the target includes a first object type, a second object type, a third object type, and a fourth object type. Taking the device as a smart door lock as an example, the first object type refers to the owner type, which is used to indicate that the identity of the object is the owner; the second object type refers to the other person type, which is used to indicate that the identity of the object is other people; the third object type is the stranger type, which is used to indicate that the identity of the object is a stranger; the fourth object type is the visitor type, which is used to indicate that the identity of the object is a visitor.
[0062] In this way, it is possible to filter a portion of objects based on the identity of the target, avoiding the need for precise identification of these objects for filtering, thereby reducing the risk of misactivation of the associated modules of the device.
[0063] For example, if the owner is tall and the target is short, for the smart door lock, the face recognition module is only activated for the owner, and the characteristic data obtained by the sensor device can determine that the target's object type is at least the type of other people, which is enough to determine that there is no need to unlock the door, thereby avoiding the face recognition module from being activated for other people. In other words, by maintaining the low-power sensor device in the activated state instead of maintaining the high-power face recognition module in the activated state, objects other than the owner can be filtered out, which is beneficial to energy saving of the smart door lock and prolonging the service life of the smart door lock.
[0064] Step 350: Generate a corresponding device wake-up instruction based on the target object type.
[0065] Among them, the device wake-up instruction is used to start the associated module of the device.
[0066] In a possible implementation, the associated modules of the device include a first type module, a second type module, and a third type module. Among them, the first type module refers to an associated module activated for a target whose object type is the first object type, the second type module refers to an associated module activated for a target whose object type is the second object type, and the third type module refers to an associated module activated for a target whose object type is the third object type. Taking the device as a smart door lock as an example, the first type module refers to a biometric recognition module, which can specifically be a face recognition module, a fingerprint recognition module, an iris recognition module, etc.; the second type module refers to a doorbell module; and the third type module refers to a camera module.
[0067] In a possible implementation, if the target object type is a first object type, a first device wake-up instruction for starting a first type module is generated; if the target object type is a second object type, a second device wake-up instruction for starting a second type module is generated.
[0068] Taking a smart door lock as an example, the second object type is other person type, the second type module is a doorbell module, the third object type is a stranger type, and the third type module is a camera module. Then, after the doorbell module is activated, the target is usually expected to press the doorbell to remind the owner that a visitor has arrived. However, the inventors realize that for a target whose object type is other person type, the target may be a known visitor or an unknown stranger. At this time, it is necessary to activate the camera module to shoot the stranger. To this end, in a possible implementation, if the target's object type is the third object type, a third device wake-up instruction for activating the third type module is generated.
[0069] Through the above process, under the premise that the target is close to the device, it is possible to wake up the associated modules of the device accordingly for targets of different object types. For example, for a smart door lock, the face recognition module will be started when the target is the owner, or the camera module will be started when the target is a stranger, thereby fully ensuring the accuracy of device wake-up, which can effectively solve the problem of high device power consumption in related technologies.
[0070] As mentioned above, the biological characteristics of the target include but are not limited to: height characteristics, area characteristics, temperature characteristics, etc. The following introduces the process of acquiring the characteristic data of the target in the device wake-up method provided in the embodiment of the present application.
[0071] See also Figure 3 In an exemplary embodiment, if the biological characteristics of the target include a height characteristic, step 310 may include the following steps:
[0072] Step 311: determine a first distance and at least one second distance between the device and the target respectively according to the received first distance detection signal and at least one second distance detection signal.
[0073] Wherein, a set angle is maintained between a receiving direction of the first distance detection signal and a receiving direction of the second distance detection signal.
[0074] That is, the first distance detection signal and the second distance detection signal are received by different sensing devices for measuring distance, and the different sensing devices for measuring distance are deployed inside the device at a set angle. The first distance detection signal is used to determine a first distance between the device and the target, and the second distance detection signal is used to determine a second distance between the device and the target.
[0075] In a possible implementation, the first distance refers to a distance in a horizontal direction, that is, a distance without a height difference, and the second distance refers to a distance with a height difference. In a possible implementation, the sensing device for measuring the distance includes a distance detection sensor and an ultrasonic human body sensor.
[0076] Step 313, calculating the height feature of the target according to the first distance, at least one second distance, and the height of the device as feature data of the target.
[0077] Take the distance detection sensor as an example. Figure 4 A schematic diagram of performing distance detection based on different distance detection sensors and obtaining the height characteristics of a target in an embodiment is shown, such as Figure 4 As shown in (a), multiple distance detection sensors are deployed in the device 110 at different set angles so as to detect the distance of the target based on the multiple distance detection sensors, thereby correspondingly receiving multiple distance detection signals. Among them, the first distance detection signal received by the distance detection sensor 0 is used to determine the first distance between the device and the target, and the first distance refers to the distance in the horizontal direction; the multiple second distance detection signals received by the distance detection sensors 1 to N are used to determine multiple second distances between the device and the target, and the multiple second distances refer to multiple distances with different height differences.
[0078] like Figure 4As shown in (b), for example, the distance detection sensor 0 and the distance detection sensor 1 are arranged inside the device at a set angle β, so that the second distance A has a height difference C1 relative to the first distance B. Then, the height difference C1 of the second distance A relative to the first distance B can be calculated through the first distance A, the second distance B, and the set angle β between the distance detection sensor 0 and the distance detection sensor 1.
[0079] Thus, through the multiple sensor devices for measuring distance deployed inside the device, multiple height differences C1 to C2 of the second distance relative to the first distance can be calculated. N And combined with the height h of the equipment itself, the final height of the target is H = C1 + C2 + C3 + ... + C N +h can also be understood as the height characteristic of the target.
[0080] See also Figure 5 In an exemplary embodiment, if the biological feature of the target includes an area feature, step 310 may include the following steps:
[0081] Step 312: determine a first distance between the device and the target based on the received first distance detection signal, and determine a reflection intensity of the target based on the received volume detection signal.
[0082] Step 314, determining the area characteristics of the target according to the reflection intensity of the target at the first distance as characteristic data of the target.
[0083] As mentioned above, the area feature of the target refers to the area of the target, which specifically reflects the reflection intensity of the target at at least one first distance. Then, based on the first distance between the device and the target determined by the first distance detection signal and the reflection intensity of the target determined by the volume detection signal, the reflection intensity of the target at the first distance can be determined as the area of the target, which is determined as the area feature of the target.
[0084] With the cooperation of the above-mentioned embodiments, the biological characteristics of the target are acquired, which is used as the data basis for the subsequent filtering of a part of the objects. For example, if the owner is tall, the short objects can be directly filtered, avoiding the need for precise identification of these objects for filtering, thereby avoiding the activation of the first type of module (such as a face recognition module), which is beneficial to reducing the risk of false activation of the first type of module, and ultimately helps to reduce the power consumption of the device and extend the service life of the device.
[0085] In a possible implementation, the object type of the target is determined by comparing the biological features of the target with the historical features in the historical feature library, wherein the historical features refer to the biological features of the historical objects in the historical feature library, and the object type of the historical objects is the first object type.
[0086] It should be noted that historical objects refer to objects with corresponding biological features stored in the historical feature library. Taking the smart door lock as an example, for family users, parents, grandparents, sons and daughters are all owners, and the corresponding biological features are added to the historical feature library. Then, if the target is the father, based on comparing the biological features of the target with the historical features in the historical feature library, it can be determined that the object type of the target is the first object type, that is, the owner type.
[0087] See also Figure 6 In an exemplary embodiment, step 330 may include the following steps:
[0088] Step 331, searching the historical feature library for historical features that match the biological features of the target.
[0089] If a matching historical feature is found, it means that the target has added the corresponding biological feature to the historical feature library, and step 333 is executed; otherwise, if no matching historical feature is found, it means that the target has not added the corresponding biological feature to the historical feature library, and step 335 is executed.
[0090] The following takes the area feature as an example to illustrate the construction process of the historical feature library. Figure 7 As shown:
[0091] Step 410: Send movement information in response to an add instruction for a historical object.
[0092] The adding instruction is used to instruct to add historical features to the historical feature library for the historical object. In a possible implementation, if the terminal held by the historical object completes the face addition of the historical object, the device receives the adding instruction for the historical object. At this time, the device can respond to the adding instruction and add historical features to the historical feature library for the historical object.
[0093] Movement information is used to indicate that the historical object has moved relative to the device. In one possible implementation, in response to an instruction to add a historical object, the device sends movement information to the terminal held by the historical object to prompt the historical object to move relative to the device, for example, to prompt the historical object to approach the device, or to prompt the historical object to move away from the device. Then, during the movement of the historical object, at least one sensing device deployed inside the device, for example, the sensing device is an ultrasonic sensor, can receive at least one detection signal, for example, the detection signal is a volume detection signal, and then obtain the reflection intensity of the historical object at different distances, so as to determine the area characteristics of the historical object.
[0094] Step 430 : determining historical features of the historical object according to the detection signal about the historical object received during the movement of the historical object.
[0095] The detection signal includes at least one of the following: a first distance detection signal, a second distance detection signal, a volume detection signal, and a temperature detection signal.
[0096] For example, the first distance and the second distance between the historical object and the device are determined by the first distance detection signal and the second distance detection signal, and then the height characteristics of the historical object are determined; the emission intensity of the historical object at different distances is determined by the first distance detection signal and the volume detection signal, and then the area characteristics of the historical object are determined; the temperature of the historical object at different distances is determined by the first distance detection signal and the temperature detection signal, and then the temperature characteristics of the historical object are determined.
[0097] Step 450: Add the historical features of the historical object to the historical feature library.
[0098] The historical characteristics include at least one of the following: height characteristics, area characteristics, and temperature characteristics.
[0099] Taking the ultrasonic human body sensor as an example, during the movement of the historical object E, assuming that the historical object E moves to 30 cm away from the device, the ultrasonic human body sensor determines the first distance x1 between the device and the historical object E, and the reflection intensity y1 of the historical object E based on the received first distance detection signal a1 and volume detection signal b1. As the historical object E moves away from the device, assuming that the historical object E moves to 40 cm away from the device, the ultrasonic human body sensor determines the first distance x2 between the device and the historical object E, and the reflection intensity y2 of the historical object E based on the received first distance detection signal a2 and volume detection signal b2. At this time, according to the reflection intensity y1 of the historical object E at the first distance x1 and the reflection intensity y2 at the first distance x2, the area feature of the historical object E can be obtained. For example, the area feature is expressed as {x1:y1, x2:y2} and added to the historical feature library.
[0100] Correspondingly, assuming that the reflection intensity of target F at the first distance x1 is y3, it indicates that the target F has a different reflection intensity y3 that is different from y1 at the same distance x1. It can also be understood that the area feature of the target F at the same distance cannot match the area feature of the historical object E in the historical feature library. At this time, it can be determined that the target F is not the historical object E, that is, the object type of the target E does not belong to the first object type.
[0101] Thus, a historical feature library storing historical features of historical objects is constructed to serve as a basis for determining the target object type.
[0102] Accordingly, in a possible implementation, in response to a delete instruction for a historical object, the historical features of the historical object are deleted from the historical feature library. In a possible implementation, in response to a change instruction for a historical object, the historical features of the historical object in the historical feature library are modified. The process of changing the historical features is basically the same as the process of adding the historical features, and will not be described again here.
[0103] Step 333: determine that the target object type is the first object type.
[0104] Among them, taking the smart door lock as an example, the first object type is the owner type.
[0105] Step 335: determine that the object type of the target is the second object type.
[0106] Among them, taking the smart door lock as an example, the second object type is other person type.
[0107] Furthermore, in the example of the smart door lock described above, the inventors realize that for a target whose object type is other person type, the target may be a known visitor or an unknown stranger. Therefore, before starting the associated module of the device, it is necessary to further determine whether the object type of the target is a third object type, such as a stranger type. Specifically, it means: in response to the second device wake-up instruction for starting the second type module, detecting a trigger operation for the second type module.
[0108] If a trigger operation for the second type module is detected within the first set time, in the smart door lock scenario, it means that the target is a visitor and has pressed the doorbell to remind the owner that a visitor has arrived, and step 337 is executed; conversely, if no trigger operation for the second type module is detected within the first set time, in the smart door lock scenario, it means that the target is a stranger and has stayed in front of the door, which poses a risk of violent unlocking, and step 338 is executed.
[0109] Step 337: Determine that the target object type is a fourth object type.
[0110] Among them, taking the smart door lock as an example, the fourth object type is the visitor type.
[0111] Step 338: Determine that the target object type is a third object type.
[0112] Among them, taking the smart door lock as an example, the third object type is a stranger type.
[0113] Under the effect of the above-mentioned embodiments, the target identity is recognized, which is used as the basis for filtering some objects. For example, for a smart door lock, if the target is other people, they can be filtered directly, avoiding the need for precise identification of these objects for filtering, thereby avoiding the activation of the first type of module (such as a face recognition module), which is beneficial to reducing the risk of false activation of the first type of module, and ultimately helps to reduce the power consumption of the device and extend the service life of the device.
[0114] Figure 8 This is a schematic diagram of a specific implementation of a device wake-up method in an application scenario. In this application scenario, the device is a smart door lock, and the smart door lock has associated modules: face recognition module, doorbell module, camera module, and the sensor devices deployed inside the smart door lock include but are not limited to: ultrasonic human body sensor, PIR human body sensing sensor, and accordingly, the target is an object that appears in the application scenario, specifically a person.
[0115] For the smart door lock, as the smart door lock is powered on, the sensor device is started and maintained in the started state, and the associated module is maintained in the dormant state. Of course, in a possible implementation, the sensor devices are also started in sequence to further reduce the power consumption of the smart door lock, for example, the PIR human body sensor is started first, and then the ultrasonic human body sensor is started.
[0116] The following takes the smart door lock as an example to explain the device wake-up process in detail:
[0117] As the PIR human body sensing sensor is activated, the PIR human body sensing sensor works to receive a target detection signal to determine whether there is a target in the detection area based on the target detection signal. If no target detection signal is received, target detection continues. If a target detection signal is received, indicating that there is a target in the detection area, the ultrasonic human body sensor is activated.
[0118] As the ultrasonic human body sensor is started, the ultrasonic human body sensor works to receive a first distance detection signal, a second distance detection signal, a volume detection signal, etc., to determine the first distance, the second distance between the target and the smart door lock, the reflection intensity of the target, etc. based on these detection signals.
[0119] If the first distance between the target and the smart door lock changes, it is further determined whether the first distance increases. If the first distance increases, it is determined that the behavior of the target relative to the smart door lock is the second behavior, that is, the target is away from the smart door lock; otherwise, it is determined that the behavior of the target relative to the smart door lock is the first behavior, that is, the target is close to the smart door lock.
[0120] If the first distance between the target and the smart door lock does not change, the target's behavior relative to the smart door lock is determined to be the third behavior, that is, the target passes by the smart door lock. In the case where the target passes by the smart door lock, in order to prevent false detection, it is further determined whether the target exists in the detection area within the second set time (for example, 10s). If not, the target passes by the smart door lock, for example, the target is a neighbor. Otherwise, it is re-determined that the target's behavior relative to the smart door lock is the first behavior, that is, the target is close to the smart door lock.
[0121] If the target approaches the smart door lock, the target's feature data is obtained to compare the target's biological features based on the historical feature library. If the historical feature library searches for historical features that match the target's biological features, the target's object type is determined to be the owner type, indicating that the target's identity is the owner, and the face recognition module is activated for the owner to automatically unlock the door and welcome the owner home.
[0122] If no matching historical features are found, the target's object type is determined to be someone else's type, indicating that the target's identity is someone else, and the doorbell module is activated for the other person. To prevent violent unlocking, it is further determined whether a trigger operation for the doorbell module is detected within the first set time (e.g., 10s). If so, the target's object type is determined to be a visitor's type, indicating that the target's identity is a visitor, and the visitor pressed the doorbell to remind the owner that a visitor has arrived. Otherwise, the target's object type is determined to be a stranger's type, indicating that the target has not pressed the doorbell and its identity is suspicious, and the camera module is activated for the target to capture the target with a suspicious identity in front of the smart door lock, thereby effectively ensuring the owner's home safety.
[0123] In this application scenario, on the one hand, the "on-demand operation" of the sensor equipment and associated modules in the smart door lock is realized, and almost no power is consumed in normal sleep mode, which is beneficial to energy saving of the smart door lock; on the other hand, regardless of the situation where the target is far away from or passing by the smart door lock, the associated modules of the smart door lock are gradually awakened only when the target is detected approaching the smart door lock, which can further save the power consumption of the smart door lock while taking into account the user experience, for example, the door will be automatically unlocked when the owner returns home.
[0124] The following is an embodiment of the device of the present application, which can be used to execute the device wake-up method involved in the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the method embodiment of the device wake-up method involved in the present application.
[0125] See also Fig. 9 In an embodiment of the present application, a device awakening apparatus 900 is provided, including but not limited to: a data acquisition module 910 , a type determination module 930 , and a module awakening module 950 .
[0126] The data acquisition module 910 is used to acquire characteristic data of the target if it is detected that the target is close to the device, and the characteristic data is used to indicate the biological characteristics of the target.
[0127] The type determination module 930 is used to determine the object type of the target according to the biological characteristics of the target indicated by the characteristic data.
[0128] The module awakening module 950 is used to generate a corresponding device awakening instruction based on the target object type, and the device awakening instruction is used to start the associated module of the device.
[0129] It should be noted that the device wake-up device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when waking up the device. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device wake-up device will be divided into different functional modules to complete all or part of the functions described above.
[0130] In addition, the device awakening apparatus and the device awakening method provided in the above embodiments belong to the same concept, wherein the specific manner in which each module performs the operation has been described in detail in the method embodiment and will not be repeated here.
[0131] Fig.10 A schematic diagram of the structure of a device according to an exemplary embodiment. The device is suitable for Figure 1 The device 110 in the implementation environment is shown. The device may be a smart device with associated modules, for example, the smart device specifically refers to a smart device with a face recognition module, a doorbell module, and a camera module.
[0132] It should be noted that the device is only an example adapted to the present application and cannot be considered to provide any limitation on the scope of use of the present application. The device cannot be interpreted as requiring dependence on or having Fig.10 One or more components of exemplary device 2000 are shown.
[0133] The hardware structure of the device 2000 may vary greatly due to differences in configuration or performance, such as Fig.10 As shown, the device 2000 includes: a power supply 210 , an interface 230 , at least one memory 250 , and at least one central processing unit (CPU) 270 .
[0134] Specifically, the power supply 210 is used to provide working voltage for each hardware device on the device 2000 .
[0135] The interface 230 includes at least one wired or wireless network interface for interacting with external devices.
[0136] Of course, in other examples adapted by the present application, the interface 230 may further include at least one serial-to-parallel conversion interface 233, at least one input-output interface 235, and at least one USB interface 237, etc. Fig.10 As shown, this is not intended to be a specific limitation.
[0137] The memory 250 is a carrier for storing resources, which may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 251, an application 253 and data 255, etc. The storage method may be temporary storage or permanent storage.
[0138] Among them, the operating system 251 is used to manage and control the hardware devices and application programs 253 on the device 2000 to enable the central processor 270 to calculate and process the massive data 255 in the memory 250. It can be WindowsServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0139] The application program 253 is a computer program that performs at least one specific task based on the operating system 251, and may include at least one module ( Fig.10 (not shown), each module may respectively include a computer program for the device 2000. For example, the device waking up device may be regarded as an application 253 deployed on the device 2000.
[0140] The data 255 may be photos, pictures, etc. stored in a disk, or may be various detection signals, etc., stored in the memory 250 .
[0141] The central processor 270 may include one or more processors, and is configured to communicate with the memory 250 through at least one communication bus to read the computer program stored in the memory 250, thereby realizing the operation and processing of the mass data 255 in the memory 250. For example, the device wake-up method is completed in the form of the central processor 270 reading a series of computer programs stored in the memory 250.
[0142] In addition, the present application can also be implemented through hardware circuits or hardware circuits combined with software. Therefore, the implementation of the present application is not limited to any specific hardware circuits, software, or a combination of the two.
[0143] See also Fig.11 In an embodiment of the present application, a device 4000 is provided, and the device 400 may include: a smart device with associated modules, for example, the smart device specifically refers to a smart device with a face recognition module, a doorbell module, and a camera module.
[0144] exist Fig.11 In the embodiment, the device 4000 includes at least one processor 4001, at least one communication bus 4002 and at least one memory 4003.
[0145] The processor 4001 and the memory 4003 are connected, such as through a communication bus 4002. Optionally, the device 4000 may further include a transceiver 4004, which may be used for data interaction between the device and other devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the device 4000 does not constitute a limitation on the embodiments of the present application.
[0146] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0147] The communication bus 4002 may include a path to transmit information between the above components. The communication bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0148] The memory 4003 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this.
[0149] The memory 4003 stores a computer program, and the processor 4001 reads the computer program stored in the memory 4003 through the communication bus 4002 .
[0150] When the computer program is executed by the processor 4001 , the device wake-up method in the above-mentioned embodiments is implemented.
[0151] In addition, a storage medium is provided in an embodiment of the present application, on which a computer program is stored. When the computer program is executed by a processor, the device wake-up method in the above embodiments is implemented.
[0152] A computer program product is provided in an embodiment of the present application, the computer program product includes a computer program, the computer program is stored in a storage medium. A processor of a computer device reads the computer program from the storage medium, and the processor executes the computer program, so that the computer device executes the device wake-up method in each of the above embodiments.
[0153] Compared with related technologies, first, the target can be preliminarily identified by the object type of the target determined by the sensing device, which is low-cost and high-efficiency; second, the movement trajectory of the target relative to the device can be determined based on the sensing device, and then the behavior of the target relative to the device can be determined, so as to filter out targets that are away from or passing by the device, so as to achieve the purpose of not having to wake up the associated module; third, based on the biological characteristics of the target determined by the sensing device, targets that are not desired to be photographed are filtered to protect the target's privacy. For example, neighbors do not want to be photographed when passing by the smart door lock, so that the device does not need to maintain a high-power associated module, but maintains a low-power sensing device, which greatly saves the power consumption of the device and can effectively extend the service life of the device.
[0154] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0155] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A device wake-up method, characterized in that: include: If a target is detected to be close to the device, characteristic data of the target is obtained based on a sensor device for measuring temperature and / or distance deployed inside the device, wherein the characteristic data is used to indicate biological characteristics of the target; the biological characteristics of the target include at least one or more of height characteristics, area characteristics, and temperature characteristics; Determine the object type of the target according to the biological characteristics of the target indicated by the characteristic data; the object type of the target is used to indicate the identity of the target; the object type of the target includes a first object type, a second object type and a third object type; the first object type refers to the owner type; the second object type refers to the other person type; the third object type refers to the stranger type; Based on the object type of the target, a corresponding device wake-up instruction is generated, and the device wake-up instruction is used to start the associated module of the device; wherein, If the object type of the target is a first object type, generating a first device wake-up instruction for starting a first type module, the first type module including a biometric feature recognition module associated with the device; If the object type of the target is a second object type, generating a second device wake-up instruction for starting a second type module, wherein the second type module includes a doorbell module associated with the device; If the object type of the target is a third object type, a third device wake-up instruction for starting a third type module is generated, and the third type module includes a camera module associated with the device.
2. The method according to claim 1, characterized in that The acquiring characteristic data of the target includes: Determine a first distance and at least one second distance between the device and the target, respectively, according to a received first distance detection signal and at least one second distance detection signal, wherein a set angle is maintained between a receiving direction of the first distance detection signal and a receiving direction of the second distance detection signal; According to the first distance, at least one of the second distances, and the height of the device, a height feature of the target is calculated as feature data of the target.
3. The method according to claim 1, characterized in that The acquiring characteristic data of the target includes: Determining a first distance between the device and the target based on the received first distance detection signal, and determining a reflection intensity of the target based on the received volume detection signal; According to the reflection intensity of the target at the first distance, an area feature of the target is determined as feature data of the target.
4. The method according to claim 1, characterized in that The step of determining the object type of the target according to the biological feature of the target indicated by the feature data comprises: Searching for a historical feature matching a biological feature of the target in a historical feature library, wherein the historical feature refers to a biological feature of a historical object in the historical feature library, and the object type of the historical object is the first object type; If a matching historical feature is found, the object type of the target is determined to be the first object type.
5. The method according to claim 4, characterized in that Before searching the historical feature library for a historical feature that matches the biological feature of the target, the method further includes: In response to an add instruction for the historical object, determining the historical features of the historical object according to a received detection signal about the historical object, the detection signal comprising at least one of the following: a first distance detection signal, a second distance detection signal, a volume detection signal, and a temperature detection signal; Adding the historical features of the historical object to the historical feature library.
6. The method according to claim 4, characterized in that The step of determining the object type of the target according to the biological feature of the target indicated by the feature data comprises: If no matching historical feature is found, the object type of the target is determined to be the second object type.
7. The method according to claim 1, characterized in that If the object type of the target is the second object type, after generating a second device wake-up instruction for starting a second type module, the method further includes: In response to the second device wake-up instruction for starting the second type module, detecting a trigger operation for the second type module; If the trigger operation is not detected within the first set time period, the object type of the target is determined to be the third object type.
8. The method according to any one of claims 1 to 7, characterized in that If the target is detected to be close to the device, before acquiring the characteristic data of the target, the method further includes: If a target is detected, obtaining trajectory data of the target, the trajectory data being used to indicate a movement trajectory of the target relative to the device; Determining, according to the movement trajectory indicated by the trajectory data, a behavior of the target relative to the device, the behavior comprising a first behavior and a second behavior; If the determined behavior is the first behavior, determining that the target is detected to be close to the device; or If the determined behavior is the second behavior, it is determined that the target is detected to be away from the device.
9. The method according to claim 8, characterized in that The said behavior also includes a third behavior; After determining the behavior of the target relative to the device according to the movement trajectory indicated by the trajectory data, the method further includes: If the determined behavior is the third behavior, determining whether the target exists in the detection area within a second set time period according to the received target detection signal; If yes, it is determined that the target is detected to be close to the device.
10. The method according to claim 8, characterized in that The obtaining of the trajectory data of the target includes: Determine at least two first distances between the device and the target according to at least two first distance detection signals received within a third set time period; A moving trajectory of the target relative to the device is determined according to at least two of the first distances as trajectory data of the target.
11. The method according to claim 8, characterized in that If the target is detected, before obtaining the trajectory data of the target, the method further includes: Determine whether the target exists in the detection area according to the received target detection signal; If the target exists in the detection area, it is determined that the target is detected.
12. A device waking up a device, characterized in that: include: A data acquisition module, configured to acquire characteristic data of the target based on a sensor device for measuring temperature and / or distance deployed inside the device if a target is detected to be close to the device, wherein the characteristic data is used to indicate biological characteristics of the target; the biological characteristics of the target include at least one or more of height characteristics, area characteristics, and temperature characteristics; a type determination module, for determining the object type of the target according to the biological characteristics of the target indicated by the characteristic data; the object type of the target is used to indicate the identity of the target; the object type of the target includes a first object type, a second object type and a third object type; the first object type refers to the owner type; the second object type refers to the other person type; the third object type refers to the stranger type; A module wake-up module is used to generate a corresponding device wake-up instruction based on the object type of the target, and the device wake-up instruction is used to start the associated module of the device; wherein, if the object type of the target is a first object type, a first device wake-up instruction for starting the first type module is generated, and the first type module includes a biometric recognition module associated with the device; if the object type of the target is a second object type, a second device wake-up instruction for starting the second type module is generated, and the second type module includes a doorbell module associated with the device; if the object type of the target is a third object type, a third device wake-up instruction for starting the third type module is generated, and the third type module includes a camera module associated with the device.
13. A device, characterized in that: include: at least one processor, at least one memory, and at least one communication bus, wherein: The memory stores a computer program, and the processor reads the computer program in the memory through the communication bus; When the computer program is executed by the processor, the device wake-up method according to any one of claims 1 to 11 is implemented.
14. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the device wake-up method according to any one of claims 1 to 11 is implemented.
