CN110888938A - Student identity information processing method and device based on block chain network - Google Patents

Student identity information processing method and device based on block chain network Download PDF

Info

Publication number
CN110888938A
CN110888938A CN201911272175.7A CN201911272175A CN110888938A CN 110888938 A CN110888938 A CN 110888938A CN 201911272175 A CN201911272175 A CN 201911272175A CN 110888938 A CN110888938 A CN 110888938A
Authority
CN
China
Prior art keywords
identity information
information
student identity
authority
student
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
CN201911272175.7A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911272175.7A priority Critical patent/CN110888938A/en
Publication of CN110888938A publication Critical patent/CN110888938A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Abstract

The invention provides a student identity information processing method based on a block chain network, the invention also provides an information processing device, electronic equipment and a storage medium, comprising: receiving a query request; responding to the query request, and analyzing the query request to obtain a corresponding user identifier; acquiring authority information of student identity information in a target block in a block chain network according to the user identification; verifying the matching of the authority information of the student identity information and the user identification; acquiring corresponding student identity information in a block chain network; the method and the system can acquire the student identity information stored in the blockchain network by the client, and simultaneously, the student identity information in different stages is completely stored in the blockchain network, so that the fairness and the justness of the student identity information can be ensured, the information safety can be effectively improved while the student identity information cannot be falsified, and the information leakage can be avoided.

Description

Student identity information processing method and device based on block chain network
Description of the cases
This application is based on the application number: 201910822295.3, application date of 09 and 02 in 2019, and the invention name is: chinese patent application for a method, an apparatus, an electronic device and a storage medium for processing student identity information in a blockchain network is proposed, and divisional cases are proposed within the scope of the chinese patent application, which is incorporated herein by reference in its entirety.
Technical Field
The present invention relates to an information storage technology in a blockchain network, and in particular, to a student identity information processing method and apparatus based on a blockchain network, an electronic device, and a storage medium.
Background
In the prior art, the traditional student archive management adopts a mode of storing paper archives in a centralized manner, even if electronic student archives are promoted, the electronic archive information of students in the management structure of each education institution is generally the electronic archive information of the students in the prior management structure of each education institution, then the electronic archive information is gathered to a unified information platform, and finally the electronic archive information is opened for the students or other parts to access. Therefore, the traditional student electronic archive management system is still a central information platform, and the information needs to depend on the management platform of each education institution below the system. When a user performs various services through a network, a server storing student identity information is easy to become a target of network attack. Meanwhile, the operator of each internet application becomes an actual controller of personal information of the user, so that the actual owner of the student identity information and the operator of each internet application are unequal in the control capability of the student identity information, and the operator of each internet application can analyze and utilize the student identity information arbitrarily and even sell the student identity information to obtain benefits, thereby threatening the safety of the user and seriously affecting the use experience of the user.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for processing student identity information based on a blockchain network, an electronic device, and a storage medium, which can store all student identity information of a user at different stages in the blockchain network, so as to ensure fairness and impartiality of the student identity information, and effectively improve information security while preventing falsification, thereby avoiding information leakage.
The embodiment of the invention provides a student identity information processing method based on a block chain network, which comprises the following steps:
receiving a query request;
responding to the query request, and analyzing the query request to obtain a corresponding user identifier;
acquiring authority information of student identity information in a target block in a block chain network according to the user identification;
verifying the matching of the authority information of the student identity information and the user identification;
when the authority information of the student identity information is matched with the user identification, acquiring corresponding student identity information in the block chain network;
and responding to the query instruction, and pushing the acquired corresponding student identity information to a corresponding client so as to realize that the client acquires the student identity information stored in the block chain network.
The embodiment of the invention also provides a device for processing the identity information of students based on the block chain network, which comprises:
the information transmission module is used for receiving the query request;
the information transmission module is used for responding to the query request and analyzing the query request to obtain a corresponding user identifier;
the information processing module is used for acquiring authority information of the student identity information in a target block in the block chain network according to the user identification;
the information processing module is used for verifying the matching between the authority information of the student identity information and the user identification;
the information processing module is used for acquiring corresponding student identity information in the block chain network when the authority information of the student identity information is matched with the user identification;
and the information transmission module is used for responding to the query instruction and pushing the acquired corresponding student identity information to the corresponding client so as to realize that the client acquires the student identity information stored in the block chain network.
In the above-mentioned scheme, the first step of the method,
the information transmission module is used for acquiring student identity information matched with the target user;
the information processing module is used for verifying the student identity information of the target user and determining authority information corresponding to the verified student identity information;
the information processing module is used for acquiring a public key of a target node matched with the authority information of the student identity information;
the information processing module is used for encrypting the student identity information of the target user through the public key of the target node to obtain encrypted student identity information;
and the storage module is used for generating a target block based on the user identification corresponding to the student identity information, the data authority information and the encrypted student identity information, and adding the target block into the block chain network.
In the above-mentioned scheme, the first step of the method,
the information processing module is used for verifying the student identity information of the target user;
when the student identity information of the target user is matched with the original record of the target user, the information processing module is used for determining that the management authority node of the verified student identity information is a current institution node and a supervision institution node;
the information processing module is used for determining a management authority node of the verified student identity information as a current mechanism node when the student identity information of the target user is not matched with the original record of the target user;
the information transmission module is used for sending prompt information, wherein the prompt information is used for prompting the adjustment of the student identity information of the target user.
In the above-mentioned scheme, the first step of the method,
the information transmission module is used for receiving data synchronization requests of other mechanism nodes in the block chain network;
the information processing module is used for responding to the data synchronization request and verifying the authority of the other organization nodes;
and the information processing module is used for controlling the data synchronization between the current mechanism node and the other mechanism nodes when the authority of the other mechanism nodes passes the verification.
In the above-mentioned scheme, the first step of the method,
the information transmission module is used for receiving management authority adjustment requests of other mechanism nodes in the block chain network;
the information processing module is used for responding to the management authority adjustment request and verifying the authority of the other organization nodes;
and the information processing module is used for adjusting the management authority of other mechanism nodes when the authority of other mechanism nodes passes verification so as to realize that new blocks are added in the block chain network through other mechanism nodes to update the student identity information of the target user.
In the above-mentioned scheme, the first step of the method,
the information processing module is used for acquiring query condition information in the query request, wherein the query condition information comprises a target index value of at least one target dimension;
the information processing module is configured to query an information index table in the block chain network according to the target index value of the at least one target dimension to obtain a user identifier corresponding to the student identity information, where the information index table includes user identifiers of stored information and index values in different dimensions;
and the information processing module is used for determining the authority information of the student identity information in the target block according to the user identification corresponding to the student identity information.
In the above-mentioned scheme, the first step of the method,
the information processing module is used for acquiring a private key of a target node matched with the authority information of the student identity information;
and the information processing module is used for decrypting the corresponding student identity information acquired from the block chain network through the private key of the target node to obtain the corresponding student identity information.
In the above-mentioned scheme, the first step of the method,
the information processing module is used for requesting a corresponding dynamic password from a user corresponding to the user identification when the authority information of the student identity information is not matched with the user identification;
the information processing module is used for acquiring corresponding student identity information in the block chain network according to the acquired dynamic password;
and the information processing module is used for decrypting the student identity information through a private key matched with the dynamic password so as to acquire the student identity information matched with the user identification.
An embodiment of the present invention further provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the preorder student identity information processing method based on the block chain network when the executable instructions stored in the memory are operated.
The embodiment of the invention also provides a computer-readable storage medium, which stores executable instructions and is characterized in that the executable instructions are executed by a processor to realize the preorder student identity information processing method based on the block chain network.
The embodiment of the invention has the following beneficial effects:
by receiving a query request; responding to the query request, and analyzing the query request to obtain a corresponding user identifier; acquiring authority information of student identity information in a target block in a block chain network according to the user identification; verifying the matching of the authority information of the student identity information and the user identification; when the authority information of the student identity information is matched with the user identification, acquiring corresponding student identity information in the block chain network; the acquired corresponding student identity information is pushed to the corresponding client in response to the query instruction, so that the student identity information stored in the block chain network is acquired through the verified client, and meanwhile, the information of students in different stages is completely stored in the block chain network, so that the fairness and the justness of the student identity information are guaranteed, and the information cannot be falsified, therefore, the client acquires the student identity information stored in the block chain network accurately, and meanwhile, the student identity information stored in the block chain network can only be queried by a user matched with the authority information of the student identity information, so that the information safety is effectively improved, and the leakage of the student identity information is avoided.
Drawings
Fig. 1 is a schematic usage environment diagram of a method for processing student identity information in a blockchain network according to an embodiment of the present invention;
fig. 2 is a functional architecture diagram of a blockchain network 200 according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of an alternative method for processing student identity information in a blockchain network according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of an alternative method for processing student identity information in a blockchain network according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of an alternative method for processing student identity information in a blockchain network according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating the content of student identity information in an embodiment of the present invention;
FIG. 8 is a schematic diagram of an environment for using student identity information according to an embodiment of the present invention;
FIG. 9 is a diagram illustrating the uplink storage of student identity information in accordance with an embodiment of the present invention;
FIG. 10 is a diagram illustrating student identity information management authority adjustment according to an embodiment of the present invention;
fig. 11 is a schematic diagram of student identity information query in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
Before further detailed description of the embodiments of the present invention, terms and expressions mentioned in the embodiments of the present invention are explained, and the terms and expressions mentioned in the embodiments of the present invention are applied to the following explanations.
1) Transactions (transactions), equivalent to the computer term "Transaction," include operations that need to be committed to a blockchain network for execution and do not refer solely to transactions in the context of commerce, which embodiments of the present invention follow in view of the convention colloquially used in blockchain technology.
For example, a deployment (deployment) transaction is used to install a specified smart contract to a node in a blockchain network and is ready to be invoked; the Invoke (Invoke) transaction is used to append records of the transaction in the blockchain by invoking the smart contract and to perform operations on the state database of the blockchain, including update operations (including adding, deleting, and modifying key-value pairs in the state database) and query operations (i.e., querying key-value pairs in the state database).
2) A Block chain (Blockchain) is a storage structure for encrypted, chained transactions formed from blocks (blocks).
For example, the header of each block may include hash values of all transactions in the block, and also include hash values of all transactions in the previous block, so as to achieve tamper resistance and forgery resistance of the transactions in the block based on the hash values; newly generated transactions, after being filled into the tiles and passing through the consensus of nodes in the blockchain network, are appended to the end of the blockchain to form a chain growth.
3) A Blockchain Network (Blockchain Network) incorporates new blocks into a set of nodes of a Blockchain in a consensus manner.
4) Ledger (legger) is a general term for blockchains (also called Ledger data) and state databases synchronized with blockchains.
Wherein, the blockchain records the transaction in the form of a file in a file system; the state database records the transactions in the blockchain in the form of different types of Key (Key) Value pairs for supporting fast query of the transactions in the blockchain.
5) Intelligent Contracts (Smart Contracts), also known as chain codes (chaincodes) or application codes, are programs deployed in nodes of a blockchain network, and the nodes execute the intelligent Contracts called in received transactions to perform operations of updating or querying key-value data of the account database.
6) Consensus (Consensus), a process in a blockchain network, is used to agree on transactions in a block among a plurality of nodes involved, the agreed block is to be appended to the end of the blockchain, and the mechanisms for achieving Consensus include Proof of workload (PoW, Proof of Work), Proof of rights and interests (PoS, Proof of equity (DPoS), Proof of granted of shares (DPoS), Proof of Elapsed Time (PoET, Proof of Elapsed Time), and so on.
7) The student identity information is used for representing the student identity information of the target users in different learning stages, and the student identity information of each target user comprises the school achievement, the prize winning record, the daily performance record, the interest and hobby information, the professional skill information, the personality psychological information, the participated public welfare activity information and the interpersonal relationship information of the target user in the current stage.
Referring to fig. 1, fig. 1 is a schematic diagram of a usage environment of a method for processing student identity information in a blockchain network according to an embodiment of the present invention, including a blockchain network 200 (exemplarily shown to include a node 210-1 to a node 210-3), a blockchain network management platform 300, a current institution node system 400 (exemplarily shown to belong to a terminal 600-1 of the current institution node system 400 and a graphical interface 610-1 thereof), and a regulatory institution node system 500 (exemplarily shown to belong to a terminal 600-2 of the regulatory institution node system 500 and a graphical interface 610-2 thereof), which are described below.
The type of the blockchain network 200 is flexible and various, and may be any one of a public chain, a private chain, or a federation chain, for example. Taking a public link as an example, electronic devices such as user terminals and servers of any service entity can access the blockchain network 200 without authorization; taking a federation chain as an example, an electronic device (e.g., a terminal/server) under the jurisdiction of a service entity after obtaining authorization may access the blockchain network 200, and at this time, become a special type of node in the blockchain network 200, i.e., a client node.
Note that the client node may provide only functionality that supports the initiation of transactions by the business entity (e.g., for uplink storage of data or for querying of data on the chain), and may be implemented by default or selectively (e.g., depending on the specific business requirements of the business entity) for the functionality of the conventional (native) node 210 of the blockchain network 200, such as the ranking functionality, consensus services, ledger functionality, etc., described below. Therefore, the data and the service processing logic of the service subject can be migrated into the block chain network 200 to the maximum extent, and the credibility and traceability of the data and service processing process are realized through the block chain network 200.
The blockchain network 200 receives transactions submitted by client nodes (e.g., terminal 600-1 shown in fig. 1 as belonging to the current organization node system 400 and terminal 600-2 shown in fig. 1 as belonging to the supervisory organization node system 500) from different business entities (e.g., the current organization node system 400 and the supervisory organization node system 500 shown in fig. 1), performs the transactions to update or query the ledger, and displays various intermediate or final results of performing the transactions at user interfaces of the terminals (e.g., graphical interface 610-1 of terminal 600-1, graphical interface 610-2 of terminal 600-2). It is to be understood that, in the above, the blockchain network 200 receiving the transaction and executing the transaction specifically refers to the native node 210 in the blockchain network 200, and of course, when the client node of the service subject has the function (e.g., the consensus function, the ledger function) of the native node 210 in the blockchain network 200, the corresponding client node may also be included.
An exemplary application of the blockchain network is described below by taking an example that a plurality of service entities (different organization node systems) access the blockchain network to realize management of logistics data.
Referring to fig. 1, after obtaining authorization of the blockchain network management platform 300, a plurality of business entities involved in a logistics link, such as a current agency node system 400 and a supervision agency node system 500, a terminal 600-1 of the current agency node system 400 and a terminal 600-2 of the supervision agency node system 500 may access the blockchain network 200.
The service person of the current institution node system 400 logs in the current institution node system 400 in the graphic interface 610-1 of the terminal 600-1, inputs student identity information generated by the user in the current institution learning process, or a query request of a target user to be queried, wherein the query request is sent to the blockchain network management platform 300, the blockchain network management platform 300 generates a transaction corresponding to the update operation/query operation according to the received query request, the smart contract that needs to be invoked to implement the update/query operation, and the parameters passed to the smart contract are specified in the transaction, which also carries a digital signature signed by the current authority node system 400 (e.g., obtained by encrypting a digest of the transaction using a private key in a digital certificate of the current authority node system 400), and broadcasts the transaction to the blockchain network 200.
When a transaction is received in the node 210 in the block chain network 200, the digital signature carried by the transaction is verified, after the digital signature is successfully verified, whether the current organization node system 400 has the transaction right is determined according to the identity of the current organization node system 400 carried in the transaction, and the transaction fails due to verification judgment of any one of the digital signature and the right verification. After successful verification, node 210 signs its own digital signature (e.g., by encrypting the digest of the transaction using the private key of node 210-1) and continues to broadcast in blockchain network 200.
After the node 210 with the sorting function in the blockchain network 200 receives the transaction successfully verified, the transaction is filled into a new block and broadcasted to the node providing the consensus service in the blockchain network 200.
The node 210 providing the consensus service in the blockchain network 200 performs the consensus process on the new block to reach an agreement, the node 210 providing the ledger function appends the new block to the tail of the blockchain, and performs the transaction in the new block: for the transaction of submitting and updating the student identity information, updating the key value pair corresponding to the student identity information in the account book database; and for the transaction of inquiring and updating the student identity information, inquiring the key value pair corresponding to the student identity information from the account book database, and returning an inquiry result.
Similarly, a service person on the side of the supervision authority node system 500 may log in the supervision authority node system 500 in the graphical interface 610-2 of the terminal 600-2 (where the supervision authority node system may be configured with the highest authority to view the student identity information uploaded by different institutions), input a student identity information query request, where the query request is sent to the blockchain network management platform 300, generate a transaction corresponding to the update operation/query operation by the blockchain network management platform 300 according to the received query request, specify an intelligent contract to be invoked for implementing the update operation/query operation in the transaction, and parameters passed to the intelligent contract, and the transaction also carries a digital signature signed by the current authority node system 400 (for example, obtained by encrypting a digest of the transaction using a private key in a digital certificate of the current authority node system 400), and broadcasts the transaction to the blockchain network 200. Further, it can be understood that the type of data that nodes (business entities) of different organizations can query/update in the blockchain network 200 can be realized by restricting the authority of transactions that the business entities can initiate, for example, when the current organization node system 400 has the authority to initiate transactions for querying target student identity information, a business person of the current organization node system 400 can input a target student identity information query request in the graphical interface 610-1 of the terminal 600-1, and generate a transaction for querying the target student identity information by the blockchain network management platform 300 to be broadcast to the blockchain network 200 to obtain corresponding target student identity information from the blockchain network 200; when the supervisor node system 500 has the right to initiate a transaction for inquiring student identity information, a service person on the side of the supervisor node system 500 may input a student identity information inquiry request in the graphical interface 610-2 of the terminal 600-2, and generate a transaction broadcast for inquiring student identity information by the blockchain network management platform 300 to the blockchain network 200, so as to obtain corresponding student identity information from the blockchain network 200.
An exemplary functional architecture of a block chain network provided in an embodiment of the present invention is described below, referring to fig. 2, fig. 2 is a functional architecture schematic diagram of a block chain network 200 provided in an embodiment of the present invention, which includes an application layer 201, a consensus layer 202, a network layer 203, a data layer 204, and a resource layer 205, which are described below respectively.
The resource layer 205 encapsulates computing, storage, and communication resources that implement each node 210 in the blockchain network 200, such as computing, storage, and communication resources in computers, servers/clusters, and clouds, abstracts and provides a uniform interface to the data layer 204 to shield the underlying hardware implementing the resource layer 205 from differences.
The computing resources include various forms of processors such as a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), and a Field-Programmable Gate Array (FPGA).
The storage resources include various types of storage media such as various volatile memories and nonvolatile memories. The nonvolatile Memory may be a Read Only Memory (ROM) or a Programmable Read-Only Memory (PROM). Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory.
The communication resources include various links for communication between nodes 210 of the blockchain network, between the blockchain network 200 and the traffic master.
The data layer 204 encapsulates various data structures that implement the ledger, including blockchains implemented in files in a file system, state databases of the key-value type, and presence certificates (e.g., hash trees of transactions in blocks).
The network layer 203 encapsulates the functions of a Point-to-Point (P2P) network protocol, a data propagation mechanism and a data verification mechanism, an access authentication mechanism and service agent identity management.
Wherein the P2P network protocol implements communication between nodes 210 in the blockchain network 200, the data propagation mechanism ensures propagation of transactions in the blockchain network 200, and the data verification mechanism implements reliability of data transmission between nodes 210 based on cryptography methods (e.g., digital certificates, digital signatures, public/private key pairs); the access authentication mechanism is used for authenticating the identity of the service subject added into the block chain network 200 according to an actual service scene, and endowing the service subject with the authority of accessing the block chain network 200 when the authentication is passed; the business entity identity management is used to store the identity of the business entity that is allowed to access blockchain network 200, as well as the permissions (e.g., the types of transactions that can be initiated).
The consensus layer 202 encapsulates the functions of the mechanism for the nodes 210 in the blockchain network 200 to agree on a block (i.e., a consensus mechanism), transaction management, and ledger management.
The consensus mechanism comprises consensus algorithms such as POS, POW and DPOS, and the pluggable consensus algorithm is supported.
The transaction management is configured to verify a digital signature carried in the transaction received by the node 210, verify identity information of the service entity, and determine whether the node has an authority to perform the transaction (read related information from the identity management of the service entity) according to the identity information; for the service agents authorized to access the blockchain network 200, the service agents all have digital certificates issued by the certificate authority, and the service agents sign the submitted transactions by using private keys in the digital certificates of the service agents, so that the legal identities of the service agents are declared.
Account book management: for maintaining block chains and ledger databases. For the block with the consensus, adding the block to the tail of the block chain; and executing the transaction in the block which obtains the consensus, updating the key-value pairs in the state database when the transaction comprises an updating operation, inquiring the key-value pairs in the account book database when the transaction comprises an inquiring operation, and returning an inquiring result to the business body. The method supports query operations of multiple dimensions of the account book database, and comprises the following steps: querying the chunk based on the chunk sequence number (e.g., hash value of the transaction); inquiring the block according to the block hash value; inquiring a block according to the transaction serial number; inquiring the transaction according to the transaction serial number; inquiring account data of a business main body according to an account (serial number) of the business main body; and inquiring the block chain in the channel according to the channel name.
The application layer 201 encapsulates various services that the blockchain network can implement, including tracing, crediting, and verifying transactions.
An exemplary structure of a node of the blockchain network implementing an embodiment of the present invention is described below, and it is understood that the hardware structure of any type of node in the blockchain network 200 may be implemented according to the hardware structure described below.
The following describes in detail a structure of the electronic device according to an embodiment of the present invention, where the method for processing student identity information in a blockchain network provided by the present invention can be implemented by various types of electronic devices, such as a dedicated terminal with an information processing function, or an electronic device with an information processing function, for example, the electronic device running the blockchain network management platform 300 in fig. 1. Fig. 3 is a schematic diagram of a composition structure of an electronic device according to an embodiment of the present invention, and it is understood that fig. 3 only shows an exemplary structure of the electronic device, and not a whole structure, and a part of the structure or the whole structure shown in fig. 3 may be implemented as needed.
The electronic equipment provided by the embodiment of the invention comprises: at least one processor 301, memory 302, a user interface 303, and at least one network interface 304. The various components in the electronic device are coupled together by a bus system 305. It will be appreciated that the bus system 305 is used to enable communications among the components connected. The bus system 305 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 305 in fig. 3.
The user interface 303 may include, among other things, a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, or a touch screen.
It will be appreciated that the memory 302 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The memory 302 in the embodiment of the present invention can store data to support the operation of the corresponding terminal. Examples of such data include: any computer program for operation on a corresponding terminal, such as an operating system and application programs. The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program may include various application programs.
In some embodiments, the information processing apparatus provided in the embodiments of the present invention may be implemented by a combination of hardware and software, and by way of example, the information processing apparatus provided in the embodiments of the present invention may be a processor in the form of a hardware decoding processor, which is programmed to execute the information processing method provided in the embodiments of the present invention. For example, a processor in the form of a hardware decode processor may employ one or more Application Specific integrated circuits (asics), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field-Programmable Gate arrays (FPGAs), or other electronic components.
As an example of the information processing apparatus provided by the embodiment of the present invention implemented by combining software and hardware, the information processing apparatus provided by the embodiment of the present invention may be directly embodied as a combination of software modules executed by the processor 301, the software modules may be located in a storage medium located in the memory 302, and the processor 301 reads executable instructions included in the software modules in the memory 302, and completes the information processing method provided by the embodiment of the present invention in combination with necessary hardware (for example, including the processor 301 and other components connected to the bus 305).
By way of example, the Processor 301 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor or the like.
As an example of the information processing apparatus provided by the embodiment of the present invention implemented by hardware, the apparatus provided by the embodiment of the present invention may be implemented by directly using the processor 301 in the form of a hardware decoding processor, for example, by being executed by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components, to implement the information processing method provided by the embodiment of the present invention.
The memory 302 in embodiments of the present invention is used to store various types of data to support the operation of the electronic device. Examples of such data include: any executable instructions for operating on the electronic device, such as executable instructions, may be included in the executable instructions, and the program that implements the slave information processing method of the embodiments of the present invention may be included in the executable instructions.
In other embodiments, the student identity information processing apparatus in the blockchain network provided by the embodiment of the present invention may be implemented in software, and fig. 3 illustrates a student identity information processing apparatus 3030 in the blockchain network stored in the memory 302, which may be software in the form of programs and plug-ins, and includes a series of modules, as an example of the programs stored in the memory 302, which may include the student identity information processing apparatus 3030 in the blockchain network, where the information processing apparatus 3030 includes the following software modules:
the information transmission module 3031 is configured to acquire student identity information of a target user, where the student identity information is used to represent student identity information of the target user in different learning stages;
an information processing module 3032, configured to verify student identity information of the target user, and determine authority information of the verified student identity information;
the information processing module 3032 is configured to obtain a public key of a target node matched with the authority information of the student identity information;
the information processing module 3032 is configured to encrypt the student identity information of the target user through the public key of the target node to obtain encrypted student identity information;
a storage module 3033, configured to generate a target block based on the user identifier corresponding to the student identity information, the data permission information, and the encrypted student identity information, and add the target block to the block chain network.
Referring to fig. 4, fig. 4 is an optional flowchart of the method for processing student identity information in a blockchain network according to the embodiment of the present invention, and it can be understood that the steps shown in fig. 4 may be executed by various electronic devices operating a student identity information processing apparatus, for example, a dedicated terminal, a server, or a server cluster with a student identity information processing function. The following is a description of the steps shown in fig. 4.
Step 401: the student identity information processing device acquires student identity information of a target user;
wherein the student identity information can be used to characterize the identity information of the target user at different learning stages (or in different institutions).
Step 402: and verifying the student identity information of the target user, and determining the authority information of the verified student identity information.
In some embodiments of the present invention, verifying the student identity information of the target user, and determining the authority information corresponding to the verified student identity information may be implemented in the following manner:
and verifying the student identity information of the target user, and when the student identity information of the target user is matched with the original record of the target user, determining the management authority nodes corresponding to the verified student identity information as the current institution node and the supervision institution node. The current institution node has the authority to check and modify the student identity information of the target user (before data is not linked up), and after the corresponding authority is configured to the supervision institution node, the supervision institution node can check the student identity information stored in the blockchain network and timely acquire the adjustment and/or increase of the user information. When the student identity information is used for representing the student identity information of the target user in different learning stages, and the target user has a wide range of types and a large number of student identity information in the learning process of the current institution, the matching of the authority information of the corresponding node and the original record of the target user can be ensured when the student identity information of the target user is matched with the original record of the target user, and the accuracy of the student identity information stored in the block chain network can be ensured.
In some embodiments of the present invention, verifying the student identity information of the target user, and determining the authority information corresponding to the verified student identity information may be implemented in the following manner:
when the student identity information of the target user is not matched with the original record of the target user, determining that the management authority node of the verified student identity information is a current mechanism node, and sending prompt information, wherein the prompt information is used for prompting the adjustment of the student identity information of the target user. The current mechanism node has the authority of checking and modifying the student identity information of the target user (before chaining of data), and the student identity information is used for representing the student identity information of the target user in different learning stages, so that the type of the generated student identity information is wide and the quantity of the generated student identity information is large in the learning process of the target user in the current mechanism, and therefore the student identity information of the target user is verified to be matched with the original record of the target user, and the accuracy of the student identity information stored in the block chain network is further ensured.
Step 403: acquiring a public key of a target node matched with the authority information of the student identity information;
step 404: encrypting the student identity information of the target user through the public key of the target node to obtain encrypted student identity information;
step 405: and generating a target block based on the user identification, the data authority information and the encrypted student identity information corresponding to the student identity information, and adding the target block into the block chain network.
Therefore, the cochain storage of the student identity information can ensure the fairness and justice of the student identity information and cannot be falsified due to the fact that the block chain network cannot be modified.
In some embodiments of the invention, the method further comprises: receiving data synchronization requests of other mechanism nodes in the block chain network; verifying the authority of the other organization nodes in response to the data synchronization request; and when the authority of the other mechanism nodes passes the verification, controlling the current mechanism node and the other mechanism nodes to carry out data synchronization. Because other mechanism nodes in the blockchain network cannot acquire the student identity information uploaded by the current mechanism node, when the other mechanism nodes in the blockchain network expect to acquire the corresponding student identity information, corresponding data synchronization requests need to be sent out; taking the user's learning as an example, when the user learns from the current organization to any other organization, the blockchain network management platform may verify the authority of the other organization node according to the received data synchronization request; when the authority of the other mechanism nodes passes the verification, the current mechanism node and the other mechanism nodes are controlled to perform data synchronization (for example, data synchronization can be performed in a mode that the other mechanism nodes and the current mechanism node agree with each other), so that the integrity of the transmission of the student identity information between the different mechanism nodes is ensured.
In some embodiments of the present invention, when the management authority of other mechanism nodes in the blockchain network needs to be adjusted, with reference to the student identity information processing method in the blockchain network shown in fig. 4, continuing with fig. 5, fig. 5 is an optional flowchart of the student identity information processing method in the blockchain network provided in the embodiment of the present invention, where the processing procedure includes the following steps:
step 406: the student identity information processing device receives management authority adjustment requests of other organization nodes in the block chain network;
step 407: responding to the management authority adjustment request, and verifying the authority of the other organization nodes;
step 408: judging whether the authority of other organization nodes passes the verification, if so, executing a step 409, otherwise, executing a step 410;
step 409: and when the authority of the other organization nodes passes the verification, adjusting the management authority of the other organization nodes.
Therefore, new blocks are added in the block chain network through the other mechanism nodes to update the student identity information of the target user.
Step 410: and maintaining the management authority of the current organization node.
Taking the user's learning as an example, when the user learns from the current organization to any other organization, the blockchain network management platform may verify the authority of the other organization node in response to the received management authority adjustment request; when the authority of the other organization node passes the verification (namely the user's ascending education organization is correct), the management authority of the other organization node is adjusted, and the other organization node which obtains the management authority can continuously add and/or adjust the student identity information stored in the blockchain network. On the contrary, when the authority of the other organization node is not verified (namely, the user's ascending organization goes wrong), the user data is continuously managed by the current organization node.
Referring to fig. 6, fig. 6 is an optional flowchart of the information processing method for student identity information in a blockchain network provided by the embodiment of the present invention, and it can be understood that the steps shown in fig. 6 may be executed by various electronic devices operating an information processing apparatus, for example, a dedicated terminal, a server or a server cluster with a function of processing student identity information. The following is a description of the steps shown in fig. 6.
Step 601: the student identity information processing device receives the query request and analyzes the query request to obtain a corresponding user identifier;
the query request received by the student identity information processing device in the block chain network may be from other institution nodes or a third-party application program, and the query request carries a user identifier corresponding to the student identity information to be acquired.
Step 602: and acquiring the authority information of the student identity information in the target block in the block chain network according to the user identification.
In some embodiments of the present invention, according to the user identifier, obtaining authority information of student identity information in a target block in the block chain network may be implemented in the following manner:
acquiring query condition information in the query request, wherein the query condition information comprises a target index value of at least one target dimension; inquiring an information index table in the block chain network according to the target index value of the at least one target dimension to obtain a user identifier corresponding to the student identity information, wherein the information index table comprises the user identifier of stored information and index values in different dimensions; and determining the authority information of the student identity information in the target block according to the user identification corresponding to the student identity information. The student identity information stored in the blockchain network by the current mechanism node can be called and inquired by other corresponding mechanism nodes, so that the user identification corresponding to the student identity information is obtained by inquiring the information index table in the blockchain network, the authority information of the student identity information in the target block is determined according to the user identification corresponding to the student identity information, the defect that the actual owner of the student identity information in the traditional centralized storage and the operators of various internet applications are not equal in the control capacity of the student identity information can be overcome, and the problem that the operators of the internet applications can sell the student identity information and even the student identity information to obtain benefits and threaten the security of users is avoided.
Step 603: verifying the authority information of the student identity information and the user identification;
step 604: and when the authority information of the student identity information is matched with the user identification, acquiring corresponding student identity information in the block chain network.
In some embodiments of the present invention, when the authority information of the student identity information matches the user identifier, acquiring corresponding student identity information in the blockchain network may be implemented by:
acquiring a private key of a target node matched with the authority information of the student identity information; and decrypting the corresponding student identity information acquired from the block chain network by the private key of the target node to obtain the corresponding student identity information. The identity information of the students stored in the blockchain network is encrypted information, so that the corresponding identity information of the students obtained from the blockchain network is decrypted by the private key of the target node, and the corresponding identity information of the students can be obtained, so that a user of the identity information of the students can use the corresponding identity information of the students in a plaintext data mode.
In some embodiments of the invention, the method further comprises:
when the authority information of the student identity information is not matched with the user identification, requesting a corresponding dynamic password from a user corresponding to the user identification; acquiring corresponding student identity information in the block chain network according to the acquired dynamic password; and decrypting the student identity information through a private key matched with the dynamic password to acquire the student identity information matched with the user identification. When the authority information of the student identity information is not matched with the user identification, a third-party application or other mechanism nodes can request a corresponding dynamic password from a corresponding user to obtain the use authorization of the user, and acquire the corresponding student identity information in the blockchain network; and decrypting the student identity information through a private key matched with the dynamic password to obtain the student identity information in a plaintext state matched with the user identification for a third party application or other mechanism nodes to look up corresponding student identity information.
Further, in some embodiments of the present invention, the method for processing student identity information based on a blockchain network further includes: and responding to the query instruction, and pushing the acquired corresponding student identity information to the corresponding client.
Taking student identity information representing student identity information of a target user in different learning stages as an example (wherein, in subsequent embodiments, the student identity information may be student identity information generated in different institutions of the same user), a method for processing the student identity information in the blockchain network provided by the present invention is described, wherein, referring to fig. 7, fig. 7 is a content schematic diagram of the student identity information in the embodiment of the present invention; the student identity information is used for representing the student identity information of the target users in different learning stages, and the student identity information of each target user comprises 1) school achievement, 2) prize obtaining record, 3) daily performance record, 4) interest and hobby information, 5) professional skill information, 6) personality psychological information, 7) participated public welfare activity information and 8) interpersonal relationship information of the target user in the current stage. Due to the centralized storage mode of the student file information in the traditional technology, the current student file information generally only contains key information such as the learning score of students, and students cannot be comprehensively and effectively evaluated. The invention stores the identity information of the students by adopting a block chain network mode, can realize the enrichment and diversification of the elements of the identity information of the students, and comprises the step of recording the ordinary performance of the students and the intravenous drip in life on the block chain, so that the file information of the students does not only contain key information of learning scores and the like, but also forms the personal identity information of the students, which is the same as an identity card, but contains more abundant and diversified information, and can become an important certificate for the future promotion or work finding.
Referring to fig. 8, fig. 8 is a schematic view of a usage environment of student identity information in an embodiment of the present invention, where a student identity information platform based on a blockchain is capable of processing uplink storage and query modification operations of student identity information, the blockchain network stores the student identity information, each of education institutions a to D is an independent institution node, and a user (student) can learn in different education institutions to generate different student identity information. The social institution H and the government institution G can both be used as a regulatory body to authenticate the student identity information stored in the blockchain network.
Introducing a process of chaining storage of student identity information in the present invention, referring to fig. 9, where fig. 9 is a schematic view of chaining storage of student identity information in an embodiment of the present invention, where a block chain network includes a student identity information management platform based on the block chain network, a client of an education institution a and a corresponding accounting consensus node a, a client of an education institution B and a corresponding accounting consensus node B, and a client of a supervision institution G and a corresponding observation node G, where the client of the education institution a currently has an operation right to adjust and update student identity information, and the method specifically includes the following steps:
step 901: the client of the education institution a submits or modifies the student identity information to the student identity information management platform.
Step 902: and the student identity information management platform responds to the request, and modifies or submits the student information corresponding to the application modification accounting consensus node A.
Step 903: the student identity information management platform sends an authentication notification to the client of the education institution B and receives an agreement notification sent by the client of the education institution B.
Step 904: and the student identity information management platform informs the accounting consensus node B and the accounting consensus node A to perform consensus synchronization according to the received agreement.
Therefore, the agreement between the accounting consensus node B and the accounting consensus node A can be realized.
Step 905: the student identity information management platform sends an authentication notice to the client of the supervision organization G and receives an agreement notice sent by the client of the supervision organization G.
Step 906: and the student identity information management platform informs the observation node G and the accounting consensus node B of performing consensus synchronization according to the received agreement.
Therefore, the agreement between the accounting consensus node B and the accounting consensus node A can be realized.
Through the steps, the identity information of the students is linked, the rapid and efficient sharing of data can be realized, and the latest identity information of the students can be acquired in real time after authorization as long as the students participate in the organization on the chain. When the student does not need to be relied on to promote, the point-to-point student archive information transmission can be greatly promoted in real time. In order to ensure the authenticity of the student identity information, the uplink of the student identity information needs to be carried out after the student identity information is identified by multiple organizations including schools, students themselves, related organizations and the like, so that the safety of fairness and impartiality of the student identity information and non-tampering of the student identity information is realized.
Referring to fig. 10, fig. 10 is a schematic diagram illustrating the adjustment of student identity information management permissions in an embodiment of the present invention, where a blockchain network includes a student identity information management platform based on a blockchain network, a client of an education institution a and a corresponding bookkeeping consensus node a, a client of an education institution B and a corresponding bookkeeping consensus node B, and a client of a supervision institution G and a corresponding observation node G, where the client of the education institution a currently has an operation permission to adjust and update student identity information, and the method specifically includes the following steps:
step 1001: the student identity information management platform acquires the information of the target user (student) for promoting students.
Step 1002: the student identity information management platform sends an audit request to the client of the education institution A and receives an authority transfer request sent by the client of the education institution A.
Step 1003: the student identity information management platform receives a joining request sent by a client of an education institution B.
Step 1004: the student identity information management platform sends a verification request to a client of the supervision structure G so as to enable a supervision mechanism to determine whether an education mechanism B serving as an upgradingmechanism can acquire corresponding operation permission for adjusting and updating the student identity information.
Step 1005: and the student identity information management platform acquires an audit result sent by the client of the supervision structure G.
Step 1006: and when the auditing result sent by the client of the supervision structure G is the permission transfer, the student identity information management platform informs the bookkeeping consensus node B and the bookkeeping consensus node A of carrying out data synchronization, and meanwhile, the education institution B acquires the student identity information to adjust and update the operation permission.
Therefore, when students go up to school, the new student-raising mechanism obtains the operation authority for adjusting and updating the identity information of the students.
Next, a process of querying the student identity information in the present invention is described, referring to fig. 11, where fig. 11 is a schematic diagram illustrating a process of querying the student identity information in the embodiment of the present invention; the block chain network comprises a student identity information management platform based on the block chain network, a client of an education institution A and a corresponding bookkeeping consensus node A, a client of an education institution B and a corresponding bookkeeping consensus node B, a client of a supervision institution G and a corresponding observation node G, a company client and a third party institution client, wherein the client of the education institution A currently has an operation authority for adjusting and updating student identity information, and the method specifically comprises the following steps:
step 1101: the company client sends an authorization request to a terminal held by the student;
step 1102: the third-party institution client sends an authorization request to a terminal held by the student;
step 1103: a terminal held by a student acquires a dynamic password from a student identity information management platform;
step 1104: the terminal held by the student authorizes a corresponding dynamic password to the company client;
step 1105: the terminal held by the student authorizes a corresponding dynamic password to the client of the third-party institution;
step 1106: the company client inquires corresponding student information according to the corresponding dynamic password;
step 1107: and the client of the third-party institution inquires corresponding student information according to the corresponding dynamic password.
So far, for the management of the identity information of the students, except for the organization participating in the consensus, the students can realize the autonomous authorized access through an encryption technology and a dynamic password. In the current student identity information management system, a general student can only provide corresponding certification materials by downloading, printing and other modes, and a material auditor needs to further audit to finally confirm. And the student identity information management scheme based on the block chain encrypts and links up the identity information of the student, so that the privacy of the student is protected on the premise of ensuring the authenticity and effectiveness of the identity information of the student, and only an authorized third party can access and acquire the identity information. Due to the chain guarantee of the authenticity of the identity information of the students, the acquisition mechanism can quickly verify and verify the identity information of the students. When the third-party structure is authorized, the student needs to acquire a dynamic password, then the third-party mechanism acquires the decrypted student identity information from the chain according to the dynamic password, and the student can authorize the designated data information to be accessed by the third-party mechanism.
Embodiments of the present invention provide a storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform a method provided by embodiments of the present invention, for example, the method as illustrated in fig. 4.
In some embodiments, the storage medium may be FRAM, ROM, PROM, EPROM, EEP ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, may be stored in a portion of a file that holds other programs or data, e.g., in one or more scripts in a HyperText markup Language (H TML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
The invention has the following beneficial technical effects:
verifying the student identity information of a target user by acquiring the student identity information of the target user, and determining the authority information of the verified student identity information; acquiring a public key of a target node matched with the authority information of the student identity information; encrypting the student identity information of the target user through the public key of the target node to obtain encrypted student identity information; based on the user identification, the data authority information and the encrypted student identity information corresponding to the student identity information, a target block is generated and added into the block chain network, so that the information of students in different stages is completely stored in the block chain network, the fairness and the justness of the student identity information are guaranteed, the students can not be falsified, meanwhile, the student identity information stored in the block chain network can only be inquired by a user matched with the authority information of the student identity information, the information safety is effectively improved, and the leakage of the student identity information is avoided.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (15)

1. A student identity information processing method based on a block chain network is characterized by comprising the following steps:
receiving a query request;
responding to the query request, and analyzing the query request to obtain a corresponding user identifier;
acquiring authority information of student identity information in a target block in a block chain network according to the user identification;
verifying the matching of the authority information of the student identity information and the user identification;
when the authority information of the student identity information is matched with the user identification, acquiring corresponding student identity information in the block chain network;
and responding to the query instruction, and pushing the acquired corresponding student identity information to a corresponding client so as to realize that the client acquires the student identity information stored in the block chain network.
2. The method of claim 1, further comprising:
acquiring student identity information matched with a target user;
verifying the student identity information of the target user, and determining authority information corresponding to the verified student identity information;
acquiring a public key of a target node matched with the authority information of the student identity information;
encrypting the student identity information of the target user through the public key of the target node to obtain encrypted student identity information;
and generating a target block based on the user identification, the data authority information and the encrypted student identity information corresponding to the student identity information, and adding the target block into the block chain network.
3. The method according to claim 2, wherein the verifying the student identity information of the target user and determining the authority information corresponding to the verified student identity information comprises:
verifying the student identity information of the target user, and when the student identity information of the target user is matched with the original record of the target user, determining management authority nodes corresponding to the verified student identity information as a current institution node and a supervision institution node; alternatively, the first and second electrodes may be,
when the student identity information of the target user is not matched with the original record of the target user, determining that the management authority node of the verified student identity information is a current mechanism node, and sending prompt information, wherein the prompt information is used for prompting the adjustment of the student identity information of the target user.
4. The method of claim 2, further comprising:
receiving data synchronization requests of other mechanism nodes in the block chain network;
verifying the authority of the other organization nodes in response to the data synchronization request;
and when the authority of the other mechanism nodes passes the verification, controlling the current mechanism node and the other mechanism nodes to carry out data synchronization.
5. The method of claim 2, further comprising:
receiving management authority adjustment requests of other mechanism nodes in the block chain network;
responding to the management authority adjustment request, and verifying the authority of the other organization nodes;
and when the authority of the other mechanism nodes passes the verification, adjusting the management authority of the other mechanism nodes so as to realize that a new block is added in the block chain network through the other mechanism nodes to update the student identity information of the target user.
6. The method according to claim 1, wherein the obtaining the authority information of the student identity information in the target block in the blockchain network according to the user identifier comprises:
acquiring query condition information in the query request, wherein the query condition information comprises a target index value of at least one target dimension;
inquiring an information index table in the block chain network according to the target index value of the at least one target dimension to obtain a user identifier corresponding to the student identity information, wherein the information index table comprises the user identifier of stored information and index values in different dimensions;
and determining the authority information of the student identity information in the target block according to the user identification corresponding to the student identity information.
7. The method according to claim 1, wherein when the authority information of the student identity information matches the user identifier, acquiring corresponding student identity information in the blockchain network comprises:
acquiring a private key of a target node matched with the authority information of the student identity information;
and decrypting the corresponding student identity information acquired from the block chain network by the private key of the target node to obtain the corresponding student identity information.
8. The method of claim 1, further comprising:
when the authority information of the student identity information is not matched with the user identification, requesting a corresponding dynamic password from a user corresponding to the user identification;
acquiring corresponding student identity information in the block chain network according to the acquired dynamic password;
and decrypting the student identity information through a private key matched with the dynamic password to acquire the student identity information matched with the user identification.
9. A device for processing student identity information based on a blockchain network, the device comprising:
the information transmission module is used for receiving the query request;
the information transmission module is used for responding to the query request and analyzing the query request to obtain a corresponding user identifier;
the information processing module is used for acquiring authority information of the student identity information in a target block in the block chain network according to the user identification;
the information processing module is used for verifying the matching between the authority information of the student identity information and the user identification;
the information processing module is used for acquiring corresponding student identity information in the block chain network when the authority information of the student identity information is matched with the user identification;
and the information transmission module is used for responding to the query instruction and pushing the acquired corresponding student identity information to the corresponding client so as to realize that the client acquires the student identity information stored in the block chain network.
10. The apparatus of claim 9,
the information transmission module is used for transmitting the identity information of the students matched with the target user;
the information processing module is used for verifying the student identity information of the target user and determining authority information corresponding to the verified student identity information;
the information processing module is used for acquiring a public key of a target node matched with the authority information of the student identity information;
the information processing module is used for encrypting the student identity information of the target user through the public key of the target node to obtain encrypted student identity information;
and the storage module is used for generating a target block based on the user identification corresponding to the student identity information, the data authority information and the encrypted student identity information, and adding the target block into the block chain network.
11. The apparatus of claim 10,
the information processing module is used for verifying the student identity information of the target user;
when the student identity information of the target user is matched with the original record of the target user, the information processing module is used for determining that the management authority node of the verified student identity information is a current institution node and a supervision institution node;
the information processing module is used for determining a management authority node of the verified student identity information as a current mechanism node when the student identity information of the target user is not matched with the original record of the target user;
the information transmission module is used for sending prompt information, wherein the prompt information is used for prompting the adjustment of the student identity information of the target user.
12. The apparatus of claim 10,
the information transmission module is used for receiving data synchronization requests of other mechanism nodes in the block chain network;
the information processing module is used for responding to the data synchronization request and verifying the authority of the other organization nodes;
and the information processing module is used for controlling the data synchronization between the current mechanism node and the other mechanism nodes when the authority of the other mechanism nodes passes the verification.
13. The apparatus of claim 10,
the information transmission module is used for receiving management authority adjustment requests of other mechanism nodes in the block chain network;
the information processing module is used for responding to the management authority adjustment request and verifying the authority of the other organization nodes;
and the information processing module is used for adjusting the management authority of other mechanism nodes when the authority of other mechanism nodes passes verification so as to realize that new blocks are added in the block chain network through other mechanism nodes to update the student identity information of the target user.
14. An electronic device, characterized in that the electronic device comprises:
a memory for storing executable instructions;
a processor, configured to execute the executable instructions stored in the memory, and implement the method for processing student identity information based on a blockchain network according to any one of claims 1 to 8.
15. A computer-readable storage medium storing executable instructions, wherein the executable instructions when executed by a processor implement the method for processing student identity information based on a blockchain network according to any one of claims 1 to 8.
CN201911272175.7A 2019-09-02 2019-09-02 Student identity information processing method and device based on block chain network Pending CN110888938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911272175.7A CN110888938A (en) 2019-09-02 2019-09-02 Student identity information processing method and device based on block chain network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910822295.3A CN110532323B (en) 2019-09-02 2019-09-02 Student identity information processing method and device in block chain network, electronic equipment and storage medium
CN201911272175.7A CN110888938A (en) 2019-09-02 2019-09-02 Student identity information processing method and device based on block chain network

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201910822295.3A Division CN110532323B (en) 2019-09-02 2019-09-02 Student identity information processing method and device in block chain network, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110888938A true CN110888938A (en) 2020-03-17

Family

ID=68666090

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201910822295.3A Active CN110532323B (en) 2019-09-02 2019-09-02 Student identity information processing method and device in block chain network, electronic equipment and storage medium
CN201911272175.7A Pending CN110888938A (en) 2019-09-02 2019-09-02 Student identity information processing method and device based on block chain network

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201910822295.3A Active CN110532323B (en) 2019-09-02 2019-09-02 Student identity information processing method and device in block chain network, electronic equipment and storage medium

Country Status (1)

Country Link
CN (2) CN110532323B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111582832A (en) * 2020-05-12 2020-08-25 海南大学 Fair competition examination method and system based on block chain
CN111586011A (en) * 2020-04-29 2020-08-25 中国联合网络通信集团有限公司 Information sharing method and device
CN111767551A (en) * 2020-05-13 2020-10-13 北京信息科技大学 Browsing permission control method and system based on block chain
CN112395358A (en) * 2020-11-19 2021-02-23 京东数科海益信息科技有限公司 Archive management method and device, electronic equipment and storage medium
CN113609531A (en) * 2021-08-11 2021-11-05 中国工商银行股份有限公司 Block chain based information interaction method, device, equipment, medium and product
EP3945696A1 (en) * 2020-07-31 2022-02-02 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain data processing method, apparatus, and device
CN114780985A (en) * 2022-06-21 2022-07-22 湖南惟楚有才教育科技有限公司 Student identity information processing method and system in block chain network
CN115102759A (en) * 2022-06-21 2022-09-23 南京质子链科技有限公司 Interface backtracking system based on block chain
CN116090020A (en) * 2023-04-13 2023-05-09 中国人民解放军海军潜艇学院 Block chain-based information storage method and device, electronic equipment and storage medium

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111161109A (en) * 2019-12-16 2020-05-15 深圳市海云天科技股份有限公司 Student archive storage and extraction method and system based on block chain
CN111709595A (en) * 2019-12-16 2020-09-25 航天信息股份有限公司 Method and system for allocating resources based on block chain technology
CN111159746A (en) * 2019-12-31 2020-05-15 北京嗨学网教育科技股份有限公司 Learning behavior data storage method and device based on block chain technology
CN111222118B (en) * 2020-01-16 2022-09-30 王江盼 Certification information generation and query method based on alliance chain
CN111339568A (en) * 2020-02-26 2020-06-26 北京海益同展信息科技有限公司 Method and apparatus for generating an enrollment result
CN111538788A (en) * 2020-04-27 2020-08-14 中国银行股份有限公司 Block chain-based personal information management method and device
CN111625809B (en) * 2020-05-31 2024-03-26 数字浙江技术运营有限公司 Data authorization method and device, electronic equipment and storage medium
CN111738694A (en) * 2020-06-24 2020-10-02 北京云族佳科技有限公司 Resume management method and device and electronic equipment
CN111881482B (en) * 2020-08-05 2023-03-28 黄灿楠 User identity privacy encryption method based on block chain technology
CN112131591A (en) * 2020-09-29 2020-12-25 深圳壹账通智能科技有限公司 Encryption method, device, equipment and medium for compressing ciphertext of information
CN112540969B (en) * 2020-11-26 2023-07-14 南京纯白矩阵科技有限公司 Data migration method of intelligent contracts among heterogeneous block chains

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107079036A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Registration and authorization method, apparatus and system
CN108563788A (en) * 2018-04-27 2018-09-21 腾讯科技(深圳)有限公司 Data query method, apparatus, server and storage medium based on block chain
US20190068608A1 (en) * 2016-05-12 2019-02-28 Michael J. BOLAND Identity authentication and information exchange system and method
CN109639632A (en) * 2018-11-02 2019-04-16 远光软件股份有限公司 User information management method, electronic equipment and storage medium based on block chain

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10944546B2 (en) * 2017-07-07 2021-03-09 Microsoft Technology Licensing, Llc Blockchain object interface
CN107786547A (en) * 2017-09-30 2018-03-09 厦门快商通信息技术有限公司 A kind of auth method based on block chain, device and computer-readable recording medium
CN109040014A (en) * 2018-06-13 2018-12-18 湖南搜云网络科技股份有限公司 Block chain processing method and processing device, block chain node and storage medium
CN109241756B (en) * 2018-08-20 2020-01-31 深圳市腾讯网络信息技术有限公司 Data processing method, system, server and medium based on block chain
CN109271802A (en) * 2018-09-25 2019-01-25 深圳市元征科技股份有限公司 A kind of user information management method, system, equipment and computer storage medium
CN109948348A (en) * 2018-11-15 2019-06-28 陕西医链区块链集团有限公司 A kind of proof of identification system and its application method based on medical block chain technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190068608A1 (en) * 2016-05-12 2019-02-28 Michael J. BOLAND Identity authentication and information exchange system and method
CN107079036A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Registration and authorization method, apparatus and system
CN108563788A (en) * 2018-04-27 2018-09-21 腾讯科技(深圳)有限公司 Data query method, apparatus, server and storage medium based on block chain
CN109639632A (en) * 2018-11-02 2019-04-16 远光软件股份有限公司 User information management method, electronic equipment and storage medium based on block chain

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586011A (en) * 2020-04-29 2020-08-25 中国联合网络通信集团有限公司 Information sharing method and device
CN111582832A (en) * 2020-05-12 2020-08-25 海南大学 Fair competition examination method and system based on block chain
CN111767551A (en) * 2020-05-13 2020-10-13 北京信息科技大学 Browsing permission control method and system based on block chain
EP3945696A1 (en) * 2020-07-31 2022-02-02 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain data processing method, apparatus, and device
US11349658B2 (en) 2020-07-31 2022-05-31 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain data processing method, apparatus, and device
CN112395358A (en) * 2020-11-19 2021-02-23 京东数科海益信息科技有限公司 Archive management method and device, electronic equipment and storage medium
CN113609531A (en) * 2021-08-11 2021-11-05 中国工商银行股份有限公司 Block chain based information interaction method, device, equipment, medium and product
CN113609531B (en) * 2021-08-11 2024-02-23 中国工商银行股份有限公司 Information interaction method, device, equipment, medium and product based on block chain
CN114780985A (en) * 2022-06-21 2022-07-22 湖南惟楚有才教育科技有限公司 Student identity information processing method and system in block chain network
CN115102759A (en) * 2022-06-21 2022-09-23 南京质子链科技有限公司 Interface backtracking system based on block chain
CN115102759B (en) * 2022-06-21 2023-09-12 南京质子链科技有限公司 Interface backtracking system based on block chain
CN116090020A (en) * 2023-04-13 2023-05-09 中国人民解放军海军潜艇学院 Block chain-based information storage method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110532323A (en) 2019-12-03
CN110532323B (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN110532323B (en) Student identity information processing method and device in block chain network, electronic equipment and storage medium
CN110490305B (en) Machine learning model processing method based on block chain network and node
CN110727712B (en) Data processing method and device based on block chain network, electronic equipment and storage medium
CN110597832A (en) Government affair information processing method and device based on block chain network, electronic equipment and storage medium
CN110505239B (en) Information processing method and device based on block chain network and electronic equipment
CN111047319B (en) Transaction processing method of block chain network and block chain network
Nikitin et al. {CHAINIAC}: Proactive {Software-Update} transparency via collectively signed skipchains and verified builds
US10671308B2 (en) Private and fault-tolerant storage of segmented data
CN110516474A (en) User information processing method, device, electronic equipment and storage medium in block chain network
CN110599069A (en) Application evaluation method and device based on block chain network
CN111095327A (en) System and method for verifying verifiable claims
CN110599095B (en) Block chain network-based hazardous waste treatment method and node of block chain network
CN110769274B (en) Live broadcast information processing method and device based on block chain network, electronic equipment and storage medium
CN111164948A (en) Managing network security vulnerabilities using blockchain networks
CN110569658A (en) User information processing method and device based on block chain network, electronic equipment and storage medium
CN110674128B (en) On-chain governance of blockchain
EP4216077A1 (en) Blockchain network-based method and apparatus for data processing, and computer device
CN110569643A (en) traffic management method and device based on block chain network
CN110556171B (en) Medical data management method and device, node of block chain network and storage medium
CN111291394B (en) False information management method, false information management device and storage medium
CN110598434A (en) House information processing method and device based on block chain network, electronic equipment and storage medium
CN110544042A (en) Book management method and device based on block chain network
CN111798233A (en) Linking of tokens
CN114760071B (en) Zero-knowledge proof based cross-domain digital certificate management method, system and medium
CN112766896A (en) Electronic contract signing system based on Internet

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