CN114861152A - Method and device for processing biological characteristic information, electronic equipment and storage medium - Google Patents

Method and device for processing biological characteristic information, electronic equipment and storage medium Download PDF

Info

Publication number
CN114861152A
CN114861152A CN202210614163.3A CN202210614163A CN114861152A CN 114861152 A CN114861152 A CN 114861152A CN 202210614163 A CN202210614163 A CN 202210614163A CN 114861152 A CN114861152 A CN 114861152A
Authority
CN
China
Prior art keywords
information
main processor
scene
processing platform
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210614163.3A
Other languages
Chinese (zh)
Inventor
周欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210614163.3A priority Critical patent/CN114861152A/en
Publication of CN114861152A publication Critical patent/CN114861152A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The application discloses a method and a device for processing biological characteristic information, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. The method is applied to a sensing information aggregation processing platform of the electronic equipment, and the electronic equipment further comprises a main processor, wherein the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state. The method comprises the following steps: the method comprises the steps of acquiring first information acquired through a sensor, caching the first information if the first information comprises biological characteristic information, and awakening a main processor if a scene where the electronic equipment is located meets an information verification scene so as to instruct the main processor to read the first information and verify the first information. According to the method and the device, under the condition that the main processor is in the dormant state, the information is pre-collected and cached through the sensing information aggregation processing platform, the verification processing speed of the subsequent main processor can be improved, and the use experience of a user is improved.

Description

Method and device for processing biological characteristic information, electronic equipment and storage medium
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a method and an apparatus for processing biometric information, an electronic device, and a storage medium.
Background
With the development of science and technology, electronic equipment is more and more widely used and has more and more functions, and the electronic equipment becomes one of the necessary things in daily life of people. At present, when the electronic device performs processing of identifying biometric information, a main processor is generally awakened by event triggering, and then the main processor initiates a series of processes of collecting, processing, identifying and the like of the biometric information, which results in unavoidable time overhead and poor user experience.
Disclosure of Invention
In view of the above problems, the present application provides a method, an apparatus, an electronic device, and a storage medium for processing biometric information to solve the above problems.
In a first aspect, an embodiment of the present application provides a method for processing biometric information, which is applied to a sensing information aggregation processing platform of an electronic device, where the electronic device further includes a main processor, where the sensing information aggregation processing platform is in a normally open state, and the main processor is in a sleep state, and the method includes: acquiring first information acquired by a sensor; if the first information comprises biological characteristic information, caching the first information; and if the scene where the electronic equipment is located meets an information verification scene, waking up the main processor to indicate the main processor to read the first information and verify the first information.
In a second aspect, an embodiment of the present application provides a method for processing biometric information, which is applied to an electronic device, where the electronic device includes a sensing information aggregation processing platform and a main processor, where the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state, and the method includes: the sensing information aggregation processing platform acquires first information acquired by a sensor; if the first information comprises biological characteristic information, caching the first information by the sensing information aggregation processing platform; if the scene where the electronic equipment is located meets an information verification scene, the sensing information aggregation processing platform wakes up the main processor; and the main processor reads the first information and verifies the first information.
In a third aspect, an embodiment of the present application provides a processing apparatus for biometric information, which is applied to a sensing information aggregation processing platform of an electronic device, where the electronic device further includes a main processor, where the sensing information aggregation processing platform is in a normally open state, and the main processor is in a sleep state, and the apparatus includes: the first information acquisition module is used for acquiring first information acquired by a sensor; the first information caching module is used for caching the first information if the first information comprises biological characteristic information; and the main processor awakening module is used for awakening the main processor if the scene where the electronic equipment is located meets an information verification scene so as to indicate the main processor to read the first information and verify the first information.
In a fourth aspect, embodiments of the present application provide an electronic device, including a memory and a processor, the memory being coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the above-mentioned method.
In a fifth aspect, the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
The method and the device for processing the biological characteristic information, the electronic device and the storage medium are applied to a sensing information aggregation processing platform of the electronic device, and the electronic device further comprises a main processor, wherein the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state. The method comprises the steps of acquiring first information acquired through a sensor, caching the first information if the first information comprises biological characteristic information, awakening a main processor if a scene where the electronic equipment is located meets an information verification scene to indicate the main processor to read the first information, and verifying and processing the first information, so that information is pre-acquired and cached through a sensing information aggregation processing platform under the condition that the main processor is in a dormant state, the verification processing speed of a subsequent main processor can be improved, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a method for processing biometric information according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating a processing method of biometric information according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a processing method of biometric information according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a processing method of biometric information according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a processing method of biometric information according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a processing method of biometric information according to an embodiment of the present application;
fig. 7 is a flowchart illustrating a processing method of biometric information according to an embodiment of the present application;
fig. 8 shows a block diagram of a processing apparatus for processing biometric information according to an embodiment of the present application;
fig. 9 is a block diagram of an electronic device for executing a biometric information processing method according to an embodiment of the present application;
fig. 10 shows a storage unit for storing or carrying program codes for implementing a processing method of biometric information according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
At present, most processor chips in middle-high-end electronic equipment support subsystems such as a sensing information aggregation processing platform (such as a Sensor Hub or Smart Engine), and the sensing information aggregation processing platform is generally designed to be low in power consumption and Always work without power loss, and is used for fusing data input of various sensors (such as a gyroscope, a GPS (global positioning system), an Always-On front-facing camera and the like). Because the sensory information aggregation processing platform relates to sensitive data and private data, the sensory information aggregation processing platform is usually designed as an independent and secure isolation subsystem.
In the process of recognizing biometric information such as fingerprints and human faces, a main processor (e.g., an application processor AP, a central processing unit CPU, and the like on a Soc) is awakened by event triggering, and then the main processor initiates a series of processes such as biometric data acquisition, processing, recognition, and the like. The main processor enters the dormant state when not running the task so as to achieve the purpose of reducing power consumption, but the main processor is awakened to have inevitable time overhead, so that the user experience is difficult to further optimize and improve.
The basic ideas of most of the current biological characteristic information identification are as follows: the main processor is awakened by the triggering of events such as human face detection and the like through physical keys or an Always-On camera in a sensing information aggregation processing platform; after the main processor is restored to the running state from the low power consumption state, a data acquisition request to a fingerprint sensor or a front camera sensor is initiated, and meanwhile, the main processor can utilize the multi-core and multi-thread capability to carry out environment preparation such as initialization of a Network Processing Unit (NPU), loading of an Artificial Intelligence (AI) model and the like concurrently; the main processor needs to determine whether the acquired biological data is valid according to a plurality of factors such as picture quality, size, position, light, angle, depth and the like, preprocess the valid biological data, call the NPU to perform model reasoning to obtain biological characteristic data, and obtain an identification result through comparison of a preset template.
In the current biological identification scheme, the sensing information aggregation processing platform only plays a role in detecting and awakening the main processor, data acquisition and preprocessing can be performed only after the main processor is recovered, the characteristics of a safety subsystem of the sensing information aggregation processing platform and the function of preprocessing by using the Always-On camera are not well utilized, even if the flow is further optimized On the main processor, the time overhead of the main processor recovering from a low power consumption state to a running state cannot be absorbed, the data acquisition efficiency is difficult to further optimize, and the experience effect of a user is finally influenced.
In view of the above problems, the inventor has conducted long-term research and found, and has provided a processing method, an apparatus, an electronic device, and a storage medium for biometric information provided in the embodiments of the present application, and by performing information pre-collection and caching through a sensing information aggregation processing platform when a main processor is in a sleep state, a verification processing speed of a subsequent main processor can be increased, and a user experience can be improved. The specific processing method of the biometric information is described in detail in the following examples.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a processing method of biometric information according to an embodiment of the present application. The method is used for pre-collecting and caching information through the sensing information aggregation processing platform under the condition that the main processor is in the dormant state, so that the verification processing speed of the subsequent main processor can be improved, and the use experience of a user is improved. In a specific embodiment, the processing method of the biometric information is applied to the processing apparatus 200 of the biometric information shown in fig. 8 and the sensing information aggregation processing platform of the electronic device 100 configured with the processing apparatus 200 of the biometric information (fig. 9). The specific process of the present embodiment will be described below by taking an electronic device as an example, and it is understood that the electronic device applied in the present embodiment may include a smart phone, a tablet computer, a wearable electronic device, and the like, which is not limited herein. In this embodiment, the electronic device includes a sensing information aggregation processing platform and a main processor, where the sensing information aggregation processing platform is in a normally open state, and the main processor is in a sleep state, and as will be described in detail with reference to the flow shown in fig. 1, the processing method of the biometric information may specifically include the following steps:
step S110: first information acquired by a sensor is acquired.
In this embodiment, the electronic device includes a sensory information aggregation processing platform and a main processor. The sensing information aggregation processing platform may include a Sensor Hub or a Smart Engine, and the main processor may include an AP or a CPU. When no task runs, the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state. As a mode, when the electronic device is in a low power consumption mode such as a screen-off state, the main processor enters a sleep low power consumption state, and the sensing information aggregation processing platform is in a normally open state.
In some embodiments, the sensory information aggregation processing platform may acquire first information collected by the sensor. As a mode, the sensor can be in a normally open state, and then the sensor in the normal state can always perform information acquisition, and when the sensor acquires the first information, the sensing information aggregation processing platform can acquire the first information acquired by the sensor. As another mode, the sensor may be in a sleep state, and when a preset trigger event is detected, the sensor in the running state is switched to the running state from the sleep state, and when the sensor acquires the first information, the sensing information aggregation processing platform may acquire the first information acquired by the sensor.
In some embodiments, the sensor may include a camera (e.g., a front-facing camera of a smartphone). Wherein, this camera can be in normally open state. Based on this, the camera in the normally open state can always acquire images, and when the first information (the first image) is acquired, the sensing information aggregation processing platform can acquire the first information acquired through the camera.
In some embodiments, the sensor may include a receiver (e.g., a microphone of a smartphone). Wherein, the receiver can be in a normally open state. Based on this, the receiver in the normally open state can always perform audio acquisition, and when the first information (first audio) is acquired, the sensing information aggregation processing platform can acquire the first information acquired through the receiver.
In some embodiments, the sensor may include a fingerprint acquisition module (e.g., an off-screen fingerprint acquisition module, a key fingerprint acquisition module). The fingerprint acquisition module can be in a normally open state, and can also be switched to a running state from a dormant state based on touch operation triggered by a user. Based on this, be in normally open state or switch into the fingerprint collection module of running state from the dormancy state and can carry out fingerprint collection, when gathering first information (first fingerprint), then the first information that gathers through the fingerprint collection module can be acquireed to sensing information polymerization processing platform.
Step S120: and if the first information comprises the biological characteristic information, caching the first information.
In this embodiment, the biometric information may include at least one of fingerprint information, voiceprint information, face information, and iris information.
In some embodiments, in the case of acquiring the first information, the sensing information aggregation processing platform may detect whether the first information includes biometric information. If the first information is detected to not include the biological characteristic information, deleting the first information, and if the first information is detected to include the biological characteristic information, caching the first information.
As an implementable manner, in the case that the sensing information aggregation processing platform acquires the first information, whether the first information includes the fingerprint information may be detected. If the first information is detected to not include the fingerprint information, the first information is deleted, and if the first information is detected to include the fingerprint information, the first information is cached.
As another practical implementation manner, in the case that the sensing information aggregation processing platform acquires the first information, it may detect whether the first information includes voiceprint information. If the first information is detected to not include the voiceprint information, deleting the first information, and if the first information is detected to include the voiceprint information, caching the first information.
As another implementable manner, in the case that the sensing information aggregation processing platform acquires the first information, whether the first information includes the face information may be detected. If the first information is detected to not include the face information, deleting the first information, and if the first information is detected to include the face information, caching the first information.
As another practical way, in the case of acquiring the first information, the sensing information aggregation processing platform may detect whether the first information includes iris information. If the first information is detected to not include the iris information, deleting the first information, and if the first information is detected to include the iris information, caching the first information.
Step S130: and if the scene where the electronic equipment is located meets an information verification scene, waking up the main processor to indicate the main processor to read the first information and verify the first information.
In some embodiments, the electronic device may be preset and store an information verification scenario, where the information verification scenario may include, for example, an unlocking scenario, a payment scenario, and the like. Therefore, in this embodiment, after the sensing information aggregation processing platform stores the first information, the sensing information aggregation processing platform may detect a scene where the electronic device is located, and compare the detected scene where the electronic device is located with the information verification scene to determine whether the scene where the electronic device is located satisfies the information verification scene. When it is determined that the scene where the electronic device is located does not satisfy the information verification scene, the scene where the electronic device is located may be continuously detected, and the detected scene where the electronic device is located may be compared with the information verification scene. When the situation that the scene where the electronic device is located meets the information verification scene is determined, the main processor can be awakened to instruct the main processor to read the first information and verify the first information.
As an implementable manner, the electronic device includes a physical key, wherein the physical key is used for triggering lighting of a screen of the electronic device. Therefore, in this embodiment, after the first information is cached, the touch operation acting on the physical key may be detected, for example, a pressing operation acting on the physical key, a clicking operation acting on the physical key, or the like may be detected. When the touch operation acting on the physical key is detected, it can be determined that the user desires to light the screen of the electronic device at the moment to unlock the electronic device, and therefore it can be determined that the scene where the electronic device is located meets the information verification scene.
As another practical way, after the first information is cached, image acquisition may continue to be performed through a front camera of the electronic device, and the acquired image may be analyzed to determine whether the image represents that the user desires to light a screen of the electronic device to unlock the electronic device. When it is determined that the image collected by the front camera represents that the user desires to light a screen of the electronic device to unlock the electronic device, it can be determined that a scene where the electronic device is located meets an information verification scene. For example, when it is determined that an image acquired by the front camera always includes a face image within a preset time period, it may be determined that the image acquired by the front camera represents that a user desires to light a screen of the electronic device to unlock the electronic device; or when it is determined that the user in the image acquired by the front camera is always gazing at the front camera, it may be determined that the image acquired by the front camera represents that the user desires to light a screen of the electronic device to unlock the electronic device.
In some embodiments, after the main processor is awakened, the software and hardware environment of the NPU may be initialized (environment preparation such as initialization of the NPU and loading of the AI model is concurrently performed by using the multi-core and multi-thread capability), the first information is read from the cache, the read first information is processed and then sent to the NPU for AI inference, an inference result is obtained, and the inference result is compared with a preset template file to obtain an identification result. For example, if the recognition result representation inference result matches the preset template file, the electronic device may be unlocked, and if the recognition result representation inference result does not match the preset template file, the electronic device may not be unlocked.
In some embodiments, if the scene where the electronic device is located meets the information verification scene, the main processor is awakened and the first information is preprocessed to obtain preprocessed information, so that the main processor is instructed to read the preprocessed information and verify the preprocessed information. The method for preprocessing the cached first information through the sensing information aggregation processing platform is characterized in that the process of processing by the main processor is preceded by the sensing information aggregation processing platform, the efficiency of verifying and processing by the subsequent main processor can be improved, and the use experience of a user can be further improved. As an implementable manner, when the main processor is woken up, the main processor may recover from low power consumption to a normal operating state, wherein, in the process of recovering from low power consumption by the main processor, the sensing information aggregation processing platform may perform preprocessing on the cached first information, for example, perform size clipping, format conversion, and the like on the first information, which is not limited herein.
According to the method for processing the biological characteristic information, the first information collected through the sensor is obtained, if the first information comprises the biological characteristic information, the first information is cached, if the scene where the electronic device is located meets the information verification scene, the main processor is awakened to indicate the main processor to read the first information, and the first information is verified, so that the information is pre-collected and cached through the sensing information aggregation processing platform under the condition that the main processor is in the dormant state, the verification processing speed of the subsequent main processor can be improved, and the use experience of a user is improved.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating a processing method of biometric information according to an embodiment of the present application. The method is applied to a sensing information aggregation processing platform of the electronic equipment, and the electronic equipment further comprises a main processor, wherein the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state. As will be described in detail with respect to the flow shown in fig. 2, the processing method of the biometric information may specifically include the following steps:
step S210: first information acquired by a sensor is acquired.
For detailed description of step S210, please refer to step S110, which is not described herein again.
Step S220: and if the first information comprises the biological characteristic information, caching the first information to a target storage space in the sensing information aggregation processing platform.
In some embodiments, the sensing information aggregation processing platform includes a target storage space therein, where the target storage space may be used to cache content processed by the sensing information aggregation processing platform, for example, the target storage space may be a random access memory RAM inside the sensing information aggregation processing platform.
In some embodiments, in the case of acquiring the first information, the sensing information aggregation processing platform may detect whether the first information includes biometric information. If the first information is detected to include the biological characteristic information, caching the first information to a target storage space in the sensing information aggregation processing platform.
Step S230: if the scene where the electronic equipment is located meets an information verification scene, waking up the main processor and moving the first information from the target storage space to a target memory so as to instruct the main processor to read the first information from the target memory and verify the first information.
Since the target storage space is an internal storage space of the sensing information aggregation processing platform, the main processor cannot access the sensing information aggregation processing platform, and therefore, when it is determined that the scene where the electronic device is located satisfies the information verification scene, the first information can be moved from the target storage space to a secure memory (target memory) that can be accessed by the main processor, so that the main processor can read the first information from the target memory and process the first information.
In some embodiments, a scene in which the electronic device is located may be detected, and the detected scene in which the electronic device is located may be compared with an information verification scene to determine whether the scene in which the electronic device is located satisfies the information verification scene. When the situation that the scene where the electronic device is located meets the information verification scene is determined, the main processor can be awakened and the first information is moved from the target storage space to a target memory which can be accessed by the main processor, so that the main processor is instructed to read the first information from the target memory and verify the first information.
The method for processing the biological characteristic information, provided by an embodiment of the application, includes acquiring first information acquired through a sensor, caching the first information to a target storage space in a sensing information aggregation processing platform if the first information includes the biological characteristic information, and waking up a main processor and moving the first information from the target storage space to a target memory if a scene where an electronic device is located meets an information verification scene, so as to instruct the main processor to read the first information from the target memory and verify the first information. Compared with the processing method of the biometric information shown in fig. 1, the embodiment also caches the acquired information to the target storage space in the sensing information aggregation processing platform in advance, so that the effect of information preprocessing can be improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a processing method of biometric information according to an embodiment of the present application. The method is applied to a sensing information aggregation processing platform of the electronic equipment, and the electronic equipment further comprises a main processor, wherein the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state. As will be described in detail with respect to the flow shown in fig. 3, the processing method of the biometric information may specifically include the following steps:
step S310: first information acquired by a sensor is acquired.
Step S320: and if the first information comprises the biological characteristic information, caching the first information.
Step S330: if the scene of the electronic equipment meets the information verification scene, the main processor is waken up and the first information is moved to a target memory from the target storage space so as to indicate the main processor to read the first information from the target memory and verify the first information.
For the detailed description of steps S310 to S330, refer to steps S110 to S130, which are not described herein again.
Step S340: and if the main processor does not read the first information within a preset time length, deleting the first information.
In some embodiments, the electronic device may preset and store a preset duration, where the preset duration is used as a criterion for determining a duration for which the first information is read by the main processing. Therefore, in this embodiment, when the first information is cached, statistics may be performed on whether the first information is read by the main processor and the duration of the corresponding cache.
If it is determined that the main processor does not read the first information within the preset time period, it is characterized that the main processor is not wakened (i.e., is in a sleep state all the time), or it is characterized that the user does not desire to verify the biometric information, the first information may be deleted in order to reduce the storage pressure of the electronic device and improve the security of the biometric information, for example, the first information may be deleted from the sensing information aggregation processing platform.
The method for processing the biological characteristic information includes the steps of obtaining first information collected through a sensor, caching the first information if the first information includes the biological characteristic information, waking up a main processor and moving the first information from a target storage space to a target memory if a scene where the electronic device is located meets an information verification scene to indicate the main processor to read the first information from the target memory, verifying the first information, and deleting the first information if the main processor does not read the first information within a preset time period. Compared with the method for processing the biometric information shown in fig. 1, in this embodiment, the first information is also deleted when the main processor does not read the first information within the preset time duration, so as to release the storage space of the electronic device and improve the performance of the electronic device.
Referring to fig. 4, fig. 4 is a flowchart illustrating a processing method of biometric information according to an embodiment of the present application. The method is applied to a sensing information aggregation processing platform of the electronic equipment, and the electronic equipment further comprises a main processor, wherein the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state. As will be described in detail with respect to the flow shown in fig. 4, the processing method of the biometric information may specifically include the following steps:
step S410: first information acquired by a sensor is acquired.
Step S420: and if the first information comprises the biological characteristic information, caching the first information.
Step S430: if the scene where the electronic equipment is located meets an information verification scene, waking up the main processor and moving the first information from the target storage space to a target memory so as to instruct the main processor to read the first information from the target memory and verify the first information.
For detailed description of steps S410 to S430, please refer to steps S110 to S130, which are not described herein again.
Step S440: second information acquired by the sensor is acquired.
In the process that the sensor collects the first information and delivers the first information to the sensing information aggregation processing platform for processing, information collection can be continued, for example, second information can be collected continuously, and the sensing information aggregation processing platform can acquire the second information collected by the sensor.
In some embodiments, the sensor that collects the first information and the sensor that collects the second information may be the same, for example, the sensor that collects the first information may be a front-facing camera and the sensor that collects the second information may be a front-facing camera; gather the sensor of first information and gather the sensor of second information and can be different, for example, gather the sensor of first information and can be leading camera, gather the sensor of second information and can gather the module for the fingerprint.
In some embodiments, the type of the collected first information and the type of the collected second information may be the same, for example, the collected first information is face image information, and the collected second information is face image information; the type of the collected first information and the type of the collected second information may be different, for example, the collected first information is face image information, and the type of the collected second information is fingerprint information.
Step S450: if the second information comprises the biological characteristic information, updating the cached information from the first information to the second information.
In some embodiments, in the case of acquiring the second information, the sensing information aggregation processing platform may detect whether the second information includes the biometric information. If it is detected that the second information does not include the biometric information, the first information may be kept cached and the second information may be deleted, and if it is detected that the second information includes the biometric information, the cached information may be updated from the first information to the second information.
The method for processing the biological characteristic information, provided by an embodiment of the application, includes acquiring first information acquired through a sensor, caching the first information if the first information includes the biological characteristic information, waking up a main processor and moving the first information from a target storage space to a target memory if a scene where an electronic device is located meets an information verification scene to instruct the main processor to read the first information from the target memory, performing verification processing on the first information, acquiring second information acquired through the sensor, and updating the cached information from the first information to the second information if the second information includes the biological characteristic information. Compared with the processing method of the biometric information shown in fig. 1, in the embodiment, when the second information including the biometric information is acquired in the process of caching the first information, the second information is switched to cache the second information, so that the real-time performance and the accuracy of the cached information can be improved.
Referring to fig. 5, fig. 5 is a flowchart illustrating a processing method of biometric information according to an embodiment of the present application. The method is applied to a sensing information aggregation processing platform of the electronic equipment, and the electronic equipment further comprises a main processor, wherein the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state. As will be described in detail with respect to the flow shown in fig. 5, the processing method of the biometric information may specifically include the following steps:
step S510: first information acquired by a sensor is acquired.
For details of step S510, refer to step S110, which is not described herein again.
Step S520: and if the first information comprises the biological characteristic information, the first information is encrypted and signed and then cached.
The biometric information belongs to non-reproducible important sensitive data, so that in this embodiment, the sensing information aggregation processing platform can support functions of encrypting and signing the biometric information, and can further guarantee the security and confidentiality of the biometric information.
In some embodiments, if it is determined that the first information includes biometric information, the first information may be considered to be important sensitive data that is not reproducible, and therefore, the first information may be cached after being encrypted and signed. Accordingly, when the main processor reads the first information, the main processor can check and decrypt the read information, so that the safety and confidentiality of the first information can be improved.
Step S530: and if the scene where the electronic equipment is located meets an information verification scene, waking up the main processor to indicate the main processor to read the first information and verify the first information.
For detailed description of step S530, please refer to step S130, which is not described herein again.
The method for processing the biological characteristic information, provided by the embodiment of the application, includes the steps of obtaining first information collected through a sensor, if the first information includes the biological characteristic information, conducting encryption and signature processing on the first information, then caching the first information, and if a scene where the electronic device is located meets an information verification scene, waking up a main processor to indicate the main processor to read the first information and conduct verification processing on the first information. Compared with the processing method of the biometric information shown in fig. 1, the embodiment can also encrypt and sign the information on the sensing information aggregation processing platform, so that the security of information verification can be improved.
Referring to fig. 6, fig. 6 is a flowchart illustrating a processing method of biometric information according to an embodiment of the present application. The method is applied to the electronic equipment, and the electronic equipment comprises a sensing information aggregation processing platform and a main processor, wherein the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state. As will be described in detail with respect to the flow shown in fig. 6, the processing method of the biometric information may specifically include the following steps:
step S610: the sensing information aggregation processing platform acquires first information acquired through a sensor.
Step S620: and if the first information comprises biological characteristic information, caching the first information by the sensing information aggregation processing platform.
Step S630: and if the scene where the electronic equipment is located meets an information verification scene, the sensing information aggregation processing platform wakes up the main processor.
Step S640: and the main processor reads the first information and verifies the first information.
For the detailed description of steps S610 to S640, refer to steps S110 to S130, which are not described herein again.
In the method for processing biometric information provided in an embodiment of the application, the sensing information aggregation processing platform acquires first information acquired through a sensor, if the first information includes biometric information, the sensing information aggregation processing platform caches the first information, if a scene where the electronic device is located meets an information verification scene, the sensing information aggregation processing platform wakes up the main processor, the main processor reads the first information and verifies the first information, and therefore, when the main processor is in a dormant state, the sensing information aggregation processing platform performs information pre-acquisition and caching, the verification processing speed of a subsequent main processor can be increased, and the use experience of a user is improved.
Referring to fig. 7, fig. 7 is a flowchart illustrating a processing method of biometric information according to an embodiment of the present application. The method is applied to the electronic equipment, and the electronic equipment comprises a sensing information aggregation processing platform and a main processor, wherein the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state. As will be described in detail with respect to the flow shown in fig. 7, the processing method of the biometric information may specifically include the following steps:
step S710: the sensing information aggregation processing platform acquires first information acquired through a sensor.
Step S720: and if the first information comprises biological characteristic information, caching the first information by the sensing information aggregation processing platform.
Step S730: and if the scene where the electronic equipment is located meets an information verification scene, the sensing information aggregation processing platform wakes up the main processor.
For the detailed description of steps S710 to S730, refer to steps S110 to S130, which are not described herein again.
Step S740: and the main processor reads the first information and detects the first information.
In this embodiment, when the main processor is woken up, the main processor may read the first information and detect the read first information. In some embodiments, the host processor may detect the validity of the first information. As a practical way, the main processor may detect multiple factors such as quality, size, position, light, angle, depth, etc. of the first information to obtain the validity of the first information.
Step S750: and if the first information is detected to meet a preset validity condition, verifying the first information.
In some embodiments, the electronic device may preset and store a preset validity condition, where the preset validity condition is used as a criterion for determining the validity of the detected first information. Therefore, in this embodiment, when the validity of the first information is detected, the validity of the first information may be compared with a preset validity condition to determine whether the validity of the first information satisfies the preset validity condition.
If the first information is determined not to meet the preset validity condition, the main processor does not verify the first information; and if the first information is determined to meet the preset validity condition, the main processor verifies the first information.
For example, if it is determined that the quality of the first information meets a preset quality, the size meets a preset size, the position meets a preset position, the light meets a preset light, the angle meets a preset angle, and/or the depth meets a preset depth, the first information may be verified.
Step S760: and if the first information is detected not to meet the preset validity condition, controlling the sensor to acquire information.
In some embodiments, if it is detected that the first information does not satisfy the preset validity condition, the main processor may reinitiate the collection and processing flow of the biometric information to ensure the feasibility of the collection and processing verification of the biometric information.
In this embodiment, if it is detected that the first information does not satisfy the preset validity condition, the main processor may control the sensor to perform information acquisition, for example, the main processor may start data acquisition to the fingerprint sensor or the front camera, so as to control the fingerprint sensor or the front camera to perform information acquisition.
Step S770: and acquiring third information acquired by the sensor, and detecting the third information.
In this embodiment, when the sensor acquires the third information, the main processor may acquire the third information acquired by the sensor and detect the third information. In some embodiments, the host processor may check the validity of the third information. As a practical way, the main processor may detect multiple factors such as quality, size, position, light, angle, depth, etc. of the third information to obtain the validity of the first information.
Step S780: and if the third information is detected to meet the preset validity condition, verifying the third information.
If the third information is determined not to meet the preset validity condition, the main processor does not verify the third information; and if the third information is determined to meet the preset validity condition, the main processor verifies the third information.
For example, if it is determined that the quality of the third information satisfies a predetermined quality, the size satisfies a predetermined size, the position satisfies a predetermined position, the light satisfies a predetermined light, the angle satisfies a predetermined angle, and/or the depth satisfies a predetermined depth, the third information may be verified.
In the method for processing biometric information provided in an embodiment of the present application, the sensing information aggregation processing platform obtains first information collected by the sensor, and if the first information includes biometric information, the sensing information aggregation processing platform caches the first information, if the scene where the electronic device is located meets the information verification scene, the sensing information aggregation processing platform wakes up the main processor, the main processor reads the first information and detects the first information, if the first information is detected to meet the preset validity condition, the first information is verified, if the first information is detected not to satisfy the preset validity condition, and controlling the sensor to acquire information, acquiring third information acquired by the sensor, detecting the third information, and verifying the third information if the third information meets the preset validity condition. Compared with the processing method of the biometric information shown in fig. 6, in this embodiment, when the pre-stored information does not conform to the validity, the main processor initiates the information collection and processing flow again, so that the success rate of information processing verification can be improved.
Referring to fig. 8, fig. 8 is a block diagram illustrating a processing apparatus for processing biometric information according to an embodiment of the present application. The processing apparatus 200 for biometric information is applied to a sensing information aggregation processing platform of the electronic device, and the electronic device further includes a main processor, wherein the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state. As will be explained below with respect to the block diagram shown in fig. 8, the processing apparatus 200 for biometric information includes: a first information obtaining module 210, a first information caching module 220, and a main processor waking module 230, wherein:
the first information acquiring module 210 is configured to acquire first information acquired by a sensor.
The first information caching module 220 is configured to cache the first information if the first information includes biometric information.
Further, the first information caching module 220 includes: a first cache submodule, wherein:
the first cache submodule is used for caching the first information into a target storage space in the sensing information aggregation processing platform if the first information comprises biological characteristic information.
Further, the first information caching module 220 includes: a second cache submodule, wherein:
and the second cache submodule is used for carrying out encryption and signature processing on the first information and then caching the first information if the first information comprises biological characteristic information.
A main processor waking module 230, configured to wake up the main processor if a scene where the electronic device is located meets an information verification scene, so as to instruct the main processor to read the first information and perform verification processing on the first information.
Further, the main processor wake-up module 230 includes: the first main processor wakes up the sub-module, wherein:
and the first main processor awakening submodule is used for awakening the main processor and moving the first information from the target storage space to a target memory if the scene where the electronic equipment is located meets an information verification scene so as to indicate the main processor to read the first information from the target memory and verify the first information.
Further, the main processor wake-up module 230 includes: the second main processor wakes up the sub-module, wherein:
and the second main processor awakening submodule is used for awakening the main processor and preprocessing the first information to obtain preprocessed information if the scene where the electronic equipment is located meets an information verification scene so as to indicate the main processor to read the preprocessed information and verify the preprocessed information.
Further, the processing apparatus 200 for biometric information further includes: a first information deletion module, wherein:
and the first information deleting module is used for deleting the first information if the main processor does not read the first information within a preset time length.
Further, the processing apparatus 200 for biometric information further includes: a second information acquisition module and an information update module, wherein:
and the second information acquisition module is used for acquiring second information acquired by the sensor.
And the information updating module is used for updating the cached information from the first information to the second information if the second information comprises the biological characteristic information.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 9, a block diagram of an electronic device 100 according to an embodiment of the present disclosure is shown. The electronic device 100 may be a smart phone, a tablet computer, an electronic book, or other electronic devices capable of running an application. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
Processor 110 may include one or more processing cores, among other things. The processor 110 connects various parts within the overall electronic device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content to be displayed; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area may also store data created by the electronic device 100 during use (e.g., phone book, audio-video data, chat log data), and the like.
Referring to fig. 10, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 300 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 300 includes a non-volatile computer-readable storage medium. The computer readable storage medium 300 has storage space for program code 310 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 310 may be compressed, for example, in a suitable form.
To sum up, the processing method and apparatus for biometric information, the electronic device and the storage medium provided in the embodiments of the present application are applied to a sensing information aggregation processing platform of the electronic device, and the electronic device further includes a main processor, where the sensing information aggregation processing platform is in a normally open state and the main processor is in a sleep state. The method comprises the steps of acquiring first information acquired through a sensor, caching the first information if the first information comprises biological characteristic information, awakening a main processor if a scene where the electronic equipment is located meets an information verification scene to indicate the main processor to read the first information, and verifying and processing the first information, so that information is pre-acquired and cached through a sensing information aggregation processing platform under the condition that the main processor is in a dormant state, the verification processing speed of a subsequent main processor can be improved, and the use experience of a user is improved.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (12)

1. The method for processing the biological characteristic information is applied to a sensing information aggregation processing platform of an electronic device, wherein the electronic device further comprises a main processor, wherein the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state, and the method comprises the following steps:
acquiring first information acquired through a sensor;
if the first information comprises biological characteristic information, caching the first information;
and if the scene where the electronic equipment is located meets an information verification scene, waking up the main processor to indicate the main processor to read the first information and verify the first information.
2. The method of claim 1, wherein caching the first information if the first information comprises biometric information comprises:
if the first information comprises biological characteristic information, caching the first information to a target storage space in the sensing information aggregation processing platform;
if the scene where the electronic device is located meets an information verification scene, waking up the main processor to instruct the main processor to read the first information and verify the first information, wherein the steps of:
if the scene where the electronic equipment is located meets an information verification scene, waking up the main processor and moving the first information from the target storage space to a target memory so as to instruct the main processor to read the first information from the target memory and verify the first information.
3. The method according to claim 1, wherein if the scene where the electronic device is located satisfies an information verification scene, waking up the main processor to instruct the main processor to read the first information and perform verification processing on the first information, including:
if the scene of the electronic equipment meets an information verification scene, waking up the main processor and preprocessing the first information to obtain preprocessed information so as to instruct the main processor to read the preprocessed information and verify the preprocessed information.
4. The method of any of claims 1-3, wherein after caching the first information if the first information comprises biometric information, the method further comprises:
and if the main processor does not read the first information within a preset time length, deleting the first information.
5. The method of any of claims 1-3, wherein after caching the first information if the first information comprises biometric information, the method further comprises:
acquiring second information acquired by a sensor;
if the second information comprises the biological characteristic information, updating the cached information from the first information to the second information.
6. The method according to any of claims 1-3, wherein caching the first information if the first information includes biometric information comprises:
and if the first information comprises the biological characteristic information, the first information is encrypted and signed and then cached.
7. The method for processing the biological characteristic information is applied to an electronic device, wherein the electronic device comprises a sensing information aggregation processing platform and a main processor, wherein the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state, and the method comprises the following steps:
the sensing information aggregation processing platform acquires first information acquired through a sensor;
if the first information comprises biological characteristic information, caching the first information by the sensing information aggregation processing platform;
if the scene where the electronic equipment is located meets an information verification scene, the sensing information aggregation processing platform wakes up the main processor;
and the main processor reads the first information and verifies the first information.
8. The method of claim 7, wherein the host processor reads the first information and performs an authentication process on the first information, comprising:
the main processor reads the first information and detects the first information;
and if the first information is detected to meet the preset validity condition, the main processor verifies the first information.
9. The method of claim 8, further comprising:
if the first information is detected not to meet the preset validity condition, the main processor controls the sensor to acquire information;
the main processor acquires third information acquired by the sensor and detects the third information;
and if the third information is detected to meet the preset validity condition, the main processor verifies the third information.
10. The device for processing the biological characteristic information is applied to a sensing information aggregation processing platform of an electronic device, the electronic device further comprises a main processor, wherein the sensing information aggregation processing platform is in a normally open state, and the main processor is in a dormant state, and the device comprises:
the first information acquisition module is used for acquiring first information acquired by a sensor;
the first information caching module is used for caching the first information if the first information comprises biological characteristic information;
and the main processor awakening module is used for awakening the main processor if the scene where the electronic equipment is located meets an information verification scene so as to indicate the main processor to read the first information and verify the first information.
11. An electronic device comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-9.
12. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 9.
CN202210614163.3A 2022-05-31 2022-05-31 Method and device for processing biological characteristic information, electronic equipment and storage medium Pending CN114861152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210614163.3A CN114861152A (en) 2022-05-31 2022-05-31 Method and device for processing biological characteristic information, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210614163.3A CN114861152A (en) 2022-05-31 2022-05-31 Method and device for processing biological characteristic information, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114861152A true CN114861152A (en) 2022-08-05

Family

ID=82641616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210614163.3A Pending CN114861152A (en) 2022-05-31 2022-05-31 Method and device for processing biological characteristic information, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114861152A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111316199A (en) * 2018-10-16 2020-06-19 华为技术有限公司 Information processing method and electronic equipment
JP2022044819A (en) * 2017-04-26 2022-03-17 華為技術有限公司 Method for activation device and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022044819A (en) * 2017-04-26 2022-03-17 華為技術有限公司 Method for activation device and device
CN111316199A (en) * 2018-10-16 2020-06-19 华为技术有限公司 Information processing method and electronic equipment

Similar Documents

Publication Publication Date Title
US9396380B2 (en) Finger print sensor and auxiliary processor integration in an electronic device
US11328044B2 (en) Dynamic recognition method and terminal device
WO2018165942A1 (en) Terminal device and fingerprint recognition method
CN107545166B (en) Biometric identification method and related product
CN108804006B (en) Unlocking method, device, equipment and storage medium for wearable equipment
CN103856614A (en) Method and device for avoiding error hibernation of mobile terminal
US20200057882A1 (en) Method and system for unlocking electronic cigarette
US20240005695A1 (en) Fingerprint Recognition Method and Electronic Device
WO2022048319A1 (en) Switching method and apparatus for multiple user accounts, electronic device, and storage medium
US11881011B2 (en) Fingerprint anti-counterfeiting method and electronic device
CN109448198A (en) A kind of face fingerprint recognition intelligent door lock control system
CN113888159A (en) Opening method of function page of application and electronic equipment
CN111508493A (en) Voice wake-up method and device, electronic equipment and storage medium
WO2019085761A1 (en) Fingerprint recognition method and terminal device
CN113196236A (en) Cross-device authentication method and electronic device
CN110647732B (en) Voice interaction method, system, medium and device based on biological recognition characteristics
CN111105792A (en) Voice interaction processing method and device
CN112580472A (en) Rapid and lightweight face recognition method and device, machine readable medium and equipment
CN107895108B (en) Operation management method and mobile terminal
CN108932486A (en) Finger print matching method, device and electronic device
CN114861152A (en) Method and device for processing biological characteristic information, electronic equipment and storage medium
CN107944242B (en) Biological identification function disabling method and mobile terminal
US11120284B2 (en) Startup authentication method for intelligent terminal
CN108650398B (en) Task execution method and mobile terminal
CN113468917A (en) Fingerprint verification method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination