Face recognition method, device, electronic device and readable storage medium
By matching and switching multiple face recognition algorithms in the face recognition system according to the source of the business request, the problem of business interruption risk and high operating cost of the face recognition system in the banking field is solved, and efficient recognition verification and business are realized. Continuity.
Patent Information
- Application Number
- CN202010947664.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-10
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-09-10
AI Technical Summary
Existing face recognition systems in banking applications have risks of business interruption, high development and operation costs, and the inability to dynamically adjust the recognition threshold according to transaction scenarios, resulting in inconvenient applications.
By receiving business requests from transaction users, it matches and executes pre-stored face recognition algorithms based on the source identification information of the business requests, realizing dynamic switching and offloading of multiple algorithms, supporting the adjustment of recognition thresholds in different scenarios, and ensuring transaction security and business continuity.
It improves the smoothness and business experience of face recognition verification, reduces business interruption risks and operating costs, supports multiple offloading methods, and improves the flexibility and reliability of the system.
Smart Images

Figure CN112199171B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer information security technology, and in particular to a face recognition method, device, electronic equipment and readable storage medium. Background Art
[0002] With the rapid integration and development of the Internet and the financial industry, especially the banking industry, which faces the demand for intelligent, convenient and unattended operation, the speed, security and quality of facial recognition of service objects are becoming increasingly higher, and there are more and more facial recognition algorithms. Various facial recognition algorithms have different technical advantages. It is necessary to select the best algorithm according to the specific business scenario, which is not only beneficial to improving the user experience in the actual application of facial recognition systems, but also convenient for the rapid promotion and application of facial recognition systems. It can also ensure safety and accuracy. Therefore, realizing a facial recognition system that integrates multiple facial recognition algorithms, solving the business interruption risk in the existing technology, and reducing the cost of new business access through a unified system service interface has become one of the important issues that need to be urgently solved in the application of facial recognition systems in the banking field. However, existing facial recognition systems integrate one facial recognition algorithm or only distinguish which facial recognition algorithm to use through transaction channels. Facial recognition systems that only integrate one facial recognition algorithm have the risk of business interruption in the banking system if problems occur in the algorithm. In addition, the existing facial recognition system distinguishes which facial recognition algorithm to use through transaction channels, which cannot fundamentally solve the risk of business interruption. At the same time, with the increase in transaction channels, the development cost and operating cost of algorithm integration will increase significantly. Moreover, the existing technology returns a yes / no judgment result, and the business system cannot dynamically adjust the recognition threshold according to the different security requirements of the transaction scenarios, which brings inconvenience to the application of facial recognition systems. Summary of the invention
[0003] The purpose of this application is to solve at least one of the above technical defects. The technical solution adopted by this application is as follows:
[0004] In a first aspect, an embodiment of the present application discloses a face recognition method, which is applied to a smart terminal, and the method includes:
[0005] Receive a target service request from a transaction user; wherein the request information includes at least service source identification information;
[0006] According to the source identification information of the business request, a face recognition process is executed by matching a target algorithm; wherein the target algorithm is included in a pre-stored face recognition algorithm library, and the process is used to execute the target algorithm to perform face scanning on the transaction user;
[0007] After identification, the target service request is processed.
[0008] Optionally, the request information further includes identity information of the transaction user, wherein the identity information includes at least one of the following: name of the transaction user, identity identification number, fingerprint, eye pattern.
[0009] Optionally, before the matching target algorithm performs the face recognition process, the method further includes:
[0010] Performing identity authentication on the transaction user according to the identity information of the transaction user;
[0011] After authentication is passed, the matching target algorithm executes the face recognition process.
[0012] Optionally, when the target service request source identification information is of the first type, the method further includes:
[0013] According to the preset target algorithm matching strategy, multiple target service requests are matched with corresponding target algorithms to execute the face recognition process within the preset period T;
[0014] Among them, the preset target algorithm matching strategy can receive customized settings of the face recognition process manager.
[0015] Optionally, the identifying comprises:
[0016] Start the camera to scan the face of the transaction user and obtain the scanning result information;
[0017] The scanning result information is input into the target algorithm to obtain a recognition result. When the recognition result is greater than or equal to a preset threshold, it is determined that the face recognition has passed.
[0018] Optionally, the method further comprises:
[0019] Preset a reference face recognition algorithm; wherein the reference face recognition algorithm is included in the pre-stored face recognition algorithm library;
[0020] According to the result rule of the preset benchmark face recognition algorithm, the recognition result obtained according to the target algorithm is processed as the benchmark value;
[0021] When the reference value of the recognition result is greater than or equal to a preset threshold, it is determined that the face recognition is passed.
[0022] On the other hand, an embodiment of the present application provides a face recognition device, which may include: an interface module, a storage module, a matching module and an execution module; wherein
[0023] The interface module is used to receive a target service request from a transaction user; wherein the request information includes at least service source identification information;
[0024] The matching module is used to match the target algorithm to execute the face recognition process according to the source identification information of the business request;
[0025] The storage module is used to store a face recognition algorithm library;
[0026] The execution module is used to control the camera to perform face scanning on the transaction user according to the target algorithm;
[0027] The execution module is further configured to process the target service request after the identification is successful.
[0028] Optionally, the device further comprises a judgment module, wherein:
[0029] The execution module is specifically used to start the camera to scan the face of the transaction user and obtain the scanning result information;
[0030] The interface module is used to input the scanning result information into the target algorithm to obtain the recognition result;
[0031] The judgment module is used to judge that the face recognition is passed when the recognition result is greater than or equal to a preset threshold.
[0032] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory;
[0033] The memory is used to store operation instructions;
[0034] The processor is used to execute the method described in any of the above embodiments by calling the operation instruction.
[0035] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method described in any of the above embodiments is implemented.
[0036] The face recognition solution provided by the embodiment of the present application receives a target service request from a transaction user; wherein the request information includes at least service source identification information; according to the service request source identification information, a target algorithm is matched to execute a face recognition process; wherein the target algorithm is included in a pre-stored face recognition algorithm library, and the process is used to execute the target algorithm to perform a face scan on the transaction user; after the recognition is passed, the target service request is processed. The technical solution provided by the embodiment of the present application brings the following beneficial effects:
[0037] (1) By identifying the scenario in which the transaction request is initiated, such as through a counter or a mobile terminal, different face recognition algorithms are matched to improve the smoothness of face recognition verification while ensuring transaction security.
[0038] (2) The face recognition system integrates multiple algorithms internally, and can implement multiple diversion methods for the face recognition verification process of multiple business requests according to business scenarios. It supports dynamic switching of face recognition verification process algorithms to ensure business continuity, and can also effectively guide traffic based on the advantages of different algorithms to improve business experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0040] Figure 1 A flowchart of a face recognition method provided in an embodiment of the present application;
[0041] Figure 2 A schematic diagram of the structure of a face recognition device provided in an embodiment of the present application;
[0042] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present invention.
[0044] Those skilled in the art will appreciate that, unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0045] In addition, it should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.
[0046] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0047] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0048] Based on the various problems existing in the existing bank transaction face recognition security verification process introduced in the background technology, the following embodiments of the present invention provide a face recognition method to solve at least one of the above-mentioned defects.
[0049] Figure 1 A schematic diagram of a face recognition process provided by an embodiment of the present application is shown, such as Figure 1 As shown, the method may mainly include:
[0050] S101, receiving a target service request from a transaction user; wherein the request information includes at least service source identification information;
[0051] S102, according to the source identification information of the business request, matching the target algorithm to execute the face recognition process; wherein the target algorithm is included in the pre-stored face recognition algorithm library, and the process is used to execute the target algorithm to perform face scanning on the transaction user;
[0052] S103: After identification, process the target service request.
[0053] In an optional embodiment of the present application, the request information also includes the transaction user's identity information, wherein the identity information includes at least one of the following: the transaction user's name, identity identification number, fingerprint, eye pattern. Before the matching target algorithm executes the face recognition process, the transaction user can be authenticated according to the transaction user's identity information, that is, the basic identity information is authenticated first and then the face recognition verification authentication is started.
[0054] In an optional embodiment, the identifying comprises:
[0055] Start the camera to scan the face of the transaction user and obtain the scanning result information;
[0056] The scanning result information is input into the target algorithm to obtain a recognition result. When the recognition result is greater than or equal to a preset threshold, it is determined that the face recognition has passed.
[0057] In an optional embodiment, the method further comprises:
[0058] Preset a reference face recognition algorithm; wherein the reference face recognition algorithm is included in the pre-stored face recognition algorithm library;
[0059] According to the result rules of the preset benchmark face recognition algorithm, the recognition results obtained by the target algorithm are processed as the benchmark value; the specific implementation method is: the result value of face recognition according to the target algorithm is linearly converted into a unified standard logic. Assuming that the error rate of algorithm A is 65.3% and the error rate of 1 / 10,000 is 71.8%, and the error rate of algorithm B is 70% and the error rate of 1 / 10,000 is 80%, then the conversion scheme of algorithm B to algorithm A is as follows:
[0060] For algorithm B, if the score x is less than 80, it is converted to 65.3+(x-70)*0.65;
[0061] For algorithm B, if the score x>=80, it is converted to 71.8+(x-80)*0.47;
[0062] When the reference value of the recognition result is greater than or equal to a preset threshold, it is determined that the face recognition is passed.
[0063] The embodiment of this application is based on the fact that there are two ways for transaction users to handle business in existing bank transactions, that is, by identifying the scenario where the transaction request is initiated, such as through the counter or your own mobile terminal, to match different face recognition algorithms to improve the smoothness of face recognition verification while ensuring transaction security. In order to more clearly introduce the face recognition method disclosed in this application, this application is now explained in combination with the actual business handling scenarios of the bank:
[0064] Assume that the bank system backend integrates two algorithms, Algorithm A that performs well under Windows camera framing and Algorithm B that performs well under mobile device framing. Then:
[0065] When a transaction user performs face recognition verification when handling business at a bank counter, the face recognition method is implemented as follows:
[0066] Step 1: The Windows client at the bank counter receives the user's transaction request;
[0067] Step 2. The Windows client selects algorithm A to perform face recognition verification based on the parameters (request information) in the request message, and outputs the recognition result to the counter system. Since the counter system has manual review during the transaction process, it can dynamically lower the error recognition rate threshold of one in ten thousand provided by the face recognition system to eliminate low scores caused by indoor light and other reasons, thereby improving customer experience.
[0068] Step 3: After identification, process the user's transaction request.
[0069] When a transaction user performs face recognition verification when handling business in mobile banking, the face recognition method is implemented as follows:
[0070] Step 1: The smartphone receives the user's transaction request;
[0071] Step 2: When the mobile banking system calls the face recognition system, the system selects algorithm B for face recognition verification based on the source of the request message and outputs the recognition result to the mobile banking system. Optionally, A can be used as the benchmark algorithm, and the score of algorithm B will be linearly converted to the score of algorithm A with the thresholds of 1 / 1000, 1 / 10000 as the boundary. The mobile banking system can dynamically use different judgment criteria according to different transaction scenarios. The benchmark threshold can be appropriately lowered in the transfer scenario because there are other verification methods such as dynamic passwords. The benchmark threshold can be appropriately raised for electronic account opening because there are fewer verification methods.
[0072] Step 3: After identification, process the user's transaction request.
[0073] In an optional embodiment, when the target service request source identification information is of the first type, the method further comprises: matching the plurality of target service requests with the corresponding target algorithms within a preset period T to execute a face recognition process according to a preset target algorithm matching strategy;
[0074] Among them, the preset target algorithm matching strategy can receive customized settings of the face recognition process manager.
[0075] The embodiment of the present application is another scenario of user transactions, that is, the super counter system performs face recognition verification. Because the super counter system has both counter services and mobile external expansion services, it is impossible to determine which algorithm to use. It will automatically divert traffic according to the preset traffic of the face recognition system, and the preset value can be adjusted dynamically. For example, according to the proportion of specific business types of the bank, 70% of the transaction volume is allocated to algorithm A, and 30% of the transaction volume is allocated to algorithm B. The MD5 value of the transaction serial number will be calculated for each transaction, and then the MD5 value will be used to find the remainder of 10. If the remainder is greater than 2, it will be assigned to algorithm A. If the remainder is less than 2, it will be assigned to algorithm B. After the face recognition system is processed, the recognition result will be output to the super counter system, which will determine whether the authentication is passed based on the specific business scenario.
[0076] The face recognition method provided in the embodiment of the present application integrates multiple algorithms within the face recognition system. It can implement multiple diversion methods for the face recognition verification process of multiple business requests according to business scenarios, support dynamic switching of face recognition verification process algorithms to ensure business continuity, and can also effectively divert traffic based on the advantages of different algorithms to improve business experience.
[0077] based on Figure 1 The face recognition method shown in the figure, on the other hand, the embodiment of the present application provides a face recognition device, which is applied to a smart terminal, such as Figure 2 As shown, the device may include an interface module 201, a storage module 202, a matching module 203 and an execution module 204; wherein
[0078] The interface module 201 is used to receive a target service request from a transaction user; wherein the request information includes at least service source identification information;
[0079] The 203 matching module is used to match the target algorithm to execute the face recognition process according to the source identification information of the business request;
[0080] The storage module 202 is used to store a face recognition algorithm library;
[0081] The 204 execution module is used to control the camera to perform face scanning on the transaction user according to the target algorithm;
[0082] The 204 execution module is further configured to process the target service request after the identification is successful.
[0083] In an optional embodiment of the present application, the device further includes a judgment module 205, wherein:
[0084] The 204 execution module is specifically used to start the camera to scan the face of the transaction user and obtain the scanning result information;
[0085] The interface module 201 is used to input the scanning result information into the target algorithm to obtain the recognition result;
[0086] The 205 judgment module is used to judge that the face recognition is passed when the recognition result is greater than or equal to a preset threshold.
[0087] It is understandable that the above-mentioned components of the face recognition in this embodiment have the function of realizing Figure 1 The functions of the corresponding steps of the method in the embodiment shown in . The function can be implemented by hardware, or by hardware executing the corresponding software. The hardware or software includes one or more modules or devices corresponding to the above functions. The above modules and devices can be software and / or hardware, and the above modules and devices can be implemented separately or integrated with multiple modules and devices. For the functional description of the above modules and devices, please refer to Figure 1 The corresponding description of the method in the embodiment shown in , therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding method provided above, which will not be repeated here.
[0088] It is understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the specific structure of the face recognition device. In other embodiments of the present application, the face recognition device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0089] An embodiment of the present application provides an electronic device, including a processor and a memory;
[0090] A memory, used for storing operation instructions;
[0091] The processor is used to execute the face recognition method provided in any embodiment of the present application by calling an operation instruction.
[0092] As an example, Figure 3 A schematic diagram of the structure of an electronic device applicable to the embodiment of the present application is shown. Figure 3As shown, the electronic device 2000 includes: a processor 2001 and a memory 2003. Among them, the processor 2001 and the memory 2003 are connected, such as being connected through a bus 2002. Optionally, the electronic device 2000 may also include a transceiver 2004. It should be noted that in actual applications, the transceiver 2004 is not limited to one. It is understandable that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the specific structure of the electronic device 2000. In other embodiments of the present application, the electronic device 2000 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. Optionally, the electronic device may also include a display screen 2005 for displaying images, or receiving user operation instructions when necessary.
[0093] The processor 2001 is applied in the embodiment of the present application to implement the method shown in the above method embodiment. The transceiver 2004 may include a receiver and a transmitter. The transceiver 2004 is applied in the embodiment of the present application to implement the function of the electronic device of the embodiment of the present application communicating with other devices when executed.
[0094] Processor 2001 may be a CPU (Central Processing Unit), a general purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 2001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0095] The processor 2001 may also include one or more processing units, for example: the processor 2001 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural network processor (Neural-network Processing Unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. Among them, the controller can be the nerve center and command center of the electronic device 2000. The controller can generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. A memory can also be set in the processor 2001 for storing instructions and data. In some embodiments, the memory in the processor 2001 is a high-speed cache memory. The memory can save instructions or data that the processor 2001 has just used or circulated. If the processor 2001 needs to use the instruction or data again, it can be directly called from the memory. Repeated access is avoided, the waiting time of the processor 2001 is reduced, and the efficiency of the system is improved.
[0096] The processor 2001 can run the face recognition method provided in the embodiment of the present application to reduce the user's operation complexity, improve the intelligence of the terminal device, and enhance the user experience. The processor 2001 can include different devices. For example, when the CPU and GPU are integrated, the CPU and GPU can cooperate to execute the face recognition method provided in the embodiment of the present application. For example, part of the algorithm in the face recognition method is executed by the CPU, and the other part of the algorithm is executed by the GPU to obtain faster processing efficiency.
[0097] The bus 2002 may include a path to transmit information between the above components. The bus 2002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 2002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0098] The memory 2003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or may include a high-speed random access memory, or may include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this.
[0099] Optionally, the memory 2003 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 2001. The processor 2001 is used to execute the application code stored in the memory 2003 to implement the face recognition method provided in any embodiment of the present application.
[0100] The memory 2003 can be used to store computer executable program codes, which include instructions. The processor 2001 executes various functional applications and data processing of the electronic device 2000 by running the instructions stored in the memory 2003. The memory 2003 may include a program storage area and a data storage area. Among them, the program storage area can store the code of the operating system, application program, etc. The data storage area can store data created during the use of the electronic device 2000 (such as images, videos, etc. collected by the camera application), etc.
[0101] The memory 2003 may also store one or more computer programs corresponding to the face recognition method provided in the embodiment of the present application. The one or more computer programs are stored in the above-mentioned memory 2003 and are configured to be executed by the one or more processors 2001. The one or more computer programs include instructions, and the above-mentioned instructions can be used to execute each step in the above-mentioned corresponding embodiment.
[0102] Of course, the code of the face recognition method provided in the embodiment of the present application can also be stored in an external memory. In this case, the processor 2001 can run the code of the face recognition method stored in the external memory through the external memory interface, and the processor 2001 can control the running face recognition process.
[0103] The display screen 2005 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 2000 may include 1 or N display screens 2005, where N is a positive integer greater than 1. The display screen 2005 may be used to display information input by a user or information provided to a user, as well as various graphical user interfaces (GUIs). For example, the display screen 2005 may display photos, videos, web pages, or files, etc. For another example, the display screen 2005 may display the following: Figure 1 The graphical user interface shown in Figure 1. Figure 1 The graphical user interface shown includes a status bar, a hidden navigation bar, time and weather widgets, and application icons, such as a browser icon. The status bar includes the operator name (such as China Mobile), mobile network (such as 4G), time, and remaining battery. The navigation bar includes a back key icon, a home key icon, and a forward key icon. In addition, it is understood that in some embodiments, the status bar may also include a Bluetooth icon, a Wi-Fi icon, an external device icon, etc. It is also understood that in other embodiments, Figure 1 The graphical user interface shown may also include a Dock bar, which may include commonly used application icons, etc. When the processor 2001 detects a touch event of a user's finger (or a stylus, etc.) on an application icon, in response to the touch event, the user interface of the application corresponding to the application icon is opened and displayed on the display screen 2005.
[0104] The electronic device provided in the embodiment of the present application is applicable to any embodiment of the above method. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, which will not be repeated here.
[0105] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the face recognition method shown in the above method embodiment is implemented.
[0106] The computer-readable storage medium provided in the embodiment of the present application is applicable to any embodiment of the above-mentioned method. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, which will not be repeated here.
[0107] The embodiment of the present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the above-mentioned related steps to implement the method in the above-mentioned embodiment. The computer program product provided in the embodiment of the present application is applicable to any embodiment of the above-mentioned method, and therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, which will not be repeated here.
[0108] The face recognition solution provided in the embodiment of the present application receives a target business request from a transaction user; wherein the request information includes at least business source identification information; according to the business request source identification information, matches the target algorithm to execute the face recognition process; wherein the target algorithm is included in a pre-stored face recognition algorithm library, and the process is used to execute the target algorithm to perform a face scan on the transaction user; after the recognition is passed, the target business request is processed. The face recognition solution provided in the embodiment of the present application matches different face recognition algorithms by identifying the scenario in which the transaction request is initiated to improve the smoothness of face recognition verification while ensuring transaction security. In addition, by integrating multiple algorithms within the face recognition system, multiple diversion methods can be implemented for the face recognition verification process of multiple business requests according to business scenarios, supporting dynamic switching of face recognition verification process algorithms to ensure business continuity, and effective diversion can also be performed according to the advantages of different algorithms to improve business experience.
[0109] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be discarded or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0110] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0111] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0112] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0113] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0114] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, and can also make some improvements and modifications. These changes, substitutions, improvements and modifications should also be considered to be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A face recognition method, which is applied to an intelligent terminal, characterized in that: The method comprises: Receive a target service request from a transaction user; wherein the request information includes at least service source identification information and transaction user identity information, and the identity information includes at least one of the following: transaction user name, identity identification number, fingerprint, eye pattern; Perform identity authentication on the transaction user according to the identity information of the transaction user; if the authentication is successful, match the target algorithm to execute the face recognition process; According to the source identification information of the business request, a face recognition process is executed by matching a target algorithm; wherein the target algorithm is included in a pre-stored face recognition algorithm library, and the process is used to execute the target algorithm to perform face scanning on the transaction user; The camera is started to scan the face of the transaction user and obtain the scanning result information; the scanning result information is input into the target algorithm to obtain the recognition result, and according to the result rule of the preset benchmark face recognition algorithm, the recognition result obtained according to the target algorithm is processed as a benchmark value, and the result value of the face recognition according to the target algorithm is linearly converted and converted into a unified standard logic; when the benchmark value of the recognition result is greater than or equal to the preset threshold value, it is determined that the face recognition is passed, and after the recognition is passed, the target business request is processed, wherein the benchmark face recognition algorithm is preset, and the benchmark face recognition algorithm is included in the pre-stored face recognition algorithm library.
2. The face recognition method according to claim 1, characterized in that: When the target service request source identification information is of the first type, the method further includes: According to the preset target algorithm matching strategy, multiple target service requests are matched with corresponding target algorithms to execute the face recognition process within the preset period T; Among them, the preset target algorithm matching strategy can receive customized settings of the face recognition process manager.
3. A face recognition device, applied to a smart terminal, characterized in that: The device comprises: an interface module, a storage module, a matching module, an execution module, and a judgment module; wherein The interface module is used to receive a target service request from a transaction user; wherein the request information includes at least service source identification information and transaction user identity information, and the identity information includes at least one of the following: transaction user name, identity identification number, fingerprint, eye pattern; The matching module is used to authenticate the transaction user according to the identity information of the transaction user; if the authentication is passed, the matching target algorithm executes the face recognition process; According to the source identification information of the business request, a matching target algorithm is used to execute a face recognition process; The storage module is used to store a face recognition algorithm library, the target algorithm is included in the pre-stored face recognition algorithm library, and the reference face recognition algorithm is included in the pre-stored face recognition algorithm library; The execution module is used to control the camera to perform face scanning on the transaction user according to the target algorithm to obtain scanning result information; The interface module is used to input the scanning result information into the target algorithm to obtain the recognition result; the execution module is also used to process the target service request after the recognition is passed, and according to the result rule of the preset benchmark face recognition algorithm, the recognition result obtained according to the target algorithm is processed as a benchmark value, and the result value of face recognition according to the target algorithm is linearly converted into a unified standard logic; The judgment module is used to judge that the face recognition is passed when the recognition result is greater than or equal to a preset threshold.
4. An electronic device, characterized in that: including a processor and a memory; The memory is used to store operation instructions; The processor is used to execute the method according to any one of claims 1-2 by calling the operation instruction.
5. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.
