A blockchain-based distributed examination method and system
By setting up identity authentication that combines dynamic keys with a blockchain network in the grade section of the teacher management unit, the problem of candidates tampering with grades has been solved, thereby improving the security and transparency of the examination system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-02-27
- Publication Date
- 2026-06-09
AI Technical Summary
In traditional examination systems, the problem of candidates easily stealing teachers' accounts and altering scores is difficult to solve effectively.
By setting a dynamic key in the grade section of the teacher management unit, and linking the dynamic key to the teacher's personal terminal, combined with the identity authentication and smart contract of the blockchain network, it is ensured that only teachers can log in to the grade section to perform operations within the valid time.
This enhances the security of the examination system, prevents candidates from tampering with their scores, and improves the credibility and transparency of score inquiries.
Abstract
Description
Technical Field
[0001] This invention relates to the field of blockchain technology, and in particular to a blockchain-based distributed examination method and system. Background Technology
[0002] Blockchain is essentially a decentralized database. Initially limited to monetary applications, with the continuous development of blockchain technology, smart contracts are deployed on the blockchain to enable trusted, traceable, and irreversible transactions without the participation of third parties.
[0003] With the development of technologies such as cloud computing, big data, and blockchain, existing examination administration systems can be combined with blockchain to solve problems in traditional examinations. For example, in traditional examination administration systems, after teachers grade and review papers, they upload each student's exam scores for each subject to the system sequentially, and students then log in to check their scores. This is prone to the problem of a small number of students stealing teachers' account passwords, logging into the teacher's system, and tampering with scores. Summary of the Invention
[0004] To overcome the shortcomings of existing technologies, this invention provides a blockchain-based distributed examination method and system. By adding a dynamic key to the grade section of the teacher management unit, and associating the dynamic key with the teacher's personal terminal, the security of the examination system can be enhanced, preventing candidates from logging into the teacher management unit and tampering with their grades.
[0005] To address the aforementioned technical problems, this invention provides the following technical solution: a blockchain-based distributed examination method, comprising the following implementation steps: S1. Collect exam information from all regions through the management server, establish a blockchain based on the exam information, record preferred nodes for each exam information, and authorize the preferred nodes for exam information recording to join the blockchain network; S2. Publish smart contracts on the blockchain network through the management server. The smart contracts contain node identifiers that allow access to blockchain information. S3. Teacher personal accounts and initial keys are allocated through the teacher management unit. The teacher's initial key is the last six digits of the ID card number. Teachers can modify it themselves after logging in. The teacher's personal account is entered with the teacher's email address, mobile phone number and other private information. When the teacher opens the grade section, the blockchain network receives the request and issues a dynamic key to the teacher's email address or mobile phone. The dynamic key is valid for 5 minutes. The teacher enters the dynamic key to log in to the grade section. S4. Assign individual student accounts and initial keys through the student management unit; S5. Publish all exam information through the exam business management unit; S6. Candidates log in to their personal accounts via smart terminals, which connect to the network to obtain exam information; S7. Teachers enter all students' scores through the teacher management unit; S8. The exam results of all candidates are published through the exam business management unit. Candidates can log in to their personal accounts through smart terminals using the query interface provided in the smart contract to check their exam results. Furthermore, in step S2, the smart contract includes exam subjects, exam time, exam category, exam room information, invigilator information, candidate information, exam room rules, and exam precautions; Furthermore, in step S4, the login account for each candidate is their student ID number, and the initial key is the last six digits of the candidate's ID card number. Candidates can modify these keys after logging in. Furthermore, in step S5, the exam information includes each candidate's name, gender, student ID, national ID number, examination admission ticket number, school information, corresponding grade and class information, as well as subsequent exam scores for each subject; Furthermore, the blockchain-based distributed examination method further includes: the examinee sending a request to the blockchain that the score is incorrect and requesting grading; the blockchain network receiving the request, issuing an identity authentication to the examinee, and sending the grading request to the school and teachers; after the school and teachers agree, the graded examination paper is uploaded to the examinee's personal account; a blockchain-based distributed examination method, the blockchain-based distributed examination method including the following implementation steps.
[0006] The present invention also provides a blockchain-based distributed examination system, which adopts the blockchain-based distributed examination method described above, and includes a management server, a teacher management unit, a candidate management unit, an examination business management unit, and a smart terminal; Furthermore, the management server is used to collect examination information from all regions, establish a blockchain based on the examination information, record preferred nodes for each examination information record, authorize preferred nodes to join the blockchain network, and publish smart contracts on the blockchain network; the teacher management unit is used to log in to teachers' personal accounts and enter student grades; the examination business management unit is used to publish examination information and examination results; the candidate management unit is used to log in to candidates' personal accounts and obtain examination information and examination results; the smart terminal is connected to the network; Furthermore, the distributed examination system also includes a data storage unit for storing information such as each candidate's subject scores and grade ranking for each exam.
[0007] Compared with the prior art, the beneficial effects that this invention can achieve are: This invention adds a dynamic key to the grade section of the teacher management unit. The dynamic key is associated with the teacher's personal terminal, such as a private email address or mobile phone number. When logging into the grade section, the blockchain network receives the request and issues the dynamic key to the teacher's email address or mobile phone. The dynamic key is valid for 5 minutes, which can enhance the security of the examination system and prevent candidates from logging into the teacher management unit and tampering with the grades. Detailed Implementation
[0008] To make the technical means, creative features, and achieved objectives and effects of this invention easier to understand, the invention is further described below with reference to specific embodiments. However, the following embodiments are merely preferred embodiments of this invention and not all of them. Other embodiments obtained by those skilled in the art based on the embodiments described herein without creative effort are all within the protection scope of this invention. Unless otherwise specified, the experimental methods in the following embodiments are conventional methods, and the materials and reagents used in the following embodiments are commercially available unless otherwise specified.
[0009] Example 1 This invention provides a blockchain-based distributed examination method, which includes the following implementation steps: S1. Collect exam information from all regions through the management server, establish a blockchain based on the exam information, record preferred nodes for each exam information, and authorize the preferred nodes for exam information recording to join the blockchain network; S2. Publish a smart contract on the blockchain network through the management server. The smart contract contains node identifiers that allow access to blockchain information. The smart contract includes exam subjects, exam time, exam category, exam room information, invigilator information, candidate information, exam room rules, and exam precautions. S3. Teacher personal accounts and initial keys are allocated through the teacher management unit. The teacher's initial key is the last six digits of the ID card number. Teachers can modify it themselves after logging in. The teacher's personal account is entered with the teacher's email address, mobile phone number and other private information. When the teacher opens the grade section, the blockchain network receives the request and issues a dynamic key to the teacher's email address or mobile phone. The dynamic key is valid for 5 minutes. The teacher enters the dynamic key to log in to the grade section. S4. Assign individual student accounts and initial keys through the student management unit. The login account is the student ID number corresponding to each student, and the initial key is the last six digits of the student's ID card number. Students can modify these after logging in. S5. Publish all exam information through the exam business management unit. Exam information includes each candidate's name, gender, student ID, national ID number, admission ticket number, school information, corresponding grade and class information, and subsequent exam scores for each subject. S6. Candidates log in to their personal accounts via smart terminals, which connect to the network to obtain exam information; S7. Teachers enter all students' scores through the teacher management unit; S8. The exam results of all candidates are published through the exam business management unit. Candidates can log in to their personal accounts through smart terminals using the query interface provided in the smart contract to check their exam results. The blockchain-based distributed examination method further includes: the examinee sends a request to the blockchain that the score is incorrect and requests grading; the blockchain network receives the request, issues an identity authentication to the examinee, and sends the grading request to the school and teachers; after the school and teachers agree, the graded examination paper is uploaded to the examinee's personal account. In a specific embodiment of the present invention, exam information is collected, a blockchain is established, a smart contract is published on the blockchain network, and personal accounts and initial keys are allocated to teachers and students. The initial keys are the last six digits of the individual's ID number, and both teachers and students can modify them. Teacher accounts also include personal information such as email addresses and mobile phone numbers. Exam information is then published online. Students log in to their personal accounts using smart terminals to check exam information. After the exam, teachers grade the papers and log in to their personal accounts. When a teacher opens the grades section, the blockchain network receives a request and publishes a dynamic key to the teacher's email address or mobile phone. The dynamic key is valid for 5 minutes. Teachers log in to the grade section using a dynamic key, then sequentially enter the exam scores for each student in their respective subjects. After confirming the scores are correct, they exit the grade section. The blockchain network publishes the exam scores, and students log in to their personal accounts to check them. If a student has any questions about their score, they send a request to the blockchain indicating an error and requesting grading. The blockchain network receives the request, authenticates the student's identity, and sends the grading request to the school and teacher. Once the school and teacher agree, the graded exam paper is uploaded to the student's personal account. This invention enhances the security of the examination system by adding a dynamic key to the grade section of the teacher management unit. This dynamic key is associated with the teacher's personal terminal, preventing students from logging into the teacher management unit and tampering with the scores.
[0010] Example 2 This invention also provides a blockchain-based distributed examination system, employing the blockchain-based distributed examination method described above, which includes... Management Server: The management server is used to collect examination information from all regions, establish a blockchain based on the examination information, record preferred nodes for each examination information, authorize preferred nodes to join the blockchain network, and publish smart contracts on the blockchain network; Teacher Management Unit: The teacher management unit is used to log in to teachers' personal accounts and enter student grades; Candidate Management Unit: The candidate management unit is used to log in to the candidate's personal account and obtain exam information and exam results; Examination Business Management Unit: The examination business management unit is used to publish examination information and examination results; Smart terminal: The smart terminal is connected to the network; The distributed examination system also includes a data storage unit for storing information such as each candidate's subject scores and grade ranking for each exam. In this embodiment: the examination system collects examination information through the management server, establishes a blockchain, and publishes smart contracts on the blockchain; teachers log in to their personal accounts through the teacher management unit and enter student grades; candidates log in to their personal accounts through the candidate management unit and obtain examination information and examination results; the examination business management unit publishes examination information and examination results; and the data storage unit stores information such as each candidate's subject scores and grade ranking for each examination.
[0011] Working Principle: In this invention, examination information is collected through a management server, a blockchain is established, and smart contracts are published on the blockchain network. These smart contracts include examination subjects, examination time, examination category, examination room information, invigilator information, student information, examination rules, and examination precautions. Teacher personal accounts and initial keys are allocated through the teacher management unit, and student personal accounts and initial keys are allocated through the student management unit. The initial keys are the last six digits of the individual's ID number, and both teachers and students can modify them. Examination information is published on the network through the examination business management unit, including each student's name, gender, student ID, ID number, examination admission ticket number, school information, and corresponding grade. The system retrieves class information and subsequent exam scores for each subject. Students log in to their personal accounts using smart devices to check exam information. After the exam, teachers grade the papers, log in to their personal accounts, enter a dynamic key to access the score section, and then enter the exam scores for each student in turn. After confirming that everything is correct, they exit the score section, and the blockchain network publishes the exam scores. Students can log in to their personal accounts to check their scores. If a student has any questions about their score, they can send a request to the blockchain indicating that the score is incorrect and requesting further grading. The blockchain network receives the request, issues an identity verification to the student, and sends the grading request to the school and teachers. After the school and teachers agree, the graded exam papers are uploaded to the student's personal account.
[0012] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A blockchain-based distributed examination method, characterized in that: Includes the following steps: S1. Collect exam information from all regions through the management server, establish a blockchain based on the exam information, record preferred nodes for each exam information, and authorize the preferred nodes for exam information recording to join the blockchain network; S2. Publish smart contracts on the blockchain network through the management server. The smart contracts contain node identifiers that allow access to blockchain information. S3. Teachers are assigned personal accounts and initial keys through the teacher management unit. The initial key for teachers is the last six digits of their ID card number. After logging in, teachers can modify their personal information, including their email address and mobile phone number. When a teacher opens the grades section, the blockchain network receives the request and sends a dynamic key to the teacher's email address or mobile phone. The dynamic key is valid for 5 minutes. Teachers enter the dynamic key to log in to the grades section. S4. Assign individual student accounts and initial keys through the student management unit; S5. Publish all exam information through the exam business management unit; S6. Candidates log in to their personal accounts via smart terminals, which connect to the network to obtain exam information; S7. Teachers enter all students' scores through the teacher management unit; S8. The exam results of all candidates are published through the exam business management unit. Candidates can log in to their personal accounts through smart terminals using the query interface provided in the smart contract to check their exam results.
2. The distributed examination method based on blockchain according to claim 1, characterized in that: In step S2, the smart contract includes the exam subject, exam time, exam category, exam room information, invigilator information, candidate information, exam room rules, and exam precautions.
3. The distributed examination method based on blockchain according to claim 1, characterized in that: In step S4, the login account for each candidate is their student ID number, and the initial key is the last six digits of the candidate's ID card number. Candidates can modify these keys after logging in.
4. The distributed examination method based on blockchain according to claim 1, characterized in that: In step S5, the exam information includes each candidate's name, gender, student ID, national ID number, examination admission ticket number, school information, corresponding grade and class information, as well as the scores for each subject in the subsequent exams.
5. The distributed examination method based on blockchain according to claim 1, characterized in that: The blockchain-based distributed examination method further includes: the examinee sends a request to the blockchain that the score is incorrect and requests grading; the blockchain network receives the request, issues an identity authentication to the examinee, and sends the grading request to the school and teachers; after the school and teachers agree, the graded examination paper is uploaded to the examinee's personal account.
6. A blockchain-based distributed examination system, characterized in that: The blockchain-based distributed examination method described in any one of claims 1-5 includes a management server, a teacher management unit, a candidate management unit, an examination business management unit, and a smart terminal.
7. A blockchain-based distributed examination system according to claim 6, characterized in that: The management server is used to collect examination information from all regions, establish a blockchain based on the examination information, record preferred nodes for each examination information, authorize preferred nodes to join the blockchain network, and publish smart contracts on the blockchain network; the teacher management unit is used to log in to teachers' personal accounts and enter student grades; the examination business management unit is used to publish examination information and examination results. The candidate management unit is used to log in to the candidate's personal account and obtain exam information and exam results; the smart terminal is connected to the network.
8. A blockchain-based distributed examination system according to claim 6, characterized in that: The distributed examination system also includes a data storage unit for storing information, including each candidate's subject scores and grade ranking for each exam.