CN109951441B - Examination information evaluation method, device, equipment and storage medium based on block chain - Google Patents

Examination information evaluation method, device, equipment and storage medium based on block chain Download PDF

Info

Publication number
CN109951441B
CN109951441B CN201910061405.9A CN201910061405A CN109951441B CN 109951441 B CN109951441 B CN 109951441B CN 201910061405 A CN201910061405 A CN 201910061405A CN 109951441 B CN109951441 B CN 109951441B
Authority
CN
China
Prior art keywords
examination
block
result
contract
key
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.)
Active
Application number
CN201910061405.9A
Other languages
Chinese (zh)
Other versions
CN109951441A (en
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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201910061405.9A priority Critical patent/CN109951441B/en
Publication of CN109951441A publication Critical patent/CN109951441A/en
Application granted granted Critical
Publication of CN109951441B publication Critical patent/CN109951441B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present application relates to the field of blockchain technologies, and in particular, to a method, an apparatus, a device, and a storage medium for evaluating examination information based on a blockchain. Acquiring examination information of an examination terminal, and establishing a block according to the examination information; giving an ID identification to the block, recording data generated by the block according to the ID identification, and calling an intelligent contract to perform contract check on the data generated by the block; obtaining the examination result in the block which passes contract examination, scoring the examination result, and broadcasting the scoring result to the target block needing to obtain the scoring result. According to the method and the device, the risk that the examination score is tampered is reduced through the block chain technology, the counterfeiting risk is reduced for staff members, education training and the like, and the social activity efficiency is improved.

Description

Examination information evaluation method, device, equipment and storage medium based on block chain
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a method, an apparatus, a device, and a storage medium for evaluating examination information based on a blockchain.
Background
The network education training and examination are important means for acquiring knowledge and improving the ability of people at present, particularly teenagers, the common training mainly adopts the form of lecture explanation or collective watching video and the like, and the examination adopts the mode of manual invigilation, so the problems of education training and examination of a plurality of trainees cannot be solved comprehensively.
Currently, when an examination is monitored, real-time monitoring needs to be manually performed, and examination scores are scored, so that pressure of invigilators is high, and the examination scores are easily tampered.
Disclosure of Invention
In view of the above, it is necessary to provide a method, an apparatus, a device and a storage medium for evaluating examination information based on a block chain to solve the problem of easy data tampering in the existing examination system
A block chain-based examination information evaluation method comprises the following steps:
acquiring examination information of an examination terminal, and establishing blocks according to the examination information;
endowing the block with an ID (identity), recording data generated by the block according to the ID, and calling an intelligent contract to perform contract check on the data generated by the block;
the method comprises the steps of obtaining an examination result in a block which passes contract examination, scoring the examination result, and broadcasting the scoring result to a target block needing to obtain the scoring result.
In one possible embodiment, the acquiring test information of the test terminal and creating blocks according to the test information includes:
sending a qualification verification instruction to a to-be-verified test terminal, and acquiring a feedback result of the to-be-verified test terminal to the qualification verification instruction;
extracting a verification characteristic field in the feedback result, and determining a test terminal passing verification according to the verification characteristic field;
and sending an examination information acquisition instruction to the examination terminal which passes the verification, receiving examination information fed back by the examination terminal which passes the verification, inquiring a characteristic field in the examination information, and establishing a block according to the characteristic field.
In one possible embodiment, the giving the ID to the block, recording the data generated by the block according to the ID, and invoking an intelligent contract to perform contract check on the data generated by the block includes:
acquiring a key corresponding to the block, decrypting the key, and giving an ID (identity) to the block according to a decryption result;
acquiring examination information of different blocks according to the ID identification, and extracting time information from the examination information;
comparing the time information with examination time in a preset examination content list, setting a plurality of time nodes for acquiring data in the block within the examination time according to a comparison result, and extracting the data from the block when the time nodes arrive;
and inquiring a trigger node of the intelligent contract, and checking whether the data generated by the block conforms to the intelligent contract.
In one possible embodiment, the obtaining test results in blocks checked by contracts, scoring the test results, and broadcasting the scored results to target blocks needing to obtain the scored results includes:
acquiring the examination questions of the blocks passing contract examination, extracting standard answers corresponding to the examination questions from the intelligent contracts, comparing the examination results of the blocks passing contract examination with the standard answers, and scoring according to the comparison results;
the method comprises the steps of obtaining a key of a target block needing to obtain a scoring result, decrypting the key of the target block to obtain a decryption message, packaging the key of a block where the examination result is located and the key of the target block into a consensus key pair according to the decryption message, and broadcasting the scoring result to the target block needing to obtain the scoring result according to the consensus key pair.
In one possible embodiment, the extracting a verification feature field in the feedback result and determining a verified testing terminal according to the verification feature field includes:
setting an initial language section length of the extracted examination information, and extracting a plurality of initial examination information language sections from the database according to the initial language section length;
inquiring whether the initial examination information fields contain characteristic fields, if the initial examination information fields contain the characteristic fields, extracting the characteristic fields, if the initial examination information fields do not contain the characteristic fields, splicing any two initial examination information fields into a corrected examination information field, inquiring whether the corrected examination information fields contain the characteristic fields, if the initial examination information fields still do not contain the characteristic fields, stopping inquiring, and carrying out error marking on the initial examination information fields;
summarizing the test terminals with the characteristic fields to obtain the test terminals passing verification.
In one possible embodiment, the obtaining a key corresponding to the block, decrypting the key, and giving an ID to the block according to a decryption result includes:
obtaining a key vector used in block encryption, wherein the key vector comprises a symmetric key and a hash key;
decrypting by using a preset symmetric encryption algorithm and plaintext data corresponding to the symmetric key to obtain an initial decryption result;
decrypting the random number in the key by using a preset hash algorithm with a key and the hash key to obtain a hash result;
performing exclusive-or operation on the initial decryption data and the hash result to obtain a final decryption result;
and extracting characteristic characters in the decryption result, and endowing the block with ID identification according to the characteristic characters.
In one possible embodiment, the obtaining the test questions of the blocks checked by the contract, extracting standard answers corresponding to the test questions from the intelligent contract, comparing the test results of the blocks checked by the contract with the standard answers, and scoring according to the comparison result includes:
acquiring test subject numbers of the blocks passing contract check, and extracting contract code fields corresponding to the numbers from the intelligent contract;
querying the contract code field, identifying an answer identifier, and segmenting the contract code field into a title portion and a standard answer portion according to the answer identifier;
and carrying out consistency comparison on the standard answer part and the answer results of the blocks, and if the answer results and the standard answers are within a preset error threshold value, marking a score of '1', otherwise, marking a score of '0'.
A blockchain-based testing device comprising the modules of:
the block establishing module is used for acquiring examination information of the examination terminal and establishing a block according to the examination information;
the contract checking module is used for endowing the block with an ID (identity), recording data generated by the block according to the ID, and calling an intelligent contract to perform contract checking on the data generated by the block;
and the result issuing module is used for acquiring the test result in the block which passes the contract check, scoring the test result and broadcasting the scoring result to the target block needing to acquire the scoring result.
A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the above block chain based test information evaluation method.
A storage medium having stored thereon computer-readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the above block chain-based examination information evaluation method.
The block chain-based examination information evaluation method, device, computer equipment and storage medium comprises the steps of collecting examination information of an examination terminal, and establishing blocks according to the examination information; endowing the block with an ID (identity), recording data generated by the block according to the ID, and calling an intelligent contract to perform contract check on the data generated by the block; obtaining the examination result in the block which passes contract examination, scoring the examination result, and broadcasting the scoring result to the target block needing to obtain the scoring result. According to the technical scheme, the risk that the test score is tampered is reduced through a block chain technology, the risk of counterfeiting is reduced for staff employment, education and training and the like, and the social activity efficiency is improved.
Drawings
Various additional advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application.
Fig. 1 is an overall flowchart of a block chain-based examination information evaluation method according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a block building process in an examination information evaluation method based on a block chain according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a contract checking process in a block chain-based examination information evaluation method according to an embodiment of the present application;
fig. 4 is a block diagram of an apparatus for block chain-based examination information evaluation according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Fig. 1 is an overall flowchart of a block chain-based test information evaluation method according to an embodiment of the present application, and as shown in fig. 1, the block chain-based test information evaluation method includes the following steps:
s1, acquiring examination information of an examination terminal, and establishing a block according to the examination information;
specifically, an IP address of the examination terminal is obtained, the IP address is compared with an IP address in a preset examination information table, if the IP address is in the preset examination information table, examination information generated in an examination of the examination terminal is written into a block, and otherwise, the examination information is not written into the block.
S2, giving an ID identification to the block, recording data generated by the block according to the ID identification, and calling an intelligent contract to perform contract check on the data generated by the block;
specifically, a keyword in the test information is obtained, for example, if the keyword of a certain test is "official", the "official" is used as the ID of the block, and then an intelligent contract of the official test is invoked to perform contract check on the data generated by the block.
And S3, obtaining the test result in the block which passes contract examination, scoring the test result, and broadcasting the scoring result to the target block needing to obtain the scoring result.
Specifically, when the examination result is scored, the standard answers corresponding to the examination result are obtained, the text comparison algorithm is applied to compare the examination result with the standard answers, if the comparison result is within a preset error threshold value, the examination result is considered to be consistent with the standard answers, otherwise, the examination result is inconsistent, the consistent result is scored as '1', the inconsistent examination result is scored as '0', and then all scoring results are counted to obtain the total score.
According to the embodiment, the examination process is supervised through the blockchain technology, and the examination result is scored, so that the condition of cheating on the examination is prevented.
Fig. 2 is a schematic diagram illustrating a block establishment process in an examination information evaluation method based on a block chain according to an embodiment of the present application, where as shown in the drawing, the S1 acquires examination information of an examination terminal, and establishes a block according to the examination information, including:
s101, sending a qualification verification instruction to a to-be-verified test terminal, and obtaining a feedback result of the to-be-verified test terminal to the qualification verification instruction;
specifically, the qualification verification instruction comprises an IP address of the examination terminal, information of an examiner, information of examination content and the like; and verifying the integrity of the feedback result when the feedback result is obtained, and if some information, such as examination staff information, is absent in the feedback result, retransmitting the qualification verification instruction to the examination terminal to be verified.
S102, extracting a verification characteristic field in the feedback result, and determining a test terminal passing verification according to the verification characteristic field;
specifically, the field of the characteristics to be verified includes the test time and the test person, and if the test time conflicts with the test person, the test terminal does not verify and pass, for example, if the test person is already scheduled to take other things in the test time, the test request sent by the test terminal cannot be verified and pass.
S103, sending an examination information acquisition instruction to the examination terminal which passes the verification, receiving the examination information fed back by the examination terminal which passes the verification, inquiring a characteristic field in the examination information, and establishing a block according to the characteristic field.
Specifically, the examination terminals with the same characteristic field are collected, the examination terminals with the same characteristic field are endowed with the same key, and a block is established according to the key.
According to the embodiment, the examination information of the examination terminal is verified, classified and established into the blocks, so that the accuracy of examination information supervision is improved.
Fig. 3 is a schematic diagram illustrating a contract checking process in an examination information evaluation method based on a block chain according to an embodiment of the present application, where, as shown in the drawing, S2, assigns an ID to the block, records data generated by the block according to the ID, and invokes an intelligent contract to perform contract checking on the data generated by the block, where the contract checking process includes:
s201, obtaining a key corresponding to the block, decrypting the key, and endowing the block with an ID (identity) according to a decryption result;
specifically, the key used in this step may be a symmetric key or an asymmetric key, the same ciphertext data as that used in the key generation process is used in decrypting the key, the initial decryption result may be a binary character, and the binary character is compared with a preset cipher conversion table to obtain a character ID identifier of the block, for example, 10001 may be identified as a "officer", and then "officer" is used as the identifier of the block.
S202, acquiring examination information of different blocks according to the ID identification, and extracting time information from the examination information;
specifically, when time information is extracted, the examination information may be numerically queried to obtain a plurality of numbers, the numbers are arranged from small to large, and each number in the number sequence is extracted according to a preset examination time node to obtain the time information.
S203, comparing the time information with examination time in a preset examination content list, setting a plurality of time nodes for acquiring data in the block within the examination time according to a comparison result, and extracting the data from the block when the time nodes arrive;
specifically, the time node is set according to historical data of the examination content, for example, the time node is divided into objective questions and subjective questions in an examination, the time for answering the objective questions is usually 30min, and a time node for data extraction is set at 30min to detect whether a person cheats in the examination at the moment.
S204, inquiring the trigger node of the intelligent contract, and checking whether the data generated by the block conforms to the intelligent contract.
Specifically, the nodes triggered by the intelligent contracts mainly refer to examination starting and examination ending; in verifying whether the data generated by a block conforms to a smart contract, if data is generated in the block before the time the test starts, the smart contract is not met and a purge should be given, and similarly, data generated after the time the test ends should also be purged.
According to the embodiment, the examination process is tracked and verified, so that the cheating condition of the examination is effectively prevented.
In one embodiment, the S3, acquiring an examination result in a block checked by a contract, scoring the examination result, and broadcasting the scored result to a target block where the scored result needs to be acquired, includes:
acquiring the examination questions of the blocks passing contract examination, extracting standard answers corresponding to the examination questions from the intelligent contracts, comparing the examination results of the blocks passing contract examination with the standard answers, and scoring according to the comparison results;
specifically, the structured query language SQL performs feature word retrieval on the examination questions, for example, if the first two characters of the examination questions are "china", all standard answers related to "china" are extracted from the intelligent contract, and then two characters behind "china" in the examination questions are searched, so as to obtain the standard answers corresponding to the examination questions.
The method comprises the steps of obtaining a key of a target block needing to obtain a scoring result, decrypting the key of the target block to obtain a decryption message, packaging the key of a block where the examination result is located and the key of the target block into a consensus key pair according to the decryption message, and broadcasting the scoring result to the target block needing to obtain the scoring result according to the consensus key pair.
Specifically, a scoring result demand instruction is sent to each block, feedback information of each block for the scoring result demand is obtained, a key of the block is extracted from the feedback information, the key is decrypted, if the decryption result corresponds to the key of the target block, the key of the block where the examination result is located and the key of the target block are packaged into a consensus key pair, and the scoring result is broadcasted to the target block needing to obtain the scoring result according to the consensus key pair.
According to the embodiment, the target blocks needing the scoring results are effectively identified, so that the confidentiality and the safety of issuing the scoring results are improved.
In one embodiment, the extracting 102a verification feature field in the feedback result, and determining a test terminal passing verification according to the verification feature field includes:
setting an initial language segment length of extracted examination information, and extracting a plurality of initial examination information language segments from the database according to the initial language segment length;
specifically, the length of the initial speech segment is obtained according to historical data statistics.
Inquiring whether the initial examination information language segment contains a characteristic field, if the initial examination information language segment contains the characteristic field, extracting the characteristic field, if the initial examination information language segment does not contain the characteristic field, splicing any two initial examination information language segments into a corrected examination information language segment, inquiring whether the corrected examination information language segment contains the characteristic field, if the initial examination information language segment still does not contain the characteristic field, stopping inquiring, and carrying out error marking on the initial examination information language segment;
the characteristic field refers to core information such as test name, test time and test personnel. After the initial test information speech segment is error-marked, the length of the initial speech segment may be reset, for example, the length of the initial speech segment is extended, so that the length of the initial speech segment meets the requirement.
And summarizing the test terminals with the characteristic fields to obtain the test terminals which pass the verification.
According to the embodiment, the data security in the examination process is improved by effectively checking the examination information of the examination terminal.
In one embodiment, the S201, acquiring a key corresponding to the block, decrypting the key, and giving an ID to the block according to a decryption result includes:
obtaining a key vector used in block encryption, wherein the key vector comprises a symmetric key and a hash key;
the symmetric key encryption is also called private key encryption or shared key encryption, that is, both sides sending and receiving data must use the same key to encrypt and decrypt the plaintext. The symmetric key encryption algorithm mainly comprises the following steps: DES, 3DES, IDEA, FEAL, BLOWFSH, etc. The hash key is obtained by adopting a hash function to calculate, and has the following characteristics: calculating an original password by a hash function to obtain a hash value; changing the original password, and correspondingly changing the hash value calculated by the hash function; the same password and the same hash value are also used; the hash function is a one-way, irreversible property.
Decrypting by using a preset symmetric encryption algorithm and plaintext data corresponding to the symmetric key to obtain an initial decryption result;
decrypting the random number in the key by using a preset hash algorithm with a key and the hash key to obtain a hash result;
performing exclusive-or operation on the initial decryption data and the hash result to obtain a final decryption result;
and extracting characteristic characters in the decryption result, and endowing the block with ID identification according to the characteristic characters.
Specifically, the characteristic character in the decryption result refers to a characteristic character corresponding to the test information, for example, the block id of "official" corresponding to the characteristic character 10001.
In this embodiment, the block is encrypted and decrypted by the hash key and the symmetric key, so that the security of the block data is improved.
In one embodiment, the S301, acquiring the test questions of the blocks checked by the contract, extracting standard answers corresponding to the test questions from the intelligent contract, comparing the test results of the blocks checked by the contract with the standard answers, and scoring according to the comparison results, includes:
acquiring test subject numbers of the blocks passing contract check, and extracting contract code fields corresponding to the numbers from the intelligent contract;
specifically, the test question number is marked according to the time when the test question is stored in the database, for example, if the time when one test question is stored in the database is 11 points at 11 points in 11 months, 1 days and 11 days in 2018, the number is 201811011111; the field of the code corresponding to the number extracted from the corresponding intelligent contract is 111110118102A.
Querying the contract code field, identifying an answer identifier, and segmenting the contract code field into a title portion and a standard answer portion according to the answer identifier;
specifically, the answer indicator in the corresponding code field 111110118102A as above is "a", that is, the character except the test number in the contract code field is the identifier of the answer, thus dividing the contract code into "111110118102" -the title portion; "A" -answer portion.
And carrying out consistency comparison on the standard answer part and the answer results of the blocks, and if the answer results and the standard answers are within a preset error threshold value, marking a score of 1, otherwise marking a score of 0.
Specifically, the preset error threshold is a dynamic threshold, which may be modified in real time according to the evaluation of the examination result manually.
According to the embodiment, the examination results are effectively scored, so that human errors caused by manual scoring are avoided.
In one embodiment, a block chain-based examination information evaluation device is provided, as shown in fig. 4, including the following modules:
a block establishing module 41 configured to acquire examination information of the examination terminal and establish a block according to the examination information;
the contract checking module 42 is configured to give an ID identifier to the block, record data generated by the block according to the ID identifier, and call an intelligent contract to perform contract checking on the data generated by the block;
and the result issuing module 43 is configured to acquire the test result in the block which passes the contract check, score the test result, and broadcast the score result to the target block in which the score result is required to be acquired.
A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the blockchain-based test information evaluation method of the embodiments described above.
A storage medium storing computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the block chain-based examination information evaluation method described in the embodiments above. The storage medium may be a non-volatile storage medium.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of simplicity of description, all possible combinations of the technical features in the above embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, the technical features should be considered as the scope of description in the present specification.
The above-described embodiments are merely illustrative of some embodiments of the present application, which are described in more detail and detail, but are not to be construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (8)

1. A block chain-based examination information evaluation method is characterized by comprising the following steps:
acquiring examination information of an examination terminal, and establishing blocks according to the examination information; acquiring an IP address of an examination terminal, comparing the IP address with an IP address in a preset examination information table, writing examination information generated in an examination of the examination terminal into a block if the IP address is in the preset examination information table, and otherwise, not writing the examination information into the block;
endowing the block with an ID (identity), recording data generated by the block according to the ID, and calling an intelligent contract to perform contract check on the data generated by the block;
acquiring an examination result in a block which passes contract examination, scoring the examination result, and broadcasting the scoring result to a target block needing to obtain the scoring result;
the endowing the block with an ID identification, recording the data generated by the block according to the ID identification, and calling an intelligent contract to perform contract check on the data generated by the block, wherein the contract check comprises the following steps:
acquiring a key corresponding to the block, decrypting the key, and giving an ID (identity) to the block according to a decryption result; acquiring examination information of different blocks according to the ID identification, and extracting time information from the examination information; comparing the time information with examination time in a preset examination content list, setting a plurality of time nodes for acquiring data in the block within the examination time according to a comparison result, and extracting the data from the block when the time nodes arrive; inquiring a trigger node of the intelligent contract, and checking whether the data generated by the block conforms to the intelligent contract;
the acquiring the examination result in the block which passes the contract examination, scoring the examination result, and broadcasting the scoring result to the target block which needs to obtain the scoring result comprises the following steps:
acquiring the examination questions of the blocks which pass contract examination, extracting standard answers corresponding to the examination questions from the intelligent contract, comparing the examination results of the blocks which pass contract examination with the standard answers, and scoring according to the comparison results; the method comprises the steps of obtaining a key of a target block needing to obtain a scoring result, decrypting the key of the target block to obtain a decryption message, packaging the key of a block where the examination result is located and the key of the target block into a consensus key pair according to the decryption message, and broadcasting the scoring result to the target block needing to obtain the scoring result according to the consensus key pair.
2. The method for evaluating examination information based on a block chain according to claim 1, wherein the acquiring examination information of an examination terminal and establishing a block according to the examination information comprises:
sending a qualification verification instruction to a to-be-verified test terminal, and acquiring a feedback result of the to-be-verified test terminal to the qualification verification instruction;
extracting a verification characteristic field in the feedback result, and determining a test terminal passing verification according to the verification characteristic field;
and sending an examination information acquisition instruction to the examination terminal which passes the verification, receiving examination information fed back by the examination terminal which passes the verification, inquiring a characteristic field in the examination information, and establishing a block according to the characteristic field.
3. The method for evaluating test information based on a block chain according to claim 2, wherein the extracting of the verification characteristic field in the feedback result and the determination of the test terminal passing the verification according to the verification characteristic field comprise:
setting an initial language segment length of extracted examination information, and extracting a plurality of initial examination information language segments from a database according to the initial language segment length;
inquiring whether the initial examination information language segment contains a characteristic field, if the initial examination information language segment contains the characteristic field, extracting the characteristic field, if the initial examination information language segment does not contain the characteristic field, splicing any two initial examination information language segments into a corrected examination information language segment, inquiring whether the corrected examination information language segment contains the characteristic field, if the initial examination information language segment still does not contain the characteristic field, stopping inquiring, and carrying out error marking on the initial examination information language segment;
and summarizing the test terminals with the characteristic fields to obtain the test terminals which pass the verification.
4. The method for evaluating examination information based on a block chain according to claim 1, wherein the obtaining of the key corresponding to the block, the decryption of the key, and the giving of the ID to the block according to the decryption result comprises:
obtaining a key vector used in block encryption, wherein the key vector comprises a symmetric key and a hash key;
decrypting by using a preset symmetric encryption algorithm and plaintext data corresponding to the symmetric key to obtain an initial decryption result;
decrypting the random number in the key by using a preset hash algorithm with a key and the hash key to obtain a hash result;
performing exclusive-or operation on the initial decryption data and the hash result to obtain a final decryption result;
and extracting characteristic characters in the decryption result, and endowing the block with ID identification according to the characteristic characters.
5. The method for evaluating examination information based on a block chain according to claim 1, wherein the obtaining of the examination questions of the blocks checked by the contract, extracting the standard answers corresponding to the examination questions from the intelligent contract, comparing the examination results of the blocks checked by the contract with the standard answers, and scoring according to the comparison results comprises:
acquiring test subject numbers of the blocks passing contract check, and extracting contract code fields corresponding to the numbers from the intelligent contract;
querying the contract code field, identifying an answer identifier, and partitioning the contract code field into a title portion and a standard answer portion based on the answer identifier;
and carrying out consistency comparison on the standard answer part and the answer results of the blocks, and if the answer results and the standard answers are within a preset error threshold value, marking a score of '1', otherwise, marking a score of '0'.
6. A blockchain-based testing device, comprising:
the block establishing module is used for acquiring examination information of the examination terminal and establishing a block according to the examination information; acquiring an IP address of an examination terminal, comparing the IP address with an IP address in a preset examination information table, writing examination information generated by an examination of the examination terminal into a block if the IP address is in the preset examination information table, or not writing the examination information into the block;
the contract checking module is used for endowing the block with an ID (identity), recording data generated by the block according to the ID, and calling an intelligent contract to perform contract checking on the data generated by the block;
the result issuing module is used for acquiring the examination result in the block which passes the contract examination, scoring the examination result and broadcasting the scoring result to the target block needing to acquire the scoring result;
the contract checking module is also used for acquiring a key corresponding to the block, decrypting the key and endowing the block with an ID (identity) according to a decryption result; acquiring examination information of different blocks according to the ID identification, and extracting time information from the examination information; comparing the time information with examination time in a preset examination content list, setting a plurality of time nodes for acquiring data in the block within the examination time according to a comparison result, and extracting the data from the block when the time nodes arrive; inquiring a trigger node of the intelligent contract, and checking whether the data generated by the block conforms to the intelligent contract;
the result issuing module is also configured to acquire the examination questions of the blocks which pass contract examination, extract standard answers corresponding to the examination questions from the intelligent contracts, compare the examination results of the blocks which pass contract examination with the standard answers, and score according to the comparison results; the method comprises the steps of obtaining a key of a target block needing to obtain a scoring result, decrypting the key of the target block to obtain a decryption message, packaging the key of a block where the examination result is located and the key of the target block into a consensus key pair according to the decryption message, and broadcasting the scoring result to the target block needing to obtain the scoring result according to the consensus key pair.
7. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to carry out the steps of the blockchain-based examination information evaluation method according to any one of claims 1 to 5.
8. A storage medium storing computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the blockchain-based examination information evaluation method of any one of claims 1 to 5.
CN201910061405.9A 2019-01-23 2019-01-23 Examination information evaluation method, device, equipment and storage medium based on block chain Active CN109951441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910061405.9A CN109951441B (en) 2019-01-23 2019-01-23 Examination information evaluation method, device, equipment and storage medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910061405.9A CN109951441B (en) 2019-01-23 2019-01-23 Examination information evaluation method, device, equipment and storage medium based on block chain

Publications (2)

Publication Number Publication Date
CN109951441A CN109951441A (en) 2019-06-28
CN109951441B true CN109951441B (en) 2022-11-29

Family

ID=67007353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910061405.9A Active CN109951441B (en) 2019-01-23 2019-01-23 Examination information evaluation method, device, equipment and storage medium based on block chain

Country Status (1)

Country Link
CN (1) CN109951441B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110852648A (en) * 2019-11-19 2020-02-28 腾讯科技(深圳)有限公司 Data processing method and device and computer storage medium
CN111708889A (en) * 2020-06-18 2020-09-25 黄程韦 Score authentication service device, electronic score sheet device, and score authentication service system
CN112035812A (en) * 2020-09-16 2020-12-04 成都新敏捷链科技有限公司 Block chain-based programming skill evaluation method and device and storage medium
CN112700092A (en) * 2020-12-21 2021-04-23 布比(北京)网络技术有限公司 Method and system for evaluating examination score based on block chain
CN113569268B (en) * 2021-09-23 2021-12-17 江苏考阅科技有限公司 Grading method, system and storage medium based on wired network power supply and supply network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN109118400A (en) * 2018-08-30 2019-01-01 深圳市元征科技股份有限公司 A kind of Driving Test device and Driving Test method, system, equipment, computer media
CN109241756A (en) * 2018-08-20 2019-01-18 深圳市腾讯网络信息技术有限公司 Data processing method, system, server and medium based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10402792B2 (en) * 2015-08-13 2019-09-03 The Toronto-Dominion Bank Systems and method for tracking enterprise events using hybrid public-private blockchain ledgers

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN109118400A (en) * 2018-08-30 2019-01-01 深圳市元征科技股份有限公司 A kind of Driving Test device and Driving Test method, system, equipment, computer media

Also Published As

Publication number Publication date
CN109951441A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN109951441B (en) Examination information evaluation method, device, equipment and storage medium based on block chain
US20170118205A1 (en) User biological feature authentication method and system
CN109242404B (en) Resume information management method, resume information management device, computer equipment and readable storage medium
CN113139204B (en) Medical data privacy protection method using zero-knowledge proof and shuffling algorithm
CN111882233A (en) Storage risk early warning method, system and device based on block chain and storage medium
CN115641067A (en) Student information integrated management system based on cloud platform
CN111046407A (en) Data storage system based on block chain
CN110647759B (en) Data recording method, node, device, storage medium and block chain system
CN112364059B (en) Correlation matching method, device, equipment and storage medium under multi-rule scene
CN110138731A (en) A kind of network anti-attack method based on big data
CN102567657A (en) Digital work ownership authentication system and digital work ownership authentication method
CN110807187B (en) Block chain-based network market illegal information evidence storing method and platform terminal
CN110689348B (en) Revenue verification method, device, terminal and medium based on alliance chain
CN111324517A (en) Application service supervision method, supervision server and storage medium
CN111585995A (en) Method and device for transmitting and processing safety wind control information, computer equipment and storage medium
CN109886039A (en) Faculty of Finance integration rule detection method and relevant device based on block chain
KR102013415B1 (en) System and method for verifying integrity of personal information
CN113469717A (en) Animal identity pedigree tracing system and method based on block chain and iris recognition
CN111191738A (en) Cross-platform data processing method, device, equipment and readable storage medium
CN111131444B (en) Network course processing system based on block chain technology
CN112329029A (en) Block chain-based electronic archive file safe storage method and system
CN111047763A (en) Electronic voting method, device and storage medium based on block chain
Hong et al. Data Auditing for Intelligent Network Security Monitoring
CN109871426A (en) A kind of monitoring recognition methods of confidential data
CN114971279A (en) Online teaching management method and device

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
GR01 Patent grant
GR01 Patent grant