Identity information processing method and apparatus, device, and storage medium
By determining the attribution identifier of identity information based on the identity recognition pattern in the terminal device and establishing a corresponding relationship, the problem of indistinguishable identity information in the terminal device is solved, thus improving security.
Patent Information
- Application Number
- CN202311136670.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2025-12-26
- Estimated Expiration
- 2043-09-04
AI Technical Summary
In existing technologies, terminal devices cannot distinguish between different identity information during the authentication process, leading to the risk of leakage of user privacy information and resulting in low security.
By responding to the input of identity information, the system determines the identity identifier to which the input identity information belongs based on the identity recognition mode of the terminal device, establishes and stores the correspondence between identity information and identity identifier, and distinguishes the validity of identity identifiers using shared and non-shared recognition modes, thereby achieving a fast and accurate establishment of the correspondence between identity information and identity identifiers.
It enables the differentiation of different identity information during the identity verification process, avoids the leakage of user privacy information, and improves the security of terminal devices.
Smart Images

Figure CN119559715B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The embodiment of the present application relates to information security technology, and relates to but is not limited to an identity information processing method and device, equipment and a storage medium. BACKGROUND
[0002] In some special occasions, terminal equipment such as access fingerprint lock, etc. can be shared and used by different users, and corresponding identity authentication is performed in the process of use.
[0003] In the prior art, in the process of identity input and verification, multiple identity information can be directly set for input, and the terminal equipment can be verified based on the identity information, and different identity information is not distinguished.
[0004] This leads to that all input fingerprints can be verified in the process of identity authentication, so that there is a risk of user privacy information leakage, and the security of the terminal equipment is low. SUMMARY
[0005] Therefore, the identity information processing method and device, equipment and storage medium provided by the embodiment of the present application can improve the security of the terminal equipment. The identity information processing method and device, equipment and storage medium provided by the embodiment of the present application are implemented as follows:
[0006] The identity information processing method provided by the embodiment of the present application is applied to terminal equipment, and the method comprises the following steps.
[0007] In response to an input operation of first identity information, the identity identification mode of the terminal equipment is determined to determine the identity identification of the input first identity information, the identity identification mode comprises: a shared identification mode and a non-shared identification mode, in the shared identification mode, the terminal equipment comprises at least one valid identity identification; in the non-shared identification mode, the terminal equipment comprises only one valid identity identification; and the identity identification is used to represent a user using the terminal equipment.
[0008] The corresponding relationship between the first identity information and the identity identification of the input first identity information is established and stored.
[0009] In some embodiments, the identity identification of the input first identity information is determined according to the current identity identification mode of the terminal equipment, comprising:
[0010] In the case that the identity identification mode is the shared identification mode, the identity identification of the input first identity information is determined according to the type of the input first identity information, and the type of the first identity information comprises: new user identity information and existing user identity information.
[0011] In some embodiments, determining the identity identifier to which the first identity information belongs according to the type of the input first identity information comprises:
[0012] In a case where the type of the first identity information is identity information of a new user, establishing a new identity identifier and determining that the first identity information belongs to the new identity identifier.
[0013] In some embodiments, determining the identity identifier to which the first identity information belongs according to the type of the input first identity information comprises:
[0014] In a case where the type of the first identity information is identity information of an existing user, in response to a selection operation for the existing identity identifier, determining a target identity identifier and determining that the first identity information belongs to the target identity identifier.
[0015] In some embodiments, determining the target identity identifier comprises:
[0016] In response to a verification operation of the second identity information, determining whether the second identity information belongs to an identity selection result of the selection operation for the existing identity identifier;
[0017] If yes, determining that the identity selection result is the target identity identifier.
[0018] In some embodiments, before determining the identity identifier to which the first identity information belongs according to the type of the input first identity information, the method further comprises:
[0019] In response to a type selection operation for the first identity information, determining the type of the first identity information.
[0020] In some embodiments, the first identity information comprises fingerprint information.
[0021] In some embodiments, the method further comprises:
[0022] Detecting whether there is duplicate identity information under each identity identifier;
[0023] If yes, outputting first prompt information, the first prompt information being used to prompt the user to delete the duplicate identity information.
[0024] In some embodiments, the method further comprises: outputting second prompt information at a preset time interval, the second prompt information being used to prompt the user to detect the correspondence between the identity identifier and the identity information.
[0025] In some embodiments, determining the identity identifier to which the input first identity information belongs according to the current identity recognition mode of the terminal device comprises:
[0026] In a case where the identity recognition mode is the non-shared recognition mode, it is determined that the first identity information belongs to the primary identity identifier, and the primary identity identifier is used to represent a user who manages the terminal device.
[0027] In some embodiments, the method further comprises: in response to a switching operation of the user corresponding to the primary identity identifier, switching the current identity recognition mode of the terminal device.
[0028] In some embodiments, in response to the input operation of the first identity information, the method further comprises:
[0029] If no identity identifier is stored in the terminal device, an initial identity identifier is established, and the initial identity identifier is used as the primary identity identifier.
[0030] The correspondence between the first identity information and the primary identity identifier is established and stored.
[0031] The identity information processing apparatus provided by the embodiments of the present application is applied to a terminal device, and the apparatus comprises an identifier determination module and a correspondence establishment module.
[0032] The identifier determination module is configured to determine, in response to an input operation of first identity information, an identity identifier to which the input first identity information belongs according to a current identity recognition mode of the terminal device, wherein the identity recognition mode comprises a shared recognition mode and a non-shared recognition mode, in the shared recognition mode, the terminal device comprises at least one valid identity identifier, in the non-shared recognition mode, the terminal device comprises only one valid identity identifier, and the identity identifier is used to represent a user who uses the terminal device.
[0033] The correspondence establishment module is configured to establish and store a correspondence between the first identity information and the identity identifier to which the first identity information belongs.
[0034] In some embodiments, the identifier determination module is specifically configured to, in a case where the identity recognition mode is the shared recognition mode, determine the identity identifier to which the input first identity information belongs according to a type of the first identity information, and the type of the first identity information comprises identity information of a new user and identity information of an existing user.
[0035] In some embodiments, the identifier determination module is specifically configured to, in a case where the type of the first identity information is the identity information of the new user, establish a new identity identifier and determine that the first identity information belongs to the new identity identifier.
[0036] In some embodiments, the identifier determination module is specifically configured to, in a case where the type of the first identity information is the identity information of the existing user, in response to a selection operation on the existing identity identifier, determine a target identity identifier and determine that the first identity information belongs to the target identity identifier.
[0037] In some embodiments, the identity determining module is specifically configured to determine, in response to the verification operation on the second identity information, whether the second identity information belongs to an identity selection result of the selection operation on the existing identity; if yes, determine the identity selection result as the target identity.
[0038] In some embodiments, the identity determining module is further configured to determine, in response to the type selection operation on the first identity information, the type of the first identity information.
[0039] In some embodiments, the apparatus further comprises an information prompting module, which is specifically configured to detect whether there is duplicated identity information under each identity; if yes, output first prompt information, the first prompt information being used to prompt the user to delete the duplicated identity information.
[0040] In some embodiments, the information prompting module is further configured to output second prompt information at a preset time interval, the second prompt information being used to prompt the user to detect the correspondence between the identity and the identity information.
[0041] In some embodiments, the identity determining module is further configured to determine that the first identity information belongs to a primary identity in a case where the identity recognition mode is a non-sharing recognition mode, the primary identity being used to represent the user who manages the terminal device.
[0042] In some embodiments, the identity determining module is further configured to switch the current identity recognition mode of the terminal device in response to a switching operation of the user corresponding to the primary identity.
[0043] In some embodiments, the relationship establishing module is further configured to establish an initial identity if the terminal device does not store any identity, and take the initial identity as the primary identity; and establish and store the correspondence between the first identity information and the primary identity.
[0044] The computer device provided by the embodiments of the present application comprises a memory and a processor, the memory stores a computer program which can be run on the processor, and the processor implements the method provided by the embodiments of the present application when executing the program.
[0045] The computer readable storage medium provided by the embodiments of the present application stores a computer program, and the computer program is executed by a processor to implement the method provided by the embodiments of the present application.
[0046] The identity information processing method and device, equipment and storage medium provided by the embodiments of the present application can determine the identity identifier to which the input first identity information belongs according to the current identity recognition mode of the terminal equipment in response to the input operation of the first identity information, the identity recognition mode includes a shared recognition mode and a non-shared recognition mode, in the shared recognition mode, the terminal equipment includes at least one valid identity identifier, in the non-shared recognition mode, the terminal equipment includes only one valid identity identifier, the identity identifier is used to represent a user using the terminal equipment, and a corresponding relationship between the first identity information and the identity identifier to which the first identity information belongs is established and stored. Wherein, the identity identifier to which the first identity information belongs is determined in a corresponding manner based on different identity recognition modes, and then the corresponding relationship is established, so that the establishment of the corresponding relationship between the identity information and the identity identifier can be more quickly and accurately realized, and then different identity information can be distinguished based on the corresponding relationship between the identity information and the identity identifier in the identity verification process, so that the user privacy information is prevented from being leaked, and the security of the terminal equipment is improved. BRIEF DESCRIPTION OF DRAWINGS
[0047] The drawings incorporated into the specification and forming a part of the specification, show embodiments consistent with the present application, and together with the specification, serve to explain the technical solutions of the present application.
[0048] Figure 1 A flowchart of the identity information processing method provided in the embodiments of the present application;
[0049] Figure 2 Another flowchart of the identity information processing method provided in the embodiments of the present application;
[0050] Figure 3 Another flowchart of the identity information processing method provided in the embodiments of the present application;
[0051] Figure 4 Another flowchart of the identity information processing method provided in the embodiments of the present application;
[0052] Figure 5 An interface diagram of the selection interface provided in the embodiments of the present application;
[0053] Figure 6 Another flowchart of the identity information processing method provided in the embodiments of the present application;
[0054] Figure 7 Another flowchart of the identity information processing method provided in the embodiments of the present application;
[0055] Figure 8 A structural diagram of the identity information processing device provided in the embodiments of the present application;
[0056] Figure 9 The figure is a structural schematic diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0057] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the specific technical solutions of the present application will be further described in detail below with reference to the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.
[0058] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application, and are not intended to limit the present application.
[0059] In the following description, "some embodiments" are related to a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0060] It should be noted that the terms "first", "second", "third" involved in the embodiments of the present application are used to distinguish similar or different objects, and do not represent a specific order of the objects. It can be understood that "first", "second", "third" can be interchanged with a specific order or sequence as allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0061] The identity information processing method provided in the embodiments of the present application can be applied to a terminal device, where the terminal device can be a device that needs to use identity authentication to provide corresponding services, such as an access control lock, a device lock of an encryption device, etc. without specific limitation, and any device that needs to provide corresponding services through identity authentication is within the protection scope of the present application.
[0062] For example, if the terminal device is an access control lock, the user can be provided with related services such as door opening by verifying the identity information of the user, and if the terminal device is a device lock of an encryption device, the user can be provided with related services such as unlocking the device by verifying the identity information of the user.
[0063] In order to more clearly illustrate the effect of the implementation of the present application, the specific implementation process of the identity information processing method provided in the embodiments of the present application will be specifically explained below.
[0064] Figure 1 The figure is a flowchart of the identity information processing method provided in the embodiments of the present application. Please refer to Figure 1 The identity information processing method comprises the following steps.
[0065] S110: In response to the input operation of the first identity information, determining the identity label to which the input first identity information belongs according to the current identity recognition mode of the terminal device.
[0066] The identity recognition mode includes a shared recognition mode and a non-shared recognition mode. In the shared recognition mode, the terminal device includes at least one valid identity label. In the non-shared recognition mode, the terminal device includes only one valid identity label. The identity label is used to represent a user using the terminal device.
[0067] It should be noted that the first identity information can be the identity information that the user needs to input into the terminal device, that is, the identity information used for identity input. For example, if the terminal device is a door lock, the identity information can be input through an identity information input system of the door lock. The first identity information can be fingerprint information, voiceprint information, palmprint information, iris information, face information, or identity card information, or any other information used for identity authentication, without limitation on the specific type. Any information that can achieve identity authentication can be used as the first identity information.
[0068] The input operation of the first identity information can be an operation of the user on the terminal device, for example, the operation can be achieved by triggering a related key or control on the terminal device.
[0069] The terminal device can be provided with at least two identity recognition modes, that is, the shared recognition mode and the non-shared recognition mode.
[0070] In the shared recognition mode, at least one valid identity label can be established. When there are multiple identity labels, the different identity labels can be distinguished, so as to represent different users. That is, in the shared recognition mode, the terminal device can provide services for one or more users through corresponding identity labels.
[0071] Correspondingly, in the non-shared recognition mode, only one valid identity label can be established, which can represent a user managing the device, for example, the owner of the device. That is, in the non-shared recognition mode, the terminal device can only provide services for one user through the corresponding identity label of the user.
[0072] It should be noted that the number of identity identifiers stored in the terminal device itself will not change with the switching of the identity identification mode, therefore, when the identity identification mode is switched, what changes is whether each identity identifier is valid or not, for example, the terminal device stores identity identifier A, identity identifier B and identity identifier C, in the shared identification mode, identity identifier A, identity identifier B and identity identifier C are all valid, in the non-shared identification mode, only identity identifier A is valid, and the other identity identifiers are invalid.
[0073] Optionally, the identity identifier can represent a user using the terminal device, in actual application, one user can correspond to one identity identifier or multiple identity identifiers, which is not limited here.
[0074] It should be noted that the identity identifier to which the input first identity information belongs can be determined according to the current identity identification mode of the terminal device, for each identity identifier, it can include at least one identity information. In different identity identification modes, different identity identifiers to which the input first identity information belongs can be determined.
[0075] S120: establish and store the correspondence between the first identity information and the identity identifier to which the first identity information belongs.
[0076] It should be noted that after the identity identifier to which the first identity information belongs is determined, the correspondence between the first identity information and the identity identifier can be established, specifically, each first identity information can belong to one identity identifier, and each identity identifier can include multiple first identity information.
[0077] The correspondence between the first identity information and the identity identifier to which the first identity information belongs can be stored by a mapping table or a mapping relationship.
[0078] After the correspondence is established and stored, when identity authentication is performed based on the terminal device, the corresponding identity identifier can be determined through the authentication information input by the user, if the corresponding identity identifier exists, the corresponding service can be provided for the user, and different services can be provided based on different identity identifiers; if the corresponding identity identifier does not exist, an alarm or other prompt information can be generated to indicate that the user has no service provision authority.
[0079] In the method for processing identity information provided by the embodiments, the identity identification mode of the terminal device is determined according to the input operation of the first identity information, the identity identification mode includes a shared identification mode and a non-shared identification mode, in the shared identification mode, the terminal device includes at least one valid identity identification, in the non-shared identification mode, the terminal device includes only one valid identity identification, the identity identification is used to represent a user using the terminal device, and the corresponding relationship between the first identity information and the identity identification to which the first identity information belongs is established and stored. In the method, the identity identification to which the first identity information belongs is determined in a corresponding manner based on different identity identification modes, and then the corresponding relationship is established, so that the establishment of the corresponding relationship between the identity information and the identity identification can be more quickly and accurately, and then different identity information can be distinguished based on the corresponding relationship between the identity information and the identity identification in the identity verification process, so that the user privacy information is prevented from being leaked, and the security of the terminal device is improved.
[0080] In some embodiments, the identity identification to which the input first identity information belongs is determined according to the current identity identification mode of the terminal device, including: in the case that the identity identification mode is the shared identification mode, the identity identification to which the first identity information belongs is determined according to the type of the input first identity information, the type of the first identity information includes new user identity information and existing user identity information.
[0081] In the method, for the new user identity information, a new identity identification needs to be established to attribute the identity information, and for the existing user identity information, the identity information needs to be attributed to the existing identity identification.
[0082] It should be noted that for an input first identity information, it can be determined whether the first identity information is new user identity information or existing user identity information, and the determination can be based on a selection operation of a user in an input process, for example, in the process of inputting the first identity information, the user can be prompted to determine the type of the first identity information, and the first identity information can be determined to be new user identity information or existing user identity information based on the selection of the user.
[0083] After the type of the first identity information is determined, the identity identification to which the first identity information belongs can be determined.
[0084] In the method for processing identity information provided in the embodiments of the present application, in the case that the identity recognition mode is a shared recognition mode, the identity identification to which the first identity information belongs is determined according to the type of the input first identity information. The type of the first identity information includes the identity information of a new user and the identity information of an existing user. Different identity identification determination methods can be used based on different types of first identity information, so that the identity identification corresponding to the first identity information can be determined more quickly and accurately.
[0085] The implementation process of determining the identity identification to which the first identity information belongs according to the type of the input first identity information in the method for processing identity information provided in the embodiments of the present application will be explained in detail below.
[0086] Figure 2 Another flowchart of the method for processing identity information provided in the embodiments of the present application is shown in FIG. 2. Figure 2 For different types of first identity information, different identity identification determination methods can be used.
[0087] That is, determining the identity identification to which the first identity information belongs according to the type of the input first identity information includes the following two cases:
[0088] In the case that the type of the first identity information is the identity information of a new user, S210: a new identity identification is established, and the first identity information is determined to belong to the new identity identification.
[0089] It should be noted that the identity identification can be distinguished by various types of ways such as numbers, Chinese characters, letters or patterns.
[0090] The new identity identification can be a new identity identification established in the terminal device, which is different from other existing identity identifications.
[0091] For example, the terminal device stores an identity identification A and an identity identification B. In the shared recognition mode, if the type of the first identity information is the identity information of a new user, a new identity identification C can be established, and the first identity information belongs to the new identity identification C.
[0092] In the case that the type of the first identity information is the identity information of an existing user, S220: in response to a selection operation on the existing identity identification, a target identity identification is determined, and the first identity information is determined to belong to the target identity identification.
[0093] The target identity identification can be an identity identification already stored in the terminal device.
[0094] For example, the terminal device stores an identity A and an identity B. In the shared identification mode, if the type of the first identity information is the identity information of an existing user, an existing identity, such as the identity A or the identity B, can be selected, and the first identity information can be attributed to the target identity.
[0095] Specifically, whether the identity A or the identity B is selected can be based on a pre-set default selection operation, or can be in response to a selection operation of a user, so as to determine the target identity.
[0096] It should be noted that for different types of the first identity information, the steps of S210 or S220 described above can be used respectively.
[0097] Optionally, in the process of entering the first identity information, there can be a plurality of cases that need to be entered. For each first identity information, a corresponding method of determining the attribution of the identity can be selected based on the type of the first identity information, so as to establish a corresponding relationship.
[0098] For example, for the first identity information a, it is determined that the first identity information a is attributed to a new identity C, and a corresponding relationship between the first identity information a and the identity C can be established. For the first identity information b, it is determined that the first identity information b is attributed to an existing identity B, and a corresponding relationship between the first identity information b and the identity B can be established.
[0099] In the method for processing identity information provided in the embodiments of the present application, in the case that the type of the first identity information is the identity information of a new user, a new identity can be established, and the first identity information is determined to be attributed to the new identity. In the case that the type of the first identity information is the identity information of an existing user, a target identity is determined in response to a selection operation of the existing identity, and the first identity information is determined to be attributed to the target identity. According to the different types of the first identity information, the new identity or the target identity to which the first identity information is attributed can be determined by using a corresponding method, so that the attribution of the identity information can be determined more quickly and accurately, and the efficiency of establishing the corresponding relationship can be improved. In addition, by using different methods to determine the attribution of the identity information, different identity information can be distinguished, so that the user privacy information is prevented from being leaked, and the security of the terminal device is improved.
[0100] The specific implementation process of determining the target identity in the embodiments of the present application will be explained below.
[0101] Figure 3 Another flowchart of the method for processing identity information provided in the embodiments of the present application is shown in FIG. 2B. Figure 3 The method for processing identity information provided in the embodiments of the present application can be used to determine the target identity, and the method comprises the following steps.
[0102] S310: In response to the verification operation of the second identity information, determining whether the second identity information belongs to the identity selection result of the selection operation for the existing identity.
[0103] Optionally, the second identity information can be identity information used for identity verification, similar to the first identity information used for identity entry, which can be any one of fingerprint information, voiceprint information, palmprint information, iris information, face information, or identity card information, etc. used for user identity authentication, without specific type limitation here.
[0104] It should be noted that, in the process of identity entry, if the first identity information needs to be entered into the information of the existing user, in order to prevent privacy leakage and other situations, identity verification can be performed, which can be based on whether the input second identity information belongs to the identity selection result of the selection operation for the existing identity.
[0105] Among them, the identity selection result can be determined based on the selection operation of the user, for example: if the identity identifier A, the identity identifier B and the identity identifier C are included, and the identity identifier C is selected based on the selection operation, then the identity identifier C is the identity selection result of the selection operation for the existing identity.
[0106] After the identity selection result is determined, the target identity identifier can be determined based on the identity selection result.
[0107] For example: if the first identity information a needs to be entered into the identity identifier C, the second identity information e can be input to determine whether the second identity information e belongs to the identity identifier C, if it belongs to the identity identifier C, it can be determined that the verification is successful, that is, the first identity information a can be entered into the identity identifier C; correspondingly, if it does not belong to the identity identifier C, it can be determined that the verification fails, that is, the first identity information a cannot be entered into the identity identifier C.
[0108] If yes, S320: determining that the identity selection result is the target identity identifier.
[0109] Correspondingly, if no, S330: re-determine the identity selection result.
[0110] Optionally, after it is determined that the second identity information belongs to the identity selection result of the selection operation for the existing identity, the identity selection result can be used as the target identity identifier; correspondingly, after it is determined that the second identity information does not belong to the identity selection result of the selection operation for the existing identity, the identity selection result cannot be used as the target identity identifier, for example, the identity selection result can be re-determined, and the aforementioned S310 judgment can be re-executed.
[0111] The method for processing identity information provided in the embodiments of the present application can determine whether the second identity information belongs to the identity selection result of the selection operation for the existing identity, in response to the verification operation of the second identity information, and take the identity selection result as the target identity in the case of determination. Through further verification of the second identity information, it can be determined that the first identity information can be entered under the corresponding identity selection result, so as to avoid the occurrence of privacy leakage and the like, and improve the security of the terminal device in use.
[0112] Before determining the identity to which the first identity information belongs according to the type of the entered first identity information, the method further includes: determining the type of the first identity information in response to a type selection operation for the first identity information.
[0113] It should be noted that the type of the first identity information can be determined by the operation of the user, for example: two controls can be displayed in the display interface of the terminal device. Control 1 can represent entering the identity information of a new user, and control 2 can represent entering the identity information of an existing user. In the process of entering the first identity information, the specific type of the first identity information can be determined based on the selection operation of the user on the control in the display interface.
[0114] Alternatively, if the terminal device does not have a display interface, the above process can also be realized by setting a hardware key, for example: a switching key is provided on the terminal device. In the default state, it can represent entering the identity information of a new user, and in the triggered state, it can represent entering the identity information of an existing user. In the process of entering the first identity information, the specific type of the first identity information can be determined based on the selection operation of the user on the switching key.
[0115] In some embodiments, the first identity information includes fingerprint information.
[0116] It should be noted that in the embodiments of the present application, the first identity information can be implemented in the form of fingerprint information, for example: the terminal device is a fingerprint access control, and the input first identity information can be the fingerprint information of the user. The corresponding processing steps can be performed based on the fingerprint information.
[0117] Correspondingly, if the first identity information includes fingerprint information, the second identity information can also include fingerprint information.
[0118] In the scene with high safety factor requirement, in order to improve the security of the access control, the terminal device can also be a multi-authentication system access control including fingerprint authentication, for example, fingerprint authentication and iris authentication are simultaneously implemented in the process of identity verification, which is only an example, in actual implementation, at least two authentication modes including fingerprint authentication can be combined, which is not limited here, so as to improve the security of the entire terminal device authentication.
[0119] It should be noted that, in order to realize the identity authentication in the above case, in the process of entering the first identity information, the fingerprint information and other authentication information need to be entered at the same time, and the two are associated and bound.
[0120] Taking the steps S210-S220 as an example, in the process of entering the first identity information, in the case that the first identity information is a combination of fingerprint information and other authentication information, and the type of the first identity information is the identity information of a new user, a new identity identifier can be established, and the combination of the fingerprint information and the other authentication information is determined to belong to the new identity identifier. In the process of identity verification, after the fingerprint information is verified, the user can be prompted to verify the other authentication information. Only when the fingerprint information and the other authentication information are both authenticated successfully, the terminal device can provide the corresponding service, for example, the door opening service.
[0121] In the case that the first identity information is a combination of fingerprint information and other authentication information, and the type of the first identity information is the identity information of an existing user, the target identity identifier can be determined in response to the selection operation of the existing identity identifier, and the combination of the fingerprint information and the other authentication information is determined to belong to the target identity identifier. In the process of determining the target identity identifier, if the second identity information needs to be verified, the fingerprint information and the other authentication information can also be verified at the same time or in sequence. Only when both of them belong to the identity selection result, the target identity identifier can be determined, and the corresponding relationship is established.
[0122] The specific implementation process of the repeated information detection in the identity information processing method provided in the embodiment of the application will be explained below.
[0123] Figure 4 Another flowchart of the identity information processing method provided in the embodiment of the application is shown in FIG. 4. Figure 4 The method further includes:
[0124] S410: detecting whether there is repeated identity information under each identity identifier.
[0125] Optionally, the detection can be started based on a triggering operation of the user, or can also be based on a preset time, and specifically can be traversing all identity information under all identity identifiers in the terminal device to determine whether there is repetition between the identity information.
[0126] Specifically, when determining the identity information repetition, different processes can be performed based on different identity information, for example: for fingerprint information, the similarity of the two fingerprints can be compared, and if the similarity exceeds a certain threshold, it can be determined that the two may exist repetition; for voiceprint information, the similarity of the frequency of the recorded voice can be compared, and if the similarity exceeds a certain threshold, it can be determined that the two may exist repetition, and other types of authentication information can also be determined by similar methods, which are not limited here.
[0127] Optionally, after the above detection, it can be determined whether there is repeated identity information. In actual implementation, each identity information can be compared, for example: if there are 10 identity information stored in the terminal device, the first identity information can be compared with the other 9 identity information, and the second identity information can be compared with the other 8 identity information, until all identity information is compared.
[0128] If yes, S420: output the first prompt information.
[0129] The first prompt information is used to prompt the user to delete the repeated identity information.
[0130] It should be noted that if there is no repetition, the corresponding prompt can not be performed, or a prompt such as "there is no repeated identity information" can be displayed on the display interface of the terminal device; if there is repetition, the first prompt information can be output, which can be prompted and output in the form of voice, text, etc., and can be used to prompt the specific repeated identity information, and then based on the user's selection to determine whether to delete.
[0131] Different prompt methods can be used for different types of repetition, for example: if two identity information under the same identity identifier A exist repetition, the first prompt information can prompt the user that there is repeated identity information in the identity identifier A; if two identity information under different identity identifiers A and B exist repetition, the first prompt information can prompt the user that there is repeated identity information in the identity identifier A and the identity identifier B, and can specifically prompt the number of identity information, etc., for prompting the user to check.
[0132] After the user determines, if it is determined that the deletion is needed, the identity information with the repetition can be deleted based on the user's deletion operation; correspondingly, if it is determined that the deletion is not needed, the two can be marked based on the user's operation of eliminating the repetition, and in the next detection process, if the mark exists, the terminal device can not prompt even if the detection result exists the repetition.
[0133] In the method for processing identity information provided in the embodiments of the present application, whether the identity information under each identity identifier exists the repetition can be detected, and in the case that the identity information exists the repetition, the first prompt information can be output. Through the detection of the repetition of the identity information, the repetition information stored in the device can be reduced, the waste of the storage space of the device can be reduced, and the security of the terminal device can be further improved, and the situation that the authentication is wrong due to the repetition information in the authentication process can be avoided.
[0134] In some embodiments, the method further comprises: outputting second prompt information according to a preset time interval.
[0135] The second prompt information is used to prompt the user to detect the correspondence between the identity identifier and the identity information.
[0136] Optionally, the second prompt information can be output every certain time, and the second prompt information can be, for example, "please detect the correspondence between the identity identifier and the identity information", if the specific identity information is determined, for example, the fingerprint information, the specific prompt can be performed, which is not limited here.
[0137] The second prompt information can be used to instruct the user to detect the correspondence between the identity information and the identity identifier, for example, in the detection process, the user can select the corresponding identity identifier, and then input the identity information, and determine whether the input identity information is the same as the identity information under the identity identifier, if yes, the detection is successful; if no, the identity information can be re-input based on the user's deletion operation and input operation.
[0138] The preset time interval is set by the user, or can be a default time length, for example, one month, three months, etc.
[0139] In the method for processing identity information provided in the embodiments of the present application, the second prompt information can be output according to the preset time interval. Through the output of the second prompt information, the user can be prompted to detect the correspondence between the identity identifier and the identity information, so that the accuracy and real-time of the correspondence can be ensured, and the security of the terminal device can be further improved.
[0140] In some embodiments, determining the identity to which the input first identity information belongs according to the current identity recognition mode of the terminal device comprises: in the case where the identity recognition mode is a non-sharing recognition mode, determining that the first identity information belongs to the primary identity.
[0141] The primary identity is used to represent a user who manages the terminal device.
[0142] It should be noted that the foregoing processes are all for the case where the identity recognition mode is a sharing recognition mode. For the case where the identity recognition mode is a non-sharing recognition mode, another specific implementation process can be used.
[0143] The primary identity can be used to represent a user who manages the terminal device. For example, when it is necessary to delete or add an identity, the primary identity needs to be verified. After the verification of the primary identity, the work of deleting or adding an identity can be performed.
[0144] That is, the primary identity is the identity with the highest authority among all the identities.
[0145] Optionally, in the non-sharing recognition mode, only one identity exists, which can be used as the primary identity. The identity information input in this mode belongs to the primary identity.
[0146] Specifically, before the attribution of the identity information is confirmed, the authentication of the corresponding primary identity can also be performed. That is, similar to the foregoing method, by inputting a second identity, it is determined whether the second identity belongs to the primary identity. If yes, it is determined that the authentication is successful, and the first identity information can be attributed to the primary identity. If no, it is determined that the authentication fails, and the first identity information cannot be attributed to the primary identity.
[0147] In the identity information processing method provided in the embodiments of the present application, the first identity information can be attributed to the primary identity in the case where the identity recognition mode is a non-sharing recognition mode. In the non-sharing recognition mode, the establishment of a new identity can be omitted, so that the first identity is attributed to the primary identity. This can be suitable for a scenario where there is no need to recognize sharing, and the applicability and security of the terminal device are improved.
[0148] Figure 5 For the interface schematic diagram of the selection interface provided in the embodiments of the present application, please refer to Figure 5 The terminal device can be provided with a corresponding display screen. Various interfaces can be displayed on the display screen. The selection interface can be one of the interfaces. The user can switch the identity recognition mode of the terminal device by selecting the content displayed in the selection interface.
[0149] Figure 5 The selection interface shown in the above formula (1) includes two selection controls, where the first control can represent enabling the shared identification mode, and the second control can represent enabling the non-shared identification mode.
[0150] The method further includes: in response to a switching operation of the user corresponding to the primary identity, switching the current identity identification mode of the terminal device.
[0151] It should be noted that, when implementing the switching of the identity identification mode, the switching operation of the user corresponding to the primary identity can be responded to, and specifically, identity authentication of the user corresponding to the primary identity can be performed first, for example, identity information can be input first, and after it is determined that the identity information belongs to the primary identity, it can be determined that the subsequent switching operation is the switching operation of the user corresponding to the primary identity.
[0152] After the verification of the primary identity is performed, the current identity identification mode of the terminal device can be switched in response to the switching operation of the user corresponding to the primary identity.
[0153] For example, the current identity identification mode can be switched to the shared identification mode in response to a triggering operation of the control for enabling the shared identification mode in the selection interface shown in the above formula (1) by the user corresponding to the primary identity; correspondingly, the current identity identification mode can also be switched to the non-shared identification mode in response to a triggering operation of the control for enabling the non-shared identification mode in the selection interface shown in the above formula (1) by the user corresponding to the primary identity. Figure 5 Figure 5 For example, the current identity identification mode can be switched to the shared identification mode in response to a triggering operation of the control for enabling the shared identification mode in the selection interface shown in the above formula (1) by the user corresponding to the primary identity; correspondingly, the current identity identification mode can also be switched to the non-shared identification mode in response to a triggering operation of the control for enabling the non-shared identification mode in the selection interface shown in the above formula (1) by the user corresponding to the primary identity.
[0154] It should be noted that, Figure 5 The control display mode shown in the above formula (1) is only one example, and in actual implementation, a sliding switch type control can also be set, one side is set to enable the shared identification mode, and the other side is set to enable the non-shared identification mode, and the mode switching is implemented through the sliding operation of the user, which is not limited specifically herein.
[0155] In the identity information processing method provided in the embodiments of the present application, the current identity identification mode of the terminal device can be switched in response to the switching operation of the user corresponding to the primary identity. Through the switching of the identity identification mode by the user, the corresponding identity identification mode can be adopted to adapt to the actual demand scenario, thereby improving the adaptability of the terminal device.
[0156] The specific implementation process of determining the primary identity in the identity information processing method provided in the embodiments of the present application will be explained below.
[0157] Figure 6 For another flowchart of the identity information processing method provided in the embodiments of the present application, please refer toFigure 6 In response to the inputting operation of the first identity information, the method further includes:
[0158] S610: If no identity identifier is stored in the terminal device, an initial identity identifier is established, and the initial identity identifier is taken as a main identity identifier.
[0159] It should be noted that if no identity identifier exists in the terminal device, the identity authentication related operation cannot be performed, and the identity can be inputted. Specifically, an initial identity identifier can be established, the inputted first identity information can be attributed to the initial identity identifier, and the initial identity identifier can be taken as the main identity identifier.
[0160] Optionally, after the initial identity identifier is established, whether the initial identity identifier is taken as the main identity identifier can be determined based on the selection of the user. For example, the initial identity identifier can be taken as the main identity identifier by default. If the initial identity identifier is not taken as the main identity identifier based on the selection operation of the user, the initial identity identifier can be taken as a common identity identifier.
[0161] S620: A corresponding relationship between the first identity information and the main identity identifier is established and stored.
[0162] Optionally, after the main identity identifier is determined, the corresponding relationship between the first identity information and the main identity identifier can be established and stored, that is, the corresponding relationship between the first identity information and the main identity identifier is stored in the form of a mapping relationship or a mapping table.
[0163] In the identity information processing method provided in the embodiments of the present application, the initial identity identifier can be established when no identity identifier is stored in the terminal device, and the initial identity identifier can be taken as the main identity identifier. The corresponding relationship between the first identity information and the main identity identifier is established and stored. By determining the initial identity identifier and determining the main identity identifier, the terminal device can be managed more conveniently and safely, and the security of the terminal device is improved.
[0164] The overall flow relationship of the identity information processing method provided in the embodiments of the present application will be explained in detail below.
[0165] Figure 7 Another flowchart of the identity information processing method provided in the embodiments of the present application is shown in FIG. 7. Figure 7 The method includes:
[0166] S710: In response to the inputting operation of the first identity information, a current identity recognition mode is determined. When the identity recognition mode is a shared recognition mode, S720 is performed; when the identity recognition mode is a non-shared recognition mode, S750 is performed.
[0167] S720: Determine the identity identifier to which the first identity information belongs according to the type of the entered first identity information. When the type of the first identity information is the identity information of a new user, perform S730; when the type of the first identity information is the identity information of an existing user, perform S740.
[0168] S730: Establish a new identity identifier and determine that the first identity information belongs to the new identity identifier. Perform S760.
[0169] S740: In response to a selection operation for an existing identity identifier, determine a target identity identifier and determine that the first identity information belongs to the target identity identifier. Perform S760.
[0170] S750: Determine that the first identity information belongs to the main identity identifier. Perform S760.
[0171] S760: Establish and store the correspondence between the first identity information and the identity identifier to which the first identity information belongs.
[0172] It should be noted that the specific implementation process of the above steps S710-S760 has been explained in the foregoing, and will not be repeated here.
[0173] In addition, it should be noted that the sharing identification mode and the non-sharing identification mode are set for the identity identification mode based on the implementation manner adopted in the embodiments of the present application, which can be adapted based on different scenarios, and the correspondence between the identity information and the identity identifier is established in different identity identification modes, which can facilitate subsequent provision of upper-layer services, for example, the identity identifiers that have been verified for identity information within a certain time period can be recorded to facilitate provision of query services.
[0174] It should be understood that although each step in the above flowcharts is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps has no strict order limitation, and these steps can be executed in other orders. Moreover, at least part of the steps in the above flowcharts can include multiple sub-steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or sub-steps or stages of other steps.
[0175] Based on the foregoing embodiments, the embodiments of the present application provide a device for processing identity information, which comprises various modules and units included in the modules, and can be implemented by a processor; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.
[0176] Figure 8 For the structural schematic diagram of the device for processing identity information provided in the embodiments of the present application, please refer to Figure 8 The device for processing identity information provided by the embodiments of the present application is applied to a terminal device, and the device comprises an identity determination module 810 and a relationship establishment module 820.
[0177] The identity determination module 810 is configured to determine an identity label to which the first identity information belongs according to a current identity recognition mode of the terminal device in response to an input operation of the first identity information, wherein the identity recognition mode comprises a shared recognition mode and a non-shared recognition mode; in the shared recognition mode, the terminal device comprises at least one valid identity label; in the non-shared recognition mode, the terminal device comprises only one valid identity label; and the identity label is used to represent a user using the terminal device.
[0178] The relationship establishment module 820 is configured to establish and store a corresponding relationship between the first identity information and the identity label to which the first identity information belongs.
[0179] In some embodiments, the identity determination module 810 is specifically configured to determine the identity label to which the first identity information belongs according to a type of the input first identity information in the case that the identity recognition mode is the shared recognition mode, wherein the type of the first identity information comprises identity information of a new user and identity information of an existing user.
[0180] In some embodiments, the identity determination module 810 is specifically configured to establish a new identity label and determine that the first identity information belongs to the new identity label in the case that the type of the first identity information is the identity information of the new user.
[0181] In some embodiments, the identity determination module 810 is specifically configured to determine a target identity label and determine that the first identity information belongs to the target identity label in the case that the type of the first identity information is the identity information of the existing user in response to a selection operation of the existing identity label.
[0182] In some embodiments, the identity determining module 810 is specifically configured to determine, in response to the verification operation on the second identity information, whether the second identity information belongs to the identity selection result of the selection operation on the existing identity; if yes, determine the identity selection result as the target identity.
[0183] In some embodiments, the identity determining module 810 is further configured to determine the type of the first identity information in response to the type selection operation on the first identity information.
[0184] In some embodiments, the apparatus further comprises an information prompting module 830, which is specifically configured to detect whether there is repeated identity information under each identity; if yes, output first prompt information, which is used to prompt the user to delete the repeated identity information.
[0185] In some embodiments, the information prompting module 830 is further configured to output second prompt information at a preset time interval, which is used to prompt the user to detect the correspondence between the identity and the identity information.
[0186] In some embodiments, the identity determining module 810 is further configured to determine that the first identity information belongs to the primary identity in the case that the identity recognition mode is the non-sharing recognition mode, the primary identity being used to represent the user who manages the terminal device.
[0187] In some embodiments, the identity determining module 810 is further configured to switch the current identity recognition mode of the terminal device in response to the switching operation of the user corresponding to the primary identity.
[0188] In some embodiments, the relationship establishing module 820 is further configured to establish an initial identity if there is no identity stored in the terminal device, and take the initial identity as the primary identity; and establish and store the correspondence between the first identity information and the primary identity.
[0189] The above description of the apparatus embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the apparatus embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
[0190] It should be noted that the embodiments of the present application Figure 8The division of the processing apparatus of the identity information shown is illustrative, and is only a logical functional division. In actual implementation, another division manner can be used. In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or can be physically separated, or two or more units can be integrated in one unit. The integrated unit can be implemented in the form of hardware, or in the form of a software functional unit. The integrated unit can also be implemented in the form of a combination of software and hardware.
[0191] It should be noted that, in the embodiments of the present application, if the above method is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, and includes a plurality of instructions for causing an electronic device to execute all or part of the method described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk, and various storage media that can store program codes. Thus, the embodiments of the present application are not limited to any specific combination of hardware and software.
[0192] Figure 9 For the structural schematic diagram of the computer device provided in the embodiments of the present application, please refer to Figure 9 The embodiments of the present application provide a computer device, which can be the terminal device described above, and the internal structure diagram thereof can be as shown in Figure 9 The computer device includes a processor 920, a memory and a network interface 940 connected through a system bus 910. The processor 920 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium 931 and an internal memory 932. The non-volatile storage medium 931 stores an operating system, a computer program and a database. The internal memory 932 provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface 940 of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by the processor 920 to implement the above method.
[0193] The embodiments of the present application provide a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the steps of the method provided in the above embodiments.
[0194] The embodiment of the present application provides a computer program product containing instructions, which, when running on a computer, causes the computer to execute the steps in the method provided by the above method embodiment.
[0195] Those skilled in the art can understand that, Figure 9 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0196] In one embodiment, the identity information processing apparatus provided by the present application can be implemented in the form of a computer program, which can run on a computer device as shown in the figure. Figure 9 The memory of the computer device can store various program modules constituting the above apparatus. The computer program constituted by the various program modules causes the processor to execute the steps in the method of various embodiments of the present application described in the specification.
[0197] It should be pointed out here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects to the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of the present application, please refer to the description of the method embodiments of the present application.
[0198] It should be understood that the "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" or "in some embodiments" appearing throughout the specification does not necessarily mean the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above processes does not mean the execution order, and the execution order of the processes should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The sequence number of the above embodiments of the present application is only for description, not representing the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between each embodiment, and the same or similar parts can be referred to each other. For the sake of brevity, this paper will not repeat here.
[0199] The term "and / or" in this paper is only a description of the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, object A and / or object B, which can represent three cases of existence of object A, existence of object A and object B, and existence of object B.
[0200] It should be noted that, in the present document, the terms "comprising", "containing" or any other similar term are intended to encompass non-exclusive inclusion, such that processes, methods, articles, or apparatuses that comprise a list of elements are not limited to those elements, but can also include other elements not expressly listed, or inherent to such processes, methods, articles, or apparatuses. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.
[0201] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The above-described embodiments are merely illustrative, for example, the division of the modules is only a logical function division, and actual implementation can have another division manner, such as: a plurality of modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed components can be indirect coupling or communication connection between some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0202] The modules described above as separate components can or can not be physically separated, and the components displayed as modules can or can not be physical modules; they can be located in one place or distributed on multiple network units; and some or all of the modules can be selected according to actual needs to achieve the purpose of the present embodiment.
[0203] In addition, all the functional modules in each embodiment of the present application can be integrated in one processing unit, or each module can be a separate unit, or two or more modules can be integrated in one unit; the integrated modules can be realized in the form of hardware or hardware plus software functional units.
[0204] Those of ordinary skill in the art can understand that all or part of the steps of the above method embodiments can be completed by program instruction-related hardware, and the aforementioned program can be stored in a computer-readable storage medium, and the program executes the steps of the above method embodiments when executed; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic discs or optical discs, and various storage medium that can store program codes.
[0205] Alternatively, the above-mentioned integrated units of the present application, if realized in the form of software function modules and sold or used as independent products, can also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, and includes several instructions to cause an electronic device to execute all or part of the methods described in the embodiments of the present application. The aforementioned storage medium includes: mobile storage devices, ROM, magnetic disks or optical disks and various other media that can store program codes.
[0206] The methods disclosed in the several method embodiments provided by the present application can be combined arbitrarily without conflict, to obtain new method embodiments.
[0207] The features disclosed in the several product embodiments provided by the present application can be combined arbitrarily without conflict, to obtain new product embodiments.
[0208] The features disclosed in the several method or device embodiments provided by the present application can be combined arbitrarily without conflict, to obtain new method or device embodiments.
[0209] The above is only an implementation of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method of processing identity information, characterized by, The method is applied to a terminal device, and comprises: In response to an input operation of first identity information, determining an identity identifier to which the input first identity information belongs according to a current identity recognition mode of the terminal device, the identity recognition mode comprising: a shared recognition mode and a non-shared recognition mode, in the shared recognition mode, the terminal device comprises at least one valid identity identifier; in the non-shared recognition mode, the terminal device comprises only one valid identity identifier; the identity identifier is used to represent a user using the terminal device, and the shared recognition mode and the non-shared recognition mode are switched based on a switching operation of a user corresponding to a main identity identifier, the main identity identifier is used to represent a user managing the terminal device; Establishing and storing a corresponding relationship between the first identity information and the identity identifier to which the first identity information belongs.
2. The method of claim 1, wherein, The determining of the identity identifier to which the input first identity information belongs according to the current identity recognition mode of the terminal device comprises: In the case that the identity recognition mode is the shared recognition mode, determining the identity identifier to which the input first identity information belongs according to a type of the input first identity information, the type of the first identity information comprising: identity information of a new user and identity information of an existing user.
3. The method of claim 2, wherein, The determining of the identity identifier to which the input first identity information belongs according to the type of the input first identity information comprises: In the case that the type of the first identity information is the identity information of the new user, establishing a new identity identifier and determining that the first identity information belongs to the new identity identifier.
4. The method of claim 2, wherein, The determining of the identity identifier to which the input first identity information belongs according to the type of the input first identity information comprises: In the case that the type of the first identity information is the identity information of the existing user, in response to a selection operation for the existing identity identifier, determining a target identity identifier and determining that the first identity information belongs to the target identity identifier.
5. The method of claim 4, wherein, The determining of the target identity identifier comprises: In response to a verification operation of second identity information, determining whether the second identity information belongs to an identity selection result of the selection operation for the existing identity identifier; If yes, determining that the identity selection result is the target identity identifier.
6. The method of claim 2, wherein, Before the determining of the identity identifier to which the input first identity information belongs according to the type of the input first identity information, the method further comprises: In response to a type selection operation for the first identity information, determining the type of the first identity information.
7. The method of claim 1-6, wherein, The first identity information comprises fingerprint information.
8. The method of claim 1-6, wherein, The method further comprises: Detecting whether there is repeated identity information under each identity identifier; If yes, outputting first prompt information, the first prompt information being used to prompt a user to delete the repeated identity information.
9. The method of claim 1-6, wherein, The method further comprises: Outputting second prompt information at a preset time interval, the second prompt information being used to prompt the user to detect a corresponding relationship between the identity identifier and the identity information.
10. The method of claim 1, wherein, The determining of the identity identifier to which the input first identity information belongs according to the current identity recognition mode of the terminal device comprises: In a case where the identity recognition mode is a non-shared recognition mode, it is determined that the first identity information belongs to a primary identity.
11. The method of claim 10, wherein, The method further includes: In response to a switching operation of a user corresponding to the primary identity, switching a current identity recognition mode of the terminal device.
12. The method of claim 10, wherein, After the entering operation of the first identity information, the method further includes: If no identity is stored in the terminal device, establishing an initial identity and taking the initial identity as the primary identity; Establishing and storing a correspondence between the first identity information and the primary identity.
13. An apparatus for processing identity information, characterized by The apparatus applied to a terminal device includes an identity determination module and a relationship establishment module. The identity determination module is configured to, in response to an entering operation of first identity information, determine an identity to which the entered first identity information belongs according to a current identity recognition mode of the terminal device, wherein the identity recognition mode includes a shared recognition mode and a non-shared recognition mode, in the shared recognition mode, the terminal device includes at least one valid identity, in the non-shared recognition mode, the terminal device includes only one valid identity, the identity is used to represent a user using the terminal device, the shared recognition mode and the non-shared recognition mode are switched based on a switching operation of a user corresponding to the primary identity, and the primary identity is used to represent a user managing the terminal device. The relationship establishment module is configured to establish and store a correspondence between the first identity information and the identity to which the first identity information belongs.
14. A computer device comprising a memory and a processor, the memory storing a computer program capable of running on the processor, characterized in that, The processor implements the steps of the method in any one of claims 1 to 12 when executing the program.
15. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by the processor, implements the method in any one of claims 1 to 12.
Citation Information
Patent Citations
Method for controlling operation of intelligent lock for cabinet body and control system
CN113034747A
System mode switching method and device
CN113778537A