CN115484057A - Achievement evidence storing method and system based on alliance chain - Google Patents

Achievement evidence storing method and system based on alliance chain Download PDF

Info

Publication number
CN115484057A
CN115484057A CN202210939617.4A CN202210939617A CN115484057A CN 115484057 A CN115484057 A CN 115484057A CN 202210939617 A CN202210939617 A CN 202210939617A CN 115484057 A CN115484057 A CN 115484057A
Authority
CN
China
Prior art keywords
node
score
module
data
chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210939617.4A
Other languages
Chinese (zh)
Inventor
刘晓峰
程永强
陈泽华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taiyuan University of Technology
Original Assignee
Taiyuan University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taiyuan University of Technology filed Critical Taiyuan University of Technology
Priority to CN202210939617.4A priority Critical patent/CN115484057A/en
Publication of CN115484057A publication Critical patent/CN115484057A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Storage Device Security (AREA)

Abstract

The invention belongs to the technical field of score storage and management, and particularly relates to a score storage method and system based on an alliance chain technology. The method comprises the following steps: s1, building a alliance chain; s2, authorizing and authenticating the identity for each node through a digital identity authentication center; s3, creating a data index for the score information needing to be linked, and calculating a hash value of the score information by adopting a hash encryption algorithm; after carrying out digital signature on the hash values of the data index and the achievement information, packaging to generate new block data, and broadcasting to a first node and other second nodes in a alliance chain; s4, verifying the format and the signature of the new block; if the verification is passed, updating the block data in the local node; and S5, determining a data index corresponding to the score data to be inquired, calculating a hash value of score information under a corresponding chain, and acquiring the hash values corresponding to all nodes for comparison. The invention has certain decentralization characteristic and can realize the safe access of the scores.

Description

Achievement evidence storing method and system based on alliance chain
Technical Field
The invention belongs to the technical field of score storage and management, and particularly relates to a score evidence storage method and system based on an alliance chain technology.
Background
The conventional achievement information storage and management system in the school uses a completely centralized technical scheme and a database, and has the following risks and defects:
1. risk of tampering by hackers: in a centralized result information storage and management system, hackers attack vulnerabilities of networks, systems, databases and the like of schools, and once the vulnerabilities attack, original result data of students are stolen, deleted and tampered.
2. Centralized authority, risk that cannot be supervised: in a centralized score information storage management system, since a superior education institution and a department do not directly store the original score data of students, whether the scores of each school are falsified or not cannot be verified and supervised. The management authority of the achievements is excessively concentrated in schools, other organizations and roles are not fully participated in, and a mechanism for openly, transparently and effectively limiting the school authority is not provided.
3. The data utilization efficiency is low: when students need to use the score list, generally, the students need to issue official certification documents according to a fixed flow and a fixed mode, the official seal flow is complicated, the students are time-consuming and labor-consuming, especially graduates need to return to the school for handling, once the graduates are lost, the graduates need to be handled again, and the on-line data cannot be directly utilized to obtain the score certification.
The above risks and deficiencies are greatly troubling schools and education departments, and block-chain techniques are expected to eliminate the above risks. The block chain (Blockchain) is a decentralized chain data structure, and data of the Blockchain is guaranteed to be not falsified and forged in a cryptographic mode, and data of other nodes cannot be influenced by modification of a single node or even multiple nodes.
Based on the above analysis, a safe and credible achievement evidence storing method and system based on the alliance chain need to be invented.
Disclosure of Invention
The invention overcomes the defects of the prior art, and solves the technical problems that: the utility model provides a result evidence storage method and system based on alliance chain, which solves the safety problem in the centralized formation result information storage management system.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows: a achievement evidence storing method based on a alliance chain comprises the following steps:
s1, determining bottom layer parameters, rules and alliance chain nodes of an alliance chain, and building the alliance chain; the federation chain node comprises a first node, a digital identity authentication center and a plurality of second nodes; the first node and the second node both store block data of the whole alliance chain, and each block data comprises a data index of achievement information and a hash value of the achievement information;
s2, authorizing and authenticating the identity for each node through a digital identity authentication center;
s3, the second node creates a data index for the score information needing to be linked, and calculates the hash value of the score information by adopting a hash encryption algorithm; after carrying out digital signature on the hash values of the data index and the achievement information, packaging to generate new block data, and broadcasting to all nodes in the alliance chain;
s4, all nodes in the alliance chain verify the format and the signature of the new block, and if the verification of one node fails, the node discards the block; if the verification is passed, each node updates the block data in the local node;
and S5, when the score data under the chain needs to be inquired, verified or audited, determining a data index corresponding to the score data, acquiring hash values corresponding to the data indexes on all nodes according to the data indexes, meanwhile, calculating the hash values of the score information under the corresponding chain, comparing all the hash values, and if all the hash values are equal, proving that the verification is passed and the scores are correct, otherwise, indicating that the scores are falsified.
In the step S3, after the second node performs identity authentication on the administrator, the second node creates an index of data;
in step S4, if each node receives the block broadcasts of multiple nodes in a short time, the block sequence of the multiple nodes is configured according to a predetermined rule.
The achievement evidence storing method based on the alliance chain further comprises the following steps:
and S6, after the verification is passed, the corresponding second node generates an electronic score sheet containing score information of the student and sends the electronic score sheet to the inquiry user.
In step S6, after the node user passes the verification, the generated electronic achievement list further includes a hash value of the achievement information, a corresponding two-dimensional code, and a corresponding digital signature of the second node.
The achievement evidence storing method based on the alliance chain further comprises the following steps:
and S7, authorizing the new node to serve as a third node of the alliance chain, wherein the third node is used for storing the block data uploaded by the second node, executing the query operation of the node user and generating a corresponding electronic score list after the verification is passed.
In addition, the invention also provides a result evidence storing system based on the alliance chain, which is used for implementing the result evidence storing method based on the alliance chain and comprises the following steps: a first server and a plurality of second servers; the first server is used as a first node to join the alliance chain, and the second server is used as a second node to join the alliance chain.
The second server includes:
the second client management module: for providing an interface and an interface;
a score uplink module: the system comprises a first client management module, a second client management module, a first server and a second server, wherein the first client management module is used for sending uplink achievement information to the first server, the second client management module is used for sending uplink achievement information to the second server, the first client management module is used for sending uplink achievement information to the second client management module, the second client management module is used for sending uplink achievement information to the second server, and the second client management module is used for sending uplink achievement information to the first server;
a second new block update module: after receiving the broadcasted new block data, the method carries out correctness verification on the new block, and updates the data of the node block chain so that the updated block chain comprises all the common identification blocks;
a score verification module: the system comprises a first electronic license module, a second electronic license module, a first client management module, a second client management module and a second electronic license module, wherein the first electronic license module is used for receiving a verification request sent by the second client management module, acquiring a data index corresponding to data to be verified in the verification request, acquiring hash values corresponding to the data index from all nodes on a alliance chain, acquiring corresponding under-chain achievements and calculating hash values corresponding to under-chain achievement information, comparing all the hash values, and sending verification passing information to the first electronic license module if the hash values are consistent;
the first electronic license module: and the electronic score list is generated according to the verification passing information sent by the score verification module and then sent to the second client management module.
The second server further comprises:
a first achievement interaction module: the second server sends the corresponding achievement to the first server or the third server through the first achievement interacting module in an asymmetric encryption mode,
the second server also realizes intelligent contracts based on achievement information through the first achievement interaction module.
The achievement stock system based on the alliance chain further comprises a third server, wherein the third server is used as a third node to join the alliance chain, and the system comprises:
a third client management module: for providing an interface and an interface;
a third new block update module: after receiving the broadcasted new block data, the method carries out correctness verification on the new block, and updates the data of the node block chain so that the updated block chain comprises all the common identification blocks;
a score inquiry module: the system comprises a first client management module, a second client management module, a first electronic certificate module, a second electronic certificate module and a third client management module, wherein the first electronic certificate module is used for receiving a query request sent by the third client management module, acquiring a data index corresponding to data to be queried in the query request, acquiring a hash value corresponding to the data index from all nodes on a alliance chain, acquiring corresponding down-link scores from corresponding data uploading nodes, recalculating the hash value corresponding to down-link score information, comparing all hash values, and if the hash values are consistent, acquiring score information stored on a second server and sending the score information to the second electronic certificate module;
the second electronic license module: the system is used for generating an electronic score list according to the scores sent by the score inquiry module and outputting the electronic score list to the third client management module;
the first server includes:
a first client management module: for providing an interface and an interface;
the first new block updating module: after receiving the broadcasted new block data, the method carries out correctness verification on the new block, and updates the data of the node block chain so that the updated block chain comprises all the common identification blocks;
score inquiry auditing module: the system comprises a first client management module, a second client management module and a data uploading node, wherein the first client management module is used for receiving an audit request sent by the first client management module, acquiring a data index corresponding to-be-audited data in the audit request, acquiring a hash value corresponding to the data index from all nodes on an alliance chain, acquiring a corresponding down-link score from a corresponding data uploading node, calculating a hash value corresponding to down-link score information, comparing all the hash values, generating a corresponding audit result and outputting the audit result to the first client management module.
The first server, the second server and the third server comprise an initialization module and a digital identity module;
the initialization module is used for confirming the current node of the alliance chain and synchronizing blocks in the alliance chain;
the digital identity module is provided by a digital identity authentication center and is used for authorizing and authenticating the identity of the node user;
the third server also comprises a score acquisition module, and the third server sends score acquisition information to the second server through the score acquisition module.
Compared with the prior art, the invention has the following beneficial effects:
1. the invention stores the block data comprising the data index of the achievement information and the hash value of the achievement information based on the alliance chain, realizes the evidence storage of the achievement, ensures that the system has certain decentralized characteristic, and does not influence the operation of the whole system even if partial nodes in the network are off-line, attacked and damaged.
2. The invention uses the hash function and the asymmetric encryption algorithm to realize the uploading of the hash value data corresponding to the achievement to the alliance chain, and the achievement is only stored in the data uploading node; therefore, a hacker cannot break the hash data on the chain, so that the result data on the chain cannot be decrypted and leaked by the hacker, and the chain structure of the block chain can ensure that the consensus data on the chain cannot be tampered by the hacker. The administrator of the node can not crack the hash data on the chain, so that the tampering information can be identified through the comparison verification on the chain and the comparison verification under the chain.
3. The system realizes the storage of the scores through the alliance chain, is provided with a score inquiry module, a score inquiry auditing module and an electronic certificate module, can realize the inquiry and the auditing of the scores, and ensures the privacy and the safety of score data on the chain in the whole transmission process by adopting asymmetric encryption when the modules mutually transmit the score information of students.
4. The invention can realize the increase of the flexibility of the alliance chain by authorizing the third node, and in addition, the intelligent contract based on the score information can be realized by arranging the first score interaction module at each second node, so that the commercial and cross-chain scenes such as the sharing and the transaction of the score information of students are safer and more efficient.
Drawings
Fig. 1 is a schematic flowchart of a result management method based on a federation chain according to a first embodiment of the present invention;
FIG. 2 is a diagram illustrating a federation chain according to a first embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a corresponding relationship between a data index and a score information hash value according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a achievement management system based on a federation chain according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments; all other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
As shown in fig. 1, an embodiment of the present invention provides a result evidence storage method based on a federation chain, including the following steps:
s1, determining bottom layer parameters, rules and alliance chain nodes of an alliance chain, and building the alliance chain; the federation chain node comprises a first node, a digital identity authentication center and a plurality of second nodes; and the first node and the second node both store block data of the whole alliance chain, and each block data comprises a data index of the achievement information and a hash value of the achievement information. Fig. 2 is a schematic structural diagram of a federation chain built in the embodiment of the present invention.
In the step S1, the initially established alliance chain may further include a third node, where the third node is configured to store the block data uploaded by the second node, and is further configured to implement an inquiry operation of a node user, and generate a corresponding electronic score sheet after the verification is passed.
In this embodiment, the difference between the three types of nodes is that the first node may be configured to implement authorization of the second node and the third node, the second node may be configured to generate block data to be uploaded according to a score to be stored, and the third node is only configured to perform operations such as query and verification of the score. In addition, the score to be stored is only stored in the second node, and when the first node needs to acquire the score, the second node sends the score to the first node.
Before a alliance chain is built, department units corresponding to a first node and a second node are determined. In this embodiment, the first node may be a higher level executive education department, and the second node may be each school capable of uploading scores. The underlying parameters and rule settings (e.g., block size, data index, score information type and type, block ordering, etc.) in the federation chain are determined by a superior education department, such as the provincial or educational hall.
And S2, authorizing and authenticating the identity of each node through a digital identity authentication center.
The digital identity authentication center (such as Shanghai CA authentication center) authorizes and authenticates the identity of each node (including the first node, the second node or the third node) and provides digital identity authentication and management service. Before the identity of the second node is authorized through the digital identity authentication center, the second node needs to be authorized through the first node.
S3, the second node creates a data index for the score information needing to be linked, and calculates the hash value of the score information by adopting a hash encryption algorithm; and after the hash values of the data index and the achievement information are digitally signed and then packaged to generate new block data, broadcasting the new block data to each node in the alliance chain, and updating the block of the node.
Fig. 3 is a schematic diagram of data indexing in the present embodiment. The preprocessing before the result chaining specifically means that according to the existing teaching process links of colleges and universities, the results submitted by teachers are stored in a server of a teaching system, data indexes are created for relevant information such as performance generated by the department needing to chain, the hash values of the student performance information needing to chain are calculated by using a hash encryption algorithm, the relevant information such as performance generated by the department is shown in a table 1, and the corresponding relation between the data indexes and the hash values of the performance information is shown in a figure 3.
TABLE 1 selection of Ready-to-cochain score information and its Categories
Figure DEST_PATH_IMAGE001
Specifically, in step S3, after the second node performs identity authentication on the administrator, the second node creates an index of the data. In addition, other operations of the second node, including data chaining, performance interaction, etc., may also all be performed under the authority of the administrator.
S4, verifying the format and the signature of the new block by all nodes except for data uploading, and if the verification of one node fails, discarding the block by the node; if the verification is passed, each node updates the block data in the local node. The nodes that perform the verification and update of the block include a first node and other second nodes.
In step S4, if each node receives the block broadcasts of multiple nodes in a short time, the block sequence of the multiple nodes is configured according to a predetermined rule. The new block is uplinked as long as the other nodes check the correctness of the new block, the speed is higher, node design competing for accounting does not exist, the process that the new block is gradually confirmed does not exist, and the problem is solved according to a preset rule only when the ordering conflict of the new block is accepted.
The other nodes verify the format and the signature of the new block, and the authorization of the Shanghai CA authentication center ensures that the signature of the new block cannot be forged by nodes except a sender, any node can verify the correctness of the signature, and the other nodes discard the block if the correctness verification of the new block fails; after the other nodes verify the correctness of the new block, the block data in the local node is updated, and if each node receives block broadcasts of a plurality of nodes in a short time (for example, 1 minute), the block sequence of the plurality of nodes is configured (for example, dictionary sound sequence ordering of node names) according to a preset rule.
In this embodiment, after the authorization of the digital identity authentication center, the operation of chaining the score information can be performed, and meanwhile, the data index and the score information hash value are appended with the digital signature of the administrator of the second node, which is used for storing and tracing the certificates of the operation and the personnel.
S5, when score data under a chain needs to be inquired, verified or audited, determining a data index corresponding to the score data, and acquiring hash values H corresponding to the data indexes on all nodes according to the data index 1 ~H n Meanwhile, calculating the Hash value H of the corresponding result information under the chain 0 And comparing all the hash values, if all the hash values are equal, proving that the verification is passed and the result is correct, otherwise, indicating that the hash values are tampered. The result information under the chain is stored in the corresponding second node for uploading data, H n Represents the corresponding hash value in the nth federation chain node, and n represents the number of nodes in the federation chain.
Specifically, when a node user queries, verifies and audits the correctness of the score data under the link, the data index is queried according to the retrieval field and the like, hash data of score information on all nodes is obtained according to the data index, hash values of relevant information such as the scores are calculated again according to the data index, and all the hash values are compared. If all the results are equal, the results are proved to be correct, otherwise, the results data of the educational administration system or the hash value of the results information stored by some nodes is falsified.
And S6, after the verification is passed, the corresponding second node generates an electronic score sheet containing the score information of the student and sends the electronic score sheet to the inquiry user.
In the step S6, after the node user passes the verification, the generated electronic achievement list further includes the hash value of the achievement information and the two-dimensional code corresponding to the electronic achievement list. In addition, the electronic transcript also includes a digital signature of the corresponding second node.
And S7, authorizing the new node to serve as a third node of the alliance chain, wherein the third node is used for storing the block data uploaded by the second node, realizing the query operation of the node user, and generating a corresponding electronic score sheet after the verification is passed.
In this embodiment, the third node may be another organization (e.g., provincial society, provincial science and technology, provincial statistics bureau, student communication network, employment unit, human resource broker, consulting organization, student performance data transaction party, other industry alliance chain nodes, etc.), and authorization of the third node needs to be granted by the first node.
In addition, after the third-party organization is authorized as the third node, the third node can execute the operations of verifying, updating and sequencing the correctness of the new block, realize score interaction and acquire the corresponding score after the verification is passed. In addition to this, more complex intelligent contracts can be executed, such as: after data desensitization, the student score can be regarded as a resource, so that the student score can be shared by third-party big data organizations for studying situation analysis, data analysis and data mining to obtain more useful information; or can be regarded as an asset after data desensitization and is subjected to achievement transaction with a third party; or used by alliance chains in other industry fields to fulfill commercial and cross-chain requirements.
Example two
As shown in fig. 4, a second embodiment of the present invention provides a result credentialing system based on a federation chain, which is used to implement the result credentialing method based on the federation chain in the first embodiment, and includes: a first server and a plurality of second servers; the first server is used as a first node to join the alliance chain, and the second server is used as a second node to join the alliance chain.
Specifically, as shown in fig. 4, in this embodiment, the second server includes:
the second client management module: for providing an interface and an interface;
a score uplink module: the system comprises a first client management module, a second client management module, a first server and a second server, wherein the first client management module is used for sending result information needing uplink to the first server and the second server;
a second new block update module: after receiving the broadcasted new block data, the method carries out correctness verification on the new block, and updates the data of the node block chain, so that the updated block chain comprises all the common-identification blocks;
a score verification module: the hash value obtaining module is used for receiving a verification request sent by the second client management module, obtaining a data index corresponding to-be-verified data in the verification request, and obtaining a hash value H corresponding to the data index from all nodes in the alliance chain 1 ~H n And simultaneously calculating the hash value H of the corresponding under-link achievement information 0 And the obtained hash value H 1 ~H n And H 0 Comparing, and if the verification information is completely consistent, sending verification passing information to the electronic license generation module;
the first electronic license module: and the electronic score list is generated according to the verification passing information sent by the score verification module and then sent to the second client management module.
In the second server, when student score information is transmitted between the score verification module and the first electronic certificate module, the student score information is transmitted after being encrypted asymmetrically, and privacy and safety of the student score information are protected.
Specifically, as shown in fig. 4, in this embodiment, the first server includes:
a first client management module: for providing an interface and an interface;
the first new block updating module: after receiving the broadcasted new block data, the method carries out correctness verification on the new block, and updates the data of the node block chain, so that the updated block chain comprises all the common-identification blocks;
score inquiry auditing module: the system is used for receiving an audit request sent by a first client management module, acquiring a data index corresponding to-be-audited data in the audit request, and acquiring a hash value H corresponding to the data index from all nodes in a alliance chain 1 ~H n And simultaneously acquiring the down-link achievements corresponding to the data indexes from the corresponding second server and calculating the Hash value H of the down-link achievements 0 Calculating the Hash value of the result information sent by the school educational administration system again according to the data index, and storing the Hash value H of each node 1 ~H n And H 0 And comparing, generating a corresponding audit result and outputting the audit result to the first client management module.
In the first server, when the score information acquired by the score inquiry auditing module is sent to the first client management module, the score information is sent after being asymmetrically encrypted, so that the privacy and the safety of the student score information are protected.
Further, as shown in fig. 4, the achievement deposit system based on a federation chain of this embodiment further includes a third server, where the third server is configured to join the federation chain as a third node, and includes:
a third client management module: for providing an interface and an interface;
a third new block update module: after receiving the broadcasted new block data, the method carries out correctness verification on the new block, and updates the data of the node block chain so that the updated block chain comprises all the common identification blocks;
a score inquiry module: used for receiving the query request sent by the third client management module and obtaining the queryThe data index corresponding to the data to be inquired in the request is obtained, and the hash value H corresponding to the data index is obtained from all nodes on the alliance chain 1 ~H n Meanwhile, the corresponding under-link achievements of the data index are obtained from the corresponding second server, and the hash value H of the under-link achievements is calculated 0 And storing the hash value H of each node 1 ~H n And H 0 Comparing, and if the result information is consistent with the result information, acquiring corresponding score information on a corresponding second server and sending the score information to the second electronic license module;
the second electronic license module: and the electronic score list is generated according to the scores sent by the score inquiry module and is output to the third client management module.
In the third server, when the score information acquired by the score inquiry module is sent to the second electronic license module, the score information is sent after being asymmetrically encrypted, so that the privacy and the safety of the score information of students are protected.
Further, as shown in fig. 4, in this embodiment, the first server, the second server, and the third server each include an initialization module and a digital identity module; the initialization module is used for confirming the current node of the alliance chain and synchronizing the blocks in the alliance chain; the digital identity module is provided by a digital identity authentication center and is used for authorizing and authenticating the identity of the node user.
Further, the second server further includes: the second server sends the corresponding achievement to the first server or the third server in an asymmetric encryption mode through the first achievement interaction module, and the second server further realizes an intelligent contract based on achievement information through the first achievement interaction module. The first achievement interaction module can be used for executing intelligent contracts based on achievement information, so that commercial and cross-chain scenes of sharing, trading and the like of the achievement information of students are safer and more efficient. For example: performing data desensitization or homomorphic encryption on the student scores locally, and sending the student scores to a third party for data mining; the student scores are locally confirmed and priced, and the scores are automatically traded with a third party by using an intelligent contract. The third server also comprises a score acquisition module, and the third server sends score acquisition information to the second server through the score acquisition module.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A achievement evidence storing method based on a alliance chain is characterized by comprising the following steps:
s1, determining bottom layer parameters, rules and alliance chain nodes of an alliance chain, and building the alliance chain; the federation chain node comprises a first node, a digital identity authentication center and a plurality of second nodes; the first node and the second node are used for storing block data of the whole alliance chain, and each block data comprises a data index of achievement information and a hash value of the achievement information;
s2, authorizing and authenticating the identity of each node through a digital identity authentication center;
s3, the second node creates a data index for the score information needing to be linked, and a hash value of the score information is calculated by adopting a hash encryption algorithm; after carrying out digital signature on the hash values of the data index and the achievement information, packaging to generate new block data, and broadcasting to all nodes in the alliance chain;
s4, all nodes in the alliance chain verify the format and the signature of the new block, and if the verification of one node fails, the node discards the block; if the verification is passed, each node updates the block data in the local node;
and S5, when the score data under the chain needs to be inquired, verified or audited, determining a data index corresponding to the score data, acquiring hash values corresponding to the data indexes on all nodes according to the data indexes, meanwhile, calculating the hash values of the corresponding score information under the chain, comparing all the hash values, and if all the hash values are equal, proving that the verification is passed, the score is correct, otherwise, indicating that the score is falsified.
2. The achievement storing method based on the alliance chain as claimed in claim 1, wherein in S3, after the second node authenticates the identity of the administrator, the second node creates the index of the data;
in S4, if each node receives the block broadcast of multiple nodes in a short time, the block sequence of each node is configured according to a predetermined rule.
3. The league-chain-based achievement crediting method according to claim 1, further comprising the steps of:
and S6, after the verification is passed, the corresponding second node generates an electronic score sheet containing the score information of the student and sends the electronic score sheet to the inquiry user.
4. The alliance-chain-based achievement deposit method according to claim 3, wherein in the step S6, after the verification of the node user is passed, the generated electronic achievement list further comprises a hash value of achievement information, a corresponding two-dimensional code and a corresponding digital signature of the second node.
5. The alliance-chain-based achievement credentialing method as recited in claim 1, further comprising the steps of:
and S7, authorizing the new node to serve as a third node of the alliance chain, wherein the third node is used for storing the block data uploaded by the second node, executing the query operation of the node user and generating a corresponding electronic score list after the verification is passed.
6. A result evidence keeping system based on a alliance chain is used for implementing the result evidence keeping method based on the alliance chain of any one of claims 1 to 5, and comprises the following steps: a first server and a plurality of second servers; the first server is used as a first node to join the alliance chain, and the second server is used as a second node to join the alliance chain.
7. A federation chain-based score credentialing system as recited in claim 6, wherein said second server comprises:
the second client management module: for providing an interface and an interface;
a score uplink module: the system comprises a first client management module, a second client management module, a first server and a second server, wherein the first client management module is used for sending result information needing uplink to the first server and the second server;
a second new block update module: after receiving the broadcasted new block data, the method carries out correctness verification on the new block, and updates the data of the node block chain so that the updated block chain comprises all the common identification blocks;
a score verification module: the system comprises a first electronic license module, a second electronic license module, a first client management module, a second client management module and a second electronic license module, wherein the first electronic license module is used for receiving a verification request sent by the second client management module, acquiring a data index corresponding to data to be verified in the verification request, acquiring hash values corresponding to the data index from all nodes on a alliance chain, acquiring corresponding down-chain achievements and calculating hash values corresponding to down-chain achievement information, comparing all the hash values, and sending verification passing information to the first electronic license module if the hash values are consistent;
the first electronic license module: and the electronic score list is generated according to the verification passing information sent by the score verification module and then sent to the second client management module.
8. A federation chain-based score verification system as claimed in claim 7, wherein said second server further comprises:
a first performance interaction module: the second server sends the corresponding achievement to the first server or the third server through the first achievement interactive module in an asymmetric encryption mode,
the second server also realizes the intelligent contract based on the achievement information through the first achievement interacting module.
9. A federation chain-based score verification system as claimed in claim 6 further comprising a third server, said third server being adapted to join the federation chain as a third node, comprising:
a third client management module: for providing an interface and an interface;
a third new block update module: after receiving the broadcasted new block data, the method carries out correctness verification on the new block, and updates the data of the node block chain so that the updated block chain comprises all the common identification blocks;
a score inquiry module: the system comprises a first client management module, a second client management module, a first electronic license module, a second electronic license module and a data index module, wherein the first client management module is used for receiving a query request sent by the third client management module, acquiring a data index corresponding to data to be queried in the query request, acquiring a hash value corresponding to the data index from all nodes on a alliance chain, acquiring corresponding down-link scores from corresponding data uploading nodes, recalculating the hash value corresponding to down-link score information, comparing all hash values, and if the hash values are consistent, acquiring score information stored on a second server and sending the score information to the second electronic license module;
the second electronic license module: the electronic score list is generated according to the scores sent by the score inquiry module and is output to the third client management module;
the first server includes:
the first client management module: for providing an interface and an interface;
the first new block updating module: after receiving the broadcasted new block data, the method carries out correctness verification on the new block, and updates the data of the node block chain so that the updated block chain comprises all the common identification blocks;
score inquiry auditing module: the system comprises a first client management module, a second client management module and a data uploading node, wherein the first client management module is used for receiving an audit request sent by the first client management module, acquiring a data index corresponding to-be-audited data in the audit request, acquiring a hash value corresponding to the data index from all nodes on an alliance chain, acquiring a corresponding down-link score from a corresponding data uploading node, calculating a hash value corresponding to down-link score information, comparing all the hash values, generating a corresponding audit result and outputting the audit result to the first client management module.
10. The alliance-chain-based score keeping system of claim 9, wherein the first server, the second server and the third server each comprise an initialization module and a digital identity module;
the initialization module is used for confirming the current node of the alliance chain and synchronizing the blocks in the alliance chain;
the digital identity module is provided by a digital identity authentication center and is used for authorizing and authenticating the identity of the node user;
the third server also comprises a score acquisition module, and the third server sends score acquisition information to the second server through the score acquisition module.
CN202210939617.4A 2022-08-05 2022-08-05 Achievement evidence storing method and system based on alliance chain Pending CN115484057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210939617.4A CN115484057A (en) 2022-08-05 2022-08-05 Achievement evidence storing method and system based on alliance chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210939617.4A CN115484057A (en) 2022-08-05 2022-08-05 Achievement evidence storing method and system based on alliance chain

Publications (1)

Publication Number Publication Date
CN115484057A true CN115484057A (en) 2022-12-16

Family

ID=84422037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210939617.4A Pending CN115484057A (en) 2022-08-05 2022-08-05 Achievement evidence storing method and system based on alliance chain

Country Status (1)

Country Link
CN (1) CN115484057A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116401718A (en) * 2023-06-08 2023-07-07 科大讯飞股份有限公司 Block chain-based data protection method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109559224A (en) * 2018-10-26 2019-04-02 阿里巴巴集团控股有限公司 Reference appraisal procedure and device, electronic equipment
CN110378151A (en) * 2019-06-19 2019-10-25 广东工业大学 A kind of score management method of education block chain that supporting national secret algorithm
CN111125256A (en) * 2019-12-24 2020-05-08 深圳前海乐寻坊区块链科技有限公司 User credit authentication method, device, equipment and storage medium based on block chain
CN111126964A (en) * 2019-12-24 2020-05-08 深圳前海乐寻坊区块链科技有限公司 Method, device, equipment and storage medium for authenticating position credit based on block chain
CN113111382A (en) * 2021-04-19 2021-07-13 杭州奇宁数据科技有限公司 System and method for chain certificate storage and source tracing batch processing of sports block
CN113778966A (en) * 2021-09-15 2021-12-10 深圳技术大学 Cross-school information sharing method and related device for college teaching and course score

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109559224A (en) * 2018-10-26 2019-04-02 阿里巴巴集团控股有限公司 Reference appraisal procedure and device, electronic equipment
CN110378151A (en) * 2019-06-19 2019-10-25 广东工业大学 A kind of score management method of education block chain that supporting national secret algorithm
CN111125256A (en) * 2019-12-24 2020-05-08 深圳前海乐寻坊区块链科技有限公司 User credit authentication method, device, equipment and storage medium based on block chain
CN111126964A (en) * 2019-12-24 2020-05-08 深圳前海乐寻坊区块链科技有限公司 Method, device, equipment and storage medium for authenticating position credit based on block chain
CN113111382A (en) * 2021-04-19 2021-07-13 杭州奇宁数据科技有限公司 System and method for chain certificate storage and source tracing batch processing of sports block
CN113778966A (en) * 2021-09-15 2021-12-10 深圳技术大学 Cross-school information sharing method and related device for college teaching and course score

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
孙韵秋: "基于区块链技术的去中心化管理系统的研究与应用", 《中国优秀硕士学位论文全文数据库信息科技辑》, 15 February 2020 (2020-02-15) *
李秀秀: "基于区块链的学历数据存证与鉴 证系统设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, 15 January 2022 (2022-01-15) *
谭钊文: "基于区块链的学生教育信息系统 的研究与实现", 《中国优秀硕士学位论文全文数据库社会科学II辑》, 15 March 2022 (2022-03-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116401718A (en) * 2023-06-08 2023-07-07 科大讯飞股份有限公司 Block chain-based data protection method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111914027B (en) Block chain transaction keyword searchable encryption method and system
AU2020200584B2 (en) Parameter based key derivation
CN109558517B (en) Multi-party secure election system based on block chain
CN110011781B (en) Homomorphic encryption method and medium for transaction amount encryption and supporting zero knowledge proof
CN110288480B (en) Private transaction method and device for blockchain
CN111464980A (en) Electronic evidence obtaining device and method based on block chain in Internet of vehicles environment
CN110020541B (en) Reputation evaluation method and system based on block chain privacy protection
CN113129518B (en) Electric vehicle charging system and resource management method thereof
CN109687965A (en) The real name identification method of subscriber identity information in a kind of protection network
CN113065961A (en) Power block chain data management system
CN113256297B (en) Data processing method, device and equipment based on block chain and readable storage medium
CN112291062B (en) Voting method and device based on block chain
CN114205136A (en) Traffic data resource sharing method and system based on block chain technology
CN112749417A (en) Electronic academic certificate data protection and sharing system based on block chain
Qu et al. A electronic voting protocol based on blockchain and homomorphic signcryption
CN114760071B (en) Zero-knowledge proof based cross-domain digital certificate management method, system and medium
CN115484057A (en) Achievement evidence storing method and system based on alliance chain
CN102299927B (en) Content security supervision system and method
Chen et al. IOV Privacy Protection System Based on Double‐Layered Chains
CN113239409A (en) Block chain-based steel structure traceability system and method
CN113065849A (en) Resume management method based on block chain
CN110851804A (en) Alliance chain identity authentication method based on electronic contract
CN113204773A (en) Electronic notarization data credible exchange method based on public network and application thereof
CN113673893A (en) Retired power battery management method and system
Chen et al. A cryptanalysis of trustworthy electronicvoting using adjusted blockchain technology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination