Intelligent analysis platform identity authentication system and authentication method

By adopting a multi-level blockchain architecture and a one-way hash chain identity authentication method on the cloud platform, the problems of privacy leakage and secret key leakage in the existing technology are solved, and information security and system upgrade efficiency are achieved double guarantee.

CN118916857APending Publication Date: 2024-11-08DATA TECHNOLOGY BRANCH OF NATIONAL ENERGY GROUP MATERIALS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410848623.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

The existing intelligent identity authentication system based on blockchain has problems such as privacy leakage and secret key leakage, and the system upgrade or modification process is slow, making it difficult to deal with emerging security threats.

Method used

Adopting a multi-level blockchain architecture, including cloud server layer, edge server layer and physical layer, generates a one-way hash chain through smart contracts for authentication and registration, and dynamic key algorithm generates symmetric keys to ensure information security and System upgrade efficiency.

Benefits of technology

Ensure the security of information storage, ensure the accuracy and consistency of identity data, take into account the efficiency of system upgrade and maintenance, automatically generate the identity registration information of managers through efficient smart contracts, quickly and safely generate symmetric keys, and protect managers' information. Security of communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118916857A_ABST
    Figure CN118916857A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an intelligent analysis platform identity authentication system and authentication method, and belongs to the technical field of cloud platforms. The system comprises a cloud server layer, an edge server layer and a physical layer, the cloud server layer and the edge server layer are respectively provided with a corresponding block chain; the block chain of the cloud server layer is used for executing identity verification and deployment of related personnel; a block chain of the edge server layer is used for associating identity verification information of related personnel and executing a registration and / or authentication process of the related personnel; and the physical layer is respectively accessed to the block chain of the cloud server layer and the block chain of the edge server layer, and is used for associating identity verification information of local related personnel. According to the scheme of the invention, the problem of privacy leakage and secret key leakage still existing in an existing digital intelligent identity authentication system based on the block chain is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cloud platforms, and in particular to an intelligent analysis platform identity authentication system and an intelligent analysis platform identity authentication method. Background Art

[0002] As an advanced platform that integrates big data analysis, artificial intelligence and Internet technology, the digital business analysis platform has extremely high requirements for the security and reliability of identity authentication. The identity authentication of existing data analysis platforms mainly relies on centralized organizations. For example, the public key infrastructure is an infrastructure platform built on the public key cryptographic system, which can provide security services such as identity authentication. A typical PKI system includes a certificate registration authority, a certificate certification authority, a digital certificate library, a key management center and other basic components. There are potential security risks such as untrusted institutions, single points of failure, and easy leakage of user privacy. The emerging blockchain technology has the advantages of decentralization, immutability, traceability, anonymity, transparency, and consensus among mutually untrusted entities. Integrating blockchain technology into the identity authentication system can improve the overall security of the system and ensure the accuracy and consistency of identity data. Although the existing various types of identity authentication systems combined with blockchain provide many advantages, such as enhanced security, decentralization, and data immutability, due to their transparency, if not properly managed, the administrator's identity information may be unnecessarily exposed. At the same time, the existing research authentication process is too dependent on the authentication key. Once the key is leaked, the data information is very easy to be stolen. In addition, the upgrade or modification of the system in the blockchain usually requires the consensus of most participants in the blockchain network. This consensus mechanism may lead to a slow system update process, making it more difficult to respond to emerging security threats. In summary, the existing blockchain-based digital identity authentication system still has problems such as privacy leakage and key leakage. To address this problem, a new identity authentication scheme needs to be proposed. Summary of the invention

[0003] The purpose of the embodiments of the present invention is to provide an intelligent analysis platform identity authentication method and system to at least solve the problem of privacy leakage and key leakage that still exists in the existing blockchain-based digital identity authentication system.

[0004] In order to achieve the above-mentioned objectives, the first aspect of the present invention provides an intelligent analysis platform identity authentication system, the system comprising: a cloud server layer, an edge server layer and a physical layer; the cloud server layer and the edge server layer are both constructed with corresponding blockchains; the blockchain of the cloud server layer is used to perform identity authentication and deployment of relevant personnel; the blockchain of the edge server layer is used to associate the identity authentication information of relevant personnel, and to perform the registration and / or authentication process of relevant personnel; the physical layer is respectively connected to the blockchain of the cloud server layer and the blockchain of the edge server layer, for associating the identity authentication information of local relevant personnel.

[0005] Optionally, the cloud server layer includes multiple cloud servers, and each cloud server serves as a node of the blockchain corresponding to the cloud server layer.

[0006] Optionally, the edge server layer includes multiple edge servers, and each edge server serves as a node of the blockchain of the corresponding edge server layer.

[0007] Optionally, the physical layer includes multiple terminals, and each terminal is held by a corresponding relevant person.

[0008] Optionally, the identity authentication and deployment rules of the relevant personnel are: deploying the smart contract based on the cloud server layer, generating the identity authentication information of the relevant personnel, and executing the corresponding relevant personnel deployment based on the identity authentication information of the relevant personnel.

[0009] Optionally, the deployment rules of the smart contract are: map each relevant person to a string memory ID in Solidity to obtain the string memory ID of each relevant person; calculate the data value of this smart contract deployment, and perform a random number of keccak256 hash operations on the data value, assemble a chain structure based on the operation results, and obtain a one-way hash chain as the identity authentication information of the relevant person; wherein, the calculation rules of the data value of this smart contract deployment are:

[0010] data=H(id+timestamp)

[0011] Among them, data is the data value of this smart contract deployment; H is the hash operation; id is the string memory ID of the relevant person; timestamp is the timestamp of this smart contract deployment.

[0012] Optionally, the execution rules of the edge server layer in executing the registration process of relevant personnel are: in response to the registration request signal initiated by the physical layer, collect corresponding request information; perform legal judgment on the request information, and after the legal judgment is passed, forward the registration request to the cloud server layer; the cloud server layer calls the smart contract based on the registration request, generates a one-way hash chain of the corresponding person who initiated the request based on the smart contract, and stores the one-way hash chain on the blockchain of the cloud server layer; recovers the one-way hash chain of the corresponding person who initiated the request issued by the cloud server layer, and stores the one-way hash chain on the blockchain of the edge server layer; returns the one-way hash chain of the corresponding person who initiated the request to the terminal that initiated the registration request signal.

[0013] Optionally, the execution rules of the edge server layer in executing the authentication process of relevant personnel are: in response to the authentication request signal initiated by the physical layer, collecting corresponding authentication information; based on the authentication information, performing relevant information query of the corresponding relevant personnel in the blockchain of the edge server layer; generating a symmetric key based on the relevant information obtained from the query and the dynamic key algorithm; encrypting a random number based on the symmetric key to generate verification information; comparing the authentication information and the verification information, if the two are the same, the verification is passed, if the two are different, the verification fails.

[0014] Optionally, the generating a symmetric key based on the relevant information obtained through the query and the dynamic key algorithm includes: determining a one-way hash chain corresponding to the relevant person based on the relevant information, and traversing the one-way hash chain in one direction to obtain the hash chain length of the one-way hash chain; calculating a one-way encryption number based on the hash chain length and a pre-generated random number; generating a 24-bit buffer array based on the one-way encryption number and salt, and converting the content of the 24-bit buffer array into a hexadecimal 192-bit symmetric key.

[0015] The second aspect of the present invention provides an intelligent analysis platform identity authentication method, which is implemented based on the above-mentioned intelligent analysis platform identity authentication system. The method is executed by the edge server layer, and the method includes: responding to the business request initiated by the physical layer, collecting corresponding business request information; interacting with the cloud server layer based on the business request information, and performing corresponding business processing; and synchronously updating the business processing results to the blockchain of the cloud server layer and the blockchain of the edge server layer.

[0016] Optionally, the service request includes a registration request and a verification request.

[0017] Optionally, the business processing rules corresponding to the registration request are: in response to the registration request signal initiated by the physical layer, collecting corresponding request information; performing a legal judgment on the request information, and after the legal judgment is passed, forwarding the registration request to the cloud server layer; the cloud server layer calls the smart contract based on the registration request, generates a one-way hash chain of the person who initiated the request based on the smart contract, and stores the one-way hash chain on the blockchain of the cloud server layer; recovers the one-way hash chain of the person who initiated the request issued by the cloud server layer, and stores the one-way hash chain on the blockchain of the edge server layer; returns the one-way hash chain of the person who initiated the request to the terminal that initiated the registration request signal.

[0018] Optionally, the deployment rules of the smart contract are: map each relevant person to a string memory ID in Solidity to obtain the string memory ID of each relevant person; calculate the data value of this smart contract deployment, and perform a random number of keccak256 hash operations on the data value, assemble a chain structure based on the operation results, and obtain a one-way hash chain as the identity authentication information of the relevant person; wherein, the calculation rules of the data value of this smart contract deployment are:

[0019] data=H(id+timestamp)

[0020] Among them, data is the data value of this smart contract deployment; H is the hash operation; id is the string memory ID of the relevant person; timestamp is the timestamp of this smart contract deployment.

[0021] Optionally, the business processing rules corresponding to the verification request are: in response to the authentication request signal initiated by the physical layer, collecting corresponding authentication information; based on the authentication information, querying relevant information of the corresponding relevant personnel in the blockchain of the edge server layer; generating a symmetric key based on the relevant information obtained from the query and the dynamic key algorithm; encrypting a random number based on the symmetric key to generate verification information; comparing the authentication information and the verification information, if the two are the same, the verification is passed, if the two are different, the verification fails.

[0022] Optionally, the generating a symmetric key based on the relevant information obtained through the query and the dynamic key algorithm includes: determining a one-way hash chain corresponding to the relevant person based on the relevant information, and traversing the one-way hash chain in one direction to obtain the hash chain length of the one-way hash chain; calculating a one-way encryption number based on the hash chain length and a pre-generated random number; generating a 24-bit buffer array based on the one-way encryption number and salt, and converting the content of the 24-bit buffer array into a hexadecimal 192-bit symmetric key.

[0023] On the other hand, the present invention provides a computer-readable storage medium having instructions stored thereon, which, when executed on a computer, enables the computer to execute the above-mentioned intelligent analysis platform identity authentication method.

[0024] Through the above technical scheme, the identity authentication algorithm proposed in the present invention can ensure the security of information storage, ensure the accuracy and consistency of identity data, and take into account the efficiency of system upgrade and maintenance. It automatically generates identity registration information corresponding to managers through efficient smart contracts, and generates symmetric keys quickly and securely by designing a dynamic key generation algorithm based on a one-way hash chain to ensure the security of information communication of managers.

[0025] Other features and advantages of the embodiments of the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:

[0027] Figure 1 It is a system structure diagram of an intelligent analysis platform identity authentication system provided by an embodiment of the present invention;

[0028] Figure 2 It is a schematic diagram of a registration process provided by an embodiment of the present invention;

[0029] Figure 3 It is a schematic diagram of an authentication process provided by an embodiment of the present invention;

[0030] Figure 4 It is a comparison diagram of the impact of block depth on tampering operation time overhead provided by an embodiment of the present invention;

[0031] Figure 5 It is a comparison diagram of the impact of block depth on tampering operation time overhead provided by an embodiment of the present invention;

[0032] Figure 6 It is a flowchart of the steps of an intelligent analysis platform identity authentication method provided by one embodiment of the present invention. DETAILED DESCRIPTION

[0033] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.

[0034] Figure 1FIG. 1 is a system structure diagram of an intelligent analysis platform identity authentication system provided by an embodiment of the present invention. Figure 1 As shown, an embodiment of the present invention provides an identity authentication system for an intelligent analysis platform, the system comprising: a cloud server layer, an edge server layer and a physical layer; the cloud server layer and the edge server layer are both constructed with corresponding blockchains; the blockchain of the cloud server layer is used to perform identity authentication and deployment of relevant personnel; the blockchain of the edge server layer is used to associate the identity authentication information of relevant personnel, and to perform the registration and / or authentication process of relevant personnel; the physical layer is respectively connected to the blockchain of the cloud server layer and the blockchain of the edge server layer, for associating the identity authentication information of local relevant personnel.

[0035] Preferably, the cloud server layer includes multiple cloud servers, and each cloud server serves as a node of the blockchain corresponding to the cloud server layer.

[0036] In one possible implementation, the cloud server layer is composed of several cloud servers of the enterprise, with a large storage space that can store massive amounts of data. It is generally far away from physical devices such as PC terminals and handheld terminals, and communication with physical devices requires a certain delay. In today's digital age, the cloud server layer plays a key role as one of the important infrastructures of the enterprise. This layer is composed of several cloud servers of the enterprise, providing huge storage space for storing massive amounts of data. The storage capacity of cloud servers not only provides enterprises with flexible data management solutions, but also provides strong support for innovation and development in all walks of life. The cloud server layer has a large storage space and can store massive amounts of data, which brings many technical details and advantages to enterprises:

[0037] 1) Elastic scalability: The storage space of the cloud server layer can be elastically expanded according to demand. Enterprises can expand storage capacity at any time according to the needs of business growth without worrying about the limitations of hardware equipment.

[0038] 2) Data backup and recovery: Massive storage space enables enterprises to easily perform data backup and recovery operations to ensure data security and reliability. By backing up data regularly, enterprises can effectively deal with unexpected data loss or damage.

[0039] 3) Big Data Analysis: The cloud server layer stores massive amounts of data, providing a foundation for enterprises to conduct big data analysis. By analyzing and mining the massive amounts of data stored in the cloud server, enterprises can discover potential business opportunities, optimize operational processes, and improve decision-making efficiency.

[0040] 4) Multi-location backup and disaster recovery: By utilizing the storage space of the cloud server layer, enterprises can back up data in multiple locations to ensure data security and availability. At the same time, through the design and implementation of disaster recovery solutions, data and business can be quickly restored in the event of a disaster to ensure business continuity.

[0041] 5) Data sharing and collaboration: The massive data stored in the cloud server layer can facilitate data sharing and collaboration among various departments within the enterprise. Through cloud storage, employees can access and share data anytime and anywhere, promoting teamwork and information sharing.

[0042] 6) Security and Compliance: The storage space provided by the cloud server layer usually has advanced security measures, including data encryption, access control and other functions to ensure the confidentiality and integrity of data. At the same time, cloud service providers usually comply with relevant compliance standards to ensure the security of enterprise data.

[0043] Preferably, the edge server layer includes multiple edge servers, and each edge server serves as a node of the blockchain of the corresponding edge server layer.

[0044] In one possible implementation, the edge server layer is composed of several edge servers. Large enterprises usually have multiple companies (headquarters, branches), and the servers equipped by each subsidiary act as edge servers. They have large storage space and can store a small amount of data. They are generally close to physical devices and have low communication delays. The architecture of the edge server layer allows data to be distributed and stored on edge nodes in different geographical locations. This distributed data storage method helps to reduce data access latency and increase data transmission speed, which is particularly important for scenarios that require real-time data processing and response. The characteristic of storing a small amount of data at the edge server layer means that the data can be processed closer to where the data is generated, thereby reducing the time for data transmission and processing. This data localization processing method helps to improve data processing efficiency and reduce the pressure on network bandwidth. The edge nodes of the edge server layer can support edge computing, that is, data processing and analysis are performed where the data is generated, reducing dependence on the central data center. This edge computing method helps to improve the real-time and efficiency of data processing. The distributed architecture of the edge server layer can improve data security and privacy protection. A small amount of data is stored on the edge nodes, which reduces the risk of data leakage and attack, and is also conducive to data backup and recovery. The edge server equipped in each subsidiary can be used as a disaster recovery backup node. When a node fails, it can quickly switch to other nodes to ensure business continuity and reliability. The edge server layer needs to achieve data synchronization and consistency to ensure data consistency and accuracy between different nodes. Through reasonable data synchronization mechanisms and technical means, real-time data updates and consistency maintenance can be achieved. The edge server layer needs to establish an effective monitoring and management mechanism to promptly discover and resolve node failures, performance issues, etc., to ensure the stable operation of the entire system.

[0045] Preferably, the physical layer includes a plurality of terminals, each terminal being held by a corresponding relevant person.

[0046] In a possible implementation scheme, each relevant person (such as a manager) can initiate a registration and verification request based on the terminal he holds, so as to complete the corresponding business processing based on the terminal he holds.

[0047] Preferably, the identity authentication and deployment rules of the relevant personnel are: deploying the smart contract based on the cloud server layer, generating the identity authentication information of the relevant personnel, and executing the corresponding relevant personnel deployment based on the identity authentication information of the relevant personnel.

[0048] Furthermore, the deployment rules of the smart contract are: map each relevant person to a string memory ID in Solidity to obtain the string memory ID of each relevant person; calculate the data value of this smart contract deployment, and perform a random number of keccak256 hash operations on the data value, assemble the chain structure based on the operation results, and obtain a one-way hash chain as the identity authentication information of the relevant person; wherein, the calculation rules of the data value of this smart contract deployment are:

[0049] data=H(id+timestamp)

[0050] Among them, data is the data value of this smart contract deployment; H is the hash operation; id is the string memory ID of the relevant person; timestamp is the timestamp of this smart contract deployment.

[0051] In an embodiment of the present invention, the identity information of each relevant person (such as name, work number, etc.) will be mapped to a string memory ID in Solidity. This can be achieved by storing the personnel information in a mapping data structure, where the key is the unique identifier of the person and the value is the corresponding string memory ID. When the smart contract is deployed, a timestamp will be generated, which can be used as the data value. This value will be used as the starting point of the hash chain to build the identity authentication information. Using the data value as the initial input, a random number of keccak256 hash operations are performed on it. This can be achieved by calling the keccak256 function multiple times in a loop, each time using the previous hash result as input. The results of each hash operation are connected to form a chain structure. Each new hash value depends on the previous hash value, thereby building a one-way hash chain. The final hash chain result will be used as the identity authentication information of the relevant person. The identity information of each person will be associated with the hash chain to ensure the uniqueness and immutability of their identity.

[0052] In an embodiment of the present invention, the identity authentication method based on the hash chain has a high degree of security. The identity information of each person is assembled through hash operation and chain structure, ensuring the uniqueness and non-tamperability of the identity information. Mapping personnel information to a string memory ID can protect personal privacy data, and only the identity authentication information after the hash operation will be made public. Through the hash chain structure, the generation process of each person's identity information can be traced to ensure the integrity and traceability of the data. Using the hash chain as the identity authentication information can enhance the security of the smart contract and prevent identity forgery and tampering attacks. Once the identity authentication information of the hash chain is generated, the relevant personnel can authenticate their identity by verifying its corresponding hash value, simplifying the identity authentication process. The identity authentication method based on the hash chain can enhance the credibility and transparency of the smart contract, making the identity information of the relevant personnel more reliable and secure.

[0053] In a possible implementation, Figure 2 ,The manager initiates a registration request through a handheld terminal (enterprise device), and verifies the legitimacy of the request based on the edge server. After the verification, it is forwarded to the cloud server for smart contract scheduling, and the registration is completed.

[0054] Preferably, the execution rules of the edge server layer in executing the authentication process of relevant personnel are: in response to the authentication request signal initiated by the physical layer, collecting corresponding authentication information; based on the authentication information, querying the relevant information of the corresponding relevant personnel in the blockchain of the edge server layer; generating a symmetric key based on the relevant information obtained from the query and the dynamic key algorithm; encrypting a random number based on the symmetric key to generate verification information; comparing the authentication information and the verification information, if the two are the same, the verification is passed, if the two are not the same, the verification fails.

[0055] In the embodiment of the present invention, Figure 3 The manager initiates an authentication request through a handheld terminal (enterprise device), queries relevant information of relevant personnel based on the edge server, generates a symmetric key based on the relevant information obtained from the edge blockchain query and the dynamic key algorithm, and encrypts a random number based on the symmetric key to generate verification information; compares the authentication information and the verification information, if the two are the same, the verification is successful, if they are different, the verification fails.

[0056] Preferably, the generation of a symmetric key based on the relevant information obtained through the query and the dynamic key algorithm includes: determining a one-way hash chain corresponding to the relevant person based on the relevant information, and traversing the one-way hash chain in one direction to obtain the hash chain length of the one-way hash chain; calculating a one-way encryption number based on the hash chain length and a pre-generated random number; generating a 24-bit buffer array based on the one-way encryption number and salt, and converting the content of the 24-bit buffer array into a hexadecimal 192-bit symmetric key. Specifically including:

[0057] 1) Generate a random number N.

[0058] 2) Traverse the one-way hash chain in one direction to obtain the hash chain length M.

[0059] 3) Calculate S=N%M, p=one-way.

[0060] 4) Loop and execute p=p.next S times.

[0061] 5) Use salt to generate a 24-bit buffer array, result = cryptSync(p.data||N,"salt",24).

[0062] 6) Symmetric key = result.toString("hex"), convert the 24-bit buffer array content into a hexadecimal 192-bit symmetric key.

[0063] In the embodiments of the present invention, the present invention takes into account the privacy leakage problem that may be caused by the transparency of the blockchain, stores encrypted identity information in the blockchain to achieve privacy protection of the identity information, takes into account the problem of low efficiency in system upgrade and maintenance, balances the design of the number of private blockchain nodes, and achieves dual control of security and efficiency of the system, and takes into account the problem of key leakage in the existing authentication system, designs a dynamic key algorithm, performs one-time one-key, and ensures the security of the authentication system.

[0064] Example:

[0065] The blockchain information in the cloud server layer and the edge server layer of the solution of the present invention is stored in association. When an attacker wants to modify the information of the edge server layer blockchain, he also needs to change the information of the administrator recorded in the cloud server layer blockchain in order to achieve the purpose of tampering with the information. Assuming that the attacker needs to tamper with the data recorded in the edge server layer blockchain, at least half of the nodes need to change the data of all blocks after the specified block height to achieve the purpose of tampering with the blockchain data. From the perspective of security, when the attacker tampers with the data recorded in the blockchain, the higher the time cost of the attack, the stronger the security of the designed solution can be proved. Some parameters set according to the actual situation of the simulation experiment for performing this security analysis are as follows: the upper limit of a single block in the blockchain is 1M, the average size of the data recorded in the block in the present invention is 2kb, the number of nodes in the cloud layer blockchain is 1000, the edge server layer is divided into 10 areas, and the number of nodes in each area is 100. The time required to change blocks of different heights in the cloud layer blockchain is as follows: Figure 4 As shown; the target block depth is 5000, and the time required to change the number of nodes in the cloud blockchain is as follows Figure 5 shown.

[0066] Figure 4 and Figure 5 They represent the relationship between the time cost of tampering with data in the blockchain and the number of storage nodes and the target block depth. Figure 4 It can be seen that when the number of nodes that need to be tampered is fixed, the time required for the tampering attack increases with the increase of the depth of the target block, because more subsequent blocks need to be tampered. Figure 5 It can be seen that when the target block depth is constant, as the scale of storage nodes increases, the time required for tampering attacks also increases, because the more storage nodes are tampered with, the more blocks are tampered with. Figure 4 and Figure 5 It can be seen that the anti-tampering security of the storage solution of the present invention is significantly better than the traditional single-layer blockchain storage solution. Because in the solution proposed in the present invention, the cloud server layer blockchain and the edge server layer blockchain are mapped to each other, it is difficult for an attacker to modify any data on any blockchain. For example, when the number of storage nodes needs to be modified to 1000 and the target block depth is 5000, the time required to tamper with the solution proposed in the present invention is 6.68 hours, while the traditional single-chain storage only takes 3.35 hours. The time consumption of the solution proposed in the present invention is about twice that of the traditional solution. Therefore, the strong security of the solution proposed in the present invention deployed in the digital business analysis platform has been proven.

[0067] Figure 6 FIG. 1 is a flowchart of a method for identity authentication of an intelligent analysis platform provided by an embodiment of the present invention. Figure 6As shown, an embodiment of the present invention provides an intelligent analysis platform identity authentication method, the method comprising:

[0068] Step S10: In response to the service request initiated by the physical layer, corresponding service request information is collected.

[0069] Specifically, the service request includes a registration request and a verification request.

[0070] Step S20: interact with the cloud server layer based on the business request information and perform corresponding business processing.

[0071] Specifically, the business processing rules corresponding to the registration request are: in response to the registration request signal initiated by the physical layer, collecting the corresponding request information; performing a legal judgment on the request information, and after the legal judgment is passed, forwarding the registration request to the cloud server layer; the cloud server layer calls the smart contract based on the registration request, generates a one-way hash chain of the corresponding person who initiated the request based on the smart contract, and stores the one-way hash chain on the blockchain of the cloud server layer; recovers the one-way hash chain of the corresponding person who initiated the request issued by the cloud server layer, and stores the one-way hash chain on the blockchain of the edge server layer; returns the one-way hash chain of the corresponding person who initiated the request to the terminal that initiated the registration request signal.

[0072] Furthermore, the deployment rules of the smart contract are: map each relevant person to a string memory ID in Solidity to obtain the string memory ID of each relevant person; calculate the data value of this smart contract deployment, and perform a random number of keccak256 hash operations on the data value, assemble the chain structure based on the operation results, and obtain a one-way hash chain as the identity authentication information of the relevant person; wherein, the calculation rules of the data value of this smart contract deployment are:

[0073] data=H(id+timestamp)

[0074] Among them, data is the data value of this smart contract deployment; H is the hash operation; id is the string memory ID of the relevant person; timestamp is the timestamp of this smart contract deployment.

[0075] Furthermore, the business processing rules corresponding to the verification request are: in response to the authentication request signal initiated by the physical layer, collecting corresponding authentication information; based on the authentication information, querying the relevant information of the corresponding relevant personnel in the blockchain of the edge server layer; generating a symmetric key based on the relevant information obtained from the query and the dynamic key algorithm; encrypting a random number based on the symmetric key to generate verification information; comparing the authentication information and the verification information, if the two are the same, the verification is passed, if the two are different, the verification fails.

[0076] Furthermore, the generating of a symmetric key based on the relevant information obtained through the query and the dynamic key algorithm includes: determining a one-way hash chain corresponding to the relevant person based on the relevant information, and traversing the one-way hash chain in one direction to obtain the hash chain length of the one-way hash chain; calculating a one-way encryption number based on the hash chain length and a pre-generated random number; generating a 24-bit buffer array based on the one-way encryption number and salt, and converting the content of the 24-bit buffer array into a hexadecimal 192-bit symmetric key.

[0077] Step S30: Return the one-way hash chain of the person who initiated the request to the terminal that initiated the registration request signal.

[0078] The embodiment of the present invention further provides a computer-readable storage medium, on which instructions are stored, which, when executed on a computer, enable the computer to execute the above-mentioned intelligent analysis platform identity authentication method.

[0079] Those skilled in the art will understand that all or part of the steps in the method for implementing the above-mentioned embodiments can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including several instructions for making a single-chip microcomputer, a chip or a processor (processor) perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0080] The optional embodiments of the present invention are described in detail above in conjunction with the accompanying drawings. However, the embodiments of the present invention are not limited to the specific details in the above embodiments. Within the technical concept of the embodiments of the present invention, the technical scheme of the embodiments of the present invention can be subjected to a variety of simple modifications, and these simple modifications all belong to the protection scope of the embodiments of the present invention. It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the embodiments of the present invention will not further describe various possible combinations.

[0081] In addition, various embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the embodiments of the present invention, they should also be regarded as the contents disclosed in the embodiments of the present invention.

Claims

1. An intelligent analysis platform identity authentication system, characterized in that: The system comprises: Cloud server layer, edge server layer, and physical layer; The cloud server layer and the edge server layer are both constructed with corresponding blockchains; The blockchain of the cloud server layer is used to perform identity authentication and deployment of relevant personnel; The blockchain of the edge server layer is used to associate the identity verification information of relevant personnel and to perform the registration and / or authentication process of relevant personnel; The physical layer is respectively connected to the blockchain of the cloud server layer and the blockchain of the edge server layer, so as to associate the identity authentication information of local relevant personnel.

2. The system according to claim 1, characterized in that The cloud server layer includes multiple cloud servers, and each cloud server serves as a node of the blockchain corresponding to the cloud server layer.

3. The system according to claim 1, characterized in that The edge server layer includes multiple edge servers, and each edge server serves as a node of the blockchain of the corresponding edge server layer.

4. The system according to claim 1, characterized in that The physical layer includes a plurality of terminals, each of which is held by a corresponding relevant person.

5. The system according to claim 1, characterized in that The authentication and deployment rules for the relevant personnel are: Based on the cloud server layer, the smart contract is deployed, identity authentication information of relevant personnel is generated, and corresponding relevant personnel deployment is performed based on the identity authentication information of the relevant personnel.

6. The system according to claim 5, characterized in that The deployment rules of the smart contract are: Map each relevant person to a string memory ID in Solidity to obtain the string memory ID of each relevant person; Calculate the data value of this smart contract deployment, perform a random number of keccak256 hash operations on the data value, assemble the chain structure based on the operation results, and obtain a one-way hash chain as the identity verification information of the relevant personnel; The calculation rules for the date value of this smart contract deployment are: data = H (id + timestamp) Among them, data is the data value deployed by this smart contract; H is the hash operation; id is the string memory ID of the relevant person; timestamp is the timestamp of this smart contract deployment.

7. The system according to claim 1, characterized in that The edge server layer executes the following rules when executing the registration process of relevant personnel: In response to a registration request signal initiated by the physical layer, collecting corresponding request information; Performing a legal judgment on the request information, and after the legal judgment is passed, forwarding the registration request to the cloud server layer; The cloud server layer calls the smart contract based on the registration request, generates a one-way hash chain corresponding to the person who initiated the request based on the smart contract, and stores the one-way hash chain on the blockchain of the cloud server layer; Recover the one-way hash chain of the person who initiated the request issued by the cloud server layer, and store the one-way hash chain on the blockchain of the edge server layer; The one-way hash chain of the person who initiated the request is returned to the terminal that initiated the registration request signal.

8. The system according to claim 1, characterized in that The edge server layer executes the following rules when executing the authentication process of relevant personnel: In response to the authentication request signal initiated by the physical layer, collecting corresponding authentication information; Based on the authentication information, query the relevant information of the corresponding relevant personnel in the blockchain of the edge server layer; Generate a symmetric key based on the relevant information obtained from the query and a dynamic key algorithm; Encrypting a random number based on the symmetric key to generate verification information; The authentication information and the verification information are compared. If the two are the same, the verification is successful. If the two are different, the verification fails.

9. The method according to claim 8, characterized in that The generating of the symmetric key based on the relevant information obtained by querying and the dynamic key algorithm includes: Determine a one-way hash chain corresponding to the relevant person based on the relevant information, and traverse the one-way hash chain in one direction to obtain the hash chain length of the one-way hash chain; Calculate the one-way encryption number based on the hash chain length and the pre-generated random number; A 24-bit buffer array is generated based on the one-way encryption number and the salt, and the content of the 24-bit buffer array is converted into a hexadecimal 192-bit symmetric key.

10. An identity authentication method for an intelligent analysis platform, characterized in that: The method is implemented based on the intelligent analysis platform identity authentication system according to any one of claims 1 to 9, and the method is executed by the edge server layer, and the method includes: In response to a service request initiated by the physical layer, collect corresponding service request information; Interact with the cloud server layer based on the business request information and perform corresponding business processing; The business processing results are synchronously updated to the blockchain of the cloud server layer and the blockchain of the edge server layer.

11. The method according to claim 10, characterized in that The service request includes a registration request and a verification request.

12. The method according to claim 11, characterized in that The business processing rules corresponding to the registration request are: In response to a registration request signal initiated by the physical layer, collecting corresponding request information; Performing a legal judgment on the request information, and after the legal judgment is passed, forwarding the registration request to the cloud server layer; The cloud server layer calls the smart contract based on the registration request, generates a one-way hash chain corresponding to the person who initiated the request based on the smart contract, and stores the one-way hash chain on the blockchain of the cloud server layer; Recover the one-way hash chain of the person who initiated the request issued by the cloud server layer, and store the one-way hash chain on the blockchain of the edge server layer; The one-way hash chain of the person who initiated the request is returned to the terminal that initiated the registration request signal.

13. The method according to claim 12, characterized in that The deployment rules of the smart contract are: Map each relevant person to a string memory ID in Solidity to obtain the string memory ID of each relevant person; Calculate the data value of this smart contract deployment, perform a random number of keccak256 hash operations on the data value, assemble the chain structure based on the operation results, and obtain a one-way hash chain as the identity verification information of the relevant personnel; The calculation rules for the data value deployed in this smart contract are: data=H(id+timestamp) Among them, data is the data value deployed by this smart contract; H is the hash operation; id is the string memory ID of the relevant person; timestamp is the timestamp of this smart contract deployment.

14. The method according to claim 11, characterized in that The business processing rules corresponding to the verification request are: In response to the authentication request signal initiated by the physical layer, collecting corresponding authentication information; Based on the authentication information, query the relevant information of the corresponding relevant personnel in the blockchain of the edge server layer; Generate a symmetric key based on the relevant information obtained from the query and a dynamic key algorithm; Encrypting a random number based on the symmetric key to generate verification information; The authentication information and the verification information are compared. If the two are the same, the verification is successful. If the two are different, the verification fails.

15. The method according to claim 14, characterized in that The generating of the symmetric key based on the relevant information obtained by querying and the dynamic key algorithm includes: Determine a one-way hash chain corresponding to the relevant person based on the relevant information, and traverse the one-way hash chain in one direction to obtain the hash chain length of the one-way hash chain; Calculate the one-way encryption number based on the hash chain length and the pre-generated random number; A 24-bit buffer array is generated based on the one-way encryption number and the salt, and the content of the 24-bit buffer array is converted into a hexadecimal 192-bit symmetric key.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the intelligent analysis platform identity authentication method described in any one of claims 10-15.