[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110110532A - A kind of method and system based on block chain technical notes achievement - Google Patents

A kind of method and system based on block chain technical notes achievement Download PDF

Info

Publication number
CN110110532A
CN110110532A CN201910259872.2A CN201910259872A CN110110532A CN 110110532 A CN110110532 A CN 110110532A CN 201910259872 A CN201910259872 A CN 201910259872A CN 110110532 A CN110110532 A CN 110110532A
Authority
CN
China
Prior art keywords
achievement
block chain
chain network
block
teacher
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
CN201910259872.2A
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.)
Guangzhou Qida Education Technology Co Ltd
Original Assignee
Guangzhou Qida Education Technology 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 Guangzhou Qida Education Technology Co Ltd filed Critical Guangzhou Qida Education Technology Co Ltd
Priority to CN201910259872.2A priority Critical patent/CN110110532A/en
Publication of CN110110532A publication Critical patent/CN110110532A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education
    • G06Q50/205Education administration or guidance

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Educational Administration (AREA)
  • Health & Medical Sciences (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of method and system based on block chain technical notes achievement, wherein this method comprises: the total marks of the examination information that teacher's user terminal inputs teacher is broadcasted in block chain network;Total marks of the examination information is stored in achievement block by block chain network;For block chain network according to the name and student number of the affiliated User of total marks of the examination, the exclusive public key for transferring User encrypts achievement block;Block chain network sends transaction request to User end;User end receives the exclusive private key of student's input, and exclusive private key is sent to block chain network;Block chain network is decrypted achievement block by private key;The total marks of the examination information stored in achievement block is sent to User end by block chain network.By means of the invention it is possible to which making the record of student performance can not be tampered, and enhance the storage security of track record.

Description

A kind of method and system based on block chain technical notes achievement
Technical field
The present invention relates to field of communication technology, in particular to a kind of method based on block chain technical notes achievement and it is System.
Background technique
The total marks of the examination of student are all standard of the measurement student to mastery of knowledge degree all the time, and all in the class Raw achievement all teacher on hand, charting is generally made on computers, or Table Printing is come out, is recorded on paper, But it often occur the problem that the modification of fraction achievement, achievement number are carried out by teacher since center power is excessive in this way According to being easily lost, it cannot achieve the effect that permanent storage data, achievement data storage are dangerous, the above problem causes student's The record of total marks of the examination is easy to be tampered, and stores dangerous.
Summary of the invention
The present invention provides a kind of method and system based on block chain technical notes achievement, can make the record of student performance It can not be tampered, and enhance the storage security of track record.
According to an aspect of the invention, there is provided a kind of method based on block chain technical notes achievement, including it is following Step: the total marks of the examination information that teacher's user terminal inputs teacher is broadcasted in block chain network;Wherein, the total marks of the examination letter Name and student number of the breath comprising total marks of the examination, the affiliated User of the total marks of the examination;The block chain network by it is described examination at Achievement information is stored in achievement block;Name and of the block chain network according to the affiliated User of the total marks of the examination Number, the exclusive public key for transferring User encrypts the achievement block;The block chain network is sent out to User end Send transaction request;The User end receives the exclusive private key of student's input, and the exclusive private key is sent to the area Block chain network;The block chain network is decrypted the achievement block by the exclusive private key;The block chain network The total marks of the examination information stored in the achievement block is sent to the User end.
Preferably, before the total marks of the examination information that teacher's user terminal inputs teacher is broadcasted in block chain network, This method is further comprising the steps of: teacher's user terminal and User end send connection request to block chain network;Wherein, institute State the name and student number of name and work number and student that connection request includes teacher;The block chain network receives the connection Request, and block chain address is distributed to teacher's user terminal and the User end, so that the block chain network and institute State teacher's user terminal and User end successful connection.
Preferably, after the total marks of the examination information that teacher's user terminal inputs teacher is broadcasted in block chain network, And before the total marks of the examination information is stored in achievement block by the block chain network, this method further includes following step Rapid: the block chain network generates the exclusive public affairs of the User according to the name and student number of the affiliated User of total marks of the examination Key and exclusive private key;The exclusive private key of the User is sent to the User end by the block chain network.
Preferably, the User end receives the exclusive private key of student's input, and the exclusive private key is sent to institute After stating block chain network, this method is further comprising the steps of: the User end receives the exclusive number label of student's input Name, and the exclusive digital signature is sent to the block chain network;The block chain network verifying exclusive number label Whether name matches with the exclusive private key;If it is, executing the block chain network by the exclusive private key to described The step of achievement block is decrypted.
Preferably, the total marks of the examination information stored in the achievement block is sent to the student by the block chain network After user terminal, this method is further comprising the steps of: the achievement that the User end receives student's input modifies application, and will The achievement modification application is sent to the block chain network;Wherein, the achievement modification application includes topic and the Shen of erroneous judgement The achievement that please be modify;Achievement modification application is sent to the teacher for propagating above-mentioned student examination achievement by the block chain network User terminal;Teacher's user terminal receives the achievement suggestion for revision of teacher's input, and if being sent to the achievement suggestion for revision Dry evaluation user terminal;Wherein, the achievement suggestion for revision includes modification reason, modification content and modified achievement;It is described Teacher's user terminal receives the agreement suggestion for revision that several described evaluation user terminals are sent, and sends modification instruction to the block Chain network;The block chain network responds the modification and instructs, to the examination of the above-mentioned student stored in the achievement block at Achievement is modified.
According to another aspect of the present invention, a kind of system based on block chain technical notes achievement is additionally provided, including Teacher's user terminal, block chain network, User end:
Wherein, teacher's user terminal includes: achievement radio unit, the total marks of the examination information broadcast for inputting teacher In block chain network;Wherein, the total marks of the examination information includes the name of total marks of the examination, the affiliated User of the total marks of the examination And student number;
Wherein, the block chain network includes: achievement storage unit, for the total marks of the examination information to be stored in achievement In block;Achievement encryption unit transfers User for the name and student number according to the affiliated User of the total marks of the examination Exclusive public key the achievement block is encrypted;Transaction transmission unit, for sending transaction request to User end;
Wherein, the User end includes: private key acquiring unit, for receiving the exclusive private key of student's input, and will The exclusive private key is sent to the block chain network;
The block chain network further include: achievement decryption unit is used for through the exclusive private key to the achievement block It is decrypted;Achievement transmission unit is used for the total marks of the examination information stored in the achievement block to be sent to the student Family end.
Preferably, teacher's user terminal further include: the first transmission unit, in the achievement radio unit by teacher Before the total marks of the examination information of input is broadcasted in block chain network, connection request is sent to block chain network;Wherein, the company Connect the name and work number that request includes teacher;
The User end further include: the second transmission unit, for teacher is inputted in the achievement radio unit Before the broadcast of total marks of the examination information is in block chain network, connection request is sent to block chain network;Wherein, the connection request Name and student number including student;
The block chain network further include: connection unit, the connection request sent for receiving first transmission unit The connection request sent with second transmission unit, and block chain is distributed to teacher's user terminal and the User end Address, so that the block chain network and teacher's user terminal and User end successful connection.
Preferably, the block chain network further include: code key generation unit, in the achievement radio unit by teacher After the total marks of the examination information of input is broadcasted in block chain network, according to the name of the affiliated User of total marks of the examination and Number, generate the exclusive public key and exclusive private key of the User;Private key transmission unit, for by the exclusive private key of the User It is sent to the User end;It executes the achievement storage unit again the total marks of the examination information is stored in achievement block The step of.
Preferably, the User end further include: signature transmission unit is learned for receiving in the private key acquiring unit The exclusive private key of raw input, and after the exclusive private key is sent to the block chain network, receive the exclusive of student's input Digital signature, and the exclusive digital signature is sent to the block chain network;
The block chain network further include: authentication unit, for verify the exclusive digital signature whether with it is described exclusive Private key matches;The achievement decryption unit, be specifically used for when the authentication unit verify the exclusive digital signature with it is described When exclusive private key matches, the achievement block is decrypted by the exclusive private key.
Preferably, the User end further include: the first application transmission unit, being used for will in the achievement transmission unit The total marks of the examination information stored in the achievement block is sent to after the User end, and the achievement for receiving student's input is repaired Change application, and achievement modification application is sent to the block chain network;Wherein, the achievement modification application includes erroneous judgement Topic and application modification achievement;
The block chain network further include: the second application transmission unit, for achievement modification application to be sent to biography Broadcast teacher's user terminal of above-mentioned student examination achievement;
Teacher's user terminal further include: suggestion for revision transmission unit, for receiving the achievement suggestion for revision of teacher's input, And the achievement suggestion for revision is sent to several evaluation user terminals;Wherein, the achievement suggestion for revision include modification reason, Modify content and modified achievement;Instruction sending unit is modified, for receiving the same of several evaluation user terminals transmissions Meaning suggestion for revision, and modification instruction is sent to the block chain network;
The block chain network further include: achievement modifies unit, for responding the modification instruction, to the achievement block The total marks of the examination of the above-mentioned student of middle storage are modified.
Compared with prior art, beneficial effects of the present invention are as follows:
Through the invention, the total marks of the examination of student can be broadcasted in block chain network and are stored in specific by teacher first In achievement block, the exclusive public key that block chain network can transfer the student encrypts achievement block, while can also be to Transaction request is sent in hair tonic, and student can be solved achievement block using the private key of oneself after receiving the transaction request The close achievement for checking oneself.Academics and students have the block chain address of oneself in the present invention, and block chain network can be according to Raw student number and name generates the exclusive public key and exclusive private key of the student, and such teacher broadcasts achievement in block chain network It is just encrypted later with public key, so that teacher can not modify to achievement, enhances decentralization performance, each student's Achievement is all saved in specific block, will not there is a situation where loss of data, and the achievement in block needs student private It can just be checked after key decryption, improve the safety of achievement storage.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In attached drawing:
Fig. 1 is a kind of flow chart of method based on block chain technical notes achievement according to an embodiment of the present invention;
Fig. 2 is a kind of structural block diagram of system based on block chain technical notes achievement according to an embodiment of the present invention;
Fig. 3 is the flow chart of the according to embodiments of the present invention one another method based on block chain technical notes achievement;
Fig. 4 is the flow chart of according to embodiments of the present invention two another method based on block chain technical notes achievement.
Specific embodiment
Below in conjunction with attached drawing of the present invention, technical solution of the present invention is described, but described embodiment is only A part of the embodiment of the present invention, based on the embodiments of the present invention, those of ordinary skill in the art are not making creative labor Every other embodiment obtained under the premise of dynamic, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of method based on block chain technical notes achievement, Fig. 1 is real according to the present invention A kind of flow chart of method based on block chain technical notes achievement of example is applied, as shown in Figure 1, comprising the following steps:
Step S101: the total marks of the examination information that teacher's user terminal inputs teacher is broadcasted in block chain network;Wherein, it examines Try the name and student number that performance information includes total marks of the examination, the affiliated User of the total marks of the examination;
Step S102: total marks of the examination information is stored in achievement block by block chain network;
Step S103: block chain network transfers User according to the name and student number of the affiliated User of total marks of the examination Exclusive public key achievement block is encrypted;
Step S104: block chain network sends transaction request to User end;
Step S105: User end receives the exclusive private key of student's input, and exclusive private key is sent to block link network Network;
Step S106: block chain network is decrypted achievement block by exclusive private key;
Step S107: the total marks of the examination information stored in achievement block is sent to User end by block chain network.
In implementation process, before step S101, teacher's user terminal and User end are sent to block chain network Connection request;Wherein, connection request includes the name and work number and the name and student number of student of teacher;Block chain network receives Connection request, and block chain address is distributed to teacher's user terminal and User end, so that block chain network and teacher's user terminal With the successful connection of User end.
After step slol and before step S102, block chain network is according to the affiliated User of total marks of the examination Name and student number generate the exclusive public key and exclusive private key of the User;Block chain network is by the exclusive private of the User Key is sent to User end.
After step S105, User end receives the exclusive digital signature of student's input, and by exclusive digital signature It is sent to block chain network;Block chain network verifies whether exclusive digital signature matches with exclusive private key;If it is, executing The step of block chain network is decrypted achievement block by exclusive private key.
After step S107, the achievement that User end receives student's input modifies application, and achievement is modified and is applied It is sent to block chain network;Wherein, achievement modification application includes the topic of erroneous judgement and the achievement of application modification;Block chain network will Achievement modification application is sent to the teacher's user terminal for propagating above-mentioned student examination achievement;Teacher's user terminal receive teacher input at Achievement suggestion for revision, and achievement suggestion for revision is sent to several evaluation user terminals;Wherein, achievement suggestion for revision includes that modification is former Cause, modification content and modified achievement;Teacher's user terminal receives the agreement suggestion for revision that several evaluation user terminals are sent, and Modification instruction is sent to block chain network;Block chain network response modification instruction, to the above-mentioned student's stored in achievement block Total marks of the examination are modified.
Through the above steps, after teacher broadcasts the total marks of the examination of student into block chain network, block chain network Specific achievement block can be generated to store the total marks of the examination of student, ensure that student examination achievement data will not in this way It loses, while block chain encrypts achievement block, so that teacher can not go modification total marks of the examination again, enhances data not Can tamper, also improve achievement storage safety.
The embodiment of the invention also provides a kind of systems based on block chain technical notes achievement, are based on for realizing above-mentioned The method of block chain technical notes achievement.
Fig. 2 is a kind of structural block diagram of system based on block chain technical notes achievement according to an embodiment of the present invention, such as Shown in Fig. 2, which includes teacher's user terminal 10, block chain network 20, User end 30:
Wherein, teacher's user terminal 10 includes: achievement radio unit 101, and the total marks of the examination information for inputting teacher is wide It broadcasts in block chain network 20;Wherein, total marks of the examination information includes the name of total marks of the examination, the affiliated User of the total marks of the examination And student number;
Wherein, block chain network 20 includes: achievement storage unit 201, for total marks of the examination information to be stored in achievement area In block;Achievement encryption unit 202 transfers User for the name and student number according to the affiliated User of total marks of the examination Exclusive public key encrypts achievement block;Transaction transmission unit 203, for sending transaction request to User end 30;
Wherein, User end 30 includes: private key acquiring unit 301, for receiving the exclusive private key of student's input, and will Exclusive private key is sent to block chain network 20;
Block chain network 20 further include: achievement decryption unit 204, for being solved by exclusive private key to achievement block It is close;Achievement transmission unit 205, the total marks of the examination information for will store in achievement block are sent to User end 30.
For a kind of system based on block chain technical notes achievement, teacher's user terminal 10 further include: the first transmission unit 102, for before total marks of the examination information that achievement radio unit 101 inputs teacher is broadcasted in block chain network 20, to Block chain network 20 sends connection request;Wherein, connection request includes the name and work number of teacher;
User end 30 further include: the second transmission unit 302, for teacher is inputted in achievement radio unit 101 Before the broadcast of total marks of the examination information is in block chain network 20, connection request is sent to block chain network 20;Wherein, connection request Name and student number including student;
Block chain network 20 further include: connection unit 206, for receiving the connection request of the first transmission unit 102 transmission The connection request sent with the second transmission unit 302, and block chain address is distributed to teacher's user terminal 10 and User end 30, So that block chain network 20 and 30 successful connection of teacher's user terminal 10 and User end.
For a kind of system based on block chain technical notes achievement, block chain network 20 further include: code key generation unit 207, for after total marks of the examination information that achievement radio unit 101 inputs teacher is broadcasted in block chain network 20, root According to the name and student number of the affiliated User of total marks of the examination, the exclusive public key and exclusive private key of the User are generated;Private key hair Unit 208 is sent, for the exclusive private key of the User to be sent to User end 30;Achievement storage unit 201 is executed again Total marks of the examination information is stored in the step in achievement block.
For a kind of system based on block chain technical notes achievement, User end 30 further include: signature transmission unit 303, for receiving the exclusive private key of student's input in private key acquiring unit 301, and exclusive private key is sent to block chain network After 20, the exclusive digital signature of student's input is received, and exclusive digital signature is sent to block chain network 20;
Block chain network 20 further include: authentication unit 209, for verify exclusive digital signature whether with exclusive private key phase Match;Achievement decryption unit 204, specifically for leading to when authentication unit 209 verifies exclusive digital signature and exclusive private key matches Exclusive private key is crossed achievement block is decrypted.
For a kind of system based on block chain technical notes achievement, User end 30 further include: the first application is sent Unit 304, for the total marks of the examination information stored in achievement block to be sent to User end 30 in achievement transmission unit 205 Later, the achievement for receiving student's input modifies application, and achievement modification application is sent to block chain network 20;Wherein, achievement Modification application includes the topic of erroneous judgement and the achievement of application modification;
Block chain network 20 further include: the second application transmission unit 210, for achievement modification application to be sent to propagation State teacher's user terminal 10 of student examination achievement;
Teacher's user terminal 10 further include: suggestion for revision transmission unit 103, for receiving the achievement modification meaning of teacher's input See, and achievement suggestion for revision is sent to several evaluation user terminals;Wherein, achievement suggestion for revision includes modification reason, modification Content and modified achievement;Instruction sending unit 104 is modified, the agreement modification sent for receiving several evaluation user terminals Opinion, and modification instruction is sent to block chain network 20;
Block chain network 20 further include: achievement modifies unit 211, instructs for response modification, to storing in achievement block The total marks of the examination of above-mentioned student modify.
It should be noted that a kind of system based on block chain technical notes achievement described in Installation practice corresponds to Above-mentioned embodiment of the method, concrete implementation process had carried out detailed description in embodiment of the method, no longer superfluous herein It states.
In order to keep technical solution of the present invention and implementation method clearer, below in conjunction with preferred embodiment in fact Existing process is described in detail.
Embodiment one
Method the present embodiment provides another kind based on block chain technical notes achievement, as shown in figure 3, Fig. 3 is according to this The flow chart of another method based on block chain technical notes achievement of inventive embodiments one, comprising the following steps:
Step S301: teacher's user terminal and User end send connection request to block chain network;
In the embodiment of the present invention, above-mentioned connection request includes the name and work number and the name and student number of student of teacher;
As an alternative embodiment, teacher's user terminal and User end need and block chain network establishes connection Relationship can just receive and send messages, and realize that data are synchronous, after teacher's user terminal establishes a connection with block chain network, teacher client The permission of broadcast message in the oriented block chain network of end;
Step S302: block chain network receives above-mentioned connection request, and gives teacher's user terminal and User end distribution area Block chain address, so that block chain network and teacher's user terminal and the successful connection of User end;
Step S303: the total marks of the examination information that teacher's user terminal inputs teacher is broadcasted in block chain network;
In the embodiment of the present invention, above-mentioned total marks of the examination information includes total marks of the examination, the affiliated User of the total marks of the examination Name and student number;
Step S304: block chain network generates student use according to the name and student number of the affiliated User of total marks of the examination The exclusive public key and exclusive private key at family;
In the embodiment of the present invention, block chain network can be using the name of student and student number as specific block chain address, often A address can and can be only generated the private key and public key of corresponding 64 byte, i.e. the distinctive exclusive public key of the student and exclusive Private key;Artificial compiled code make block chain network generate student private key and public key complete code it is as shown below:
Step S305: the exclusive private key of the User is sent to User end by block chain network;
Step S306: total marks of the examination information is stored in achievement block by block chain network;
As an alternative embodiment, block chain network will add automatically when receiving the total marks of the examination of teacher's broadcast Add a block, which contains the block chain address, the total marks of the examination of student, the cryptographic Hash of block, father's block Hash of the teacher Value etc., the information of the block of block chain is mainly build and block body, block structure (block size of 4 bytes, the block of 80 bytes Head, the number of transaction of 1~9 byte, the transaction data of variable-size), block head (version number of 4 bytes, the father of 32 bytes Block cryptographic Hash, the merkle root of 32 bytes, the timestamp of 4 bytes, the difficulty target of 4 bytes, the Nonce of 4 bytes);
The total marks of the examination data of student are stored in achievement block by the embodiment of the present invention, and the examination of each student at Achievement data have individual block to be stored, and allow for that total marks of the examination data are not easy to lose in this way, improve data storage Safety;
Step S307: block chain network transfers User according to the name and student number of the affiliated User of total marks of the examination Exclusive public key achievement block is encrypted;
In the embodiment of the present invention, it may insure to store total marks of the examination number within a block by carrying out encryption to achievement block According to safety, once total marks of the examination data storage within a block after once can not be distorted, This prevents teachers to student Total marks of the examination the case where modifying, effective decentralization;
The complete code that artificial compiled code encrypts public key to block is as shown below:
Step S308: block chain network sends transaction request to User end;
Step S309: User end receives the exclusive private key of student's input, and exclusive private key is sent to block link network Network;
Step S310: User end receives the exclusive digital signature of student's input, and exclusive digital signature is sent to Block chain network;
In the embodiment of the present invention, exclusive digital signature is made using the exclusive private key received in User end, this number Signature can represent the identity information of student, name and student number including student, and exclusive digital signature is sent to block by student The identity of itself can be proved in chain network, so as to achievement block successful decryption;
Step S311: block chain network verifies whether exclusive digital signature matches with exclusive private key;If it is, executing Step S312~step S313;If not, thening follow the steps S309;
In the embodiment of the present invention, verify whether exclusive digital signature matches with exclusive private key by block chain network, it can To know clearly whether the user of decryption achievement block is User belonging to the total marks of the examination of village school in achievement block, when Block chain network verifies exclusive digital signature and matches with exclusive private key, then what explanation will decrypt achievement block is exactly achievement block User belonging to the total marks of the examination of middle storage, then block chain network will be using the exclusive private key that student sends to achievement area Block is decrypted;When block chain network verifies exclusive digital signature and exclusive private key mismatch, then explanation will decrypt achievement block Be not User belonging to the total marks of the examination that are stored in achievement block, block chain network can be sent out to User end at this time Send trivial solution confidential information, prompt user's input exclusive digital signature be it is wrong, correct exclusive digital signature can be replaced Operation is decrypted again;
Step S312: block chain network is decrypted achievement block by exclusive private key;
In the embodiment of the present invention, the complete code that artificial compiled code makes achievement block decrypted is as shown below:
Step S313: the total marks of the examination information stored in achievement block is sent to User end by block chain network.
Embodiment two
The present embodiment provides another methods based on block chain technical notes achievement, as shown in figure 4, Fig. 4 is according to this The flow chart of method of another of inventive embodiments two based on block chain technical notes achievement, comprising the following steps:
Step S401: teacher's user terminal and User end send connection request to block chain network;
In the embodiment of the present invention, above-mentioned connection request includes the name and work number and the name and student number of student of teacher;
As an alternative embodiment, teacher's user terminal and User end need and block chain network establishes connection Relationship can just receive and send messages, and realize that data are synchronous, after teacher's user terminal establishes a connection with block chain network, teacher client The permission of broadcast message in the oriented block chain network of end;
Step S402: block chain network receives above-mentioned connection request, and gives teacher's user terminal and User end distribution area Block chain address, so that block chain network and teacher's user terminal and the successful connection of User end;
Step S403: the total marks of the examination information that teacher's user terminal inputs teacher is broadcasted in block chain network;
In the embodiment of the present invention, above-mentioned total marks of the examination information includes total marks of the examination, the affiliated User of the total marks of the examination Name and student number;
Step S404: block chain network generates student use according to the name and student number of the affiliated User of total marks of the examination The exclusive public key and exclusive private key at family;
In the embodiment of the present invention, block chain network can be using the name of student and student number as specific block chain address, often A address can and can be only generated the private key and public key of corresponding 64 byte, i.e. the distinctive exclusive public key of the student and exclusive Private key;Artificial compiled code make block chain network generate student private key and public key complete code it is as shown below:
Step S405: the exclusive private key of the User is sent to User end by block chain network;
Step S406: total marks of the examination information is stored in achievement block by block chain network;
As an alternative embodiment, block chain network will add automatically when receiving the total marks of the examination of teacher's broadcast Add a block, which contains the block chain address, the total marks of the examination of student, the cryptographic Hash of block, father's block Hash of the teacher Value etc., the information of the block of block chain is mainly build and block body, block structure (block size of 4 bytes, the block of 80 bytes Head, the number of transaction of 1~9 byte, the transaction data of variable-size), block head (version number of 4 bytes, the father of 32 bytes Block cryptographic Hash, the merkle root of 32 bytes, the timestamp of 4 bytes, the difficulty target of 4 bytes, the Nonce of 4 bytes);
The total marks of the examination data of student are stored in achievement block by the embodiment of the present invention, and the examination of each student at Achievement data have individual block to be stored, and allow for that total marks of the examination data are not easy to lose in this way, improve data storage Safety;
Step S407: block chain network transfers User according to the name and student number of the affiliated User of total marks of the examination Exclusive public key achievement block is encrypted;
In the embodiment of the present invention, it may insure to store total marks of the examination number within a block by carrying out encryption to achievement block According to safety, once total marks of the examination data storage within a block after once can not be distorted, This prevents teachers to student Total marks of the examination the case where modifying, effective decentralization;
The complete code that artificial compiled code encrypts public key to block is as shown below:
Step S408: block chain network sends transaction request to User end;
Step S409: User end receives the exclusive private key of student's input, and exclusive private key is sent to block link network Network;
Step S410: User end receives the exclusive digital signature of student's input, and exclusive digital signature is sent to Block chain network;
In the embodiment of the present invention, exclusive digital signature is made using the exclusive private key received in User end, this number Signature can represent the identity information of student, name and student number including student, and exclusive digital signature is sent to block by student The identity of itself can be proved in chain network, so as to achievement block successful decryption;
Step S411: block chain network verifies whether exclusive digital signature matches with exclusive private key;If it is, executing Step S412~step S418;If not, thening follow the steps S409;
In the embodiment of the present invention, verify whether exclusive digital signature matches with exclusive private key by block chain network, it can To know clearly whether the user of decryption achievement block is User belonging to the total marks of the examination of village school in achievement block, when Block chain network verifies exclusive digital signature and matches with exclusive private key, then what explanation will decrypt achievement block is exactly achievement block User belonging to the total marks of the examination of middle storage, then block chain network will be using the exclusive private key that student sends to achievement area Block is decrypted;When block chain network verifies exclusive digital signature and exclusive private key mismatch, then explanation will decrypt achievement block Be not User belonging to the total marks of the examination that are stored in achievement block, block chain network can be sent out to User end at this time Send trivial solution confidential information, prompt user's input exclusive digital signature be it is wrong, correct exclusive digital signature can be replaced Operation is decrypted again;
Step S412: block chain network is decrypted achievement block by exclusive private key;
In the embodiment of the present invention, the complete code that artificial compiled code keeps achievement block decrypted is as shown below:
Step S413: the total marks of the examination information stored in achievement block is sent to User end by block chain network;
Step S414: the achievement that User end receives student's input modifies application, and achievement modification application is sent to Block chain network;
In the embodiment of the present invention, above-mentioned achievement modification application includes the topic of erroneous judgement and the achievement of application modification;Student exists Check after total marks of the examination that student can send achievement into block chain network if it find that total marks of the examination have the place of erroneous judgement Modification application;
Step S415: achievement modification application is sent to the teacher user for propagating above-mentioned student examination achievement by block chain network End;
Step S416: teacher's user terminal receives the achievement suggestion for revision of teacher's input, and achievement suggestion for revision is sent to Several evaluation user terminals;
In the embodiment of the present invention, above-mentioned achievement suggestion for revision includes modification reason, modification content and modified achievement;? In block chain network, the data stored within a block can not be tampered, only when nodes most in block chain network Opinion it is all consistent when could be modified, so teacher checked student achievement modification application after, if it is considered to student The suggestion for revision of proposition is correctly, then to solicit the opinion of other evaluations teacher, if it is considered to the suggestion for revision that student proposes is Mistake, then it can will refute opinion and be sent in block chain network, the opinion of refuting of teacher is sent to by block chain network again Student, wherein the correct option and student of refuting the erroneous judgement topic that opinion includes student's proposition fill in the answer on paper Error reason;
Step S417: teacher's user terminal receives the agreement suggestion for revision that several evaluation user terminals are sent, and sends modification It instructs to block chain network;
In the embodiment of the present invention, each evaluation user terminal of several evaluation user terminals, which is sent, agrees to suggestion for revision, It could illustrate having identical ideas for several evaluations teacher, just meet the condition to total marks of the examination data modification in block at this time, this When teacher can be sent into block chain network modification instruction so that the total marks of the examination number that block chain network will store in achievement block According to modifying;
Step S418: block chain network responds above-mentioned modification instruction, the examination to the above-mentioned student stored in achievement block Achievement is modified.
In the embodiment of the present invention, block chain network can send to the student after the total marks of the examination for having modified student and mention Show information, to prompt the total marks of the examination after student's query modification.
In summary, through the foregoing embodiment, teacher can broadcast the total marks of the examination of student in block chain network first And be stored in specific achievement block, the exclusive public key that block chain network can transfer the student encrypts achievement block, Transaction request can be also sent to the student simultaneously, student can utilize the private key of oneself will after receiving the transaction request The achievement for checking oneself is decrypted in achievement block.Academics and students have the block chain address of oneself, and block in the present invention Chain network can generate the exclusive public key and exclusive private key of the student according to the student number and name of student, and such teacher broadcasts achievement It is just encrypted with public key after in block chain network, so that teacher can not modify to achievement, enhances decentralization Performance, the achievement of each student are saved in specific block, will not there is a situation where loss of data, and in block at Achievement can just be checked after needing student to be decrypted with private key, improve the safety of achievement storage;In addition, student to achievement block into The identity for also needing to verify oneself when row decryption by exclusive digital signature, ensures that total marks of the examination data in this way Safety;In addition, student after checking total marks of the examination if it find that total marks of the examination are wrong, can propose modification application, After obtaining the opinion of consistent same modification achievement of multiple evaluation teachers, block chain network just can be to the total marks of the examination of the student It modifies, thus effectively raises decentralization performance, also ensure the authenticity of student examination achievement.

Claims (10)

1. a kind of method based on block chain technical notes achievement, which comprises the following steps:
The total marks of the examination information that teacher's user terminal inputs teacher is broadcasted in block chain network;Wherein, the total marks of the examination letter Name and student number of the breath comprising total marks of the examination, the affiliated User of the total marks of the examination;
The total marks of the examination information is stored in achievement block by the block chain network;
The block chain network transfers the exclusive of User according to the name and student number of the affiliated User of the total marks of the examination Public key encrypts the achievement block;
The block chain network sends transaction request to User end;
The User end receives the exclusive private key of student's input, and the exclusive private key is sent to the block link network Network;
The block chain network is decrypted the achievement block by the exclusive private key;
The total marks of the examination information stored in the achievement block is sent to the User end by the block chain network.
2. the method according to claim 1, wherein the total marks of the examination that teacher's user terminal inputs teacher are believed It is further comprising the steps of before breath broadcast is in block chain network:
Teacher's user terminal and User end send connection request to block chain network;Wherein, the connection request includes old The name and work number of teacher and the name and student number of student;
The block chain network receives the connection request, and distributes block to teacher's user terminal and the User end Chain address, so that the block chain network and teacher's user terminal and User end successful connection.
3. according to the method described in claim 2, it is characterized in that, the total marks of the examination that teacher's user terminal inputs teacher are believed After breath broadcast is in block chain network and the total marks of the examination information is stored in achievement block by the block chain network Before, further comprising the steps of:
The block chain network generates the exclusive public affairs of the User according to the name and student number of the affiliated User of total marks of the examination Key and exclusive private key;
The exclusive private key of the User is sent to the User end by the block chain network.
4. according to the method described in claim 3, it is characterized in that, the User end receives the exclusive private of student's input Key, and after the exclusive private key is sent to the block chain network, it is further comprising the steps of:
The User end receives the exclusive digital signature of student's input, and the exclusive digital signature is sent to the area Block chain network;
The block chain network verifies whether the exclusive digital signature matches with the exclusive private key;
If it is, executing the step of block chain network is decrypted the achievement block by the exclusive private key.
5. according to the method described in claim 4, it is characterized in that, the block chain network will store in the achievement block Total marks of the examination information is sent to after the User end, further comprising the steps of:
The achievement that the User end receives student's input modifies application, and achievement modification application is sent to the area Block chain network;Wherein, the achievement modification application includes the topic of erroneous judgement and the achievement of application modification;
Achievement modification application is sent to the teacher's user terminal for propagating above-mentioned student examination achievement by the block chain network;
Teacher's user terminal receives the achievement suggestion for revision of teacher's input, and the achievement suggestion for revision is sent to several Evaluate user terminal;Wherein, the achievement suggestion for revision includes modification reason, modification content and modified achievement;
Teacher's user terminal receives the agreement suggestion for revision that several described evaluation user terminals are sent, and sends modification instruction extremely The block chain network;
The block chain network responds the modification and instructs, to the total marks of the examination of the above-mentioned student stored in the achievement block into Row modification.
6. a kind of system based on block chain technical notes achievement, which is characterized in that including teacher's user terminal, block chain network, User end:
Wherein, teacher's user terminal includes:
Achievement radio unit, the total marks of the examination information for inputting teacher are broadcasted in block chain network;Wherein, the examination Performance information includes the name and student number of total marks of the examination, the affiliated User of the total marks of the examination;
Wherein, the block chain network includes:
Achievement storage unit, for the total marks of the examination information to be stored in achievement block;
Achievement encryption unit transfers User for the name and student number according to the affiliated User of the total marks of the examination Exclusive public key encrypts the achievement block;
Transaction transmission unit, for sending transaction request to User end;
Wherein, the User end includes:
The exclusive private key for receiving the exclusive private key of student's input, and is sent to the block chain by private key acquiring unit Network;
The block chain network further include:
Achievement decryption unit, for the achievement block to be decrypted by the exclusive private key;
Achievement transmission unit, for the total marks of the examination information stored in the achievement block to be sent to the User end.
7. system according to claim 6, which is characterized in that teacher's user terminal further include:
First transmission unit, the total marks of the examination information for inputting teacher in the achievement radio unit are broadcasted in block link network Before in network, connection request is sent to block chain network;Wherein, the connection request includes the name and work number of teacher;
The User end further include:
Second transmission unit, the total marks of the examination information for inputting teacher in the achievement radio unit are broadcasted in block link network Before in network, connection request is sent to block chain network;Wherein, the connection request includes the name and student number of student;
The block chain network further include:
Connection unit, for receiving the connection request that first transmission unit is sent and the company that second transmission unit is sent Connect request, and distribute block chain address to teacher's user terminal and the User end so that the block chain network with Teacher's user terminal and User end successful connection.
8. system according to claim 7, which is characterized in that the block chain network further include:
Code key generation unit, the total marks of the examination information for inputting teacher in the achievement radio unit are broadcasted in block link network After in network, according to the name and student number of the affiliated User of total marks of the examination, the exclusive public key of the User and exclusive is generated Private key;
Private key transmission unit, for the exclusive private key of the User to be sent to the User end;Execute again it is described at The total marks of the examination information is stored in the step in achievement block by achievement storage unit.
9. system according to claim 8, which is characterized in that the User end further include:
It signs transmission unit, for receiving the exclusive private key of student's input in the private key acquiring unit, and by the exclusive private Key is sent to after the block chain network, receives the exclusive digital signature of student's input, and the exclusive digital signature is sent out It send to the block chain network;
The block chain network further include:
Authentication unit, for verifying whether the exclusive digital signature matches with the exclusive private key;
The achievement decryption unit is specifically used for verifying the exclusive digital signature and the exclusive private key when the authentication unit When matching, the achievement block is decrypted by the exclusive private key.
10. system according to claim 9, which is characterized in that the User end further include:
First application transmission unit, the total marks of the examination information for will be stored in the achievement block in the achievement transmission unit It is sent to after the User end, the achievement for receiving student's input modifies application, and the achievement is modified application and is sent To the block chain network;Wherein, the achievement modification application includes the topic of erroneous judgement and the achievement of application modification;
The block chain network further include:
Second application transmission unit, for achievement modification application to be sent to the teacher's use for propagating above-mentioned student examination achievement Family end;
Teacher's user terminal further include:
Suggestion for revision transmission unit is sent for receiving the achievement suggestion for revision of teacher's input, and by the achievement suggestion for revision User terminal is evaluated to several;Wherein, the achievement suggestion for revision includes modification reason, modification content and modified achievement;
Instruction sending unit is modified, the agreement suggestion for revision sent for receiving several described evaluation user terminals, and send and repair Change instruction to the block chain network;
The block chain network further include:
Achievement modifies unit, instructs for responding the modification, to the examination of the above-mentioned student stored in the achievement block at Achievement is modified.
CN201910259872.2A 2019-04-02 2019-04-02 A kind of method and system based on block chain technical notes achievement Pending CN110110532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910259872.2A CN110110532A (en) 2019-04-02 2019-04-02 A kind of method and system based on block chain technical notes achievement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910259872.2A CN110110532A (en) 2019-04-02 2019-04-02 A kind of method and system based on block chain technical notes achievement

Publications (1)

Publication Number Publication Date
CN110110532A true CN110110532A (en) 2019-08-09

Family

ID=67484767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910259872.2A Pending CN110110532A (en) 2019-04-02 2019-04-02 A kind of method and system based on block chain technical notes achievement

Country Status (1)

Country Link
CN (1) CN110110532A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159746A (en) * 2019-12-31 2020-05-15 北京嗨学网教育科技股份有限公司 Learning behavior data storage method and device based on block chain technology
CN111708889A (en) * 2020-06-18 2020-09-25 黄程韦 Score authentication service device, electronic score sheet device, and score authentication service system
CN111861267A (en) * 2020-07-31 2020-10-30 贵州东冠科技有限公司 Scoring assessment method based on prison management
WO2022143123A1 (en) * 2020-12-30 2022-07-07 广东德诚科教有限公司 Blockchain-based information storage system and method, and server
CN116708515A (en) * 2023-08-04 2023-09-05 河北鑫考科技股份有限公司 Student score management method, system, device and medium based on intelligent campus

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339639A (en) * 2016-08-30 2017-01-18 弗洛格(武汉)信息科技有限公司 Credit score management method and system based on block chain
CN107911216A (en) * 2017-10-26 2018-04-13 矩阵元技术(深圳)有限公司 A kind of block chain transaction method for secret protection and system
US20180121918A1 (en) * 2016-11-03 2018-05-03 Mastercard International Incorporated Method and system for net settlement by use of cryptographic promissory notes issued on a blockchain
CN108985545A (en) * 2018-05-29 2018-12-11 厦门哈希科技有限公司 A kind of assessment management system based on block chain
CN109002527A (en) * 2018-07-13 2018-12-14 江苏开放大学(江苏城市职业学院) A method of its management online exam of network test system and utilization based on block chain
CN109242432A (en) * 2018-09-05 2019-01-18 武汉笑脸科技有限公司 A kind of database application program and method based on block chain
CN109241756A (en) * 2018-08-20 2019-01-18 深圳市腾讯网络信息技术有限公司 Data processing method, system, server and medium based on block chain
CN109412798A (en) * 2018-12-06 2019-03-01 中链科技有限公司 Private key generation, data interactive method and its system of block chain
CN109447648A (en) * 2018-12-07 2019-03-08 深圳市智税链科技有限公司 The method of recorded data zone block, accounting nodes and medium in block chain network

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339639A (en) * 2016-08-30 2017-01-18 弗洛格(武汉)信息科技有限公司 Credit score management method and system based on block chain
US20180121918A1 (en) * 2016-11-03 2018-05-03 Mastercard International Incorporated Method and system for net settlement by use of cryptographic promissory notes issued on a blockchain
CN107911216A (en) * 2017-10-26 2018-04-13 矩阵元技术(深圳)有限公司 A kind of block chain transaction method for secret protection and system
CN108985545A (en) * 2018-05-29 2018-12-11 厦门哈希科技有限公司 A kind of assessment management system based on block chain
CN109002527A (en) * 2018-07-13 2018-12-14 江苏开放大学(江苏城市职业学院) A method of its management online exam of network test system and utilization based on block chain
CN109241756A (en) * 2018-08-20 2019-01-18 深圳市腾讯网络信息技术有限公司 Data processing method, system, server and medium based on block chain
CN109242432A (en) * 2018-09-05 2019-01-18 武汉笑脸科技有限公司 A kind of database application program and method based on block chain
CN109412798A (en) * 2018-12-06 2019-03-01 中链科技有限公司 Private key generation, data interactive method and its system of block chain
CN109447648A (en) * 2018-12-07 2019-03-08 深圳市智税链科技有限公司 The method of recorded data zone block, accounting nodes and medium in block chain network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙韵秋 等: "基于区块链技术的高校成绩管理系统", 《密码学报》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159746A (en) * 2019-12-31 2020-05-15 北京嗨学网教育科技股份有限公司 Learning behavior data storage method and device based on block chain technology
CN111708889A (en) * 2020-06-18 2020-09-25 黄程韦 Score authentication service device, electronic score sheet device, and score authentication service system
CN111861267A (en) * 2020-07-31 2020-10-30 贵州东冠科技有限公司 Scoring assessment method based on prison management
WO2022143123A1 (en) * 2020-12-30 2022-07-07 广东德诚科教有限公司 Blockchain-based information storage system and method, and server
CN116708515A (en) * 2023-08-04 2023-09-05 河北鑫考科技股份有限公司 Student score management method, system, device and medium based on intelligent campus
CN116708515B (en) * 2023-08-04 2023-10-20 河北鑫考科技股份有限公司 Student score management method, system, device and medium based on intelligent campus

Similar Documents

Publication Publication Date Title
CN110110532A (en) A kind of method and system based on block chain technical notes achievement
CN100563151C (en) A kind of digital certificate updating method and system
CN107231351B (en) Electronic certificate management method and related equipment
CN112003889A (en) Distributed cross-chain system and cross-chain information interaction and system access control mechanism
US7620824B2 (en) Data communicating apparatus, data communicating method, and program
CN103080958B (en) The method producing/issue distributing certificates in the system at distribution electronic document
CN110602138A (en) Data processing method and device for block chain network, electronic equipment and storage medium
CN109792381A (en) Method and apparatus for storing with sharing integrated data
CN110532735A (en) Firmware upgrade method
CN109409122A (en) File memory method and its electronic equipment, storage medium
US20100153746A1 (en) Memory controller, secure memory card, and secure memory card system
CN110213041A (en) Data ciphering method, decryption method, device, electronic equipment and storage medium
CN102413132A (en) Two-way-security-authentication-based data downloading method and system
CN108964892B (en) Generation method, application method, management system and the application system of trusted application mark
CN108121498A (en) The method and apparatus that a kind of learning records based on block chain technology preserve
CN112307125B (en) Signing method and device for realizing encrypted electronic contract based on blockchain intelligent contract
CN108924167B (en) Block chain-based network question setting and answering method incapable of being tampered
CN113541970B (en) Method and system for using distributed identifier
CN109474419A (en) A kind of living body portrait photo encryption and decryption method and encrypting and deciphering system
CN112396421A (en) Identity authentication system and method based on block chaining-through card
CN108847942A (en) A kind of authentication method and system based on mark public key
CN108737323A (en) A kind of digital signature method, apparatus and system
CN107967597A (en) Electronic identification processing, storage method and device and electronic identification processing system
CN116433425A (en) Case setting method based on alliance chain and related equipment
CN110378151A (en) A kind of score management method of education block chain that supporting national secret algorithm

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190809