Face recognition detection method and device for sim card, sim card and electronic device

CN115376172BActive Publication Date: 2026-11-03CHINA MOBILE COMM GRP CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110545830.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-19
Publication Date
2026-11-03
Estimated Expiration
2041-05-19

AI Technical Summary

Technical Problem

In existing mobile phone verification technologies, users' images and videos are at risk of being intercepted and leaked during transmission, resulting in the inability to effectively protect user privacy.

Method used

The system obtains the user's video image authentication information through the SIM card, extracts facial features and SIM card feature information to generate unique authentication information, and encrypts it before transmission to avoid directly transmitting sensitive information such as the user's portrait.

Benefits of technology

It effectively protects user privacy, reduces the transmission of sensitive information during the authentication process, and improves the security of information transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115376172B_ABST
    Figure CN115376172B_ABST
Patent Text Reader

Abstract

The application provides a face recognition detection method and device for a SIM card, a SIM card and an electronic device, and the method comprises the following steps: obtaining video image authentication information of a user; generating unique authentication information based on face feature information extracted from the video image authentication information and SIM card feature information; and sending the unique authentication information to an authentication server to perform user identity authentication by the authentication server, wherein the video image authentication information is obtained by the SIM card, the face feature information in a video stream is extracted by the SIM card, and then the face feature information and other information are sent to the authentication server; and the information sent by the terminal to the authentication server does not include sensitive information such as a user portrait, thereby effectively protecting the privacy of the user and reducing the transmission of sensitive information in the authentication process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a face recognition detection method, device, SIM card, and electronic device for SIM cards. Background Technology

[0002] The existing mobile phone verification technology works as follows: the user initiates a verification request, accesses the mobile phone camera through an APP or H5 authentication page, the APP or H5 transmits the video / image captured by the camera to the authentication server, and the authentication server processes the video / image and sends the authentication result back to the mobile phone.

[0003] Throughout the authentication process, a large amount of sensitive information is involved, including user images and videos. There is a risk that the videos / images may be intercepted when they are sent to the authentication server. Although the transmission method is encrypted, once the videos / images are intercepted, they can be obtained through reverse engineering, thus compromising user privacy.

[0004] Therefore, how to provide a face recognition detection solution that can reduce the transmission of sensitive information during the authentication process and protect user privacy is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] This invention provides a face recognition detection method, device, SIM card, and electronic device for SIM cards, which can reduce the transmission of sensitive information during the authentication process and protect user privacy.

[0006] In a first aspect, embodiments of the present invention provide a face recognition detection method for a SIM card, comprising:

[0007] Obtain the user's video and image authentication information;

[0008] A unique authentication information is generated based on the facial feature information and SIM card feature information extracted from the video image authentication information;

[0009] The unique authentication information is sent to the authentication server so that the authentication server can authenticate the user's identity.

[0010] In one embodiment, obtaining the user's video image authentication information includes:

[0011] Initiate the first liveness verification request to the user;

[0012] The user is prompted to read a preset text.

[0013] Activate the terminal's camera function to record the user's lip-reading video;

[0014] The lip-reading video was confirmed as video image authentication information.

[0015] In one embodiment, obtaining the user's video image authentication information includes:

[0016] Initiate a second liveness verification request to the user;

[0017] Prompt users to perform a nodding, looking up, or blinking authentication action;

[0018] Use the mobile terminal's camera to capture multiple frames of images when the user performs authentication actions such as nodding, looking up, or blinking.

[0019] The best frame among the multi-frame images is identified as the video image authentication information.

[0020] In one embodiment, generating unique authentication information based on the facial feature information extracted from the video image authentication information and the SIM card feature information includes:

[0021] Obtain SIM card feature information; the SIM card feature information includes: a unique SIM ID, user identity information, and a face detection authentication pseudocode preset in the SIM card;

[0022] Extract corresponding facial feature information based on video image authentication information;

[0023] The unique authentication information is generated by combining the SIM card feature information and facial feature information with a real-time generated random number and a time tag.

[0024] In one embodiment, after sending the unique authentication information to the authentication server so that the authentication server can perform user authentication, the method further includes:

[0025] Receive the authentication result from the authentication server;

[0026] Based on the authentication result, as well as the service identifier and user identifier, generate verification device information;

[0027] The verification device information is sent to the verification device so that a unique verification association matching is generated between the verification device and the authentication server.

[0028] In one embodiment, obtaining the user's video image authentication information includes:

[0029] Receive the request sent via the air interface to wake up the user terminal camera, and simultaneously receive the action verification identifier;

[0030] The terminal camera is activated, and images of the user's face and movements are collected as video image authentication information.

[0031] The SWP data transmission channel of the SIM card is activated to transmit the video image authentication information.

[0032] Secondly, embodiments of the present invention provide a face recognition detection device for a SIM card, comprising:

[0033] The information acquisition module is used to acquire the user's video image authentication information;

[0034] The information generation module is used to generate unique authentication information based on the facial feature information and SIM card feature information extracted from the video image authentication information;

[0035] The information sending module is used to send the unique authentication information to the authentication server so that the authentication server can perform user identity authentication.

[0036] In one embodiment, the information acquisition module includes:

[0037] The first request unit is used to initiate the first liveness authentication request to the user;

[0038] The first prompt unit is used to prompt the user to read the preset text.

[0039] The first calling unit is used to activate the terminal's camera function to record the user's lip-reading video;

[0040] The first confirmation unit is used to confirm the lip-reading video as video image authentication information.

[0041] In one embodiment, the information acquisition module includes:

[0042] The second request unit is used to initiate a second liveness authentication request to the user;

[0043] The second prompt unit is used to prompt the user to perform a nodding, looking up, or blinking authentication action.

[0044] The second calling unit is used to call the mobile terminal camera to capture multiple frames of images when the user performs authentication actions such as nodding, looking up, or blinking.

[0045] The second confirmation unit is used to confirm the best frame among the multi-frame images as video image authentication information.

[0046] In one embodiment, the information generation module includes:

[0047] An information acquisition unit is used to acquire SIM card feature information; the SIM card feature information includes: a unique SIM ID, user identity information, and a face detection authentication pseudocode preset in the SIM card;

[0048] The feature extraction unit is used to extract corresponding facial feature information based on video image authentication information;

[0049] The information generation unit is used to combine the SIM card feature information and facial feature information with a real-time generated random number and a time tag to generate unique authentication information.

[0050] In one embodiment, it also includes:

[0051] The result receiving module is used to receive the authentication result returned by the authentication server;

[0052] The verification information generation module is used to generate verification device information based on the authentication result, business identifier, and user identifier.

[0053] The verification information sending module is used to send the verification device information to the verification device so that a unique verification association matching is generated between the verification device and the authentication server.

[0054] In one embodiment, the information acquisition module includes:

[0055] The request receiving unit is used to receive the request sent by the air interface to wake up the user terminal camera, and to simultaneously receive the action verification identifier.

[0056] The information collection unit is used to activate the terminal camera and collect images of the user's face and motion features as video image authentication information.

[0057] The channel activation unit is used to activate the SWP data transmission channel of the card in order to transmit the video image authentication information.

[0058] Thirdly, embodiments of the present invention provide a SIM card equipped with the face recognition detection device for the SIM card described in the second aspect above.

[0059] Fourthly, embodiments of the present invention provide an electronic device having a SIM card as described in the third aspect above.

[0060] Fifthly, the present invention provides an electronic device, including a memory and a memory storing a computer program, wherein the processor executes the program to implement the steps of the face recognition detection method for a SIM card described in the first aspect.

[0061] In a sixth aspect, the present invention provides a processor-readable storage medium storing a computer program for causing the processor to perform the steps of the face recognition detection method for a SIM card described in the first aspect.

[0062] This invention provides a face recognition detection method, device, SIM card, and electronic device for SIM cards. It obtains video image authentication information through the SIM card, extracts facial features from the video stream, and then sends the facial features and other information to the authentication server. The information sent by the terminal to the authentication server does not include sensitive information such as the user's portrait, effectively protecting user privacy and reducing the transmission of sensitive information during the authentication process. Attached Figure Description

[0063] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0064] Figure 1 This is one of the flowchart illustrations of a face recognition detection method for a SIM card provided in an embodiment of the present invention;

[0065] Figure 2 This is a second schematic flowchart of a face recognition detection method for a SIM card provided in an embodiment of the present invention;

[0066] Figure 3 This is an interactive schematic diagram of a face recognition detection method for a SIM card provided in an embodiment of the present invention;

[0067] Figure 4 This is a schematic diagram of the composition structure of a face recognition detection device for a SIM card provided in an embodiment of the present invention;

[0068] Figure 5 This is a schematic diagram of the structure of an electronic device provided for an embodiment of the invention. Detailed Implementation

[0069] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0070] The following is combined Figures 1-3 This invention describes a face recognition detection method for SIM cards.

[0071] Figure 1This is one of the flowchart illustrations of a face recognition detection method for a SIM card provided in an embodiment of the present invention; Figure 2 This is a second schematic flowchart of a face recognition detection method for a SIM card provided in an embodiment of the present invention; Figure 3 This is an interactive schematic diagram of a face recognition detection method for a SIM card provided in an embodiment of the present invention.

[0072] In one specific embodiment of the present invention, an embodiment of the present invention provides a face recognition detection method for a SIM card, comprising:

[0073] Step 110: Obtain the user's video image authentication information;

[0074] In this embodiment of the invention, the SIM card can wake up the terminal where the SIM is located via the 7816 protocol and has functions such as opening the SIM card channel. When an external device needs to authenticate the user, it can wake up the user terminal camera through the air interface (7816 interface) and transmit the action verification identifier simultaneously. The SIM card wakes up the terminal camera, collects the user's face and action feature images or videos, and wakes up the SIM card SWP data transmission channel to transmit the video stream.

[0075] Specifically, in one embodiment, to obtain a user's video image authentication information, a first liveness authentication request can be initiated to the user; the user can be prompted to recite a preset text; the terminal's camera function can be activated to record the user's lip-reading video; and the lip-reading video can be confirmed as video image authentication information. In other words, a video of the user reciting a preset text can be recorded, and the lip movements in that video, i.e., the lip-reading video, can be used as video image authentication information.

[0076] In another embodiment of the present invention, in order to obtain the user's video image authentication information, a second liveness authentication request can be initiated to the user; the user can be prompted to perform a nodding, raising, or blinking authentication action; the mobile terminal camera can be used to capture multiple frames of images when the user performs the nodding, raising, or blinking authentication action; the best frame among the multiple frames can be identified as the video image authentication information. That is, the user can be instructed to perform a preset action, and images of the user performing these actions can be captured, and the clearest image can be selected as the video image authentication information.

[0077] Step 120: Generate unique authentication information based on the facial feature information extracted from the video image authentication information and the SIM card feature information;

[0078] Specifically, the transmitted authentication features integrate SIM card hardware information, such as hardware ID, pseudocode of the face detection authentication storage device, user's mobile phone number, user identity information, and video extracted feature information, ensuring the irreversibility and uniqueness of the integrated information. When face recognition is required, image preprocessing, image feature extraction, and classification can be performed on the images in the video image authentication information. Feature extraction of face images generally focuses on texture structure features. Specifically, face feature extraction can be divided into time-domain feature extraction and frequency-domain feature extraction. In the time domain, affine transformations, mappings, and methods such as using special matrices and the relationships between pixels in the neighborhood are generally employed to describe the global or local structure. In the frequency domain, the image matrix is ​​imagined as a signal, and signal analysis methods are used to process the image, such as Fourier transform, wavelet analysis, wavelet packet decomposition, etc., before reconstruction. This achieves the extraction of face features. The design mechanism for user detection result label transmission and the full-process desensitization verification mechanism are also included.

[0079] Step 130: Send the unique authentication information to the authentication server so that the authentication server can authenticate the user's identity.

[0080] The electronic device containing the SIM card sends the unique authentication information to the authentication server. The authentication server compares the user's facial features already existing on the server with the facial features in the unique authentication information. If the similarity exceeds a preset value, the user is determined to be a legitimate user; if the similarity does not reach the preset value, the user is an illegitimate user.

[0081] In one embodiment, to generate unique authentication information based on the facial feature information extracted from the video image authentication information and the SIM card feature information, the following steps can be performed:

[0082] Step 210: Obtain SIM card feature information; the SIM card feature information includes: a unique SIM ID, user identity information, and a face detection authentication pseudocode preset in the SIM card;

[0083] In this embodiment, the SIM card feature information of the device where the SIM card is located can be obtained first, such as the unique SIM ID of the SIM card, user identity information, and a face detection authentication pseudocode preset in the SIM card. The face detection authentication pseudocode is a preset number for the face detection authentication module that performs face detection. The user identity information can be the user's ID card information, such as the user's name, address, date of birth, etc., or it can include the mobile phone number information bound to the SIM card.

[0084] Step 220: Extract the corresponding facial feature information based on the video image authentication information;

[0085] For extracting facial feature information corresponding to video image authentication information, for example, Python facial image feature extraction can be used. Specifically, the gamma space and color space can be standardized first. To reduce the influence of lighting factors, the entire image needs to be normalized. In the texture intensity of an image, the local surface exposure contributes a large proportion, so this compression process can effectively reduce local shadows and lighting variations in the image. Since color information is not very useful, it is usually converted to grayscale first. Next, the image gradient is calculated, specifically the gradients in the horizontal and vertical directions, and the gradient direction value at each pixel position is calculated accordingly. The derivative operation can not only capture contours, shadows, and some texture information, but also further weaken the influence of lighting. Then, a histogram of orientations is constructed, and each pixel in the cell unit votes for a certain orientation-based histogram channel. The voting adopts a weighted voting method, that is, each vote has a weight, which is calculated based on the gradient magnitude of that pixel. The weight can be represented by the amplitude itself or as a function of the amplitude. Practical tests show that using the amplitude to represent the weight yields the best results. Alternatively, a function of the amplitude can be chosen, such as the square root of the amplitude, the square of the amplitude, or a truncated form of the amplitude. Cell units can be rectangular or star-shaped. Histogram channels are evenly distributed within the range of 0-1800 (undirected) or 0-3600 (directed). Research has found that using undirected gradients and 9 histogram channels achieves better results in face detection.

[0086] Step 230: Combine the SIM card feature information and facial feature information with a real-time generated random number and a time tag to generate unique authentication information.

[0087] After generating the above information, a random number and the current time tag can be generated in real time. The facial feature information and SIM card information are then combined and encrypted to generate unique authentication information.

[0088] In one embodiment, to enable the association information transmitted by the verification device and the authentication server to be mutually mapped, but without either party knowing the other's original information, management and calculation are performed using the envoy identifier of the face detection authentication storage device in the SIM card. Specifically, after sending the unique authentication information to the authentication server for user authentication, the SIM card can also receive the authentication result fed back by the authentication server; based on the authentication result, service identifier, and user identifier, verification device information is generated; the verification device information is sent to the verification device so that a unique verification association matching is generated between the verification device and the authentication server.

[0089] In another embodiment, the electronic device containing the SIM card can also receive a request sent via the air interface to wake up the user terminal camera, and simultaneously receive an action verification identifier; wake up the terminal camera and collect user face and action feature images as video image authentication information; wake up the SIM card SWP data transmission channel to transmit the video image authentication information.

[0090] In practice, users initiate facial recognition at verification devices such as turnstiles and other equipment; electronic devices with SIM cards verify the authentication results with the authentication server; the associated information transmitted between the verification devices and the authentication server can be mapped to each other, but neither party knows the other's original information. The information is managed and calculated through the special identifier of the facial detection and authentication storage device in the SIM card; finally, the authentication result is notified to the risk control system and business system.

[0091] like Figure 3 As shown, Figure 3 This is a flowchart illustrating the interaction process between the electronic device containing the SIM card and the authentication server and verification device. Specifically, the interaction steps are as follows:

[0092] Step 1: The SIM card obtains the raw video information;

[0093] Step 2: Collect core features of the SIM card, including: unique SIM ID and pseudocode of the face detection authentication storage device;

[0094] Step 3: Collect user information (identity ID, video feature stream sampling extraction);

[0095] Step 4: Sample and integrate the information from Steps 2 and 3, and combine it with random numbers and time tags to generate unique and irreversible related information;

[0096] Step 5: Transfer the information generated in Step 4 to the authentication server;

[0097] The authentication features transmitted integrate SIM card hardware information (such as hardware ID, pseudocode of face detection authentication storage device, etc.), user mobile phone number, user identity information, and video extracted feature information, ensuring that the integrated information is irreversible and independent and unique.

[0098] User detection result label transmission design mechanism, and end-to-end desensitization and verification mechanism;

[0099] Step 6: The authentication server stores the authentication information;

[0100] Step 7: The authentication server will return the authentication result;

[0101] Step 8: Combine the business identifier, user identifier, and authentication result ☆ to generate verification device information;

[0102] Step 9: The terminal transmits the verification device information to the verification device.

[0103] Step 10: Verify uniqueness and correlation matching; neither party can restore the other's verification information.

[0104] This invention provides a face recognition detection method for SIM cards. The method obtains video image authentication information through the SIM card, extracts facial features from the video stream, and then sends the facial features and other information to the authentication server. The information sent by the terminal to the authentication server does not include sensitive information such as user portraits, effectively protecting user privacy and reducing the transmission of sensitive information during the authentication process.

[0105] The following describes the face recognition detection device for SIM cards provided by the present invention. The face recognition detection device for SIM cards described below can be referred to in correspondence with the face recognition detection method for SIM cards described above.

[0106] Please refer to Figure 4 , Figure 4 This is a schematic diagram of the composition structure of a face recognition detection device for a SIM card provided in an embodiment of the present invention.

[0107] In another specific embodiment of the present invention, an embodiment of the present invention provides a face recognition detection device 400 for a SIM card, comprising:

[0108] Information acquisition module 410 is used to acquire the user's video image authentication information;

[0109] Information generation module 420 is used to generate unique authentication information based on the facial feature information and SIM card feature information extracted from the video image authentication information;

[0110] The information sending module 430 is used to send the unique authentication information to the authentication server so that the authentication server can perform user identity authentication.

[0111] In one embodiment, the information acquisition module includes:

[0112] The first request unit is used to initiate the first liveness authentication request to the user;

[0113] The first prompt unit is used to prompt the user to read the preset text.

[0114] The first calling unit is used to activate the terminal's camera function to record the user's lip-reading video;

[0115] The first confirmation unit is used to confirm the lip-reading video as video image authentication information.

[0116] In one embodiment, the information acquisition module includes:

[0117] The second request unit is used to initiate a second liveness authentication request to the user;

[0118] The second prompt unit is used to prompt the user to perform a nodding, looking up, or blinking authentication action.

[0119] The second calling unit is used to call the mobile terminal camera to capture multiple frames of images when the user performs authentication actions such as nodding, looking up, or blinking.

[0120] The second confirmation unit is used to confirm the best frame among the multi-frame images as video image authentication information.

[0121] In one embodiment, the information generation module includes:

[0122] An information acquisition unit is used to acquire SIM card feature information; the SIM card feature information includes: a unique SIM ID, user identity information, and a face detection authentication pseudocode preset in the SIM card;

[0123] The feature extraction unit is used to extract corresponding facial feature information based on video image authentication information;

[0124] The information generation unit is used to combine the SIM card feature information and facial feature information with a real-time generated random number and a time tag to generate unique authentication information.

[0125] In one embodiment, it also includes:

[0126] The result receiving module is used to receive the authentication result returned by the authentication server;

[0127] The verification information generation module is used to generate verification device information based on the authentication result, business identifier, and user identifier.

[0128] The verification information sending module is used to send the verification device information to the verification device so that a unique verification association matching is generated between the verification device and the authentication server.

[0129] In one embodiment, the information acquisition module includes:

[0130] The request receiving unit is used to receive the request sent by the air interface to wake up the user terminal camera, and to simultaneously receive the action verification identifier.

[0131] The information collection unit is used to activate the terminal camera and collect images of the user's face and motion features as video image authentication information.

[0132] The channel activation unit is used to activate the SWP data transmission channel of the card in order to transmit the video image authentication information.

[0133] In another specific embodiment of the present invention, the present invention provides a SIM card, which is equipped with the face recognition detection device for the SIM card described in any of the above embodiments.

[0134] In another specific embodiment of the present invention, an electronic device is provided, which is provided with a SIM card as described in any of the above embodiments.

[0135] This invention provides a face recognition detection device for SIM cards, a SIM card, and an electronic device. The device obtains video image authentication information through the SIM card, extracts facial features from the video stream, and then sends the facial features and other information to the authentication server. The information sent by the terminal to the authentication server does not include sensitive information such as the user's portrait, effectively protecting user privacy and reducing the transmission of sensitive information during the authentication process.

[0136] The terminal device involved in the embodiments of this application may be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connectivity, or other processing devices connected to a wireless modem. The name of the terminal device may differ in different systems; for example, in a 5G system, the terminal device may be called User Equipment (UE).

[0137] The network device involved in the embodiments of this application can be a base station, which may include multiple cells providing services to terminals. Depending on the specific application, a base station may also be called an access point, or a device in an access network that communicates with wireless terminal devices through one or more sectors on the air interface, or other names.

[0138] Figure 5 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 5 As shown, the electronic device may include a processor 510, a communication interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other via the communication bus 540. The processor 510 can call a computer program in the memory 530 to execute steps of a face recognition detection method for a SIM card, such as:

[0139] Obtain the user's video and image authentication information;

[0140] A unique authentication information is generated based on the facial feature information and SIM card feature information extracted from the video image authentication information;

[0141] The unique authentication information is sent to the authentication server so that the authentication server can authenticate the user's identity.

[0142] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0143] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, the computer is able to execute the face recognition detection method for a SIM card provided by the above methods, the method comprising:

[0144] Obtain the user's video and image authentication information;

[0145] A unique authentication information is generated based on the facial feature information and SIM card feature information extracted from the video image authentication information;

[0146] The unique authentication information is sent to the authentication server so that the authentication server can authenticate the user's identity.

[0147] On the other hand, embodiments of this application also provide a processor-readable storage medium storing a computer program for causing the processor to execute the face recognition detection method for a SIM card provided in the above embodiments, for example including:

[0148] Obtain the user's video and image authentication information;

[0149] A unique authentication information is generated based on the facial feature information and SIM card feature information extracted from the video image authentication information;

[0150] The unique authentication information is sent to the authentication server so that the authentication server can authenticate the user's identity.

[0151] The processor-readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic memory (e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO)), optical memory (e.g., CD, DVD, BD, HVD), and semiconductor memory (e.g., ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)).

[0152] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0153] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0154] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A face recognition detection method for SIM cards, characterized in that, include: The camera of the terminal where the SIM card is located is invoked through the 7816 protocol in the SIM card, and the user's video image authentication information is obtained. Based on the facial feature information and SIM card feature information extracted from the video image authentication information, irreversible and unique authentication information is generated. The unique authentication information is sent to the authentication server through the SIM card-activated SWP data transmission channel so that the authentication server can authenticate the user's identity. Receive the authentication result from the authentication server; Based on the authentication result, as well as the service identifier and user identifier, generate verification device information; Send the verification device information to the verification device so that a unique verification association matching can be generated between the verification device and the authentication server; The process of generating irreversible and unique authentication information based on facial feature information extracted from the video image authentication information and SIM card feature information includes: Obtain SIM card feature information; the SIM card feature information includes: a unique SIM ID, user identity information, and a face detection authentication pseudocode preset in the SIM card; Extract corresponding facial feature information based on video image authentication information; The SIM card feature information and facial feature information are combined with real-time generated random numbers and time tags to generate irreversible and unique authentication information; The extraction of corresponding facial feature information based on video image authentication information includes: The video image authentication information is standardized in gamma space and color space, and the processed image is converted into a grayscale image; Calculate the gradient of the grayscale image along the horizontal and vertical axes to obtain the gradient direction value at each pixel position; Based on the gradient direction values, an orientation histogram is constructed. Weighted voting is performed using the gradient magnitude of pixels within a cell unit as the weight. Undirected gradients and multiple histogram channels are selected to statistically analyze local facial features and complete facial feature extraction.

2. The face recognition detection method for SIM cards according to claim 1, characterized in that, The acquisition of the user's video image authentication information includes: Initiate the first liveness verification request to the user; The user is prompted to read a preset text. Activate the terminal's camera function to record the user's lip-reading video; The lip-reading video was confirmed as video image authentication information.

3. The face recognition detection method for SIM cards according to claim 1, characterized in that, The acquisition of the user's video image authentication information includes: Initiate a second liveness verification request to the user; Prompt users to perform a nodding, looking up, or blinking authentication action; Use the mobile terminal's camera to capture multiple frames of images when the user performs authentication actions such as nodding, looking up, or blinking. The best frame among the multi-frame images is identified as the video image authentication information.

4. The face recognition detection method for a SIM card according to any one of claims 1 to 3, characterized in that, The acquisition of the user's video image authentication information includes: Receive the request sent via the air interface to wake up the user terminal camera, and simultaneously receive the action verification identifier; The terminal camera is activated, and images of the user's face and movements are collected as video image authentication information. The SWP data transmission channel of the SIM card is activated to transmit the video image authentication information.

5. A face recognition detection device for a SIM card, characterized in that, include: The information acquisition module is used to wake up the camera of the terminal where the SIM card is located through the 7816 protocol in the SIM card and obtain the user's video image authentication information. The information generation module is used to generate irreversible and unique authentication information based on the facial feature information and SIM card feature information extracted from the video image authentication information; The information sending module is used to send the unique authentication information to the authentication server through the SIM card-activated SWP data transmission channel so that the authentication server can perform user identity authentication. The result receiving module is used to receive the authentication result returned by the authentication server; The verification information generation module is used to generate verification device information based on the authentication result, business identifier, and user identifier. The verification information sending module is used to send the verification device information to the verification device so that a unique verification association matching is generated between the verification device and the authentication server. The information generation module includes: An information acquisition unit is used to acquire SIM card feature information; the SIM card feature information includes: a unique SIM ID, user identity information, and a face detection authentication pseudocode preset in the SIM card; The feature extraction unit is used to extract corresponding facial feature information based on video image authentication information; The information generation unit is used to combine the SIM card feature information and facial feature information with a real-time generated random number and a time tag to generate irreversible and unique authentication information. The information generation module further includes: The video image authentication information is standardized in gamma space and color space, and the processed image is converted into a grayscale image; Calculate the gradient of the grayscale image along the horizontal and vertical axes to obtain the gradient direction value at each pixel position; Based on the gradient direction values, an orientation histogram is constructed. Weighted voting is performed using the gradient magnitude of pixels within a cell unit as the weight. Undirected gradients and multiple histogram channels are selected to statistically analyze local facial features and complete facial feature extraction.

6. The face recognition detection device for a SIM card according to claim 5, characterized in that, The information acquisition module includes: The first request unit is used to initiate the first liveness authentication request to the user; The first prompt unit is used to prompt the user to read the preset text. The first calling unit is used to activate the terminal's camera function to record the user's lip-reading video; The first confirmation unit is used to confirm the lip-reading video as video image authentication information.

7. The face recognition detection device for a SIM card according to claim 5, characterized in that, The information acquisition module includes: The second request unit is used to initiate a second liveness authentication request to the user; The second prompt unit is used to prompt the user to perform a nodding, looking up, or blinking authentication action. The second calling unit is used to call the mobile terminal camera to capture multiple frames of images when the user performs authentication actions such as nodding, looking up, or blinking. The second confirmation unit is used to confirm the best frame among the multi-frame images as video image authentication information.

8. The face recognition detection device for a SIM card according to any one of claims 5 to 7, characterized in that, The information acquisition module includes: The request receiving unit is used to receive the request sent by the air interface to wake up the user terminal camera, and to simultaneously receive the action verification identifier. The information collection unit is used to activate the terminal camera and collect images of the user's face and motion features as video image authentication information. The channel activation unit is used to activate the SWP data transmission channel of the card in order to transmit the video image authentication information.

9. A SIM card, characterized in that, The device includes a face recognition detection apparatus for a SIM card as described in any one of claims 5 to 8.

10. An electronic device, characterized in that, The device is equipped with the SIM card as described in claim 9.

11. An electronic device comprising a processor and a memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the face recognition detection method for a SIM card as described in any one of claims 1 to 4.

12. A processor-readable storage medium, characterized in that, The processor-readable storage medium stores a computer program for causing the processor to perform the steps of the face recognition detection method for a SIM card as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Identity authentication method and system based on fingerprint identification

    CN110647733A

  • Method and device for writing face feature value and network identity ID into SIM card

    CN112150683A