Identity verification method, device thereof, electronic device and computer readable storage medium
Through an authentication method that combines multiple feature information, device permissions are controlled hierarchically according to object types, which solves the security risks caused by single authentication in smart homes and improves security and protection of legitimate rights and interests.
Patent Information
- Application Number
- CN202111333810.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-11
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2041-11-11
AI Technical Summary
In the existing technology, the single authentication method has security risks in the smart home environment and is easy to be copied or leak privacy, resulting in insufficient security in the use of control devices.
By obtaining the characteristic information of the target object, determining its object type, and enabling the corresponding electronic device permissions based on the object type, identity authentication is performed using a combination of multiple characteristic information, including irises and fingerprints, to hierarchically control the device usage permissions.
It improves the security of identity authentication, reduces the permissions of other object types to control devices, reduces security risks, and protects the legitimate rights and interests of users.
Smart Images

Figure CN113935006B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to an identity authentication method, an apparatus thereof, an electronic device and a computer-readable storage medium. Background Art
[0002] With the advancement of technology, authentication and recognition functions are becoming ubiquitous in our daily lives. For example, fingerprint recognition is required for mobile payments, and facial and voice recognition are increasingly used in smart home environments. However, in the field of smart control, the use of a single recognition technology for user authentication is questionable. For example, fingerprint recognition relies on the differences in patterns, power outages, and intersections of each person's skin texture. This technology also has certain flaws, is demanding in terms of environmental requirements, and can be copied from previous fingerprints. Facial recognition is currently the most popular and widely used smart technology, bringing convenience to the public while also presenting privacy risks. Voice recognition can enhance user interaction with smart devices, but speech synthesis technology can introduce certain challenges to authentication. Relying on a single technology for identity and verification in the smart home can lead to vulnerabilities and even pose significant security risks to the use and safety of control devices.
[0003] Therefore, how to reduce the potential security risks brought by user identity authentication to the use of control devices is an urgent problem that needs to be solved by technicians in this field. Summary of the Invention
[0004] The main purpose of the present invention is to provide an identity authentication method, its device, electronic device and computer-readable storage medium to solve the problem in the prior art that user identity authentication easily brings security risks to the use of control equipment.
[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present invention, an identity authentication method is provided, including: obtaining characteristic information of a target object; determining an object type corresponding to the target object based on the characteristic information of the target object; and enabling the target object to have access to electronic devices in a target space where the object type is located based on the object type corresponding to the target object.
[0006] Optionally, determining the object type corresponding to the target object based on the feature information of the target object includes: determining the similarity between the feature information of the target object and preset feature information; and selecting the object type corresponding to the feature information of the target object from the type set corresponding to the preset feature information set based on the similarity.
[0007] Optionally, the feature information of the target object includes first type feature information and second type feature information; the preset feature information set includes a first type feature set and a second type feature set; the feature information of the target object is acquired, and the object type corresponding to the target object is determined according to the feature information of the target object, including: acquiring the first type feature information of the target object; determining the similarity of the first type feature information and the feature information in the first type feature set, in the case that the similarity of the first type feature information and the feature information in the first type feature set is higher than or equal to a first preset value, determining that the target object is a first object type, in the case that the similarity of the first type feature information and the feature information in the first type feature set is lower than the first preset value, acquiring the second type feature information of the target object; matching the second type feature information with the second preset feature information, in the case that the similarity of the second type feature information and the feature information in the second type feature set is higher than or equal to a second preset value, determining that the target object is a second object type, in the case that the similarity of the second type feature information and the feature information in the second type feature set is lower than the second preset value, determining that the target object is a third object type.
[0008] Optionally, the first type feature information includes iris feature information or face feature information; the second type feature information includes fingerprint feature information.
[0009] Optionally, according to the object type corresponding to the target object, the use permission of the electronic device in the target space corresponding to the object type is enabled for the target object, including: in the case that the target object is determined to be the first object type, according to the first object type, the first use permission of the electronic device corresponding to the first object type is enabled; in the case that the target object is determined to be the second object type, according to the second object type, the second use permission of the electronic device corresponding to the second object type is enabled; in the case that the target object is determined to be the third object type, according to the third object type, the third use permission of the electronic device corresponding to the third object type is enabled, wherein the first use permission is higher than the second use permission, and the second use permission is higher than the third use permission.
[0010] Optionally, in the case that the target object is determined to be the first object type, the identity verification method further includes: acquiring third preset feature information from the terminal according to the first type feature information, matching the third preset feature information with the fourth preset feature information in the local device, in the case that the matching is successful, merging the third preset feature information and the fourth preset feature information to generate first merged feature information, wherein the third preset feature information and the fourth preset feature information are two parts of the feature information of the target object pre-acquired by the first information acquisition mode; matching the first type feature information with the first merged feature information, in the case that the matching is successful, the identity verification of the target object is successful.
[0011] Optionally, when it is determined that the target object is of the second object type, the identity authentication method also includes: obtaining fifth pre-stored feature information from the terminal based on the second type of feature information, matching the fifth pre-stored feature information with the sixth pre-stored feature information in the local device, and if the match is successful, merging the fifth pre-stored feature information with the sixth pre-stored feature information to generate second merged verification information, wherein the fifth pre-stored feature information and the sixth pre-stored feature information are two parts of the feature information of the target object pre-collected through the second information collection method; matching the second type of feature information with the second merged verification information, and if the match is successful, the identity authentication of the target object is successful.
[0012] According to one aspect of the present invention, an identity authentication device is provided, including: an acquisition module for acquiring characteristic information of a target object; an output module for determining an object type corresponding to the target object based on the characteristic information of the target object; and an activation module for activating, for the target object, the use permission of an electronic device in a target space corresponding to the object type based on the object type corresponding to the target object.
[0013] According to one aspect of the present invention, an electronic device is also provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the above-mentioned identity authentication method.
[0014] According to one aspect of the present invention, a computer-readable storage medium is further provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can perform the above-mentioned identity authentication method.
[0015] By applying the technical solution of the present invention, an identity authentication method is provided. After obtaining the characteristic information of the target object, the method first determines the object type corresponding to the target object based on the characteristic information of the target object, and then, based on the object type corresponding to the target object, enables the target object to have the permission to use the electronic device in the target space where the object type is located. In this way, by enabling the permission to control the device for different object types, compared with the object type corresponding to the target object, other object types can have lower permission to control the device through identity authentication, thereby reducing the security risks caused by other object types controlling more electronic devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which constitute part of the present invention, are intended to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are intended to explain the present invention and do not constitute an undue limitation of the present invention. In the accompanying drawings:
[0017] Figure 1 is a flowchart illustrating a data identity authentication method according to an exemplary embodiment;
[0018] Figure 2 is a device block diagram of a data identity authentication method according to embodiment 2 of the present invention;
[0019] Figure 3 is a device block diagram of a terminal according to an embodiment of the present invention. DETAILED DESCRIPTION
[0020] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments of the present invention can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0021] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0022] It should be noted that the terms "first," "second," and the like in the specification and claims of the present invention and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate for the embodiments of the present invention described herein. In addition, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to these processes, methods, products, or apparatuses.
[0023] Example 1
[0024] According to an embodiment of the present invention, an identity authentication method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0025] Figure 1 FIG. 1 is a flow chart of an identity authentication method according to an embodiment of the present invention. Figure 1 As shown, the method includes the following steps:
[0026] Step S102, obtaining characteristic information of the target object;
[0027] Step S104, determining the object type corresponding to the target object based on the characteristic information of the target object;
[0028] Step S106 , based on the object type corresponding to the target object, enable the use permission of the electronic device in the target space where the object type is located for the target object.
[0029] By adopting the above-mentioned identity authentication method of the present invention, the permission to control devices can be opened for different object types, so that compared with the object type corresponding to the target object, other object types can have lower permissions to control devices through identity authentication, thereby reducing the security risks brought by other object types controlling more electronic devices.
[0030] As an optional implementation, determining the object type corresponding to the target object based on the characteristic information of the target object includes: determining the similarity between the characteristic information of the target object and the preset characteristic information; and selecting the object type corresponding to the characteristic information of the target object from the type set corresponding to the preset characteristic information set based on the similarity.
[0031] Specifically, the similarity between the feature information and all feature information in the corresponding preset feature information set can be calculated, and the maximum similarity can be determined from all similarities. Then, the corresponding object type can be selected from the preset feature information set based on the preset feature information corresponding to the maximum similarity.
[0032] The similarity between the feature information of the target object and the preset feature information can be determined by any of the following calculation methods: Minkowski distance, Manhattan distance, Euclidean distance, Chebyshev distance, cosine similarity, Mahalanobis distance, Jaccard similarity coefficient, KL divergence, and Hellinger distance.
[0033] Taking the target space as a residence and the target object as a visitor as an example, determining the object type corresponding to the target object based on the target object's feature information may include: first, calculating the similarity between the acquired visitor's iris feature information and all iris feature information in a corresponding preset iris feature information set. The preset iris feature information set may include pre-collected and locally stored iris feature information of the homeowner, the homeowner's family members, and the homeowner's friends; then, determining the maximum similarity among all similarities calculated above, and selecting the corresponding visitor type from the preset iris feature information set based on the preset iris feature information corresponding to the maximum similarity. For example, if the maximum similarity determined is the similarity between the visitor's iris feature information and the iris feature information of a family member of the visitor, then determining the visitor type corresponding to the visitor is a family member of the homeowner.
[0034] As an optional implementation, the feature information of the target object includes: first-category feature information and second-category feature information; the preset feature information set includes: first-category feature set and second-category feature set; obtaining the feature information of the target object, and determining the object type corresponding to the target object based on the feature information of the target object, including: obtaining the first-category feature information of the target object; determining the similarity between the first-category feature information and the feature information in the first-category feature set, and determining that the target object is of the first object type when the similarity between the first-category feature information and the feature information in the first-category feature set is higher than or equal to a first preset value; obtaining the second-category feature information of the target object when the similarity between the first-category feature information and the feature information in the first-category feature set is lower than the first preset value; matching the second-category feature information with the second pre-stored feature information, and determining that the target object is of the second object type when the similarity between the second-category feature information and the feature information in the second-category feature set is higher than or equal to a second preset value; and determining that the target object is of the third object type when the similarity between the second-category feature information and the feature information in the second-category feature set is lower than the second preset value.
[0035] Exemplarily, the target space is a residence, the target object is a visitor, the first object type may include the homeowner himself, the second object type may include the homeowner's family and friends, and the third object type may be when the visitor is in other situations other than the above two situations, and the visitor is identified as a stranger.
[0036] In the above optional implementation, the first type of characteristic information may be obtained using a first information collection method, and the second type of characteristic information may be obtained using a second information collection method. To further reduce the occurrence of security risks, the authentication method using the first type of characteristic information obtained using the first information collection method may have a first security index, and the authentication method using the second type of characteristic information obtained using the second information collection method may have a second security index, and the first security index is higher than the second security index.
[0037] Exemplarily, the first type of feature information includes iris feature information or facial feature information; the second type of feature information includes fingerprint feature information.
[0038] As an optional implementation, based on the object type corresponding to the target object, the use permission of the electronic device in the target space corresponding to the object type is enabled for the target object, including: when it is determined that the target object is a first object type, based on the first object type, enabling the first use permission of the electronic device corresponding to the first object type; when it is determined that the target object is a second object type, based on the second object type, enabling the second use permission of the electronic device corresponding to the second object type; when it is determined that the target object is a third object type, based on the third object type, enabling the third use permission of the electronic device corresponding to the third object type, wherein the first use permission is higher than the second use permission, and the second use permission is higher than the third use permission.
[0039] The electronic devices mentioned above may include: electronic devices with a first-level security risk and electronic devices with a second-level security risk, where the first-level security risk is higher than the second-level security risk. For example, the electronic devices with a first-level security risk include remotely controlled computers, and the electronic devices with a second-level security risk include remotely controlled lighting devices.
[0040] The above-mentioned enabling of the first usage permission of the electronic device corresponding to the first object type based on the first object type may include: simultaneously enabling the usage permission of the above-mentioned set of electronic devices with first-level security risks and the above-mentioned set of electronic devices with second-level security risks.
[0041] The above-mentioned enabling of the second usage permission of the electronic device corresponding to the second object type based on the second object type may include: enabling the usage permission of the above-mentioned set of electronic devices with the second level security risks, and not enabling the usage permission of the above-mentioned set of electronic devices with the first level security risks.
[0042] The above-mentioned enabling of the third usage permission of the electronic device corresponding to the third object type based on the third object type may include: not enabling the usage permission of the above-mentioned set of electronic devices with first-level security risks and the above-mentioned set of electronic devices with second-level security risks.
[0043] Taking the target object as a visitor as an example, the target space can be a residence, the first object type can include the homeowner himself, the second object type can include the homeowner's family and friends, and the third object type can be when the visitor is in any other situation other than the above two situations, and is identified as a stranger. At this time, based on the object type corresponding to the target object, the use permission of the electronic devices in the target space where the object type is located is enabled for the target object, which may include: if it is determined that the visitor is the homeowner himself, based on the first object type, the use permission of the above set of electronic devices with first-level security risks and the above set of electronic devices with second-level security risks is enabled for the homeowner himself; if it is determined that the visitor is a family member or a friend of the homeowner, based on the second object type, only the use permission of the above set of electronic devices with second-level security risks is enabled; if it is determined that the visitor is in any other situation other than the homeowner himself, the homeowner's family and friends, the use permission of the above set of electronic devices with first-level security risks and the above set of electronic devices with second-level security risks is not enabled.
[0044] Furthermore, when a stranger is identified as wanting to authenticate and enter the room, an alarm can be sounded to alert the homeowner.
[0045] As an optional implementation, when it is determined that the target object is of the first object type, the identity authentication method also includes: obtaining third pre-stored feature information from the terminal based on the first type of feature information, matching the third pre-stored feature information with the fourth pre-stored feature information in the local device, and when the match is successful, merging the third pre-stored feature information with the fourth pre-stored feature information to generate first merged feature information, wherein the third pre-stored feature information and the fourth pre-stored feature information are two parts of the feature information of the target object pre-collected through the first information collection method; matching the first type of feature information with the first merged feature information, and when the match is successful, the identity authentication of the target object is successful.
[0046] Because the third pre-stored characteristic information is collected by the terminal and the fourth pre-stored characteristic information is stored by the local device, the complete characteristic information is not stored locally. If the target object only has the first type of characteristic information but not the third pre-stored characteristic information, identity authentication cannot be performed; if the target object has the third pre-stored characteristic information but the first type of characteristic information is incorrect, identity authentication will also fail. Identity authentication can only be passed if the first type of characteristic information sent by the terminal is correct and the third pre-stored characteristic information is also correct. Therefore, this method can improve the security of user identity authentication and protect the legitimate rights and interests of users.
[0047] As an optional implementation, when it is determined that the target object is of the second object type, the identity authentication method also includes: obtaining fifth pre-stored feature information from the terminal based on the second type of feature information, matching the fifth pre-stored feature information with the sixth pre-stored feature information in the local device, and when the match is successful, merging the fifth pre-stored feature information with the sixth pre-stored feature information to generate second merged verification information, wherein the fifth pre-stored feature information and the sixth pre-stored feature information are two parts of the feature information of the target object pre-collected through the second information collection method; matching the second type of feature information with the second merged verification information, and when the match is successful, the identity authentication of the target object is successful.
[0048] Similarly, since the fifth pre-stored characteristic information is collected by the terminal and the sixth pre-stored characteristic information is stored by the local device, the complete characteristic information is not stored locally. If the target object only has the second type of characteristic information but not the fifth pre-stored characteristic information, identity authentication cannot be performed; if the target object has the fifth pre-stored characteristic information but the second type of characteristic information is incorrect, identity authentication will also fail. Only when the second type of characteristic information sent by the terminal is correct and the fifth pre-stored characteristic information is also correct can identity authentication be passed. Therefore, this method can improve the security of user identity authentication and protect the legitimate rights and interests of users.
[0049] Taking the target object as a visitor as an example, the target space can be a residence, the first object type can include the homeowner himself, and the second object type can include the homeowner's family and friends. Iris collection pictures of the first object type and the second object type can be collected in advance, and features can be extracted from the iris pictures. The iris feature information is divided into two parts, each part is a picture with iris feature information, and the two parts together can form a complete iris feature picture; one part is stored in the terminal, and the other part is stored locally. The two parts can be the feature information evenly divided into two pictures, or divided according to different weights.
[0050] Example 2
[0051] According to an embodiment of the present invention, there is also provided an identity authentication device for implementing the above identity authentication method. Figure 2 is a structural block diagram of an identity authentication device provided according to an embodiment of the present invention, such as Figure 2 As shown, the identity authentication device includes: an acquisition module 22, an output module 24 and an opening module 26. The identity authentication device is described below.
[0052] The acquisition module 22 is used to acquire feature information of the target object.
[0053] The output module 24 is configured to determine the object type corresponding to the target object based on the feature information of the target object.
[0054] The enabling module 26 is configured to enable, for the target object, the use permission of the electronic device in the target space corresponding to the object type, based on the object type corresponding to the target object.
[0055] It should be noted here that the above-mentioned acquisition module 22, output module 24 and opening module 26 correspond to steps S102 to S106 in Example 1. The examples and application scenarios implemented by the three modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned Example 1.
[0056] Example 3
[0057] An embodiment of the present invention may provide an electronic device, which may be any computer terminal device in a computer terminal group.
[0058] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.
[0059] Optionally, Figure 3 FIG. 1 is a structural block diagram of an electronic device according to an exemplary embodiment. Figure 3 As shown, the electronic device may include: one or more (only one is shown in the figure) processors 31, and a memory 32 for storing processor executable instructions; wherein the processor is configured to execute instructions to implement any of the above-mentioned identity authentication methods.
[0060] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the identity authentication method and device in the embodiments of the present invention. The processor executes the software programs and modules stored in the memory to perform various functional applications and data processing, thereby implementing the above-mentioned identity authentication method. The memory may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory remotely located relative to the processor, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0061] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: obtain the characteristic information of the target object; determine the object type corresponding to the target object based on the characteristic information of the target object; and enable the target object to use the electronic device in the target space where the object type is located based on the object type corresponding to the target object.
[0062] Optionally, the processor may also execute the program code of the following steps: determining the object type corresponding to the target object based on the characteristic information of the target object, including: determining the similarity between the characteristic information of the target object and the preset characteristic information; and selecting the object type corresponding to the characteristic information of the target object from the type set corresponding to the preset characteristic information set based on the similarity.
[0063] Optionally, the processor may further execute program code for the following steps: the feature information of the target object includes: first-category feature information and second-category feature information; the preset feature information set includes: first-category feature set and second-category feature set; obtaining the feature information of the target object, and determining the object type corresponding to the target object based on the feature information of the target object, including: obtaining the first-category feature information of the target object; determining the similarity between the first-category feature information and the feature information in the first-category feature set, and determining that the target object is of the first object type when the similarity between the first-category feature information and the feature information in the first-category feature set is higher than or equal to a first preset value; and obtaining the second-category feature information of the target object when the similarity between the first-category feature information and the feature information in the first-category feature set is lower than the first preset value; matching the second-category feature information with the second pre-stored feature information, and determining that the target object is of the second object type when the similarity between the second-category feature information and the feature information in the second-category feature set is higher than or equal to a second preset value; and determining that the target object is of the third object type when the similarity between the second-category feature information and the feature information in the second-category feature set is lower than the second preset value.
[0064] Optionally, the processor may further execute program code of the following steps: the first type of feature information includes iris feature information or face feature information; the second type of feature information includes fingerprint feature information.
[0065] Optionally, the processor may also execute the program code for the following steps: based on the object type corresponding to the target object, enabling the use permission of the electronic device in the target space corresponding to the object type for the target object, including: when it is determined that the target object is a first object type, enabling the first use permission of the electronic device corresponding to the first object type based on the first object type; when it is determined that the target object is a second object type, enabling the second use permission of the electronic device corresponding to the second object type based on the second object type; when it is determined that the target object is a third object type, enabling the third use permission of the electronic device corresponding to the third object type based on the third object type, wherein the first use permission is higher than the second use permission, and the second use permission is higher than the third use permission.
[0066] Optionally, the processor may also execute the program code of the following steps: when it is determined that the target object is of the first object type, the identity authentication method further includes: based on the first type of feature information, obtaining third pre-stored feature information from the terminal, matching the third pre-stored feature information with the fourth pre-stored feature information in the local device, and when the match is successful, merging the third pre-stored feature information with the fourth pre-stored feature information to generate first merged feature information, wherein the third pre-stored feature information and the fourth pre-stored feature information are two parts of the feature information of the target object pre-collected through the first information collection method; matching the first type of feature information with the first merged feature information, and when the match is successful, the identity authentication of the target object is successful.
[0067] Optionally, the processor may also execute the program code of the following steps: when it is determined that the target object is of the second object type, the identity authentication method further includes: obtaining fifth pre-stored feature information from the terminal based on the second type of feature information, matching the fifth pre-stored feature information with the sixth pre-stored feature information in the local device, and when the match is successful, merging the fifth pre-stored feature information with the sixth pre-stored feature information to generate second merged verification information, wherein the fifth pre-stored feature information and the sixth pre-stored feature information are two parts of the feature information of the target object pre-collected through the second information collection method; matching the second type of feature information with the second merged verification information, and when the match is successful, the identity authentication of the target object is successful.
[0068] It can be understood by those skilled in the art that Figure 3 The structures shown are for illustration only. Figure 3 It does not limit the structure of the above electronic equipment. For example, it may also include Figure 3 More or fewer components (such as network interfaces, display devices, etc.) shown in, or with Figure 3 Different configurations shown.
[0069] A person skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0070] Example 4
[0071] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided. When the instructions in the computer-readable storage medium are executed by a processor of a terminal, the terminal is enabled to perform any of the above-mentioned authentication methods. Optionally, the computer-readable storage medium can be a non-transitory computer-readable storage medium, for example, a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0072] Optionally, in this embodiment, the computer-readable storage medium may be used to store the program code executed by the identity authentication method provided in the first embodiment.
[0073] Optionally, in this embodiment, the computer-readable storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.
[0074] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining characteristic information of the target object; determining the object type corresponding to the target object based on the characteristic information of the target object; and enabling the target object to use electronic devices in the target space where the object type is located based on the object type corresponding to the target object.
[0075] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: determining the object type corresponding to the target object based on the characteristic information of the target object, including: determining the similarity between the characteristic information of the target object and the preset characteristic information; and selecting the object type corresponding to the characteristic information of the target object from the type set corresponding to the preset characteristic information set based on the similarity.
[0076] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: the feature information of the target object includes: first-category feature information and second-category feature information; the preset feature information set includes: first-category feature set and second-category feature set; obtaining the feature information of the target object, and determining the object type corresponding to the target object based on the feature information of the target object, including: obtaining the first-category feature information of the target object; determining the similarity between the first-category feature information and the feature information in the first-category feature set, and determining that the target object is of the first object type when the similarity between the first-category feature information and the feature information in the first-category feature set is higher than or equal to a first preset value; and obtaining the second-category feature information of the target object when the similarity between the first-category feature information and the feature information in the first-category feature set is lower than the first preset value; matching the second-category feature information with the second pre-stored feature information, and determining that the target object is of the second object type when the similarity between the second-category feature information and the feature information in the second-category feature set is higher than or equal to a second preset value; and determining that the target object is of the third object type when the similarity between the second-category feature information and the feature information in the second-category feature set is lower than the second preset value.
[0077] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: the first type of feature information includes iris feature information or face feature information; the second type of feature information includes fingerprint feature information.
[0078] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: based on the object type corresponding to the target object, enabling the target object with the usage permission of the electronic device in the target space corresponding to the object type, including: when it is determined that the target object is a first object type, based on the first object type, enabling the first usage permission of the electronic device corresponding to the first object type; when it is determined that the target object is a second object type, based on the second object type, enabling the second usage permission of the electronic device corresponding to the second object type; when it is determined that the target object is a third object type, based on the third object type, enabling the third usage permission of the electronic device corresponding to the third object type, wherein the first usage permission is higher than the second usage permission, and the second usage permission is higher than the third usage permission.
[0079] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: when it is determined that the target object is of the first object type, the identity authentication method further includes: based on the first type of feature information, obtaining third pre-stored feature information from the terminal, matching the third pre-stored feature information with the fourth pre-stored feature information in the local device, and when the match is successful, merging the third pre-stored feature information with the fourth pre-stored feature information to generate first merged feature information, wherein the third pre-stored feature information and the fourth pre-stored feature information are two parts of the feature information of the target object pre-collected through the first information collection method; matching the first type of feature information with the first merged feature information, and when the match is successful, the identity authentication of the target object is successful.
[0080] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: in the case where it is determined that the target object is of the second object type, the identity authentication method further includes: based on the second type of feature information, obtaining fifth pre-stored feature information from the terminal, matching the fifth pre-stored feature information with the sixth pre-stored feature information in the local device, and if the match is successful, merging the fifth pre-stored feature information with the sixth pre-stored feature information to generate second merged verification information, wherein the fifth pre-stored feature information and the sixth pre-stored feature information are two parts of the feature information of the target object pre-collected through the second information collection method; matching the second type of feature information with the second merged verification information, and if the match is successful, the identity authentication of the target object is successful.
[0081] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0082] In the above embodiments of the present invention, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0083] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0084] Units described as separate components may or may not be physically separate, and 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 these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0085] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0086] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk, etc. Various media that can store program codes.
[0087] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be within the scope of protection of the present invention.
Claims
1. An identity authentication method, characterized in that: include: Obtain characteristic information of the target object; Determining the object type corresponding to the target object based on the characteristic information of the target object; According to the object type corresponding to the target object, the target object is given permission to use the electronic device in the target space where the object type is located. The characteristic information of the target object includes: first-category characteristic information and second-category characteristic information; When it is determined that the target object is of the first object type: Obtaining third pre-stored feature information from the terminal based on the first type of feature information, matching the third pre-stored feature information with fourth pre-stored feature information in the local device, and if the match is successful, merging the third pre-stored feature information with the fourth pre-stored feature information to generate first merged feature information, wherein the third pre-stored feature information and the fourth pre-stored feature information are two parts of the feature information of the target object pre-collected through the first information collection method; Matching the first type of feature information with the first combined feature information, and if the match is successful, the identity authentication of the target object is successful; When it is determined that the target object is of the second object type: obtaining fifth pre-stored feature information from the terminal based on the second type of feature information, matching the fifth pre-stored feature information with sixth pre-stored feature information in the local device, and if the match is successful, merging the fifth pre-stored feature information with the sixth pre-stored feature information to generate second merged verification information, wherein the fifth pre-stored feature information and the sixth pre-stored feature information are two parts of the feature information of the target object pre-collected through the second information collection method; The second type of feature information is matched with the second combined verification information. If the match is successful, the identity authentication of the target object is successful.
2. The identity authentication method according to claim 1, wherein: Determining the object type corresponding to the target object based on the characteristic information of the target object includes: Determining the similarity between the characteristic information of the target object and the preset characteristic information; An object type corresponding to the feature information of the target object is selected from a type set corresponding to a preset feature information set based on the similarity.
3. The identity authentication method according to claim 2, wherein: The characteristic information of the target object includes: first-category characteristic information and second-category characteristic information; the preset characteristic information set includes: first-category characteristic set and second-category characteristic set; obtaining the characteristic information of the target object and determining the object type corresponding to the target object based on the characteristic information of the target object include: Obtain the first type of feature information of the target object; determining a similarity between the first type of feature information and the feature information in the first type of feature set, and determining that the target object is a first object type if the similarity between the first type of feature information and the feature information in the first type of feature set is greater than or equal to a first preset value; and obtaining a second type of feature information of the target object if the similarity between the first type of feature information and the feature information in the first type of feature set is less than the first preset value; The second type of feature information is matched with second pre-stored feature information. If the similarity between the second type of feature information and the feature information in the second type of feature set is higher than or equal to a second preset value, the target object is determined to be a second object type. If the similarity between the second type of feature information and the feature information in the second type of feature set is lower than the second preset value, the target object is determined to be a third object type.
4. The identity authentication method according to claim 3, wherein: The first type of feature information includes iris feature information or facial feature information; The second type of feature information includes fingerprint feature information.
5. The identity authentication method according to claim 3, wherein: According to the object type corresponding to the target object, Enabling the target object to use the electronic device in the target space corresponding to the object type includes: In a case where it is determined that the target object is of a first object type, enabling a first usage permission of an electronic device corresponding to the first object type according to the first object type; In the case where it is determined that the target object is of a second object type, enabling a second usage permission of the electronic device corresponding to the second object type according to the second object type; In the case where it is determined that the target object is of the third object type, according to the third object type, a third usage permission of the electronic device corresponding to the third object type is enabled; The first usage permission is higher than the second usage permission, and the second usage permission is higher than the third usage permission.
6. An identity verification device, characterized in that: include: An acquisition module, configured to acquire characteristic information of a target object, wherein the characteristic information of the target object includes first-category characteristic information and second-category characteristic information; An output module, configured to determine an object type corresponding to the target object based on the characteristic information of the target object; An opening module is used to open the use permission of the electronic device in the target space corresponding to the object type for the target object according to the object type corresponding to the target object, In the case where it is determined that the target object is of the first object type, the identity verification device further includes: a first merging module, configured to obtain third pre-stored feature information from the terminal based on the first type of feature information, match the third pre-stored feature information with fourth pre-stored feature information in the local device, and, if the match is successful, merge the third pre-stored feature information with the fourth pre-stored feature information to generate first merged feature information, wherein the third pre-stored feature information and the fourth pre-stored feature information are two parts of the feature information of the target object pre-collected by the first information collection method; a first matching module, configured to match the first type of feature information with the first combined feature information, and if a match is successful, the identity authentication of the target object is successful; In the case where it is determined that the target object is of the second object type, the identity verification device further includes: a second merging module, configured to obtain fifth pre-stored feature information from the terminal based on the second type of feature information, match the fifth pre-stored feature information with sixth pre-stored feature information in the local device, and if the match is successful, merge the fifth pre-stored feature information with the sixth pre-stored feature information to generate second merged verification information, wherein the fifth pre-stored feature information and the sixth pre-stored feature information are two parts of the feature information of the target object pre-collected by the second information collection method; The second matching module is used to match the second type of feature information with the second combined verification information. If the match is successful, the identity verification of the target object is successful.
7. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the identity authentication method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the identity authentication method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Safety control method and system for intelligent kitchen, terminal and readable storage medium
CN112242018A