Identity verification method and related equipment

By randomly determining the target shooting strategy and shooting prompt information, adjusting the tilt status of the user's ID, identifying and defending against injection attacks of forged IDs, and improving the reliability and security of eKYC's identity verification.

CN119066641APending Publication Date: 2024-12-03ANT BLOCKCHAIN TECHNOLOGY (SHANGHAI) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411315828.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

During the electronic identity authentication (eKYC), malicious organizations or individuals conduct injected attacks by forging document images or videos, bypassing the defense system, resulting in insecure and unreliability of identity verification.

Method used

By randomly determining the target shooting strategy for the user's ID, outputting shooting prompt information to the user, requiring the user to adjust the tilt state of the ID in the shooting screen, and in response to the user's operation to capture the image, determine whether the image meets the policy requirements, and thus perform identity verification.

Benefits of technology

Effectively identify and defend against injected attacks of forged documents, improve the reliability and security of identity verification, and ensure the smooth progress of the identity verification process of real users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119066641A_ABST
    Figure CN119066641A_ABST
Patent Text Reader

Abstract

The invention provides an identity verification method and related equipment. The method comprises the following steps: in response to an identity verification operation based on a user certificate triggered by a user, randomly determining a target shooting strategy for the user certificate; wherein the target shooting strategy comprises a randomly selected shooting inclination state; outputting and displaying shooting prompt information corresponding to the target shooting strategy to a user so as to prompt the user to adjust the inclination state of the user certificate in the shooting picture according to the target shooting strategy; shooting a first random image containing the user certificate in response to a shooting operation triggered by a user or cut-off of shooting countdown, and determining whether a shooting inclination state corresponding to the user certificate in the first random image meets the target shooting strategy; and if yes, verifying the identity of the user based on the shot user certificate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of the present specification relate to the field of identity verification technology, and in particular, to an identity verification method and related equipment. Background Art

[0002] Electronic Know Your Customer (eKYC) is a technology that completes user identity verification electronically. eKYC can quickly and effectively identify all kinds of identity documents around the world, automatically extract key identity information and complete identity verification.

[0003] However, during the eKYC identity verification process, some malicious organizations or individuals may use forged ID images or videos to launch injection attacks on the eKYC client. For example, they may directly insert forged ID images or video data into the eKYC client, attempting to make the eKYC client believe that the user’s real ID has been captured using a camera, thereby bypassing the eKYC defense system and seriously endangering the interests of users and network security.

[0004] Therefore, how to identify and defend against injection attacks of forged documents and improve the reliability of identity verification is an urgent problem to be solved. Summary of the invention

[0005] In view of this, one or more embodiments of this specification provide an identity verification method and related devices.

[0006] In a first aspect, this specification provides an identity verification method, the method comprising:

[0007] In response to a user-triggered identity verification operation based on a user ID, a target shooting strategy for the user ID is randomly determined; wherein the target shooting strategy includes a randomly selected shooting tilt state;

[0008] Outputting and displaying shooting prompt information corresponding to the target shooting strategy to the user, so as to prompt the user to adjust the tilt state of the user ID in the shooting picture according to the target shooting strategy;

[0009] In response to a shooting operation triggered by a user or an expiration of a shooting countdown, shooting a first random image containing the user ID;

[0010] Determine whether the shooting tilt state corresponding to the user certificate in the first random image meets the target shooting strategy; if so, verify the identity of the user based on the photographed user certificate.

[0011] In a second aspect, this specification provides an identity verification device, the device comprising:

[0012] A shooting strategy random determination unit, configured to randomly determine a target shooting strategy for the user ID in response to an identity verification operation based on the user ID triggered by the user; wherein the target shooting strategy includes a randomly selected shooting tilt state;

[0013] An output display unit, used to output and display shooting prompt information corresponding to the target shooting strategy to the user, so as to prompt the user to adjust the tilt state of the user ID in the shooting picture according to the target shooting strategy;

[0014] A first random shooting unit, configured to shoot a first random image containing the user's ID in response to a shooting operation triggered by a user or an expiration of a shooting countdown;

[0015] An identity verification unit is used to determine whether the shooting tilt state corresponding to the user certificate in the first random image meets the target shooting strategy; if so, the identity of the user is verified based on the photographed user certificate.

[0016] Correspondingly, this specification also provides an electronic device, comprising: a memory and a processor; the memory stores computer programs / instructions that can be executed by the processor; when the processor executes the computer program / instructions, it executes the identity verification method described in the first aspect above.

[0017] Accordingly, the present specification also provides a computer-readable storage medium on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, the identity verification method as described in the first aspect above is executed.

[0018] Accordingly, the present specification also provides a computer program product, which includes a computer program / instructions. When the computer program / instructions are executed by a processor, the identity verification method described in the first aspect above is performed.

[0019] In summary, the present application can randomly determine a target shooting strategy for the user ID in response to the identity verification operation based on the user ID triggered by the user; wherein the target shooting strategy can include a randomly selected shooting tilt state. Further, the shooting prompt information corresponding to the randomly determined target shooting strategy can be output to the user to prompt the user to adjust the tilt state of the user ID in the shooting picture according to the target shooting strategy. Further, in response to the shooting operation triggered by the user or the shooting countdown expiration, the first random image containing the user ID is shot, and it is determined whether the shooting tilt state corresponding to the user ID in the first random image meets the above-mentioned target shooting strategy; if so, the user can be verified based on the photographed user ID. In this way, the present application randomly issues a shooting strategy so that the real user can dynamically adjust the state of the user ID in the shooting picture according to the random shooting strategy, and shoot an image that meets the requirements, while the content of the maliciously injected video or image is often fixed and cannot meet the requirements of the random shooting strategy. Based on the random interactive ID shooting form, it can effectively identify and defend against injection attacks of videos or images, and ensure the reliability and security of identity verification. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is a schematic diagram of a system architecture provided by an exemplary embodiment;

[0021] Figure 2 is a flowchart of an identity verification method provided by an exemplary embodiment;

[0022] Figure 3 is a schematic diagram of a set of frontal images and random images provided by an exemplary embodiment;

[0023] Figure 4 is a schematic diagram of a set of random images provided by an exemplary embodiment;

[0024] Figure 5 is a flowchart of another identity verification method provided by an exemplary embodiment;

[0025] Figure 6 is a schematic structural diagram of an identity verification device provided by an exemplary embodiment;

[0026] Figure 7 It is a schematic structural diagram of an electronic device provided by an exemplary embodiment. DETAILED DESCRIPTION

[0027] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of this specification. Instead, they are merely examples of devices and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.

[0028] It should be noted that: in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the steps included in the method may be more or less than those described in this specification. In addition, a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may be combined into a single step for description in other embodiments.

[0029] It should be noted that the “plurality” mentioned in this application refers to two or more than two.

[0030] In addition, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0031] First, some terms in this specification are explained to facilitate understanding by those skilled in the art.

[0032] (1) Electronic Know Your Customer (eKYC) is a technology that completes user identity verification electronically. eKYC can quickly and effectively identify all kinds of identity documents around the world, automatically extract key identity information and complete identity verification. It can also input the extracted identity information into a database or corresponding system, thereby replacing the cumbersome manual entry process. In addition, eKYC can also perform biometric verification, such as real-time facial image acquisition through a camera, detecting and identifying facial expressions and movements during the interaction process, so as to determine whether the user is a real person, effectively prevent identity fraud, ensure the authenticity and reliability of the user, etc., which will not be elaborated here.

[0033] As mentioned above, during the eKYC identity verification process, some malicious organizations or individuals may use forged ID images or videos to carry out injection attacks on the eKYC client. For example, they may directly insert forged ID images or video data into the eKYC client, trying to make the eKYC client believe that the user’s real ID has been captured using a camera, thereby bypassing the eKYC defense system and seriously endangering the interests of users and network security.

[0034] Based on this, this specification provides a technical solution that randomly determines a shooting strategy for a user's ID and requires the user to shoot according to the shooting strategy. The content of maliciously injected videos or images is often fixed and cannot meet the requirements of the random shooting strategy, thereby effectively identifying and defending against injection attacks on videos or images.

[0035] In implementation, in response to a user-triggered identity verification operation based on a user ID, a target shooting strategy for the user ID can be randomly determined; wherein the target shooting strategy can include a randomly selected shooting tilt state. Further, shooting prompt information corresponding to the randomly determined target shooting strategy can be output and displayed to the user to prompt the user to adjust the tilt state of the user ID in the shooting picture according to the target shooting strategy. Further, in response to a shooting operation triggered by the user or the expiration of a shooting countdown, a first random image containing the user ID is shot, and it is determined whether the shooting tilt state corresponding to the user ID in the first random image satisfies the above-mentioned target shooting strategy; if so, the identity of the user can be verified based on the photographed user ID.

[0036] In the above technical solution, this application randomly issues a shooting strategy so that the real user can dynamically adjust the status of the user's ID in the shooting screen according to the random shooting strategy and shoot an image that meets the requirements. However, the content of the maliciously injected video or image is often fixed and cannot meet the requirements of the random shooting strategy. In this way, this application can effectively identify and defend against video or image injection attacks through random interactive ID shooting, ensuring the reliability and security of identity verification.

[0037] See also Figure 1 , Figure 1 FIG. 1 is a schematic diagram of a system architecture provided by an exemplary embodiment. Figure 1As shown, the system may include an electronic device 100 and an electronic device 200. Among them, the electronic device 100 may run a corresponding client with an identity verification function, such as an eKYC client, or it may also be any other possible client with an eKYC function, such as a bank client and a medical service client, etc., which is not specifically limited in this specification. Among them, the electronic device 200 may run a server corresponding to the above-mentioned client with an identity verification function, such as an eKYC server, and for example, a bank server and a medical service client, etc., which is not specifically limited in this specification. In an embodiment shown, a communication connection can be established between the electronic device 100 and the electronic device 200 in any possible way, which is not specifically limited in this specification.

[0038] In an illustrated embodiment, first, the user can open the client on the electronic device 100, and then, in response to an identity verification operation based on a user certificate (such as a login operation or a transfer operation, etc.) triggered by the user, the client can take a photo of the user's user certificate through the camera of the electronic device 100 to obtain a certificate image containing the user certificate. Further, the client can verify the identity of the user based on the certificate image obtained by taking the photo. Exemplarily, the user certificate can be the user's personal identification document, driver's license, passport, etc., which is not specifically limited in this specification.

[0039] In an illustrated embodiment, in order to defend against injection attacks during the document image acquisition process, after the user triggers the identity verification operation based on the user's document, the client can first capture and capture a front image of the user's document according to the conventional document image acquisition process. Furthermore, the client can also obtain a random target shooting strategy, wherein the target shooting strategy can include a randomly selected shooting tilt state. Furthermore, the client can output and display shooting prompt information corresponding to the target shooting strategy to the user, so as to prompt the user to adjust the tilt state of the user's document in the shooting picture according to the target shooting strategy.

[0040] In an illustrated embodiment, when the client obtains a random target shooting strategy, it can specifically include: after the user triggers an identity verification operation based on the user ID, the server sends a randomly determined target shooting strategy for the user ID to the client, and the client receives the random target shooting strategy; or, after the user triggers an identity verification operation based on the user ID, the client can also randomly determine the target shooting strategy for the user ID, and so on. This specification does not make specific limitations on this.

[0041] Furthermore, after the client outputs and displays the shooting prompt information corresponding to the target shooting strategy to the user, in response to the shooting operation triggered by the user or the expiration of the shooting countdown, the client can capture a first random image containing the user's ID through the camera of the electronic device 100.

[0042] Furthermore, the client may determine whether the shooting tilt state corresponding to the user ID in the first random image satisfies the above-mentioned randomly determined target shooting strategy.

[0043] In an illustrated embodiment, if the shooting tilt state corresponding to the user ID in the first random image satisfies the above-mentioned randomly determined target shooting strategy, it can be considered that the real user is currently shooting the user ID in accordance with the shooting prompt information corresponding to the target shooting strategy, that is, the client has not been subjected to an injection attack of the image or video, and the identity of the user can be verified based on the photographed user ID, for example, the identity of the user can be verified based on the user ID contained in the aforementioned front image.

[0044] In one illustrated embodiment, if the shooting tilt state corresponding to the user ID in the first random image does not satisfy the above-mentioned randomly determined target shooting strategy, it can be considered that the current client has been subjected to an image or video injection attack, and the identity verification can be terminated, and the corresponding prompt information can be output and displayed, such as "ID image is unqualified", etc. This manual does not make specific limitations on this.

[0045] Exemplarily, the randomly selected shooting tilt state included in the above-mentioned target shooting strategy may include: a randomly selected shooting tilt direction, and / or a randomly selected shooting tilt angle range, etc. This specification does not specifically limit this. For details, please refer to the following Figure 2 The description of the corresponding embodiments will not be elaborated in detail here.

[0046] Exemplarily, the above-mentioned target shooting strategy may also include: shooting with flash light, etc., and / or shooting with color light, etc., which is not specifically limited in this specification. For details, please refer to the following Figure 2 The description of the corresponding embodiments will not be elaborated in detail here.

[0047] It should be understood that before capturing the front image and the first random image of the user's ID, the client has already obtained the camera permission authorized by the user and the permission to obtain the user information contained in the user's ID.

[0048] In one illustrated embodiment, the electronic device 100 may be a smart wearable device, a smart phone, a tablet computer, a laptop computer, a desktop computer, etc. having the above functions, and this specification does not make any specific limitations on this; the electronic device 200 may be a desktop computer, a server, or a server cluster or a cloud computing center composed of multiple servers, etc. having the above functions, and this specification does not make any specific limitations on this.

[0049] See also Figure 2 , Figure 2 is a flowchart of an identity verification method provided by an exemplary embodiment. The method can be applied to Figure 1 The system architecture shown can be applied to Figure 1 In the electronic device 100 shown. Figure 2 As shown, the method may specifically include the following steps S201 to S204.

[0050] Step S201, in response to an identity verification operation based on a user certificate triggered by a user, randomly determining a target shooting strategy for the user certificate; wherein the target shooting strategy includes a randomly selected shooting tilt state.

[0051] In response to the user-triggered identity verification operation based on the user's ID, the client can first capture a front image of the user's ID according to the conventional ID image capture process. In an illustrated embodiment, the user can move the ID to the center of the shooting screen and keep it horizontal, and then the client can capture a front image of the user's ID through the camera of the electronic device.

[0052] In one illustrated embodiment, before capturing a frontal image, the client may first detect whether the user ID in the current shooting picture meets the shooting requirements, such as detecting whether the shooting tilt angle of the user ID meets a preset shooting tilt angle range (e.g., -15 degrees to 15 degrees, or -10 degrees to 10 degrees, etc.). In addition, in order to ensure the shooting quality, it may further detect whether the clarity of the user ID meets the requirements.

[0053] In an illustrated embodiment, if it is detected that the user ID in the current shooting picture meets the shooting requirements, a corresponding prompt message can be output to the user to prompt the user to maintain the current shooting state for X seconds, and then the clearest frame image in these X seconds can be selected as the front image of the user ID. Wherein, X is an integer greater than 1, such as 3 seconds or 5 seconds, etc., and this specification does not specifically limit this.

[0054] Furthermore, in the case of obtaining flash permission authorized by the user, or in native software development kit (SDK) mode, the client can also turn on the flash of the electronic device after capturing the front image of the user's ID, and capture a front flash image of the user's ID under the illumination of the flash.

[0055] Further, after obtaining the front image (or the front image and the front flash image) of the user's ID, the client can start random interactive image shooting to obtain at least one non-front image. First, the client can randomly determine a target shooting strategy for the user's ID, wherein the target shooting strategy can include a randomly selected shooting tilt state.

[0056] Exemplarily, the randomly selected shooting tilt state included in the above target shooting strategy may include a randomly selected shooting tilt direction, such as tilting upward, tilting downward, tilting to the left, or tilting to the right.

[0057] Exemplarily, the randomly selected shooting tilt state included in the above-mentioned target shooting strategy may also include a randomly selected shooting tilt angle range, such as a tilt of 20 degrees to 30 degrees, a tilt of 30 degrees to 50 degrees, or a tilt of 40 degrees to 60 degrees, etc. This specification does not make any specific limitations on this.

[0058] Exemplarily, the randomly selected shooting tilt state included in the above-mentioned target shooting strategy may also include a randomly selected shooting tilt direction, and a shooting tilt angle range in the shooting tilt direction, such as 20 to 30 degrees upward tilt, 40 to 60 degrees upward tilt, 30 to 40 degrees downward tilt, 40 to 60 degrees downward tilt, 20 to 30 degrees to the left, 30 to 40 degrees to the left, 30 to 40 degrees to the right, 50 to 60 degrees to the right, and so on. This specification does not make any specific limitations on this.

[0059] Step S202: Output and display shooting prompt information corresponding to the target shooting strategy to the user, so as to prompt the user to adjust the tilt state of the user ID in the shooting picture according to the target shooting strategy.

[0060] Furthermore, after randomly determining a random shooting strategy for the user ID, the client can output shooting prompt information corresponding to the target shooting strategy to the user. The prompt information can be used to prompt the user to adjust the tilt state of the user ID in the current shooting picture according to the target shooting strategy, such as the tilt direction and / or tilt angle.

[0061] In an illustrated implementation manner, the shooting prompt information may be displayed to the user in the form of text or a shooting schematic diagram, and this specification does not specifically limit this.

[0062] Step S203: In response to a shooting operation triggered by the user or the expiration of a shooting countdown, a first random image including the user ID is shot.

[0063] Furthermore, after the client outputs and displays the shooting prompt information corresponding to the target shooting strategy to the user, in response to a shooting operation triggered by the user or the expiration of a shooting countdown, the client may capture a first random image containing the user's ID through a camera of the electronic device.

[0064] In one illustrated embodiment, before taking a first random image, the client may first detect whether the user ID in the current shooting picture complies with the target shooting strategy, for example, detecting whether the shooting tilt direction of the user ID matches (or is consistent with) the shooting tilt direction included in the target random strategy, and / or detecting whether the shooting tilt angle of the user ID complies with the shooting tilt angle range (for example, 30 to 40 degrees) included in the target random strategy. In addition, in order to ensure the shooting quality, it may be further detected whether the clarity of the user ID is greater than a preset threshold.

[0065] In an illustrated implementation, if it is detected that the user ID in the current shooting picture meets the target shooting strategy, a corresponding prompt message can be output to the user to prompt the user to maintain the current shooting state for X seconds, and then the clearest frame image in these X seconds can be selected as the first random image of the user ID, etc., and this specification does not make specific limitations on this. In this case, if the client still cannot capture the first random image that meets the target shooting strategy, the identity verification can also be terminated directly, and this specification does not make specific limitations on this.

[0066] In one illustrated embodiment, see Figure 3 , Figure 3 is a schematic diagram of a set of frontal images and random images provided by an exemplary embodiment.

[0067] like Figure 3 As shown, the user ID in the front image is rectangular, and the shooting angle is horizontal, with no tilt or only a slight tilt.

[0068] like Figure 3As shown, the user ID in the first random image a is rectangular, and the length of the upper edge is shorter than the length of the lower edge. Accordingly, the first random image a may be a first random image captured when the shooting tilt direction included in the target shooting strategy is tilted upward; or, the first random image a may also be a first random image captured when the shooting tilt direction included in the target shooting strategy is tilted upward, and the shooting tilt angle range is 20 degrees to 30 degrees.

[0069] like Figure 3 As shown, the user ID in the first random image b is rectangular, and the length of the upper edge is longer than the length of the lower edge. Accordingly, the first random image b may be a first random image taken when the shooting tilt direction included in the target shooting strategy is tilted downward; or, the first random image b may also be a first random image taken when the shooting tilt direction included in the target shooting strategy is tilted downward, and the shooting tilt angle range is 20 degrees to 30 degrees.

[0070] like Figure 3 As shown, the user ID in the first random image c is rectangular, and the length of the left edge is shorter than the length of the right edge. Accordingly, the first random image c may be a first random image captured when the target shooting strategy includes a shooting tilt direction of tilting to the left; or the first random image c may be a first random image captured when the target shooting strategy includes a shooting tilt direction of tilting to the left, and the shooting tilt angle range is 15 to 25 degrees.

[0071] like Figure 3 As shown, the user ID in the first random image d is rectangular, and the length of the left edge is longer than the length of the right edge. Accordingly, the first random image d may be a first random image taken when the shooting tilt direction included in the target shooting strategy is tilted to the right; or, the first random image d may also be a first random image taken when the shooting tilt direction included in the target shooting strategy is tilted to the right, and the shooting tilt angle range is 15 degrees to 25 degrees.

[0072] Furthermore, in an illustrated embodiment, in addition to the above-mentioned shooting tilt direction and shooting tilt angle range, the target shooting strategy may also include taking flash shooting and the image brightness threshold corresponding to the flash shooting. Accordingly, in the case where the flash permission authorized by the user has been obtained, or in native SDK mode, after the client captures the first random image containing the user ID, it can also turn on the flash of the electronic device and capture the second random image containing the user ID under the illumination of the flash. Exemplarily, in the case where the target shooting strategy includes flash shooting, after the client captures the first random image, it can immediately turn on the flash of the electronic device and capture the second random image, so that the shooting tilt direction and shooting tilt angle corresponding to the user ID in the second random image are usually consistent with those of the first random image, and the two only differ in image brightness.

[0073] In addition, in an illustrated embodiment, the target shooting strategy may also include flash shooting (i.e., color light shooting) based on a randomly selected target color, and the image color corresponding to the flash shooting based on the target color. Accordingly, after the client shoots the first random image containing the user ID, the client may also control the screen of the electronic device to display the target color contained in the target shooting strategy, and shoot a third random image containing the user ID under the light of the target color through the front camera. Exemplarily, the target color may be red, yellow, blue, or any other color determined by the RGB value, which is not specifically limited in this specification.

[0074] In one illustrated embodiment, see Figure 4 , Figure 4 is a schematic diagram of a set of random images provided by an exemplary embodiment.

[0075] like Figure 4 As shown, the user ID in the second random image is rectangular, the length of the upper edge is shorter than the length of the lower edge, and the overall image brightness of the second random image is greater than Figure 3 Correspondingly, the second random image may be a second random image obtained by the client after obtaining the corresponding first random image a and then turning on the flash when the shooting tilt direction included in the target shooting strategy is upward tilt.

[0076] like Figure 4 As shown, the user ID in the third random image is rectangular, the length of the upper edge is shorter than the length of the lower edge, and the overall image color of the third random image is Figure 3Correspondingly, the third random image may be a third random image obtained by controlling the screen of the electronic device to display the target color included in the target shooting strategy and shooting with the front camera after the client obtains the corresponding first random image a when the shooting tilt direction included in the target shooting strategy is tilted upward.

[0077] It should be noted that this manual does not specifically limit the random items included in the target shooting strategy (i.e. the above-mentioned shooting tilt direction, shooting tilt angle range, flash shooting and color light shooting, etc.). The staff can define a number of random items according to actual conditions and needs. In addition, the random items included in the target shooting strategy randomly determined by the client each time may also be different, and this manual does not make specific limitations on this.

[0078] In an illustrated embodiment, the target shooting strategy may only include shooting tilt direction and / or tilt angle range; accordingly, the client may only shoot and obtain a random image in the random interactive image shooting stage, for example Figure 3 The first random image a is shown.

[0079] In an illustrated embodiment, the target shooting strategy may include shooting tilt direction and / or tilt angle range, and flash shooting; accordingly, the client may shoot two random images in the random interactive image shooting stage, for example Figure 3 The first random image a and Figure 4 The second random image shown.

[0080] In an illustrated embodiment, the target shooting strategy may include shooting tilt direction and / or tilt angle range, and color light shooting; accordingly, the client may shoot two random images in the random interactive image shooting stage, for example Figure 3 The first random image a and Figure 4 The third random image shown.

[0081] In an illustrated embodiment, the target shooting strategy may include shooting tilt direction and / or tilt angle range, as well as flash shooting and color light shooting; accordingly, the client may shoot and obtain three random images in the random interactive image shooting stage, for example Figure 3 The first random image a shown, Figure 4 The second random image shown and Figure 4 The third random image shown.

[0082] In an illustrated embodiment, the target shooting strategy may also only include color light shooting; accordingly, the client may shoot a random image in the random interactive image shooting stage, for example Figure 4The third random image shown, etc., is not specifically limited in this specification.

[0083] Step S204, determining whether the shooting tilt state corresponding to the user certificate in the first random image satisfies the target shooting strategy; if yes, verifying the identity of the user based on the photographed user certificate.

[0084] Furthermore, after completing the image capture for the user's ID, the client can detect all the captured images to determine whether each image meets the capture requirements, and then determine whether the current client has been attacked by image or video injection.

[0085] In an illustrated embodiment, when all captured images are detected, several detection processes as shown below may be included.

[0086] (1) Detect the captured frontal image.

[0087] The detection of the front image may include: determining whether the shooting tilt angle corresponding to the user ID in the front image meets a preset shooting tilt angle range (eg, -10 degrees to 10 degrees). It should be understood that the shooting of the front image usually does not limit the tilt direction.

[0088] Exemplarily, taking the preset shooting tilt angle range of -10 degrees to 10 degrees as an example, if the shooting tilt angle corresponding to the user ID in the first random image is 5 degrees tilted to the left, it can be determined that the first random image detection has passed.

[0089] In one illustrated embodiment, the user ID can be first detected in the front image through a preset ID positioning algorithm, and the four ID corner points of the user ID can be detected; then, the angle values ​​of the four ID corners of the user ID in the front image can be calculated through a preset ID angle estimation algorithm, and the shooting tilt angle corresponding to the user ID in the front image can be calculated based on the angle values ​​of the four ID corners.

[0090] Exemplarily, the above-mentioned preset document positioning algorithm can be any possible target detection algorithm, such as YoloV8, retinaNet and other algorithms, and this specification does not make specific limitations on this.

[0091] For example, after detecting the user ID from the front image, a convolutional neural network (CNN) model may be used to regress the four ID corner points of the user ID, and further, the CNN model may be used to regress the angle values ​​of the four ID corners.

[0092] (2) Detect the captured frontal flash image.

[0093] The detection of the frontal flash image may include: determining whether the image brightness value of the frontal flash image is greater than a preset image brightness threshold (e.g., 200 cd / m2, or 220 cd / m2, etc.). It should be understood that when the flash is turned on for shooting, the image brightness of the captured frontal flash image should be brighter than the aforementioned frontal image. Based on this, if the image brightness of the frontal flash image does not change compared to the aforementioned frontal image, or its image brightness is less than the preset image brightness threshold, it can be determined that the frontal flash image detection has failed.

[0094] In one illustrated embodiment, the average brightness and / or maximum brightness of the frontal flash image may be calculated, and it may be determined whether the average brightness and / or maximum brightness is greater than a corresponding preset threshold value, which is not specifically limited in this specification.

[0095] Exemplarily, the image brightness value (eg, average brightness and / or maximum brightness) of the frontal flash image may be calculated based on image processing, or the image brightness value of the frontal flash image may be calculated using a CNN model.

[0096] In addition, considering that some security features may be added to some user documents, these security features usually change with the intensity of light, such as the laser pattern in a personal identification document. Therefore, when detecting the front flash image, it can also include: detecting whether the security features in the user document have changed compared to the aforementioned front image, and whether the changes meet the requirements, etc. This manual does not make specific limitations on this.

[0097] (3) Detect the first random image captured.

[0098] The detection of the first random image may include: determining whether the shooting tilt state corresponding to the user ID in the first random image satisfies the target shooting strategy, for example, determining whether the shooting tilt direction corresponding to the user ID in the first random image matches (or is consistent with) the shooting tilt direction included in the target shooting strategy; and / or determining whether the shooting tilt angle corresponding to the user ID in the first random image satisfies the shooting tilt angle range included in the target shooting strategy.

[0099] For example, if the target shooting strategy is to tilt upward by 40 to 60 degrees, and the shooting tilt direction corresponding to the user ID in the first random image is tilted upward, and the shooting tilt angle is 45 degrees, it can be determined that the first random image detection has passed.

[0100] In an illustrated embodiment, the method for calculating the shooting tilt direction and / or shooting tilt angle corresponding to the user ID in the first random image can refer to the description in the above process (1), which will not be repeated here.

[0101] (4) Detect the captured second random image.

[0102] The detection of the second random image may include: determining whether the image brightness value of the second random image is greater than a preset image brightness threshold (for example, 200 cd / m2, or 220 cd / m2, etc.). For details, please refer to the description in the above process (2), which will not be repeated here.

[0103] (5) Detect the captured third random image.

[0104] The detection of the third random image may include: determining whether the image color corresponding to the third random image matches the image color included in the target shooting strategy. It should be understood that if the target color displayed on the screen is red when performing color light shooting, the image color of the third random image obtained by shooting will change compared to the aforementioned first random image and become reddish. Based on this, if the image color of the third random image does not change compared to the aforementioned first random image, or its image color does not match the image color included in the target shooting strategy, it can be determined that the third random image detection fails.

[0105] Exemplarily, the image color included in the target shooting strategy can specifically be an RGB value range corresponding to the target color. If the calculated image color parameter corresponding to the third random image (or the ambient light color of the entire image) matches the RGB value range, it can be determined that the third random image detection has passed.

[0106] It should be understood that the above image detection processes (1)-(5) are only exemplary descriptions. Different random shooting strategies may involve different image detection processes, as well as different detection contents and methods in the processes, and this manual does not make specific limitations on this.

[0107] In addition, in an illustrated embodiment, in order to ensure image quality, the detection of the front image and other images may further include: determining whether the image clarity of the image meets the requirements. For example, determining whether the image clarity score of the image is greater than a preset threshold. Exemplarily, the image clarity score may be calculated based on the mean and variance, which is not specifically limited in this specification.

[0108] In one illustrated embodiment, the client may perform the above-mentioned detection process on all captured images, or the client may send all captured images to the server, and the server may detect all images and return the detection results to the client, etc. This specification does not make any specific limitations on this.

[0109] In an illustrated embodiment, if the number of images captured meets the requirements, and the detection results show that all images meet the corresponding shooting requirements, it can be considered that the current real user has taken a photo of his user ID in accordance with the target shooting strategy, that is, the client has not been attacked by image or video injection. Furthermore, the identity of the user can be verified based on the captured user ID. Exemplarily, given that the user ID contained in the front image is clearer and squarer among all the images captured above, the client can verify the identity of the user based on the user ID contained in the front image; alternatively, the client can also send the captured front image to the server, and the server will verify the identity of the user based on the user ID contained in the front image.

[0110] In one illustrated embodiment, if the number of captured images is insufficient, or the detection results indicate that at least one image does not meet the corresponding shooting requirements, it can be considered that the current client has been subjected to an image or video injection attack, and the identity verification can be terminated. The corresponding prompt information can also be output and displayed, such as "the document image is unqualified", etc. This manual does not make specific limitations on this.

[0111] In one illustrated embodiment, see Figure 5 , Figure 5 is a flowchart of another identity verification method provided by an exemplary embodiment. This method can be applied to Figure 1 The system architecture shown can be applied to Figure 1 In the electronic device 100 shown. Figure 5 As shown, the method may specifically include the following steps S501 to S506b.

[0112] Step S501, capturing a front image.

[0113] In an embodiment shown, step S501 may be specifically referred to above. Figure 2 The description of the embodiment corresponding to step S201 is not repeated here.

[0114] Step S502: randomly determine a target shooting strategy.

[0115] In an embodiment shown, step S502 may be specifically referred to above. Figure 2 The description of the embodiment corresponding to step S201 is not repeated here.

[0116] Step S503a, capturing a first random image.

[0117] In an illustrated embodiment, if the randomly determined target shooting strategy includes a randomly selected shooting tilt direction and / or shooting tilt angle range, a first random image can be captured. For details, please refer to the above Figure 2 The description of the embodiments corresponding to step S202 and step S203 will not be repeated here.

[0118] Step S503b: photographing a second random image.

[0119] In an illustrated embodiment, if the randomly determined target shooting strategy includes flash shooting, a second random image can be captured. For details, please refer to the above Figure 2 The description of the embodiment corresponding to step S203 is not repeated here.

[0120] Step S503c: photographing a third random image.

[0121] In an illustrated embodiment, if the randomly determined target shooting strategy includes color light shooting, a third random image can be shot. For details, please refer to the above Figure 2 The description of the embodiment corresponding to step S203 is not repeated here.

[0122] Step S504, determine whether to end the shooting, if so, execute step S505; otherwise, randomly determine a new shooting strategy.

[0123] In one illustrated embodiment, according to actual conditions and needs, the random interactive image shooting can be set to be repeated multiple times. Based on this, after capturing several random images required by the current target shooting strategy, it is necessary to first determine whether the number of executions of the current random interactive image shooting is less than a preset value (for example, 2 or 3 times).

[0124] If the number of executions of the current random interactive image shooting is not less than the preset value (or has reached the preset value), the shooting may be terminated and the subsequent step S505 is executed.

[0125] If the current execution number of random interactive image shooting is less than a preset value, a new shooting strategy can be randomly determined again to continue to execute random interactive image shooting based on the new shooting strategy until the execution number reaches the preset value.

[0126] Step S505, determine whether the captured image meets the requirements, if so, execute step S506a; otherwise, execute step S506b.

[0127] In an embodiment shown, step S505 may be specifically referred to above. Figure 2 The description of the embodiment corresponding to step S204 is not repeated here.

[0128] Step S506a: If the captured image meets the requirements, it can be determined that the client has not been attacked by injection, so that identity verification can be performed based on the captured user certificate.

[0129] In an illustrated embodiment, step S506a may be specifically referred to above. Figure 2 The description of the embodiment corresponding to step S204 is not repeated here.

[0130] Step S506b: if the captured image does not meet the requirements, it can be determined that the client is attacked by injection, and the identity verification is terminated.

[0131] In an illustrated embodiment, step S506b may be specifically referred to above. Figure 2 The description of the embodiment corresponding to step S204 is not repeated here.

[0132] In addition, in an illustrated embodiment, if the number of executions of random interactive image capture is less than a preset value, but the image capture is still terminated, that is, the number of captured images does not meet the requirement, it can also be determined that the client is under injection attack and the identity verification is terminated.

[0133] In summary, this application randomly issues shooting strategies so that real users can dynamically adjust the status of user IDs in the shooting screen according to the random shooting strategies and shoot images that meet the requirements. However, the content of maliciously injected videos or images is often fixed and cannot meet the requirements of random shooting strategies. In this way, this application can effectively identify and defend against video or image injection attacks through random interactive ID shooting, ensuring the reliability and security of identity verification.

[0134] Corresponding to the implementation of the above method flow, the embodiment of this specification also provides an identity verification device. Figure 6 , Figure 6 is a schematic diagram of the structure of an identity verification device provided by an exemplary embodiment. The device 60 can be applied to Figure 1 The system architecture shown can be applied to Figure 1 In the electronic device 100 shown. Figure 6 As shown, the device 60 includes:

[0135] The shooting strategy random determination unit 601 is used to randomly determine a target shooting strategy for the user ID in response to an identity verification operation based on the user ID triggered by the user; wherein the target shooting strategy includes a randomly selected shooting tilt state;

[0136] An output display unit 602 is used to output and display shooting prompt information corresponding to the target shooting strategy to the user, so as to prompt the user to adjust the tilt state of the user ID in the shooting picture according to the target shooting strategy;

[0137] A first random shooting unit 603, configured to shoot a first random image containing the user ID in response to a shooting operation triggered by a user or when a shooting countdown expires;

[0138] The identity verification unit 604 is used to determine whether the shooting tilt state corresponding to the user certificate in the first random image meets the target shooting strategy; if so, the identity of the user is verified based on the photographed user certificate.

[0139] In an illustrated embodiment, the shooting tilt state included in the target shooting strategy includes: a randomly selected shooting tilt direction, and / or a shooting tilt angle range; the identity verification unit 604 is specifically used to:

[0140] Determine whether the shooting tilt direction corresponding to the user ID in the first random image matches the shooting tilt direction included in the target shooting strategy, and / or determine whether the shooting tilt angle corresponding to the user ID in the first random image satisfies the shooting tilt angle range included in the target shooting strategy.

[0141] In an illustrated embodiment, the device 60 further includes a computing unit 605, configured to:

[0142] Detecting the user ID in the first random image by using a preset ID positioning algorithm;

[0143] The angle values ​​of the four document corners of the user document in the first random image are calculated by a preset document angle estimation algorithm, and the shooting tilt direction and / or shooting tilt angle corresponding to the user document in the first random image are calculated based on the angle values ​​of the four document corners.

[0144] In an illustrated embodiment, the device 60 further includes a front-view camera unit 606, which is used to:

[0145] In response to a shooting operation triggered by a user or the expiration of a shooting countdown, shooting a front image of the user's ID card;

[0146] Determining whether the shooting tilt angle corresponding to the user ID in the front image meets a preset shooting tilt angle range;

[0147] The identity verification unit 604 is specifically used for:

[0148] If the shooting tilt state corresponding to the user ID in the first random image meets the target shooting strategy, and the shooting tilt angle corresponding to the user ID in the front image meets the preset shooting tilt angle range, the identity of the user is verified based on the user ID contained in the front image.

[0149] In an illustrated embodiment, the device 60 further includes a front flash photography unit 607 for:

[0150] Turning on a flashlight and capturing a front flash image containing the user ID under the illumination of the flashlight;

[0151] Determining whether the image brightness value of the front flash image is greater than a preset image brightness threshold;

[0152] The identity verification unit 604 is specifically used for:

[0153] If the shooting tilt state corresponding to the user ID in the first random image meets the target shooting strategy, and the shooting tilt angle corresponding to the user ID in the front image meets the preset shooting tilt angle range, and the image brightness value of the front flash image is greater than the preset image brightness threshold, the user's identity is verified based on the user ID contained in the front image.

[0154] In an illustrated embodiment, the target shooting strategy further includes an image brightness threshold corresponding to when taking flash photography; the device 60 further includes a second random shooting unit 608, which is used to:

[0155] Turning on a flashlight and capturing a second random image containing the user ID under the illumination of the flashlight;

[0156] determining whether an image brightness value of the second random image is greater than an image brightness threshold included in the target shooting strategy;

[0157] The identity verification unit 604 is specifically used for:

[0158] If the shooting tilt state corresponding to the user ID in the first random image meets the target shooting strategy, and the image brightness value of the second random image is greater than the image brightness threshold included in the target shooting strategy, the identity of the user is verified based on the photographed user ID.

[0159] In an illustrated embodiment, the target shooting strategy further includes an image color corresponding to the flash shooting based on the randomly selected target color; the device 60 further includes a third random shooting unit 609, which is used to:

[0160] Controlling the screen to display the target color included in the target shooting strategy, and shooting a third random image including the user ID under the light of the target color through the front camera;

[0161] determining whether an image color corresponding to the third random image matches an image color included in the target shooting strategy;

[0162] The identity verification unit 604 is specifically used for:

[0163] If the shooting tilt state corresponding to the user ID in the first random image satisfies the target shooting strategy, and the image color corresponding to the third random image matches the image color included in the target shooting strategy, the identity of the user is verified based on the photographed user ID.

[0164] The implementation process of the functions and effects of each unit in the above-mentioned device 60 is specifically described in the above-mentioned embodiment, and will not be repeated here. It should be understood that the above-mentioned device 60 can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor (CPU) of the device where it is located reading the corresponding computer program instructions into the memory and running them. From the hardware level, in addition to the CPU and memory, the device where the above-mentioned device is located usually also includes other hardware such as chips for wireless signal transmission and reception, and / or other hardware such as boards and cards for realizing network communication functions.

[0165] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the units or modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. Those of ordinary skill in the art may understand and implement it without creative work.

[0166] The devices, units, and modules described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device, a vehicle-mounted computer, or a combination of any of these devices.

[0167] Corresponding to the above method embodiment, the embodiment of this specification also provides an electronic device. Figure 7 , Figure 7 is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment. The electronic device may be Figure 1 The electronic device 100 shown. Figure 7 As shown, the electronic device includes a processor 1001 and a memory 1002, and may further include an input device 1004 (such as a keyboard, etc.) and an output device 1005 (such as a display, etc.). The processor 1001, the memory 1002, the input device 1004, and the output device 1005 may be connected via a bus or other means. Figure 7 As shown, the memory 1002 includes a computer-readable storage medium 1003, which stores a computer program that can be executed by the processor 1001. The processor 1001 can be a CPU, a microprocessor, or an integrated circuit for controlling the execution of the above method embodiment. When the processor 1001 runs the stored computer program, it can execute the various steps of the identity verification method in the embodiment of this specification.

[0168] For a detailed description of each step of the above identity verification method, please refer to the previous content and will not be repeated here.

[0169] Corresponding to the above method embodiment, the embodiment of this specification also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by the processor, it executes each step of the identity verification method in the embodiment of this specification. Please refer to the description of the above embodiment for details, which will not be repeated here.

[0170] The above description is only a preferred embodiment of this specification and is not intended to limit this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification should be included in the scope of protection of this specification.

[0171] In a typical configuration, a terminal device includes one or more CPUs, input / output interfaces, network interfaces, and memory.

[0172] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0173] Computer readable media include permanent and non-permanent, removable and non-removable media and can store information by any method or technology. The information can be computer readable instructions, data structures, program modules or other data.

[0174] Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.

[0175] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0176] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, the embodiments of this specification may take the form of complete hardware embodiments, complete software embodiments or embodiments combining software and hardware. Moreover, the embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

Claims

1. An identity verification method, characterized in that: The method comprises: In response to a user-triggered identity verification operation based on a user ID, a target shooting strategy for the user ID is randomly determined; wherein the target shooting strategy includes a randomly selected shooting tilt state; Outputting and displaying shooting prompt information corresponding to the target shooting strategy to the user, so as to prompt the user to adjust the tilt state of the user ID in the shooting picture according to the target shooting strategy; In response to a shooting operation triggered by a user or an expiration of a shooting countdown, shooting a first random image containing the user ID; Determine whether the shooting tilt state corresponding to the user certificate in the first random image meets the target shooting strategy; if so, verify the identity of the user based on the photographed user certificate.

2. The method according to claim 1, characterized in that The shooting tilt state included in the target shooting strategy includes: a randomly selected shooting tilt direction and / or a shooting tilt angle range; the determining whether the shooting tilt state corresponding to the user certificate in the first random image satisfies the target shooting strategy includes: Determine whether the shooting tilt direction corresponding to the user ID in the first random image matches the shooting tilt direction included in the target shooting strategy, and / or determine whether the shooting tilt angle corresponding to the user ID in the first random image satisfies the shooting tilt angle range included in the target shooting strategy.

3. The method according to claim 2, characterized in that The method further comprises: Detecting the user ID in the first random image by using a preset ID positioning algorithm; The angle values ​​of the four document corners of the user document in the first random image are calculated by a preset document angle estimation algorithm, and the shooting tilt direction and / or shooting tilt angle corresponding to the user document in the first random image are calculated based on the angle values ​​of the four document corners.

4. The method according to claim 1, characterized in that Before randomly determining a target shooting strategy for the user ID, the method further includes: In response to a shooting operation triggered by a user or the expiration of a shooting countdown, shooting a front image of the user's ID card; The verifying the identity of the user based on the photographed user certificate includes: verifying the identity of the user based on the user certificate included in the front image.

5. The method according to claim 4, characterized in that The method further comprises: Determining whether the shooting tilt angle corresponding to the user ID in the front image meets a preset shooting tilt angle range; If yes, then verifying the identity of the user based on the photographed user certificate includes: If the shooting tilt state corresponding to the user ID in the first random image meets the target shooting strategy, and the shooting tilt angle corresponding to the user ID in the front image meets the preset shooting tilt angle range, the identity of the user is verified based on the user ID contained in the front image.

6. The method according to claim 5, characterized in that After capturing the front image containing the user's ID, the method further comprises: Turning on a flashlight and capturing a front flash image containing the user ID under the illumination of the flashlight; Determining whether the image brightness value of the front flash image is greater than a preset image brightness threshold; If yes, then verifying the identity of the user based on the photographed user certificate includes: If the shooting tilt state corresponding to the user ID in the first random image meets the target shooting strategy, and the shooting tilt angle corresponding to the user ID in the front image meets the preset shooting tilt angle range, and the image brightness value of the front flash image is greater than the preset image brightness threshold, the user's identity is verified based on the user ID contained in the front image.

7. The method according to claim 1, characterized in that The target shooting strategy further includes an image brightness threshold corresponding to when taking a flash shot; after shooting a first random image including the user ID, the method further includes: Turning on a flashlight and capturing a second random image containing the user ID under the illumination of the flashlight; determining whether an image brightness value of the second random image is greater than an image brightness threshold included in the target shooting strategy; If yes, then verifying the identity of the user based on the photographed user certificate includes: If the shooting tilt state corresponding to the user ID in the first random image meets the target shooting strategy, and the image brightness value of the second random image is greater than the image brightness threshold included in the target shooting strategy, the identity of the user is verified based on the photographed user ID.

8. The method according to claim 1, characterized in that The target shooting strategy further includes an image color corresponding to the flash shooting based on the randomly selected target color; after shooting the first random image including the user ID, the method further includes: Controlling the screen to display the target color included in the target shooting strategy, and shooting a third random image including the user ID under the light of the target color through the front camera; determining whether an image color corresponding to the third random image matches an image color included in the target shooting strategy; If yes, then verifying the identity of the user based on the photographed user certificate includes: If the shooting tilt state corresponding to the user ID in the first random image satisfies the target shooting strategy, and the image color corresponding to the third random image matches the image color included in the target shooting strategy, the identity of the user is verified based on the photographed user ID.

9. An identity verification device, characterized in that: The device comprises: A shooting strategy random determination unit, configured to randomly determine a target shooting strategy for the user ID in response to an identity verification operation based on the user ID triggered by the user; wherein the target shooting strategy includes a randomly selected shooting tilt state; An output display unit, used to output and display shooting prompt information corresponding to the target shooting strategy to the user, so as to prompt the user to adjust the tilt state of the user ID in the shooting picture according to the target shooting strategy; A first random shooting unit, configured to shoot a first random image containing the user's ID in response to a shooting operation triggered by a user or an expiration of a shooting countdown; An identity verification unit is used to determine whether the shooting tilt state corresponding to the user certificate in the first random image meets the target shooting strategy; if so, the identity of the user is verified based on the photographed user certificate.

10. An electronic device, characterized in that: include: Memory and processor; The memory has stored thereon computer programs / instructions executable by the processor; When the processor runs the computer program / instructions, the method according to any one of claims 1 to 8 is performed.

11. A computer-readable storage medium, characterized in that: A computer program / instruction is stored thereon, and when the computer program / instruction is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

12. A computer program product, characterized in that The computer program product comprises a computer program / instruction, and when the computer program / instruction is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Method, apparatus and system for judging onsite shooting image

    CN109618100A

  • Method and device for identifying injection attack in certificate identification process

    CN113743396A

  • Device and method for determining ID Authentication

    KR102573975B1