A data credential-based identity authentication method, device and system
By using temporary data credentials and blockchain networks for multi-dimensional verification in data credentials verification, the problems of low credibility and difficulty in traceability in the existing technology are solved, and more efficient and reliable authentication and data access are achieved. .
Patent Information
- Application Number
- CN202411215442.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-09-02
AI Technical Summary
The prior art fails to perform multi-dimensional information verification in the verification of data credentials, resulting in low credibility and inability to trace the problem of identity.
During the authentication process, sending authentication data to the verification server, generating temporary data credentials, updating credentials, generating historical browsing records and access hash values, and combining blockchain network for attribute verification, ensuring multi-dimensional verification of data credentials and Trace the origin.
Improve the credibility and traceability accuracy of data credentials, ensure the security of the accessed data and the reliability of the credentials, save identity verification steps, and improve efficiency.
Smart Images

Figure CN118734277B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to an identity verification method, device and system based on data credentials. Background Art
[0002] Data vouchers refer to business vouchers issued and collected by enterprises and individuals when buying and selling goods, providing services, receiving services or engaging in other business activities. They are the original basis for accounting and an important basis for law enforcement inspections by auditing and tax authorities. For example, if enterprise employees rent an IoT cloud platform to store IoT data uploaded by IoT devices, the IoT cloud platform can implement billing and generate data vouchers. Enterprise employees can use the data vouchers to reimburse the enterprise, and the enterprise can use the data vouchers to apply for deductions from the tax department.
[0003] However, the existing technology only verifies the legitimacy of the terminals of both parties for data credentials, and does not perform multi-dimensional information verification on the verification information including the permission level and other aspects when performing identity authentication based on the data credentials, which makes the credibility of the data credentials low and it is impossible to trace the problematic identity authentication. Summary of the invention
[0004] The present invention provides a data credential-based identity authentication method, device and system to achieve the technical effect of tracing the source of problematic user terminals and improving the credibility of data credentials.
[0005] In order to solve the above technical problems, an embodiment of the present invention provides an identity authentication method based on data credentials, comprising the following steps:
[0006] In response to the identity authentication signal, the first identity authentication data is sent to the authentication server, so that the authentication server verifies the first identity authentication data and feeds back the first temporary data credential and the data credential query request after the verification is successful;
[0007] Receiving and parsing the first temporary data credential, obtaining a temporary access identity, then accessing data through the temporary access identity, generating a historical browsing record and a corresponding access hash value, and adding the access hash value and the historical browsing record to the first temporary data credential, so that the first temporary data credential is updated to a second temporary data credential;
[0008] Parse and retrieve corresponding identity authentication information and generate an identity file reading request according to the data credential query request, generate an authorization application for the corresponding attribute information according to the attribute information to be authorized, and then integrate the identity authentication information, the identity file reading request, the authorization application and the second temporary data credential into the data credential application request;
[0009] A data credential application request is sent to the verification server so that the verification server parses the data credential application request, verifies the attribute verification pass information in the second temporary data credential obtained through the parsing, and after the verification passes, queries and determines the first blockchain node from the corresponding blockchain network according to the parsed identity file reading request, retrieves and matches the identity file stored in the first blockchain node according to the parsed identity identifier, and then verifies the parsed identity authentication information according to the retrieved first identity file, and determines whether to update the second temporary data credential according to the verification result, and integrates the verification pass information for feedback.
[0010] The identity authentication method provided by the present invention sends the first identity authentication information to the corresponding authentication server according to the response identity authentication signal, so that the authentication server first authenticates the first identity authentication data, that is, the authentication server verifies the user terminal's qualification for generating temporary data credentials through the first identity authentication data, and sends the first temporary data credential and data credential query request to the user terminal after the verification is passed, thereby triggering the user terminal to return a formal data credential application request. Through one round of identity authentication, the system user can obtain temporary access rights to the data to be accessed. If the user only needs temporary permissions to achieve the access requirement, this step saves the subsequent system execution of the formal data credential application process, and improves the efficiency of data credential application and temporary identity authentication for temporary users to access data.
[0011] When the system receives the first temporary data credential and the data credential query request fed back by the verification server, the system can browse and access the data that needs to be accessed according to the temporary access identity contained in the first temporary data credential. At the same time, the system will also update the first temporary data credential according to the data access information during the browsing access, generate a second temporary data credential, and generate a data credential application request based on the parsed data credential query credential request and the second temporary data credential. By sending the data credential application request to the verification server, the server is triggered to perform further identity authentication on the system user, and then obtain the formal data credential.
[0012] When the user terminal receives the first temporary data credential fed back by the server, it can parse it to obtain a temporary access identity, and use the temporary access identity to log in, access and browse the data that needs to be accessed. While browsing, the system will also generate the user terminal's historical browsing records and the corresponding access hash value to support the generated historical browsing records. It can also be used as reference data for subsequent managers to trace the access records of the user terminal, thereby improving the accuracy, reliability and credibility of the traceability.
[0013] When receiving the first temporary data credential, the system will also receive a data credential query request. If the user needs to apply for a formal data credential, the query request can be parsed, the corresponding identity authentication information can be retrieved, an identity file read request can be generated, and an authorization application for the corresponding attribute information can be generated based on the authorization attribute information. The above data and the second temporary data credential are then integrated to obtain a data credential application request, which is then sent to the verification server to apply for a formal data credential.
[0014] If the access rights to the data that the user needs to access are all included in the access rights of the temporary access identity, there is no need to perform subsequent formal data credential application steps, which saves the system's identity authentication steps and improves the system's identity authentication efficiency.
[0015] The official data credential obtained through the above-mentioned secondary verification not only records the data access information of the system user when performing temporary identity access and the repeated transmission process of the credential data between the system and the server, but also realizes the traceability of the temporary identity browsing access data and the transmission process of the credential data between the verification server and the user end, but also improves the credibility of the official data credential and the user's identity verification results by performing secondary identity authentication on the system user. By verifying the user's identity verification information in multiple dimensions, it not only ensures the security of the accessed data, but also improves the reliability and credibility of the information stored in the data credential.
[0016] When the verification server receives the formal data credential application request, it will first parse the second temporary data credential and perform a second confirmation on the attribute verification information obtained from the parsing to ensure the accuracy and reliability of the attribute verification information of the user end. After the verification is passed, it will query and determine the first blockchain node, that is, the node used to store the identity file, from the blockchain network according to the identity file reading request. After the determination, all identity files in the node will be retrieved and matched according to the identity identifier of the user end, and the identity verification information will be verified through the retrieved first identity file to determine whether the identity verification information held by the user end meets the application conditions for the formal data credential.
[0017] As a preferred example, in response to the identity authentication request, sending the first identity authentication data to the authentication server specifically includes:
[0018] Responding to and parsing the identity verification signal, obtaining the identity identifier corresponding to the user to be verified, matching the corresponding attribute verification information according to the identity identifier, and then integrating the attribute verification information and the identity identifier into the first identity verification data;
[0019] The corresponding verification server is determined according to the identity identifier match, and the first identity verification data is sent as an identity verification request to the verification server for identity verification.
[0020] In order to improve the efficiency of applying for temporary identities, after receiving and parsing the identity authentication signal triggered by the user end, the system can obtain the identity identifier corresponding to the user end, and obtain the attribute verification information of the user applying for identity authentication based on the identity identifier. The first identity authentication data can be obtained by integrating the attribute verification information and the identity identifier. According to the identity identifier matching corresponding verification server, the first identity authentication data can be sent to the determined verification server, and the verification server will perform a round of identity authentication on it. Performing a round of verification on the user end initiating the identity authentication through the attribute verification information reduces the amount of verification data and improves the verification efficiency compared to directly performing formal identity authentication on the user end. At the same time, it also simplifies the process of user identity authentication. Performing a round of identity authentication through the verification server ensures the security and reliability of the round of identity authentication.
[0021] As a preferred example, the step of enabling the verification server to verify the first identity authentication data and to feed back a first temporary data credential and a data credential query request after the verification is passed specifically includes:
[0022] The verification server parses the first identity authentication data to obtain an identity identifier and attribute verification information, and then searches for a matching blockchain node for storing the attribute file in the corresponding blockchain network according to the identity identifier, and compares and verifies the attribute verification information with the matched attribute file, and outputs a corresponding verification result;
[0023] If the verification result is that the matching degree between the attribute verification information and the attribute file exceeds a preset matching threshold, it is determined that the attribute verification information passes the verification, a first temporary data credential is generated and a formal data credential application is triggered, and feedback is provided on the first temporary data credential and the triggered generated data credential query request;
[0024] If the verification result is that the matching degree between the attribute verification information and the attribute file does not exceed the matching threshold, it is determined that the attribute verification information fails the verification, corresponding verification failure information is generated and fed back, and the verification failure information is stored.
[0025] When the verification server receives the first identity verification data, it will first parse the verification data to obtain the user's identity and attribute verification information, and then search for the node that stores the attribute file in the server's corresponding blockchain network according to the identity, and compare the attribute verification information with the attribute file after finding the corresponding blockchain node, and determine whether the first identity verification data has passed the verification based on the comparison and verification results. The node storage of the attribute file through the blockchain network ensures the credibility of the attribute file while also improving the credibility of the temporary data credential.
[0026] When the comparison verification result shows that the matching degree between the attribute verification information and the attribute file exceeds the set threshold, it means that the attribute verification information provided by the user meets the temporary access permission requirements, allowing the user to access and browse the data through a temporary identity. If the comparison verification result shows that the matching degree between the attribute verification information and the attribute file does not exceed the threshold, it means that the attribute verification information provided by the user does not meet the temporary access permission requirements, and the server will not generate a temporary data credential. At the same time, it will also feedback and store the verification failure information for the subsequent identity verification review and traceability by the management personnel.
[0027] As a preferred example, determining whether to update the second temporary data credential according to the verification result specifically includes:
[0028] If the verification result is that the identity authentication information exists in the first identity document, determining that the identity authentication information verification is passed, further determining the expiration date and the authority level of the identity authentication information in the first identity document, and determining whether to update the second temporary data credential according to the expiration date and the authority level;
[0029] If the verification result is that the identity authentication information does not exist in the first identity file, it is determined that the identity authentication information verification fails, an identity alarm signal is triggered, and an alarm analysis report is generated according to the second temporary data credential and sent to a designated terminal.
[0030] If the authentication information of the user terminal is determined to be present in the first identity document according to the verification result, it can be determined whether the user terminal has passed the authentication and whether it meets the basic application conditions for the formal data certificate. Only when it is determined that the authentication has passed, the server will further determine whether to update the second temporary data certificate based on the expiration date and authority level of the authentication newer than the identity document.
[0031] If the verification result determines that the identity authentication information held by the user does not exist in the first identity file, it means that there is an error in the identity authentication information uploaded by the user or there is an error in the user's identity. The server will trigger an identity alarm signal when it determines that the identity authentication fails, and generate an alarm analysis report and return it to the system administrator, prompting the administrator to verify the user's identity. At the same time, it also reminds the administrator to inspect and repair the server storage blockchain network node to avoid a greater impact on the user's identity authentication failure caused by the server's incorrect judgment, thereby improving the server maintenance efficiency.
[0032] As a preferred example, determining whether to update the second temporary data credential according to the expiration date and the authority level is specifically:
[0033] Comparing the expiration date and the permission level with the current date and the authorization application respectively, and determining whether to update the second temporary data credential according to a first comparison result and a second comparison result obtained by the comparison;
[0034] If the first comparison result is that the current date does not exceed the expiration date and the second comparison result is that the permission level exceeds the authorization application, activating the second temporary data credential so that the second temporary data credential is updated to a formal data credential;
[0035] If the first comparison result is that the current date does not exceed the expiration date and the second comparison result is that the permission level does not exceed the authorization application, then activating the second temporary data credential so that the second temporary data credential is updated to the formal data credential and generating authorization application failure information;
[0036] If the first comparison result is that the current date exceeds the expiration date, it is determined that the second temporary data credential has failed to be activated, and the two comparison results are integrated into a data credential activation failure report and sent to the designated terminal.
[0037] By comparing the expiration date and the permission level with the current date and the authorization application respectively, two corresponding comparison results are obtained, and then a comprehensive judgment is made based on the two comparison results whether to update and activate the second temporary data credential. The expiration date is used to determine whether the identity authentication information of the user terminal is invalid. If it is determined to be invalid, the activation fails, and a data credential activation failure report is generated and fed back to the system administrator, who reminds the user terminal to update the identity authentication information used to apply for the data credential.
[0038] If the expiration date has not been reached, the authorization application and permission level will be used to determine whether to grant access to the attribute information requested by the user. Regardless of whether it is authorized or not, the system will update the second temporary data credential when it is determined that the expiration date has not been reached, and feedback it to the user, so that subsequent management personnel can trace the source of user browsing access. At the same time, the above verification steps also effectively improve the credibility of the generated formal data credential, so that system managers can use the formal data credential to evaluate the reliability and credibility of each user's identity authentication information.
[0039] Accordingly, an embodiment of the present invention further provides an identity authentication device based on data credentials, the identity authentication device comprising a first identity authentication module, a temporary data access module and a second identity authentication module;
[0040] The first identity authentication module is used to send the first identity authentication data to the authentication server in response to the identity authentication signal, so that the authentication server verifies the first identity authentication data and feeds back the first temporary data credential and the data credential query request after the verification is passed;
[0041] The temporary data access module is used to receive and parse the first temporary data credential, obtain a temporary access identity, then access data through the temporary access identity, generate a historical browsing record and a corresponding access hash value, add the access hash value and the historical browsing record to the first temporary data credential, so that the first temporary data credential is updated to a second temporary data credential, and parse and retrieve corresponding identity authentication information and generate an identity file read request according to the data credential query request, generate an authorization application for the corresponding attribute information according to the attribute information to be authorized, and then integrate the identity authentication information, the identity file read request, the authorization application and the second temporary data credential into the data credential application request;
[0042] The second identity authentication module is used to send a data credential application request to the verification server, so that the verification server parses the data credential application request, verifies the attribute verification pass information in the second temporary data credential obtained through the parsing, and after the verification passes, queries and determines the first blockchain node from the corresponding blockchain network according to the parsed identity file reading request, retrieves and matches the identity file stored in the first blockchain node according to the parsed identity identifier, and then verifies the parsed identity authentication information according to the retrieved first identity file, and determines whether to update and feedback the second temporary data credential based on the verification result.
[0043] Correspondingly, an embodiment of the present invention also provides an identity authentication system based on data credentials, the identity authentication system comprising a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements any one of the above-described identity authentication methods based on data credentials when processing the computer program. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 : A flow chart of an embodiment of an identity authentication method based on data credentials provided by the present invention;
[0045] Figure 2 : A structural diagram of an embodiment of an identity authentication device based on data credentials provided by the present invention. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments 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 creative work are within the scope of protection of the present invention.
[0047] Embodiment 1
[0048] Please refer to Figure 1 , which is a flow chart of an embodiment of the identity authentication method based on data credentials provided by the present invention, including steps 101 to 103, each of which is specifically as follows:
[0049] Step 101: In response to an identity authentication signal, first identity authentication data is sent to a verification server, so that the verification server verifies the first identity authentication data and feeds back a first temporary data credential and a data credential query request after the verification is successful.
[0050] The identity authentication method provided by the embodiment of the present invention sends the first identity authentication information to the corresponding authentication server according to the response identity authentication signal, so that the authentication server first authenticates the first identity authentication data, that is, the authentication server verifies the user terminal's temporary data credential generation qualification through the first identity authentication data, and sends the first temporary data credential and data credential query request to the user terminal after the verification is passed, thereby triggering the user terminal to return a formal data credential application request. Through one round of identity authentication, the system user can obtain temporary access rights to the data to be accessed. If the user only needs temporary permissions to achieve the access requirement, this step saves the subsequent system execution of the formal data credential application process, and improves the efficiency of data credential application and temporary identity authentication for temporary users to access data.
[0051] In this embodiment, two roles are designed in the identity authentication process based on data credentials, namely the user end and the verification server. The user end can be any electronic device or platform used by the user. It can respond to the identity authentication signal triggered by the user, send the first identity authentication data to the verification server, trigger the verification server to verify the first identity authentication data sent by the user end, and feedback the first temporary data credential and the data credential query request to the user end after the verification is passed.
[0052] Through the above-mentioned one-time identity authentication for the user's identity, the basic identity authentication of the target user can be achieved without leaking the target user's privacy data. When the basic authentication is passed, the verification server will feedback the first temporary data credential and its corresponding temporary identity to the user end. At the same time, the server will also send a triggered data credential query request to the user end to determine whether the user end needs to apply for a formal data credential as a legally effective business credential. When the user end performs corresponding data access or business processing through the temporary identity fed back by the verification server, it can also choose whether to trigger the corresponding formal data credential application request according to the received data credential query request. If the temporary identity can already meet the user's needs, the user can manually stop the application for the formal data credential and only retain the temporary data credential as the basis for the system administrator to trace the data later. If the user has a demand for a formal data credential, that is, the temporary identity is not sufficient to achieve its access purpose, the subsequent secondary identity authentication and formal data credential application steps can be performed in response to the data credential query request.
[0053] Specifically, in response to the identity authentication request, sending the first identity authentication data to the authentication server in this embodiment specifically includes:
[0054] Responding to and parsing the identity verification signal, obtaining an identity identifier corresponding to the user to be verified, matching corresponding attribute verification information according to the identity identifier, and then integrating the attribute verification information and the identity identifier into the first identity verification data;
[0055] The corresponding verification server is determined according to the identity identifier match, and the first identity verification data is sent as an identity verification request to the verification server for identity verification.
[0056] In order to improve the efficiency of applying for temporary identities, after receiving and parsing the identity authentication signal triggered by the user end, the system can obtain the identity identifier corresponding to the user end, and obtain the attribute verification information of the user applying for identity authentication based on the identity identifier. The first identity authentication data can be obtained by integrating the attribute verification information and the identity identifier. According to the identity identifier matching corresponding verification server, the first identity authentication data can be sent to the determined verification server, and the verification server will perform a round of identity authentication on it. Performing a round of verification on the user end initiating the identity authentication through the attribute verification information reduces the amount of verification data and improves the verification efficiency compared to directly performing formal identity authentication on the user end. At the same time, it also simplifies the process of user identity authentication. Performing a round of identity authentication through the verification server ensures the security and reliability of the round of identity authentication.
[0057] In this embodiment, when the user triggers the identity authentication request of the user terminal, the system will obtain the identity of the user corresponding to the user terminal, which is used to represent the digital identity of the user. It is a decentralized digital identity that can achieve global uniqueness without the need for a central registration agency, and has the characteristics of being distributed, autonomous and controllable, and cross-chain reuse. Users can independently complete daily operations such as registration, resolution, update or revocation of digital identity.
[0058] After the system obtains the identity identifier corresponding to the user terminal, it can match the attribute verification information corresponding to the corresponding user terminal according to the identity identifier. The attribute verification information includes the user's name, age, education, occupation and other attribute information associated with the user's digital identity, and the attribute verification information also has an anti-tampering effect. The user who triggers the identity verification can be any user who needs to handle related services. The related services include information query, service application and web page access. The identity verification request is triggered through the user terminal, so that the user terminal obtains the identity identifier of the user stored in the system, and obtains the user's attribute verification information according to the identity identifier, so as to determine whether the user is qualified to handle the business. Therefore, the matched attribute verification information is only the most basic attribute information of the user, which is only used to determine the user's business handling qualifications. Among them, obtaining the client user identity information requires the user's consent or authorization.
[0059] After obtaining the attribute verification information, the system integrates the attribute verification information and the identity of the user end into the first identity verification data, and selects and determines a server, namely the verification server, according to the identity, which receives the first identity verification data and authenticates it. The verification server described in this embodiment, as a specific server, needs to be connected to the blockchain network that stores the user's identity file and attribute file, that is, it needs to access the user's privacy data. Except for the verification server, other servers do not need to access user data or connect to the verification server. Therefore, the verification server can be deployed in a distributed manner and can even be deployed in an isolated network. Therefore, by querying the user's attribute file and identity file through the verification server, and using this to generate data credentials and authenticate user identity, the reliability and credibility of the identity verification results are further improved, and the security and reliability of the user's privacy information are also ensured.
[0060] Further, in this embodiment, the verification server verifies the first identity authentication data and feeds back the first temporary data credential and the data credential query request after the verification is passed, specifically including:
[0061] The verification server parses the first identity authentication data to obtain an identity identifier and attribute verification information, and then searches for a matching blockchain node for storing the attribute file in the corresponding blockchain network according to the identity identifier, and compares and verifies the attribute verification information with the matched attribute file, and outputs a corresponding verification result;
[0062] If the verification result is that the matching degree between the attribute verification information and the attribute file exceeds a preset matching threshold, it is determined that the attribute verification information passes the verification, a first temporary data credential is generated and a formal data credential application is triggered, and feedback is provided on the first temporary data credential and the triggered generated data credential query request;
[0063] If the verification result is that the matching degree between the attribute verification information and the attribute file does not exceed the matching threshold, it is determined that the attribute verification information fails the verification, corresponding verification failure information is generated and fed back, and the verification failure information is stored.
[0064] When the verification server receives the first identity verification data, it will first parse the verification data to obtain the user's identity and attribute verification information, and then search for the node that stores the attribute file in the server's corresponding blockchain network according to the identity, and compare the attribute verification information with the attribute file after finding the corresponding blockchain node, and determine whether the first identity verification data has passed the verification based on the comparison and verification results. The node storage of the attribute file through the blockchain network ensures the credibility of the attribute file while also improving the credibility of the temporary data credential.
[0065] When the comparison verification result shows that the matching degree between the attribute verification information and the attribute file exceeds the set threshold, it means that the attribute verification information provided by the user meets the temporary access permission requirements, allowing the user to access and browse the data through a temporary identity. If the comparison verification result shows that the matching degree between the attribute verification information and the attribute file does not exceed the threshold, it means that the attribute verification information provided by the user does not meet the temporary access permission requirements, and the server will not generate a temporary data credential. At the same time, it will also feedback and store the verification failure information for the subsequent identity verification review and traceability by the management personnel.
[0066] In this embodiment, after receiving the first identity authentication data, the verification server will first search for the node that stores the corresponding attribute file in the blockchain network node to which it is connected according to the identity identifier in the verification data, and compare the matched attribute file with the attribute verification information in the verification data to determine whether the user has the data access qualification. If the user has the data access qualification, it can be determined that the user terminal retains the qualification to hold the temporary access credential, and the verification server can grant it the temporary data credential.
[0067] When the verification result shows that the match between the attribute verification information in the verification data sent by the user end and the attribute file retrieved by the server exceeds the matching threshold, it can be proved that the corresponding user of the user end has the qualifications to handle the business, and is also qualified to apply for a temporary data certificate. Therefore, after determining that the attribute verification information has passed the verification, the verification server will provide the user end and the business provider that the user needs to handle the business, the ID information of the above two parties, the triggering method of the data certificate, and the timestamp and other related information. When the verification result shows that the match between the attribute verification information in the verification data sent by the user end and the attribute file does not exceed the matching threshold, it can be determined that the corresponding user of the user end does not have the corresponding business handling qualifications, that is, does not have the qualifications to apply for a temporary data certificate.
[0068] Among them, the triggering method of the data credential is the triggering method of the data credential application request, which can be periodic generation, fixed time generation or fixed data volume generation. Periodic generation refers to triggering the data credential issuance application at a certain period of time, such as one month, fixed time generation refers to triggering the data credential issuance application at a fixed time, such as 0:00 am every day, and fixed data volume generation refers to triggering the data credential issuance application when the access application data reaches the preset data volume. In addition, when the first temporary data credential is generated, the corresponding tampering protection information will also be generated. The tampering protection information is associated with the first temporary data credential one-to-one, so when the first temporary data credential changes, it will cause the tampering protection information to change accordingly. The timestamp is used to identify the specific time when the temporary credential was generated, and it is used as a credential to prove that the attribute verification information uploaded by the user has been verified, that is, the attribute verification pass information described in this design example.
[0069] While determining that the attribute verification information has passed the verification to generate the first temporary data credential, it will also trigger the server's formal data credential application. Therefore, in addition to the first temporary data credential, the verification server also feedbacks to the user end a data credential query request obtained by triggering the user end's formal data credential application request.
[0070] Step 102: Receive and access data based on the first temporary data credential, then update the first temporary data credential to a second temporary data credential based on data access information, and generate a corresponding data credential application request based on the data credential query request and the second temporary data credential.
[0071] When the system receives the first temporary data credential and the data credential query request fed back by the verification server, the system can browse and access the data that needs to be accessed according to the temporary access identity contained in the first temporary data credential. At the same time, the system will also update the first temporary data credential according to the data access information during the browsing access, generate a second temporary data credential, and generate a data credential application request based on the parsed data credential query credential request and the second temporary data credential. By sending the data credential application request to the verification server, the server is triggered to perform further identity authentication on the system user, and then obtain the formal data credential.
[0072] In this embodiment, the user can set the number of access connections to the target data resource for the temporary data credential and the corresponding temporary access identity generated by the verification server as needed, that is, the number of access connections to the target data resource for the temporary data credential obtained each time is limited. Therefore, as the number of accesses to the target data resource by the temporary access identity in the first temporary data credential of the user end increases, the number of access connections to the target data resource will decrease accordingly, until the number is less than the number threshold preset by the system, and then it will lose the access utility to the target data resource, thereby limiting the abuse of the temporary access identity by the user end, and further avoiding data leakage or access rights flooding caused by the abuse of the temporary access identity.
[0073] Specifically, the receiving and data access according to the first temporary data credential in this embodiment, and then updating the first temporary data credential to the second temporary data credential according to the data access information, is specifically:
[0074] Receive and parse the first temporary data credential to obtain a temporary access identity, then access data through the temporary access identity, and generate a historical browsing record and a corresponding access hash value;
[0075] The access hash value and the historical browsing record are added to the first temporary data credential, so that the first temporary data credential is updated to the second temporary data credential.
[0076] When the user terminal receives the first temporary data credential fed back by the server, it can parse it to obtain a temporary access identity, and use the temporary access identity to log in, access and browse the data that needs to be accessed. While browsing, the system will also generate the user terminal's historical browsing records and the corresponding access hash value to support the generated historical browsing records. It can also be used as reference data for subsequent managers to trace the access records of the user terminal, thereby improving the accuracy, reliability and credibility of the traceability.
[0077] In this embodiment, when the system adds the access hash value and the historical browsing record to the first temporary data credential, not only will the first temporary data credential be updated to the second temporary data credential, but the tampering protection information of the first temporary data credential will also be changed. The changed tampering protection information can also be used as proof of the relationship between the second temporary data credential and the first temporary data credential, that is, as a judgment criterion for the system to determine that the original data of the updated second temporary data credential is the first temporary data credential.
[0078] Furthermore, in this embodiment, the corresponding data voucher application request is generated according to the data voucher query request and the second temporary data voucher, specifically:
[0079] Parse and retrieve corresponding identity authentication information according to the data credential query request and generate an identity file reading request, and generate an authorization application for corresponding attribute information according to the attribute information to be authorized;
[0080] The identity verification information, the identity document reading request, the authorization application and the second temporary data credential are then integrated into the data credential application request.
[0081] When receiving the first temporary data credential, the system will also receive a data credential query request. If the user needs to apply for a formal data credential, the query request can be parsed, the corresponding identity authentication information can be retrieved, an identity file read request can be generated, and an authorization application for the corresponding attribute information can be generated based on the authorization attribute information. The above data and the second temporary data credential are then integrated to obtain a data credential application request, which is then sent to the verification server to apply for a formal data credential.
[0082] If the access rights to the data that the user needs to access are all included in the access rights of the temporary access identity, there is no need to perform subsequent formal data credential application steps, which saves the system's identity authentication steps and improves the system's identity authentication efficiency.
[0083] In this embodiment, when the number of access connections of the temporary access identity to the target data resource reaches the number threshold preset by the system, the system will prompt the user whether to apply for a formal data credential, that is, to perform a second formal identity authentication on the user end, so as to obtain formal access rights to the target data resource, rather than just browsing and accessing the target data resource through a limited number of access connections. If the user responds to the data credential application request and determines to apply for a formal data credential, the system will execute the above-mentioned data credential application request generation step; but if the user does not respond to the data credential application, the system will send a temporary data credential recovery application to the verification server, so that the verification server is triggered and automatically recovers and stores the second temporary data credential of the user end, so that subsequent management personnel can query and trace the historical access to the target data resource.
[0084] Step 103: Send a data credential application request to the verification server, so that the verification server updates the second temporary data credential to a formal data credential and integrates the verification pass information for feedback.
[0085] The official data credential obtained through the above-mentioned secondary verification not only records the data access information of the system user when performing temporary identity access and the repeated transmission process of the credential data between the system and the server, but also realizes the traceability of the temporary identity browsing access data and the transmission process of the credential data between the verification server and the user end, but also improves the credibility of the official data credential and the user's identity verification results by performing secondary identity authentication on the system user. By verifying the user's identity verification information in multiple dimensions, it not only ensures the security of the accessed data, but also improves the reliability and credibility of the information stored in the data credential.
[0086] In this embodiment, through two identity verifications, the user, the target data being accessed, and the verification server all verify and confirm the user's data access identity and authority, and only after the above three parties have verified, a valid and activated formal data certificate is generated, ensuring the credibility and reliability of the formal data certificate. In addition, the above verification process is also stored in the blockchain network node, and the storage by the blockchain network further improves the credibility of the identity verification results.
[0087] Specifically, in this embodiment, sending a data credential application request to the verification server so that the verification server updates the second temporary data credential to a formal data credential specifically includes:
[0088] The verification server parses the data credential application request, verifies the attribute verification pass information in the second temporary data credential obtained through the parsing, and after the verification passes, queries and determines the first blockchain node from the corresponding blockchain network according to the parsed identity file reading request;
[0089] The identity document stored in the first blockchain node is retrieved and matched according to the resolved identity identifier, and then the resolved identity authentication information is verified according to the retrieved first identity document, and it is determined whether to update the second temporary data credential according to the verification result.
[0090] When the verification server receives the formal data credential application request, it will first parse the second temporary data credential and perform a second confirmation on the attribute verification information obtained from the parsing to ensure the accuracy and reliability of the attribute verification information of the user end. After the verification is passed, it will query and determine the first blockchain node, that is, the node used to store the identity file, from the blockchain network according to the identity file reading request. After the determination, all identity files in the node will be retrieved and matched according to the identity identifier of the user end, and the identity verification information will be verified through the retrieved first identity file to determine whether the identity verification information held by the user end meets the application conditions for the formal data credential.
[0091] In this embodiment, the verification server verifies the attribute verification information, that is, verifies the timestamp related to the attribute verification in the second temporary data credential, and uses the timestamp as the credential data that has passed the attribute verification.
[0092] Furthermore, the step of determining whether to update the second temporary data credential according to the verification result in this embodiment specifically includes:
[0093] If the verification result is that the identity authentication information exists in the first identity document, determining that the identity authentication information verification is passed, further determining the expiration date and the authority level of the identity authentication information in the first identity document, and determining whether to update the second temporary data credential according to the expiration date and the authority level;
[0094] If the verification result is that the identity authentication information does not exist in the first identity file, it is determined that the identity authentication information verification fails, an identity alarm signal is triggered, and an alarm analysis report is generated according to the second temporary data credential and sent to a designated terminal.
[0095] If the authentication information of the user terminal is determined to be present in the first identity document according to the verification result, it can be determined whether the user terminal has passed the authentication and whether it meets the basic application conditions for the formal data certificate. Only when it is determined that the authentication has passed, the server will further determine whether to update the second temporary data certificate based on the expiration date and authority level of the authentication newer than the identity document.
[0096] If the verification result determines that the identity authentication information held by the user does not exist in the first identity file, it means that there is an error in the identity authentication information uploaded by the user or there is an error in the user's identity. The server will trigger an identity alarm signal when it determines that the identity authentication fails, and generate an alarm analysis report and return it to the system administrator, prompting the administrator to verify the user's identity. At the same time, it also reminds the administrator to inspect and repair the server storage blockchain network node to avoid a greater impact on the user's identity authentication failure caused by the server's incorrect judgment, thereby improving the server maintenance efficiency.
[0097] Furthermore, the determining whether to update the second temporary data credential according to the expiration date and the authority level is specifically:
[0098] Comparing the expiration date and the permission level with the current date and the authorization application respectively, and determining whether to update the second temporary data credential according to a first comparison result and a second comparison result obtained by the comparison;
[0099] If the first comparison result is that the current date does not exceed the expiration date and the second comparison result is that the permission level exceeds the authorization application, activating the second temporary data credential so that the second temporary data credential is updated to the formal data credential;
[0100] If the first comparison result is that the current date does not exceed the expiration date and the second comparison result is that the permission level does not exceed the authorization application, then activating the second temporary data credential so that the second temporary data credential is updated to the formal data credential and generating authorization application failure information;
[0101] If the first comparison result is that the current date exceeds the expiration date, it is determined that the second temporary data credential has failed to be activated, and the two comparison results are integrated into a data credential activation failure report and sent to the designated terminal.
[0102] By comparing the expiration date and the permission level with the current date and the authorization application respectively, two corresponding comparison results are obtained, and then a comprehensive judgment is made based on the two comparison results whether to update and activate the second temporary data credential. The expiration date is used to determine whether the identity authentication information of the user terminal is invalid. If it is determined to be invalid, the activation fails, and a data credential activation failure report is generated and fed back to the system administrator, who reminds the user terminal to update the identity authentication information used to apply for the data credential.
[0103] If the expiration date has not been reached, the authorization application and permission level will be used to determine whether to grant access to the attribute information requested by the user. Regardless of whether it is authorized or not, the system will update the second temporary data credential when it is determined that the expiration date has not been reached, and feedback it to the user, so that subsequent management personnel can trace the source of user browsing access. At the same time, the above verification steps also effectively improve the credibility of the generated formal data credential, so that system managers can use the formal data credential to evaluate the reliability and credibility of each user's identity authentication information.
[0104] In this embodiment, if the first comparison result shows that the current date has exceeded the expiration date, it means that the identity verification information of the user terminal stored in the server has expired, and the user terminal needs to update it. Therefore, after the failure, the server will integrate the two comparison results to generate a data certificate activation failure report and send it to the administrator, prompting the administrator to remind the user terminal to update its identity verification information stored in the server blockchain network to avoid the next data certificate application failure.
[0105] In order to better illustrate the working principle and step flow of the data credential-based identity authentication method, device and system of the present invention, it is possible but not limited to refer to the relevant records above.
[0106] Accordingly, see Figure 2 , Figure 2 The structure diagram of an embodiment of the identity authentication device based on data credentials provided by the present invention is as follows. The identity authentication device comprises a first identity authentication module 201 , a temporary data access module 202 and a second identity authentication module 203 .
[0107] Among them, the first identity authentication module 201 is used to send the first identity authentication data to the verification server in response to the identity authentication signal, so that the verification server verifies the first identity authentication data and feeds back the first temporary data credential and data credential query request after the verification is passed.
[0108] Furthermore, the first identity authentication module 201 sends the first identity authentication data to the authentication server in response to the identity authentication request, specifically including:
[0109] Respond to and parse the identity authentication signal, obtain the identity identifier corresponding to the user to be authenticated, match the corresponding attribute verification information according to the identity identifier, and then integrate the attribute verification information and the identity identifier into the first identity authentication data; determine the corresponding verification server according to the identity identifier match, and send the first identity authentication data as an identity authentication request to the verification server for identity authentication.
[0110] Furthermore, the first identity authentication module 201 enables the authentication server to authenticate the first identity authentication data and feedback the first temporary data credential and the data credential query request after the authentication is passed, specifically including:
[0111] The verification server parses the first identity authentication data to obtain an identity identifier and attribute verification information, and then searches for a matching blockchain node for storing the attribute file in the corresponding blockchain network according to the identity identifier, and compares and verifies the attribute verification information with the matched attribute file, and outputs a corresponding verification result;
[0112] If the verification result is that the matching degree between the attribute verification information and the attribute file exceeds the preset matching threshold, it is determined that the attribute verification information has passed the verification, a first temporary data credential is generated and a formal data credential application is triggered, and feedback is provided for the first temporary data credential and the triggered generated data credential query request; if the verification result is that the matching degree between the attribute verification information and the attribute file does not exceed the matching threshold, it is determined that the attribute verification information has failed the verification, corresponding verification failure information is generated and fed back, and the verification failure information is stored.
[0113] The temporary data access module 202 is used to receive and access data based on the first temporary data credential, then update the first temporary data credential to a second temporary data credential based on data access information, parse the data credential query request, and generate a corresponding data credential application request based on the second temporary data credential.
[0114] Further, the temporary data access module 202 receives and performs data access according to the first temporary data credential, and then updates the first temporary data credential to a second temporary data credential according to the data access information, specifically:
[0115] Receive and parse the first temporary data credential, obtain a temporary access identity, then access data through the temporary access identity, and generate a historical browsing record and a corresponding access hash value; add the access hash value and the historical browsing record to the first temporary data credential, so that the first temporary data credential is updated to the second temporary data credential.
[0116] Furthermore, the temporary data access module 202 generates a corresponding data voucher application request according to the data voucher query request and the second temporary data voucher, specifically:
[0117] Parse and retrieve corresponding identity authentication information and generate an identity file read request based on the data credential query request, and generate an authorization application for the corresponding attribute information based on the attribute information to be authorized; then integrate the identity authentication information, the identity file read request, the authorization application and the second temporary data credential into the data credential application request.
[0118] The second identity authentication module 203 is used to send a data credential application request to the verification server, so that the verification server updates the second temporary data credential to a formal data credential and feeds back the request.
[0119] Furthermore, the second identity authentication module 203 sends a data credential application request to the verification server so that the verification server updates the second temporary data credential to a formal data credential, specifically including:
[0120] The verification server parses the data credential application request, verifies the attribute verification pass information in the second temporary data credential obtained through the analysis, and after the verification passes, queries and determines the first blockchain node from the corresponding blockchain network according to the parsed identity file reading request; retrieves and matches the identity file stored in the first blockchain node according to the parsed identity identifier, and then verifies the parsed identity authentication information according to the retrieved first identity file, and determines whether to update the second temporary data credential according to the verification result.
[0121] Furthermore, the second identity authentication module 203 determines whether to update the second temporary data credential according to the verification result, specifically including:
[0122] If the verification result is that the identity authentication information exists in the first identity file, it is determined that the identity authentication information verification is passed, and then the expiration date and authority level of the identity authentication information in the first identity file are determined, and whether to update the second temporary data credential is determined based on the expiration date and the authority level; if the verification result is that the identity authentication information does not exist in the first identity file, it is determined that the identity authentication information verification is not passed, an identity alarm signal is triggered, and an alarm analysis report is generated based on the second temporary data credential and sent to the designated terminal.
[0123] Furthermore, the second identity authentication module 203 determines whether to update the second temporary data credential according to the expiration date and the authority level, specifically:
[0124] Comparing the expiration date and the permission level with the current date and the authorization application respectively, and determining whether to update the second temporary data credential according to a first comparison result and a second comparison result obtained by the comparison;
[0125] If the first comparison result is that the current date does not exceed the expiration date and the second comparison result is that the authority level exceeds the authorization application, the second temporary data credential is activated so that the second temporary data credential is updated to the formal data credential; if the first comparison result is that the current date does not exceed the expiration date and the second comparison result is that the authority level does not exceed the authorization application, the second temporary data credential is activated so that the second temporary data credential is updated to the formal data credential and authorization application failure information is generated; if the first comparison result is that the current date exceeds the expiration date, it is determined that the activation of the second temporary data credential has failed, and the two comparison results are integrated into a data credential activation failure report and sent to the designated terminal.
[0126] Correspondingly, an embodiment of the present invention also provides an identity authentication system based on data credentials, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor processes the computer program, it implements any of the above-mentioned identity authentication methods based on data credentials.
[0127] In summary, the embodiments of the present invention provide an identity authentication method, device and system based on data credentials, which sends the first identity authentication data to the verification server according to the identity authentication signal, so that the server verifies the verification data, and feeds back the first temporary data credential and the data credential query request after the verification is passed, performs data access according to the data credential and updates the data credential to the second temporary data credential according to the data access information, generates a data credential application request according to the data credential query request and the second credential, sends it to the server, so that the server updates it to a certificate data credential, and then feeds back the request together with the verification pass information. The two multi-dimensional identity authentications of the present invention improve the credibility and reliability of the formal data credential and the identity authentication results, and ensure the security of the accessed data; through the formal data credential, the historical browsing records and the credential data transmission process between the server and the user end can be traced back.
[0128] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. An identity verification method based on data credentials, It is characterized in that The following steps are involved: In response to the identity authentication signal, the first identity authentication data is sent to the authentication server, so that the authentication server verifies the first identity authentication data and feeds back the first temporary data credential and the data credential query request after the verification is successful; Receiving and parsing the first temporary data credential, obtaining a temporary access identity, then accessing data through the temporary access identity, generating a historical browsing record and a corresponding access hash value, adding the access hash value and the historical browsing record to the first temporary data credential so that the first temporary data credential is updated to a second temporary data credential, parsing and, according to the data credential query request, retrieving corresponding identity authentication information and generating an identity file read request, generating an authorization application for corresponding attribute information according to the attribute information to be authorized, and then integrating the identity authentication information, the identity file read request, the authorization application and the second temporary data credential into the data credential application request; A data credential application request is sent to the verification server so that the verification server parses the data credential application request, verifies the attribute verification pass information in the second temporary data credential obtained through the parsing, and after the verification passes, queries and determines the first blockchain node from the corresponding blockchain network according to the parsed identity file reading request, retrieves and matches the identity file stored in the first blockchain node according to the parsed identity identifier, and then verifies the parsed identity authentication information according to the retrieved first identity file, and determines whether to update the second temporary data credential according to the verification result, and integrates the verification pass information for feedback.
2. An identity verification method based on data credentials as claimed in claim 1, It is characterized in that The step of sending the first identity authentication data to the authentication server in response to the identity authentication request specifically includes: Responding to and parsing the identity verification signal, obtaining the identity identifier corresponding to the user to be verified, matching the corresponding attribute verification information according to the identity identifier, and then integrating the attribute verification information and the identity identifier into the first identity verification data; The corresponding verification server is determined according to the identity identifier match, and the first identity verification data is sent as an identity verification request to the verification server for identity verification.
3. An identity authentication method based on data credentials as claimed in claim 1, It is characterized in that The step of enabling the verification server to verify the first identity verification data and to feed back a first temporary data credential and a data credential query request after the verification is passed specifically includes: The verification server parses the first identity authentication data to obtain an identity identifier and attribute verification information, and then searches for a matching blockchain node for storing the attribute file in the corresponding blockchain network according to the identity identifier, and compares and verifies the attribute verification information with the matched attribute file, and outputs a corresponding verification result; If the verification result is that the matching degree between the attribute verification information and the attribute file exceeds a preset matching threshold, it is determined that the attribute verification information passes the verification, a first temporary data credential is generated and a formal data credential application is triggered, and feedback is provided on the first temporary data credential and the triggered generated data credential query request; If the verification result is that the matching degree between the attribute verification information and the attribute file does not exceed the matching threshold, it is determined that the attribute verification information fails the verification, corresponding verification failure information is generated and fed back, and the verification failure information is stored.
4. An identity verification method based on data credentials as claimed in claim 1, It is characterized in that The determining whether to update the second temporary data credential according to the verification result specifically includes: If the verification result is that the identity authentication information exists in the first identity document, determining that the identity authentication information verification is passed, further determining the expiration date and the authority level of the identity authentication information in the first identity document, and determining whether to update the second temporary data credential according to the expiration date and the authority level; If the verification result is that the identity authentication information does not exist in the first identity file, it is determined that the identity authentication information verification fails, an identity alarm signal is triggered, and an alarm analysis report is generated according to the second temporary data credential and sent to a designated terminal.
5. An identity verification method based on data credentials as claimed in claim 4, It is characterized in that The determining whether to update the second temporary data credential according to the expiration date and the authority level is specifically: Comparing the expiration date and the permission level with the current date and the authorization application respectively, and determining whether to update the second temporary data credential according to a first comparison result and a second comparison result obtained by the comparison; If the first comparison result is that the current date does not exceed the expiration date and the second comparison result is that the permission level exceeds the authorization application, activating the second temporary data credential so that the second temporary data credential is updated to a formal data credential; If the first comparison result is that the current date does not exceed the expiration date and the second comparison result is that the permission level does not exceed the authorization application, then activating the second temporary data credential so that the second temporary data credential is updated to the formal data credential and generating authorization application failure information; If the first comparison result is that the current date exceeds the expiration date, it is determined that the second temporary data credential has failed to be activated, and the two comparison results are integrated into a data credential activation failure report and sent to the designated terminal.
6. An identity verification device based on a data credential, It is characterized in that The identity verification device comprises a first identity verification module, a temporary data access module and a second identity verification module; The first identity authentication module is used to send the first identity authentication data to the authentication server in response to the identity authentication signal, so that the authentication server verifies the first identity authentication data and feeds back the first temporary data credential and the data credential query request after the verification is passed; The temporary data access module is used to receive and parse the first temporary data credential, obtain a temporary access identity, then access data through the temporary access identity, generate a historical browsing record and a corresponding access hash value, add the access hash value and the historical browsing record to the first temporary data credential, so that the first temporary data credential is updated to a second temporary data credential, and parse and retrieve corresponding identity authentication information and generate an identity file read request according to the data credential query request, generate an authorization application for the corresponding attribute information according to the attribute information to be authorized, and then integrate the identity authentication information, the identity file read request, the authorization application and the second temporary data credential into the data credential application request; The second identity authentication module is used to send a data credential application request to the verification server, so that the verification server parses the data credential application request, verifies the attribute verification pass information in the second temporary data credential obtained through the parsing, and after the verification passes, queries and determines the first blockchain node from the corresponding blockchain network according to the parsed identity file reading request, retrieves and matches the identity file stored in the first blockchain node according to the parsed identity identifier, and then verifies the parsed identity authentication information according to the retrieved first identity file, and determines whether to update and feedback the second temporary data credential based on the verification result.
7. An identity verification system based on data credentials, It is characterized in that The identity authentication system includes a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor processes the computer program, it implements a data credential-based identity authentication method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Voucher query method, system and device based on block chain
CN113326327A
Business processing method and device, electronic equipment and computer readable medium
CN114745164A
Digital certificate processing method and device, blockchain node and storage medium
US20210167973A1
