Biometric information identification method and apparatus, electronic device, and storage medium

By determining the target camera based on historical usage information in biometric identification equipment, unnecessary camera use is reduced, the problem of short battery life of biometric identification equipment is solved, the battery life is extended and usage scenarios are expanded.

WO2024222390A1PCT designated stage expired Publication Date: 2024-10-31TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/085155
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-27
Filing Date
2024-04-01
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Biometric identification equipment uses multiple sets of identification devices continuously for a long time, resulting in high power consumption and short battery life, which limits its use scenarios.

Method used

Based on the historical usage information of the biometric identification device, the target camera is determined and only the target camera is used for subsequent image collection, thereby reducing the long-term continuous use of the camera and improving the battery life of battery-powered equipment.

Benefits of technology

It extends the battery life of biometric information recognition equipment, expands its use scenarios, and reduces power consumption by rationally selecting camera types and usage modes while ensuring recognition accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024085155_31102024_PF_FP_ABST
    Figure CN2024085155_31102024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a biometric information identification method and apparatus, an electronic device, and a storage medium. The biometric information identification method comprises: on the basis of historical use information of a biometric information identification device, determining a target camera corresponding to the biometric information identification device; capturing identifying biometric information of a target subject by using the target camera, and obtaining a target biometric information image comprising the identifying biometric information; performing image identification processing on the target biometric information image, and obtaining subject identity information corresponding to the identifying biometric information therein; and providing a target service for the target subject on the basis of the subject identity information. According to the embodiments of the present application, the long-time continuous use of some cameras can be reduced, which is beneficial to improving the battery life of a biometric information identification device which uses a battery to supply power, and increases the usage scenarios of the biometric information identification device.
Need to check novelty before this filing date? Find Prior Art

Description

Biometric information recognition method, device, electronic device and storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 27, 2023, with application number 2023104816728 and application name “Biometric Information Identification Method, Device, Electronic Device and Storage Medium”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of computers, and in particular to biometric information recognition technology. Background Art

[0003] In recent years, service models that provide users with corresponding services (such as payment services) based on their biometric information have become increasingly common. Battery-powered biometric information recognition devices are also becoming increasingly common.

[0004] However, in practice, biometric identification devices typically use multiple sets of recognition devices to continuously perform biometric identification for extended periods of time. This process consumes a lot of power, resulting in a shorter battery life for battery-powered biometric identification devices, limiting their use cases.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a biometric information recognition method, apparatus, electronic device, and storage medium, which can extend the battery life of battery-powered biometric information recognition devices, thereby helping to expand the use scenarios of such biometric information recognition devices.

[0007] An embodiment of the present application provides a biometric information recognition method, which is performed by an electronic device. The method includes:

[0008] Determining a target camera corresponding to the biometric information recognition device based on historical usage information of the biometric information recognition device, where the target camera is a camera on the biometric information recognition device used to collect biometric information images based on which target services are provided;

[0009] Using the target camera to shoot the identification biological information of the target object to obtain a target biological information image including the identification biological information;

[0010] Performing image recognition processing based on the target biometric information image to obtain object identity information corresponding to the identifying biometric information therein;

[0011] Based on the object identity information, the target service is provided for the target object.

[0012] The present application also provides a biometric information recognition device, comprising:

[0013] a camera determination unit, configured to determine a target camera corresponding to the biometric information recognition device based on historical usage information of the biometric information recognition device, wherein the target camera is a camera on the biometric information recognition device used to collect biometric information images based on which target services are provided;

[0014] an image acquisition unit, configured to capture the target object's identifying biological information using the target camera, and obtain a target biological information image including the identifying biological information;

[0015] an identity information obtaining unit, configured to perform image recognition processing based on the target biometric information image to obtain the object identity information corresponding to the identifying biometric information therein;

[0016] A service providing unit is configured to provide the target service for the target object based on the object identity information.

[0017] An embodiment of the present application also provides an electronic device, including a processor and a memory, wherein the memory stores multiple instructions; the processor loads instructions from the memory to execute the steps in the above-mentioned biometric information recognition method.

[0018] An embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions suitable for loading by a processor to execute the steps in the above-mentioned biometric information recognition method.

[0019] An embodiment of the present application further provides a computer program product, including a computer program / instruction, which implements the steps in the above-mentioned biometric information recognition method when executed by a processor.

[0020] In the biometric identification method provided in the embodiments of the present application, a target camera of the biometric identification device can be determined based on the device's historical usage information. The determined target camera is then used to capture and process biometric information that uniquely identifies the target subject, generating a corresponding target biometric image. Image recognition processing is then performed on the target biometric image to obtain the corresponding subject identity information. Based on this subject identity information, a targeted service is then provided to the target subject.

[0021] In an embodiment of the present application, a target camera can be determined based on the historical usage information of the biometric information recognition device, and identification biometric information can be captured based on the determined target camera to facilitate subsequent image recognition processing and service processes. Compared with the prior art method of simultaneously activating multiple sets of recognition devices to continuously perform biometric information recognition for a long time, the embodiment of the present application can reduce the long-term continuous use of some cameras. That is, based on the historical usage information of the biometric information recognition device, some cameras are determined to be target cameras, and only the target cameras are used for subsequent image acquisition. This helps to improve the battery life of the battery-powered biometric information recognition device and expand the use scenarios of the biometric information recognition device. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] FIG1a is a schematic diagram of a usage scenario of a biometric information recognition method provided in an embodiment of the present application;

[0023] FIG1b shows a block diagram of the interaction between a biometric information recognition device and a server;

[0024] FIG1c shows a timing diagram of the interaction between the biometric information recognition device and the server;

[0025] FIG1d is a schematic diagram of a process of a biometric information recognition method according to an embodiment of the present application;

[0026] FIG2 is a flow chart of a biometric information recognition method according to another embodiment of the present application;

[0027] FIG3 is a schematic structural diagram of a biometric information recognition device provided in one embodiment of the present application;

[0028] FIG4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0030] Embodiments of the present application provide a biometric information recognition method, apparatus, electronic device, and storage medium.

[0031] The biometric information recognition device can be integrated into an electronic device, such as a terminal or server. The terminal can be a mobile phone, tablet computer, smart Bluetooth device, laptop computer, or personal computer (PC), or a smart device with computing capabilities. The server can be a standalone server, a server cluster consisting of multiple servers, or a cloud server.

[0032] In some embodiments, the biometric information recognition device can also be integrated into multiple electronic devices. For example, the biometric information recognition device can be integrated into multiple servers, and the biometric information recognition method of the present application can be implemented by multiple servers.

[0033] In some embodiments, the server may also be implemented in the form of a terminal.

[0034] Please refer to Figure 1a. The method provided in the embodiment of the present application includes: determining the target camera corresponding to the biometric information recognition device based on the historical usage information of the biometric information recognition device, where the target camera is a camera on the biometric information recognition device used to collect the biometric information image based on which the target service is provided; using the target camera to shoot the target's identifying biometric information to obtain a target biometric information image corresponding to the identifying biometric information; performing image recognition processing on the target biometric information image to obtain the object identity information corresponding to the identifying biometric information therein; and providing the target service for the target object based on the object identity information.

[0035] The above method determines the target camera based on the historical usage information of the biometric information recognition device, and then uses the determined target camera to capture the biometric information to facilitate the subsequent image recognition processing and payment settlement process. This embodiment of the application can reduce the long-term continuous use of some cameras, avoid the reduction in battery life caused by the simultaneous use of multiple cameras, and expand the use scenarios of biometric information recognition devices.

[0036] Please refer to FIG. 1 b , which shows a schematic module diagram of the interaction between the biometric information recognition device 10 and the server 20 .

[0037] The biometric information recognition device 10 includes a system-on-chip (SoC) 11 (System on Chip, referred to as SoC) with an integrated operating system (OS) and a camera module 12. The operating system can be either Android or iOS, and the specific type of operating system should not be construed as a limitation of this application.

[0038] The camera module 12 includes a color camera 12A, an infrared camera 12B, and an adjustment motor 12C.

[0039] The color camera 12A is used to accurately determine the color of the target object surface based on the R (Red), G (Green), and B (Blue) ratios of the reflected light, thereby obtaining a color image of the target object. The color camera 12A can specifically be a color sensor.

[0040] The infrared camera 12B is used to detect the infrared energy of the target and form an image according to the temperature distribution of the target. The infrared camera 12B can be specifically an infrared sensor.

[0041] The adjustment motor 12C is used to adjust the focal length of the color camera or the infrared camera. The adjustment motor 12C can be specifically a voice coil motor.

[0042] A biometric information recognition application (APP) runs in the system-on-chip 11. The APP integrates a recognition module 11A, a policy management module 11B, a device scheduling module 11C, and a local database module 11D.

[0043] The recognition module 11A can operate in two modes: scanning biometric information and scanning electronic codes (such as QR codes). The two modes correspond to different focal lengths due to the different objects being recognized. This focal length adjustment is achieved through the adjustment motor 12C within the camera module 12.

[0044] If the recognition module 11A operates in a biometric information scanning mode, the recognition module 11A can specifically obtain a video clip captured by the camera that includes identifying biometric information, select the best biometric information picture from the video clip, and then perform image recognition on the biometric information picture to obtain the corresponding user identity information, so as to subsequently provide corresponding services (such as payment services, etc.) based on the user identity information.

[0045] If the recognition module 11A operates in the working mode of scanning the electronic code, the recognition module 11A obtains the electronic code and sends the electronic code to the identification code parsing component for parsing, thereby providing corresponding services based on the parsed information.

[0046] Policy management module 11B is configured to receive management policies issued by server 20, convert them into instruction information, and transmit the instruction information to device scheduling module 11C. Specifically, the management policy may include determining target cameras based on the number and amount of transactions within a first historical time period, whether the database size corresponding to the biometric information recognition device meets preset requirements, and the presence of staff at the site where the biometric information recognition device 10 is located. This will be described in detail below.

[0047] The device scheduling module 11C is used to schedule corresponding camera components to start or stop working based on the instruction information sent by the policy management module 11B.

[0048] The local database module 11D is used to store biometric information related data and management policies issued by the server 20. The database may be a SQLite database.

[0049] The application programs running in the server 20 are integrated with: a service module 21 , a biometric recognition module 22 , and a policy generation module 23 .

[0050] The service module 21 is used to communicate with the corresponding service providing device after determining the corresponding user identity information, so as to assist in providing the corresponding service to the user.

[0051] Biometric recognition module 22 is used to perform a biometric recognition process in the corresponding database of server 20 when biometric information recognition device 10 cannot recognize the result. The biometric recognition process of biometric recognition module 22 is similar to the recognition process of recognition module 11A operating in the biometric information scanning mode, and is not further described here.

[0052] The strategy generation module 23 is used to generate the above-mentioned management strategy based on the number of transaction orders, transaction amount, database size corresponding to the biometric information recognition device, and the site environment where the biometric information recognition device 10 is located. The management strategy can be sent to the biometric information recognition device 10.

[0053] In one embodiment, the policy generation module 23 can also be used to generate a security level of the biometric information recognition device based on the number of transaction orders, the transaction amount, the database size corresponding to the biometric information recognition device, and the site environment where the biometric information recognition device 10 is located, and send the security level back to the biometric information recognition device 10.

[0054] Optionally, the security level corresponding to the biometric information recognition device is determined based on whether the number of transaction orders, transaction amounts, and the size of the database corresponding to the biometric information recognition device meet corresponding preset requirements, as well as whether there are staff at the site where the biometric information recognition device is located. Specifically, the following situations may be included: For example, if the number of transaction orders, transaction amounts, and the size of the database corresponding to the biometric information recognition device in a first historical time period meet corresponding preset requirements, and there are staff at the site where the biometric information recognition device is located, then the security level corresponding to the biometric information recognition device may be determined to be a high security level; if the number of transaction orders, transaction amounts, and the size of the database corresponding to the biometric information recognition device in the first historical time period meet preset requirements, and there are no staff at the site where the biometric information recognition device is located, then the security level corresponding to the biometric information recognition device may be determined to be a medium security level; if the number of transaction orders, transaction amounts, and the size of the database corresponding to the biometric information recognition device in the first historical time period do not meet the preset requirements, then the security level corresponding to the biometric information recognition device may be determined to be a low security level.

[0055] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.

[0056] In this embodiment, a biometric information recognition method is provided, as shown in FIG1d . The biometric information recognition method is performed by an electronic device. The specific process of the method may include the following steps 110 to 140:

[0057] 110. Based on the historical usage information of the biometric information recognition device, determine the target camera corresponding to the biometric information recognition device. The target camera is the camera on the biometric information recognition device used to collect biometric information images based on which target services are provided.

[0058] Historical usage information refers to the user's usage information of the biometric information recognition device within a historical period, which may specifically be historical transaction information (transaction information that occurred based on the biometric information recognition device during the historical period), etc. The historical time period here can be a pre-set fixed time period, for example, it can be 24 hours, or other hours, such as 12 hours. The historical time period can be specifically recorded as the first historical time period. It should be understood that the specific time length of the first historical time period should not be understood as a limitation on this application. Transaction information is information related to amount settlement; transaction information may include the number of transaction orders, transaction amount, etc.

[0059] A biometric recognition device can be equipped with a variety of different camera categories, such as infrared cameras, color cameras, and depth cameras. Each category can include one or more cameras. In embodiments of the present application, a target camera can be determined based on the biometric recognition device's historical usage information. This target camera is the camera used by the biometric recognition device when subsequently capturing biometric images. It can be at least one of the multiple cameras installed on the biometric recognition device. For example, a specific category of camera can be selected, and at least one camera from that category can be chosen as the target camera.

[0060] The biometric information recognized by the biometric information recognition device is biometric information with unique identification, for example, fingerprint, palm print, iris, face, etc. It should be understood that the specific biometric information recognized by the biometric information recognition device should not be construed as limiting the present application.

[0061] Optionally, in a specific embodiment, when the historical usage information includes the number and amount of transaction orders of the biometric information recognition device within the first historical time period, and the size of the database corresponding to the biometric information recognition device, step 110 may include the following steps 111 to 114:

[0062] 111. If the number of transaction orders, transaction amount, and database size corresponding to the biometric information recognition device during the first historical time period meet the corresponding preset requirements, determine whether there are any staff members at the site where the biometric information recognition device is located.

[0063] The database size corresponding to the biometric information recognition device refers to: the number of data groups representing user information stored locally in the biometric information recognition device. Each user has his or her own unique corresponding data group, and the data group corresponds one-to-one to the user. The data group is used to record information related to the corresponding user, such as recording the user's identification biometric information.

[0064] Meeting the preset requirements means that each item of information in the historical usage information within the first historical time period is lower than its corresponding preset value. For example, within the first historical time period, the number of transaction orders is lower than the preset number of transaction orders, the transaction amount is lower than the preset amount, and the size of the database corresponding to the biometric information recognition device is lower than the preset size value. The preset number of transaction orders can be 10 or other numbers; the preset amount can be 50,000 or other amounts; and the preset size value can be 100,000 sets of data or other numbers. That is, in a specific embodiment, the number of transaction orders, the transaction amount, and the size of the database corresponding to the biometric information recognition device within the first historical time period meeting the preset requirements can be: in the past 24 hours, the number of transaction orders is less than 10, the transaction amount is less than 50,000, and the size of the database corresponding to the biometric information recognition device is less than 100,000 sets, then it is determined that the preset requirements are met. It should be understood that the specific values ​​of the preset number of transaction orders, the preset amount, and the preset size value should not be understood as limiting the present application.

[0065] Optionally, in a specific implementation, the step of “determining whether there is a staff member at the site where the biometric information recognition device is located” may specifically include the following steps 1111 to 1113:

[0066] 1111. Obtain a site image of the site where the biometric information recognition device is located.

[0067] The scene image of the venue where the biometric information recognition device is located can be captured by a camera installed in the venue. It should be understood that the camera used to capture the scene image may not be a camera installed on the biometric information recognition device, such as a camera installed in the venue; it can also be a camera installed on the biometric information recognition device. It should be understood that the source of the camera used to capture the scene image should not be construed as a limitation of this application.

[0068] 1112. Perform image recognition on the venue image to obtain a venue recognition result.

[0069] 1113. Based on the site identification result, determine whether there are any staff members at the site.

[0070] The determination results include: whether staff are present at the venue or not. Staff can be individuals wearing designated attire. By performing image recognition processing on the venue image, it is possible to determine whether staff are present at the venue.

[0071] In this way, by obtaining the site picture of the venue where the biometric information recognition device is located and performing image recognition on the site picture to determine whether there are staff members at the venue, it is possible to accurately judge whether there are staff members at the venue, which in turn helps to accurately determine the target camera that the biometric information recognition device should turn on based on the judgment result.

[0072] Optionally, in a specific implementation, step 1113 may specifically include the following steps A1 to A7:

[0073] A1. Determine whether there are people wearing designated attire among the people present at the venue; if so, proceed to step A2; if not, proceed to step A3.

[0074] A2. Make sure there are staff at the site.

[0075] A3. For any person present in the venue, determine whether the facial information of the person can be obtained. If so, execute step A4; if not, execute step A6.

[0076] A4. Compare the facial information of the person with the staff facial database until the corresponding facial data is found in the staff facial database or the staff facial database is completely traversed.

[0077] A5. If the corresponding facial data is found in the staff facial database, it is determined that there is a staff member in the venue; if the staff facial database is traversed, a new person is randomly selected (different from the person selected in the previous round) and the process jumps to step A3 until all the staff in the venue are selected.

[0078] If all personnel at the site have been selected, it is determined that the site does not include any staff.

[0079] A6. Obtain the body shape outline of the person, and compare the body shape outline of the person with the staff body shape database until the corresponding body shape data is found in the staff body shape database or the staff body shape database is completely traversed.

[0080] A7. If the corresponding body shape data is found in the staff body shape database, it is determined that there is a staff member in the venue; if the staff body shape database is traversed, a new person is randomly selected (different from the person selected in the previous round) and the process jumps to step A3 until all the staff in the venue are selected.

[0081] If all personnel at the site have been selected, it is determined that the site does not include any staff.

[0082] In the above embodiment, it is possible to first determine whether there are people wearing set clothing among the people in the venue. If so, it can be directly determined that there are staff members in the venue. If not, the people in the venue can be traversed: if the front of the person faces the camera, the facial information of the person can be obtained, and the facial information is compared with the staff face database (which stores pre-entered facial data of staff members) until the facial information of the staff member is found in the staff face database or all people in the venue are traversed; if the back or side of the person faces the camera, the body outline of the person can be obtained, and the body outline is compared with the staff body database (which stores pre-entered body data of staff members) until the body outline of the staff member is found in the staff body database or all people in the venue are traversed.

[0083] If a staff member's facial information is found in the staff member facial database, or a staff member's body shape is found in the staff member body shape database, then the venue can be determined to contain staff members. If, after searching all personnel in the venue, no matching facial information or body shape is found in the staff member facial database or staff member body shape database, then the venue is determined to contain no staff members. This embodiment enables a more comprehensive and complete determination of whether a staff member is present in the venue based on multi-dimensional information.

[0084] Optionally, in one embodiment, before acquiring facial information of a person in the venue, a voice inquiry message may be used to inquire whether the person in the venue agrees, and after obtaining a positive response from the person in the venue, the facial information acquisition may proceed. If the person in the venue responds negatively, it may be determined that no staff members are in the venue.

[0085] In the above embodiment, whether the staff is present can be used as a reference factor for selecting the target camera type. The appropriate target camera can be selected based on whether the staff is present, thereby achieving a balance between saving power consumption and ensuring recognition accuracy, and improving the battery life of the biometric information recognition device.

[0086] 112. If there are staff members at the site where the biometric information recognition device is located, determine the color camera as the target camera.

[0087] The color camera is used to accurately determine the color of the surface of the target object based on the R, G, and B ratio of the reflected light, thereby obtaining a color image of the target object.

[0088] Alternatively, if a staff member is present, it is often difficult to scan the biometric information of a non-living person who is using the biometric information recognition device to access related services. Non-living objects include images and videos containing biometric information. Therefore, when a staff member is present, the infrared camera that detects whether a person is alive can be selectively turned off, leaving only the color camera active, thereby reducing the energy consumption of the biometric information recognition device and improving its battery life.

[0089] 113. If there are no staff members at the site where the biometric information recognition device is located, the infrared camera is determined to be the target camera.

[0090] Infrared cameras are used to detect the infrared energy of a target and form an image based on the temperature distribution of the target.

[0091] Alternatively, if a staff member is not present, the target person who is using the biometric information recognition device to access related services may attempt to scan their biometric information using a non-living object. Therefore, when a staff member is not present, the infrared camera can be turned on to perform liveness detection based on the images collected by the infrared camera to avoid non-living object attacks. At the same time, the color camera can be turned off to reduce the energy consumption of the biometric information recognition device and improve its battery life.

[0092] In this way, when the historical usage information of the biometric information recognition device meets the preset requirements, it is further detected whether there are any staff members at the site where the biometric information recognition device is located, and the color camera or infrared camera on the biometric information recognition device is activated based on the detection result. In this way, while ensuring accurate detection of biometric information, non-living attacks can be avoided, and at the same time, the energy consumption of the biometric information recognition device can be reduced, and the battery life can be extended.

[0093] 114. If the number of transaction orders, transaction amount, and database size corresponding to the biometric information recognition device in the first historical time period do not meet the corresponding preset requirements, the color camera and the infrared camera are determined to be the target cameras.

[0094] Failure to meet the preset requirements means that any item of usage information during the first historical time period exceeds the corresponding preset value. For example, during the first historical time period, the number of completed orders exceeded the preset number of completed orders, the transaction amount exceeded the preset amount, or the size of the database corresponding to the biometric information recognition device exceeded the preset size value.

[0095] In the above-mentioned embodiment, if the number of transaction orders is higher than the preset number of transaction orders, or the transaction amount is higher than the preset amount, it means that the order volume or transaction amount involved in the biometric information recognition device is large, and therefore a higher security level is required. Therefore, the color camera and the infrared camera can be enabled at the same time to improve the security level of the related services provided by the biometric information recognition device.

[0096] As the database size increases, the similarity between data groups gradually increases. When the database size corresponding to the biometric information recognition device exceeds the preset size value, the similarity between data groups may exceed the preset value. In this case, the recognition accuracy of a single camera is low. Therefore, recognition accuracy can be increased by activating both the color camera and the infrared camera, thereby better distinguishing different users based on the collected biometric information.

[0097] In this way, when the historical usage information of the biometric information recognition device does not meet the preset requirements, the color camera and infrared camera can be directly started to accurately identify the corresponding user through the image information collected by the two cameras, thereby improving the accuracy and reliability of biometric information recognition.

[0098] Optionally, in another embodiment, the above-mentioned historical usage information may further include: a security level of the biometric information recognition device generated by the server based on the number of transactions, transaction amount, the size of the database corresponding to the biometric information recognition device, and the site environment where the biometric information recognition device is located. Different security levels may correspond to different numbers and types of cameras.

[0099] For example, if the number and amount of transactions executed by the biometric device during the first historical period, as well as the size of the database corresponding to the biometric device, meet the corresponding preset requirements, and there are staff at the site where the biometric device is located, the security level corresponding to the biometric device can be determined to be high. A high security level can correspond to the activation of a color camera.

[0100] If the number and amount of traded orders within the first historical time period, as well as the size of the biometric device's corresponding database, meet the corresponding preset requirements, and if there are no staff members at the site where the biometric device is located, the biometric device's corresponding security level can be determined to be medium. The medium security level can be associated with the activation of the infrared camera.

[0101] If the number and amount of traded orders within the first historical time period, as well as the size of the biometric device's corresponding database, do not meet the corresponding preset requirements, the biometric device's corresponding security level may be determined to be low. A low security level corresponds to the simultaneous activation of both the color camera and the infrared camera.

[0102] In the above embodiment, the number and type of cameras to be turned on are determined based on the security level. Since the security level comes from the assessment of the server, the computing power of the biometric information recognition device is saved, thereby further improving the battery life of the biometric information recognition device.

[0103] Optionally, in a specific implementation, before step 111, the embodiment of the present application may further include the following steps S1 to S6:

[0104] S1. Determine whether the biometric information recognition device has performed an electronic code scanning operation within a second historical time period. If not, execute step S2; if so, execute step S4.

[0105] The specific length of the second historical time period can be the same as or different from the length of the first historical time period. It should be understood that the specific length of the second historical time period should not be construed as a limitation to this application.

[0106] The biometric information recognition device can switch between a mode for scanning biometric information and a mode for scanning electronic codes. The electronic code here can be used to trigger the biometric information recognition device to provide corresponding services. The electronic code can be, for example, a payment code, a membership ID code, etc., and can specifically be in the form of a QR code, a barcode, etc. Therefore, it is possible to first determine whether the biometric information recognition device has performed an electronic code scanning operation within the second historical time period. If not, it indicates that the biometric information recognition device has only operated in a biometric information scanning mode for a longer historical period, and step S2 can be executed. If so, it indicates that the site where the biometric information recognition device is located has not only a target object for biometric information verification, but also a target object for electronic code verification, and step S4 can be executed.

[0107] S2. Adjust the focal length to the focal length corresponding to scanning the biological information.

[0108] S3. Within a preset future time period, the biometric information recognition device is set to a mode that only supports biometric information recognition.

[0109] The focal length corresponding to the biometric information scanning mode is different from the focal length corresponding to the electronic code scanning mode. If the biometric information recognition device has not performed an electronic code scanning operation within the second historical time period, the focal length of the biometric information recognition device can be fixed to the focal length corresponding to the biometric information scanning operation within a preset future time period, so that the biometric information recognition setting only supports biometric information recognition within the preset future time period.

[0110] In the above embodiment, for a biometric information recognition device that works in a biometric information scanning mode for a long time, the frequent switching of the focal length of the biometric information recognition device can be avoided by limiting the working mode, thereby further improving the battery life of the biometric information recognition device.

[0111] S4. Adjust the focal length to the focal length corresponding to scanning the electronic code.

[0112] S5. Within the preset future time period, before the biometric information recognition device recognizes the object, determine the type of the object to be recognized.

[0113] The types include biometric information and electronic codes. The electronic code can be a QR code, a barcode, etc. The specific type of the electronic code should not be understood as a limitation of this application.

[0114] S6. Determine whether to switch the recognition mode of the biometric information recognition device based on the type of the object to be recognized.

[0115] If the biometric identification device has previously scanned an electronic code within the second historical time period, this indicates that the location of the biometric identification device contains both a target subject undergoing biometric identification verification and a target subject undergoing electronic code verification. In this case, the focal length can be adjusted to that corresponding to scanning an electronic code, and the type of subject to be identified can be determined before each identification operation. This allows the device to switch its operating mode to the appropriate operating mode for the type of subject to be identified.

[0116] In the above-mentioned embodiment, for usage scenarios that require both electronic code recognition and biometric information recognition, the biometric information recognition device can switch the working mode based on the type of the object to be identified, thereby meeting the usage requirements of the usage scenario and expanding the scope of use of the biometric information recognition device.

[0117] 120. Use the target camera to capture the identifying biometric information of the target object to obtain a target biometric information image including the identifying biometric information.

[0118] The identifying biometric information is biometric information that reflects the unique identity of the target object. For example, the identifying biometric information may be fingerprints, palm prints, irises, faces, etc. It should be understood that the specific biometric information category of the identifying biometric information should not be construed as limiting this application.

[0119] For ease of description, the following description will take the palm print as an example of identifying biometric information.

[0120] Optionally, in a specific implementation, step 120 may specifically include the following steps 121 to 122:

[0121] 121. Use the target camera to shoot a video clip including the identifying biological information.

[0122] 122. Based on the shooting angle and picture parameters of the identifying biometric information, select a screenshot including the identifying biometric information from the video clip as the target biometric information image.

[0123] The shooting angle is the angle between the plane where the biometric information is located and the shooting direction of the camera. Generally, when the angle is 90 degrees, the biometric information is presented more clearly and completely.

[0124] Image parameters reflect image quality. For example, they include image contrast, image brightness, and image clarity. Image contrast measures the difference in brightness between the brightest white and darkest black in an image's light and dark areas, specifically, the grayscale contrast within an image. A larger range of contrast indicates greater contrast, while a smaller range indicates less contrast. Image brightness refers to the brightness of the image. Image clarity refers to the clarity of image details and their boundaries.

[0125] Optionally, a screenshot may be selected from the captured video clip of the identifying biological information, the screenshot of which meets corresponding requirements in terms of shooting angle, image contrast, image brightness and image clarity, and recorded as the target biological information image.

[0126] In the above embodiment, since the biometric information image is selected from a video clip including multiple frames, the image quality of the target biometric information image can be improved as much as possible, laying a good foundation for the subsequent recognition process, thereby further increasing the recognition accuracy.

[0127] 130. Perform image recognition processing based on the target biometric information image to obtain object identity information corresponding to the identifying biometric information therein.

[0128] Image recognition is the process of using computers to process, analyze, and understand images to identify various patterns of targets and objects. This process can be implemented using deep learning algorithms or other technologies, such as ChatGPT.

[0129] Optionally, in a specific implementation, step 130 may specifically include the following steps 131 to 136:

[0130] 131. Match the target biometric information image with the biometric information in the database corresponding to the biometric information recognition device.

[0131] The database corresponding to the biometric information recognition device is a database deployed locally on the biometric information recognition device.

[0132] Optionally, in one embodiment, the biometric information in the database includes a user's personal biometric image. Accordingly, the matching process may be to compare the target biometric image with personal biometric images in a local database of the biometric recognition device to obtain a matching personal biometric image.

[0133] Alternatively, in another embodiment, the database includes a user's personal biometric information feature map. The personal biometric information feature map can be obtained by extracting features from a personal biometric information image.

[0134] Accordingly, the matching process may include extracting a feature map of the target biometric image and comparing it with individual biometric feature maps in the local database of the biometric recognition device, thereby obtaining a matching individual biometric feature map. The comparison process may specifically include performing similarity scoring on multiple individual biometric feature maps to obtain the individual biometric feature map with the highest score. The individual biometric feature map with the highest score is then compared with the feature map of the target biometric image.

[0135] It should be understood that the specific matching process between the target biometric information image and the biometric information in the database corresponding to the biometric information recognition device should not be understood as a limitation to the present application.

[0136] 132. If the match is successful, obtain the object identity information corresponding to the identifying biometric information from the database corresponding to the biometric information recognition device.

[0137] The biometric information and the corresponding subject identity information are stored as a data set in a database. Therefore, a successful match means that the subject identity information corresponding to the identifying biometric information in the target biometric image is stored in the local database of the biometric information recognition device, and the subject identity information can be retrieved from this database.

[0138] 133. If the biometric information in the database corresponding to the biometric information recognition device is not successfully matched, the target biometric information image is sent to a server so that the server matches the target biometric information image with the biometric information in the server's database.

[0139] 134. If the match with the biometric information in the server database is successful, receive the object identity information corresponding to the identifying biometric information in the target biometric information image sent by the server.

[0140] 135. If the biometric information is not successfully matched with the biometric information in the server database, a prompt message indicating recognition failure is received from the server.

[0141] If the target biometric information image does not match the biometric information in the local database of the biometric information recognition device, the biometric information recognition device sends the target biometric information image to the server so that the server matches the target biometric information image with the biometric information in the server's database.

[0142] If the biometric information matches the biometric information in the server database, it means that the biometric information of the object and the corresponding object identity information are stored in the server database and have not yet been sent to the biometric information recognition device. Therefore, the object identity information sent by the server can be received.

[0143] If the biometric information in the server database is not matched successfully, it means that the biometric information of the object and the corresponding object identity information have not been recorded. Therefore, the server can send a prompt message indicating the recognition failure to the biometric information recognition device and make the biometric information recognition device display the prompt message.

[0144] In the above implementation, the target biometric image and biometric information can be matched locally on the biometric recognition device. This local matching improves biometric recognition efficiency, reduces unnecessary remote communications, and avoids wasting communication resources. If a match is not found, the biometric image and biometric information can be matched again on the server, thereby achieving a match based on more abundant biometric information. This two-stage matching approach allows for both rapid and comprehensive matching.

[0145] 136. Receive the biometric information sent by the server at intervals of a preset time period to update the database corresponding to the biometric information recognition device.

[0146] The preset time period is a pre-set length of time, which can be 24 hours. That is, every 24 hours, newly registered biometric information in the server, along with the corresponding subject identity information, can be sent to the biometric information recognition device, thereby keeping the biometric information recognition device updated. This time period can also be other lengths, such as 8 hours. It should be understood that the specific length of the preset time period should not be construed as a limitation of this application.

[0147] In the above-mentioned embodiment, by regularly updating the biometric information and corresponding object identity information stored in the biometric information recognition device, the database of the biometric information recognition device can be expanded, so that more biometric information images can be successfully matched with the biometric information recognition device locally, which is conducive to further increasing the matching efficiency.

[0148] Optionally, in a specific embodiment, after obtaining the corresponding object identity information based on the target biometric information image, the target biometric information image can also be used to replace the personal biometric information image corresponding to the object identity information in the database. For details, please see Figure 1c.

[0149] For example, let's assume that the target biometric information image includes an infrared biometric information image and a color biometric information image, and the personal biometric information image corresponding to the original object identity information in the database only has a color image. In this case, the color image can be replaced with a color biometric information image piece, and the infrared biometric information image can be added to the object identity information, thereby realizing the update of the personal biometric information image corresponding to the object identity information.

[0150] 140. Provide the target service for the target object based on the object identity information.

[0151] After identifying and determining the identity information of the target object, the target service currently required by the target object can be provided accordingly, such as payment service, check-in service, member identification service, resource rental service, etc.

[0152] For example, when providing payment services to a target user, a payment code corresponding to the user's identity information can be generated and sent to a payment settlement device to execute the payment settlement process for the target user. The payment settlement device is a device that performs monetary settlement for the products or services purchased by the target user. For example, the payment settlement device can be a point of sale terminal (POS) or a barcode scanner.

[0153] The embodiment of the present application combines the database size of the biometric information recognition device, the number of transaction orders in the first historical time period, the transaction amount in the first historical time period, and whether the staff at the site where the biometric information recognition device is located are present, to achieve the selection of the number and type of target cameras. The above-mentioned refined selection of target cameras reduces the power consumption of the camera device while ensuring the biometric information recognition effect, thereby reducing the power consumption of the biometric information recognition device, extending the battery life of the biometric information recognition device, and facilitating the deployment of the biometric information recognition device in more business scenarios.

[0154] In the biometric recognition method provided in embodiments of the present application, the target camera for the biometric recognition device to subsequently capture biometric images based on the biometric recognition device's historical usage information when providing targeted services can be determined. The determined target camera is then used to capture biometric information that uniquely identifies the target subject, obtaining a corresponding target biometric image. Image recognition processing is performed on the target biometric image to obtain the corresponding subject identity information. Based on this subject identity information, the targeted service is then provided to the subject. In embodiments of the present application, the target camera can be determined based on the biometric recognition device's historical usage information, and the biometric information captured using the target camera is used to facilitate subsequent image recognition processing and service flows. Compared to prior art methods that simultaneously activate multiple sets of recognition devices for continuous biometric recognition over a long period of time, embodiments of the present application can reduce the need for extended continuous use of some cameras. Specifically, some cameras are determined as target cameras based on the biometric recognition device's historical usage information, and subsequent image acquisition is performed using only the target cameras, thereby improving the battery life of battery-powered biometric recognition devices.

[0155] The embodiments of the present application can increase the usage scenarios of biometric information recognition devices.

[0156] The method described in the above embodiment will be further described below.

[0157] In this embodiment, the method of the embodiment of the present application will be described in detail by taking the identification biometric information being a palm print and providing payment services through a biometric information recognition device as an example.

[0158] As shown in Figure 2, a specific process of a biometric information recognition method is as follows:

[0159] 201. Determine whether the palmprint recognition device has performed a payment code scanning operation within a second historical time period.

[0160] Optionally, in one embodiment, if the palmprint recognition device has performed a payment code scanning operation within the second historical time period, the focal length is adjusted to the focal length corresponding to the payment code scanning; before each recognition within the preset future time period, the type of the object to be identified is determined; based on the type of the object to be identified, it is determined whether to switch the recognition mode of the palmprint recognition device.

[0161] 202. If the palmprint recognition device has not performed a payment code scanning operation within the second historical time period, adjust the focal length to a focal length corresponding to the palmprint scanning.

[0162] 203. Within a preset future time period, set the palmprint recognition device to a mode that only supports palmprint recognition.

[0163] 204. If the number of transaction orders, the transaction amount, and the size of the database corresponding to the palmprint recognition device in the first historical time period meet corresponding preset requirements, determine whether there are any staff members at the site where the palmprint recognition device is located.

[0164] 205. If there are staff members at the site where the palm print recognition device is located, determine to enable the color camera.

[0165] 206. If there is no staff at the site where the palm print recognition device is located, determine to enable the infrared camera.

[0166] Optionally, in one embodiment, determining whether there are staff members at the venue where the palmprint recognition device is located includes: obtaining a venue image of the venue where the palmprint recognition device is located; performing image recognition on the venue image to obtain a venue recognition result; and determining a determination result of whether there are staff members at the venue based on the venue recognition result.

[0167] 207. If the number of transaction orders, the transaction amount, and the database size corresponding to the palmprint recognition device in the first historical time period do not meet the corresponding preset requirements, determine to enable the color camera and the infrared camera.

[0168] The camera enabled in the above steps is recorded as the target camera.

[0169] 208. Use the target camera to photograph the target object's identifying palm print to obtain a palm print image including the identifying palm print.

[0170] Optionally, in a specific embodiment, step 208 includes: using the target camera to shoot a video clip including the identifying palm print; based on the shooting angle and picture parameters of the identifying palm print, selecting a screenshot including the identifying palm print from the video clip as the above-mentioned palm print picture.

[0171] 209. Perform image recognition processing on the palm print image to obtain user identity information corresponding to the palm print image.

[0172] Optionally, in a specific embodiment, step 209 includes matching the palm print image with palm prints in a database corresponding to the palm print recognition device. If the match is successful, the user identity information corresponding to the palm print image is obtained from the database corresponding to the palm print recognition device. If the match is unsuccessful, the palm print image is sent to a server so that the server can match the palm print image with the palm prints in the server's database. If the palm print is successfully matched with the palm print in the server's database, the user identity information corresponding to the palm print image is received from the server. If the palm print is not successfully matched with the palm print in the server's database, a prompt message indicating recognition failure is received from the server.

[0173] Optionally, in a specific implementation, the palmprints sent by the server are received at intervals of a preset time period to update the database corresponding to the palmprint recognition device.

[0174] 210. Generate a payment code corresponding to the user identity information, and send the payment code to the amount settlement device to implement the amount settlement process corresponding to the target object.

[0175] The specific execution process of steps 201 to 210 has been described in detail above and will not be repeated here.

[0176] In the biometric information recognition method provided in the embodiments of the present application, the palmprint recognition device can determine the target camera for subsequent biometric image capture when providing payment services based on the palmprint recognition device's historical transaction information. The determined target camera is then used to capture the consumer user's unique palmprint, obtaining a corresponding palmprint image. Image recognition processing is performed on the palmprint image to obtain the corresponding user identity information. A payment code corresponding to the user identity information is then generated and sent to the payment settlement device to facilitate the consumer user's payment settlement process. In the embodiments of the present application, the target camera can be determined based on the palmprint recognition device's historical transaction information, and the palmprint image is captured using the target camera to facilitate subsequent image recognition processing and payment settlement. Compared to the prior art method of simultaneously activating multiple sets of recognition devices for continuous biometric information recognition over a long period of time, the embodiments of the present application can reduce the use of some cameras. Specifically, some cameras are determined as target cameras based on the palmprint recognition device's historical transaction information, and only the target cameras are used for subsequent palmprint capture, thereby improving the battery life of battery-powered palmprint recognition devices.

[0177] The embodiments of the present application can increase the usage scenarios of biometric information recognition devices.

[0178] To better implement the above method, the present application also provides a biometric information recognition device. This biometric information recognition device can be integrated into an electronic device, such as a terminal or a server. A terminal can be a mobile phone, tablet computer, smart Bluetooth device, laptop computer, or personal computer (PC); a server can be a single server or a server cluster consisting of multiple servers. For example, in this embodiment, the method of the present application will be described in detail using the example of a biometric information recognition device integrated into an electronic device terminal.

[0179] For example, as shown in FIG3 , the biometric information recognition device may include:

[0180] A camera determination unit 301 is configured to determine a target camera corresponding to the biometric information recognition device based on historical usage information of the biometric information recognition device, wherein the target camera is a camera on the biometric information recognition device used to collect biometric information images based on which a target service is provided;

[0181] The image acquisition unit 302 is configured to capture the target object's identifying biometric information using the target camera to obtain a target biometric information image including the identifying biometric information;

[0182] The identity information obtaining unit 303 is configured to perform image recognition processing based on the target biometric information image to obtain the object identity information corresponding to the identifying biometric information therein;

[0183] The service providing unit 304 is configured to provide the target service for the target object based on the object identity information.

[0184] In one embodiment, the historical usage information includes the number and amount of transaction orders of the biometric information recognition device within a first historical time period, and the size of the database corresponding to the biometric information recognition device. Accordingly, the camera determination unit 301 includes:

[0185] a personnel determination unit configured to determine whether there is any staff at the site where the biometric information recognition device is located when the number and transaction amount of the transaction orders of the biometric information recognition device during the first historical time period, and the size of the database corresponding to the biometric information recognition device meet corresponding preset requirements;

[0186] The color camera activation unit is used to determine that the color camera is the target camera when there are staff members at the site where the biometric information recognition device is located.

[0187] In one embodiment, the apparatus further comprises:

[0188] The infrared camera activation unit is used to determine that the infrared camera is the target camera when there is no staff at the site where the biometric information recognition device is located.

[0189] In one embodiment, the apparatus further comprises:

[0190] a payment code scanning determination unit, configured to determine whether the biometric information recognition device has performed an electronic code scanning operation within a second historical time period;

[0191] a first focus adjustment unit, configured to adjust the focus to a focus corresponding to scanning biometric information when the biometric information recognition device has not performed an electronic code scanning operation within the second historical time period;

[0192] The mode setting unit is used to set the biometric information recognition device to a mode that only supports biometric information recognition within a preset future time period.

[0193] In one embodiment, the apparatus further comprises:

[0194] a second focus adjustment unit, configured to adjust the focus to a focus corresponding to the scanned electronic code when the biometric information recognition device performs an electronic code scanning operation within the second historical time period;

[0195] a type determination unit, configured to determine the type of the object to be identified before the object is identified by the biometric information recognition device;

[0196] The mode switching unit is used to determine whether to switch the recognition mode of the biometric information recognition device based on the type of the object to be recognized.

[0197] In one embodiment, the personnel determination unit includes:

[0198] A picture acquisition subunit, configured to acquire a scene picture of the scene where the biometric information recognition device is located;

[0199] The recognition result subunit is used to perform image recognition on the venue image to obtain a venue recognition result;

[0200] The determination result subunit is used to determine whether there are staff members at the venue based on the venue identification result.

[0201] In one embodiment, the historical usage information includes the number and amount of transaction orders of the biometric information recognition device within a first historical time period, and the size of the database corresponding to the biometric information recognition device; accordingly, the camera determination unit 301 is further configured to:

[0202] When the number of transaction orders, transaction amount, and database size corresponding to the biometric information recognition device in the first historical time period do not meet the corresponding preset requirements, the color camera and the infrared camera are determined to be the target cameras.

[0203] In one embodiment, the image acquisition unit 302 includes:

[0204] a video shooting subunit, configured to shoot a video clip including the identifying biological information using the target camera;

[0205] The screenshot selection subunit is used to select a screenshot including the identification biometric information from the video clip as the target biometric information image based on the shooting angle and picture parameters of the identification biometric information.

[0206] In one embodiment, the identity information obtaining unit 303 includes:

[0207] an information matching subunit, configured to match the target biometric information image with the biometric information in the database corresponding to the biometric information recognition device;

[0208] The information acquisition subunit is configured to acquire the object identity information corresponding to the identifying biometric information from the database corresponding to the biometric information recognition device when the biometric information in the database corresponding to the biometric information recognition device is successfully matched.

[0209] In one embodiment, the apparatus further comprises:

[0210] an image sending unit, configured to send the target biometric information image to a server when no match is successfully made with the biometric information in the database corresponding to the biometric information recognition device, so that the server matches the target biometric information image with the biometric information in the server's database;

[0211] an information receiving unit, configured to receive, when a match is successfully made with the biometric information in the server's database, the subject identity information corresponding to the identifying biometric information sent by the server;

[0212] The prompt receiving unit is used to receive prompt information indicating recognition failure sent by the server when no match is successfully made with the biometric information in the server database.

[0213] In one embodiment, the apparatus further comprises:

[0214] The information updating unit is used to receive the biometric information sent by the server at intervals of a preset time period to update the database corresponding to the biometric information recognition device.

[0215] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can be found in the previous method embodiments and will not be repeated here.

[0216] The embodiments of the present application can increase the usage scenarios of biometric information recognition devices.

[0217] The present application also provides an electronic device, which may be a terminal, a server, or the like. The terminal may be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a personal computer, or the like; the server may be a single server or a server cluster consisting of multiple servers, or the like.

[0218] In some embodiments, the biometric information recognition device can also be integrated into multiple electronic devices. For example, the biometric information recognition device can be integrated into multiple servers, and the biometric information recognition method of the present application can be implemented by multiple servers.

[0219] In this embodiment, the electronic device of this embodiment is an electronic device as an example for detailed description. For example, as shown in FIG4 , it shows a schematic diagram of the structure of the electronic device involved in the embodiment of the present application. Specifically:

[0220] The electronic device may include components such as one or more processing core processors 401, one or more computer-readable storage media memories 402, a power supply 403, an input module 404, and a communication module 405. Those skilled in the art will appreciate that the electronic device structure shown in FIG4 does not limit the electronic device and may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0221] Processor 401 is the control center of the electronic device, connecting all components of the electronic device using various interfaces and circuits. It executes software programs and / or modules stored in memory 402 and accesses data stored in memory 402 to perform various functions and process data. In some embodiments, processor 401 may include one or more processing cores. In some embodiments, processor 401 may integrate an application processor and a modem processor, with the application processor primarily processing the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 401.

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

[0223] The electronic device also includes a power supply 403 for supplying power to various components. In some embodiments, the power supply 403 can be logically connected to the processor 401 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 403 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0224] The electronic device may further include an input module 404, which may be configured to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0225] The electronic device may further include a communication module 405. In some embodiments, the communication module 405 may include a wireless module. The electronic device may perform short-range wireless transmission via the wireless module of the communication module 405, thereby providing the user with wireless broadband Internet access. For example, the communication module 405 may be used to help the user send and receive emails, browse web pages, and access streaming media.

[0226] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to one or more application processes into the memory 402 according to the following instructions, and the processor 401 runs the application stored in the memory 402, thereby implementing the biometric information recognition method provided in the embodiment of the present application.

[0227] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

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

[0229] To this end, an embodiment of the present application provides a computer-readable storage medium, which stores multiple instructions that can be loaded by a processor to execute the steps in any biometric information recognition method provided in the embodiment of the present application.

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

[0231] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations provided in the above embodiments.

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

[0233] The above is a detailed introduction to a biometric information recognition method, device, electronic device and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, based on the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A biometric information recognition method, performed by an electronic device, comprising: Based on historical usage information of the biometric information recognition device, determining a target camera corresponding to the biometric information recognition device, wherein the target camera is a camera on the biometric information recognition device used to collect biometric information images based on which target services are provided; Using the target camera to shoot the identification biological information of the target object to obtain a target biological information image including the identification biological information; Performing image recognition processing based on the target biological information image to obtain the object identity information corresponding to the identifying biological information therein; Based on the object identity information, the target service is provided for the target object.

2. The method according to claim 1, wherein the historical usage information includes the number of transaction orders and transaction amount of the biometric information recognition device in the first historical time period, and the size of the database corresponding to the biometric information recognition device; The determining, based on historical usage information of the biometric information recognition device, a target camera corresponding to the biometric information recognition device comprises: If the number of transaction orders, the transaction amount, and the size of the database corresponding to the biometric information recognition device during the first historical time period meet corresponding preset requirements, determining whether there is a staff member at the site where the biometric information recognition device is located; If there are staff members at the site where the biometric information recognition device is located, the color camera is determined to be the target camera.

3. The method according to claim 2, after determining whether there is a staff member at the site where the biometric information recognition device is located, the method further comprises: If there is no staff at the site where the biometric information recognition device is located, the infrared camera is determined to be the target camera.

4. The method according to any one of claims 1 to 3, further comprising: Determining whether the biometric information recognition device has performed an electronic code scanning operation within a second historical time period; If the biometric information recognition device has not performed the electronic code scanning operation within the second historical time period, adjusting the focal length to the focal length corresponding to the biometric information scanning; During a preset future time period, the biometric information recognition device is set to a mode that only supports biometric information recognition.

5. The method according to claim 4, after determining whether the biometric information recognition device has performed an electronic code scanning operation within the second historical time period, the method further comprises: If the biometric information recognition device has performed the electronic code scanning operation within the second historical time period, adjusting the focal length to the focal length corresponding to the electronic code scanning; Before the biometric information recognition device recognizes the object to be recognized, the type of the object to be recognized is determined; based on the type of the object to be recognized, it is determined whether to switch the recognition mode of the biometric information recognition device.

6. The method according to claim 2 or 3, wherein determining whether there is a staff member at the site where the biometric information recognition device is located comprises: Acquire a site image of the site where the biometric information recognition device is located; Performing image recognition on the site image to obtain a site recognition result; Based on the site identification result, it is determined whether there is a staff member at the site.

7. The method according to any one of claims 1 to 6, wherein the historical usage information includes the number of transaction orders and transaction amount of the biometric information recognition device in the first historical time period, and the size of the database corresponding to the biometric information recognition device; The determining, based on historical usage information of the biometric information recognition device, a target camera corresponding to the biometric information recognition device comprises: If the number of transaction orders, transaction amount, and database size corresponding to the biometric information recognition device in the first historical time period do not meet the corresponding preset requirements, the color camera and infrared camera are determined as the target cameras.

8. The method according to any one of claims 1 to 7, characterized in that The step of photographing the target object's identification biological information using the target camera to obtain a target biological information image including the identification biological information includes: Using the target camera to shoot a video clip including the identifying biological information; Based on the shooting angle and picture parameters of the identification biological information, a screen shot including the identification biological information is selected from the video clip as the target biological information image.

9. The method according to any one of claims 1 to 8, wherein the step of performing image recognition processing based on the target biological information image to obtain the object identity information corresponding to the identifying biological information therein comprises: Matching the target biological information image with the biological information in the database corresponding to the biological information recognition device; If the match is successful, the object identity information corresponding to the identifying biometric information is obtained from the database corresponding to the biometric information recognition device.

10. The method of claim 9, further comprising: If the biometric information in the database corresponding to the biometric information recognition device is not matched successfully, sending the target biometric information image to a server so that the server matches the target biometric information image with the biometric information in the database of the server; If the biometric information in the server database is successfully matched, receiving the object identity information corresponding to the identifying biometric information sent by the server; If the biometric information in the database of the server is not matched successfully, a prompt message indicating recognition failure sent by the server is received.

11. The method according to any one of claims 1 to 10, further comprising: The biometric information sent by the server is received at intervals of a preset time period to update the database corresponding to the biometric information recognition device.

12. A biometric information recognition device, comprising: A camera determination unit, configured to determine a target camera corresponding to the biometric information recognition device based on historical usage information of the biometric information recognition device, wherein the target camera is a camera on the biometric information recognition device used to collect biometric information images based on which target services are provided; An image acquisition unit, configured to use the target camera to capture the target's identifying biological information, and obtain a target biological information image including the identifying biological information; An identity information obtaining unit, configured to perform image recognition processing based on the target biological information image to obtain the object identity information corresponding to the identifying biological information therein; A service providing unit is used to provide the target service for the target object based on the object identity information.

13. An electronic device comprising a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps in the biometric information recognition method as described in any one of claims 1 to 11.

14. A computer-readable storage medium storing a plurality of instructions, wherein the instructions are suitable for being loaded by a processor to execute the steps in the biometric information recognition method according to any one of claims 1 to 11.

15. A computer program product, comprising a computer program / instruction, wherein when the computer program / instruction is executed by a processor, the steps in the biometric information recognition method according to any one of claims 1 to 11 are implemented.

Citation Information

Patent Citations

  • Biological recognition mode enabling method and relevant product

    CN107426421A

  • Gesture recognition method and related device

    CN109886101A

  • Identity recognition method and device, electronic equipment and storage medium

    CN110188658A

  • User identity recognition method, device and equipment

    CN113761279A

  • Identity recognition method and device based on infrared thermal image, electronic equipment and medium

    CN115359277A