CN110955920A - Data processing method, device and storage medium - Google Patents

Data processing method, device and storage medium Download PDF

Info

Publication number
CN110955920A
CN110955920A CN201911174348.1A CN201911174348A CN110955920A CN 110955920 A CN110955920 A CN 110955920A CN 201911174348 A CN201911174348 A CN 201911174348A CN 110955920 A CN110955920 A CN 110955920A
Authority
CN
China
Prior art keywords
evaluation value
processed
service data
area
evaluation
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
CN201911174348.1A
Other languages
Chinese (zh)
Inventor
蔡弋戈
秦青
杨晨
王乐庆
李琴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911174348.1A priority Critical patent/CN110955920A/en
Publication of CN110955920A publication Critical patent/CN110955920A/en
Pending legal-status Critical Current

Links

Images

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/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The embodiment of the application discloses a data processing method, a device and a storage medium, wherein the method comprises the following steps: acquiring a first evaluation value which is sent by a plurality of viewing terminals and determined aiming at service data in a to-be-processed area; determining an abnormality evaluation value from the first evaluation values by the smart contract in the contract node, and determining a first evaluation value other than the abnormality evaluation value among the first evaluation values as an evaluation value to be processed; calling an intelligent contract, and sending the service data in the region to be processed to an auditing terminal; acquiring a second evaluation value which is returned by the auditing terminal and determined aiming at the service data in the area to be processed; and determining a target evaluation value corresponding to the service data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and writing the associated service data information associated with the target evaluation value into the block chain corresponding to the block chain network. By adopting the embodiment of the application, the reliability of the service data information can be improved.

Description

Data processing method, device and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to the field of data processing technologies, and in particular, to a data processing method, apparatus, and storage medium.
Background
With the development of computers and the internet, at present, a reader can assess electronic assessment files of more than one examinee on an examination system through the computer and the internet technology, so that assessment scores of each examinee in the plurality of examinees can be conveniently assessed. It should be understood that, in the examination paper reading system, a centralized storage mode is adopted to store the final assessment results of the multiple examinees, but the business data stored in the centralized storage mode has the possibility of being tampered by others, so that the reliability of the business data is reduced.
Content of application
The embodiment of the application provides a data processing method, a data processing device and a storage medium, which can improve the reliability of service data information.
An aspect of the present embodiment provides a data processing method, where the method is applied to a contract node in a block chain network, and includes:
acquiring a first evaluation value which is sent by a plurality of viewing terminals and determined aiming at service data in a to-be-processed area; the to-be-processed area is an area in the first assessment file output by each viewing terminal;
determining an abnormality evaluation value from the first evaluation values by the smart contract in the contract node, and determining a first evaluation value other than the abnormality evaluation value among the first evaluation values as an evaluation value to be processed;
calling the intelligent contract, and sending the service data in the region to be processed to an auditing terminal;
acquiring a second evaluation value which is returned by the auditing terminal and determined aiming at the service data in the area to be processed;
and determining a target evaluation value corresponding to the service data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and writing the associated service data information associated with the target evaluation value into the block chain corresponding to the block chain network.
The obtaining of the first evaluation value determined for the service data in the area to be processed sent by the multiple scoring terminals includes:
the method comprises the steps of obtaining a first examination file aiming at a target examination paper and a cutting identifier of the first examination file sent by a scanning terminal, and cutting the first examination file into at least one area based on the cutting identifier; each area in the at least one area corresponds to a plurality of terminals respectively; one area corresponds to one service data;
acquiring a region to be processed from the at least one region, and distributing service data in the region to be processed to a plurality of terminals associated with the region to be processed;
and respectively determining a plurality of terminals associated with the to-be-processed area as viewing terminals, and receiving first evaluation values which are respectively sent by the viewing terminals and are determined aiming at the service data in the to-be-processed area.
Wherein the above determining an abnormality evaluation value from the first evaluation values by the smart contract in the contract node and determining a first evaluation value other than the abnormality evaluation value among the first evaluation values as an evaluation value to be processed includes:
carrying out mean value processing on the first evaluation values through an intelligent contract in the contract node to obtain a first mean value between the first evaluation values;
determining a difference between each of the first evaluation values and the first average value, determining a first evaluation value whose difference is larger than an abnormality threshold as an abnormality evaluation value;
removing the abnormal evaluation value from the first evaluation value;
a first evaluation value excluding the abnormal evaluation value is determined as an evaluation value to be processed.
Wherein, the determining a target evaluation value corresponding to the service data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and writing the associated service data information associated with the target evaluation value into the blockchain corresponding to the blockchain network includes:
acquiring a first evaluation value with the maximum evaluation value and a first evaluation value with the minimum evaluation value from the evaluation values to be processed, and determining an evaluation range formed by the first evaluation value with the maximum evaluation value and the first evaluation value with the minimum evaluation value;
if the second evaluation value belongs to the evaluation range, carrying out average processing on the evaluation value to be processed and the second evaluation value to obtain a second average value between the evaluation value to be processed and the second evaluation value;
determining the second average value as a target evaluation value corresponding to the service data in the area to be processed;
and writing the related service data information associated with the target evaluation value into a block chain corresponding to the block chain network.
Wherein, the method also comprises:
if the second evaluation value does not belong to the evaluation range, triggering a rechecking mechanism in the intelligent contract and distributing the service data in the region to be processed to the plurality of reading terminals;
and receiving a third evaluation value determined by the plurality of viewing terminals for the service data in the area to be processed, and updating the first evaluation value based on the third evaluation value.
Wherein, the writing the related service data information associated with the target evaluation value into the corresponding blockchain of the blockchain network includes:
acquiring the browsing time length of each browsing terminal aiming at the service data in the area to be processed;
determining associated service data information associated with the target evaluation value according to the plurality of marking durations, the evaluation value to be processed, the abnormal evaluation value and the second evaluation value;
and writing the target block containing the associated service data information into a block chain corresponding to the block chain network.
Wherein, the method also comprises:
acquiring at least one second assessment file associated with the first assessment file, and determining a reading terminal associated with the abnormal assessment value as a terminal to be monitored; each second assessment file and the first assessment file comprise the same to-be-processed area;
monitoring a fourth evaluation value determined by the terminal to be monitored for each second assessment file through the intelligent contract;
counting the number of times that the fourth evaluation value is the abnormal evaluation value within the target duration;
determining behavior confidence information corresponding to the terminal to be monitored based on the times and the reading time of each second assessment file; the behavior confidence information is used for representing that the user corresponding to the terminal to be detected has the authority of checking the file reading.
An aspect of the present application provides a data processing apparatus, where the apparatus is applied to a contract node in a block chain network, and the apparatus includes:
the system comprises a first acquisition module, a second acquisition module and a processing module, wherein the first acquisition module is used for acquiring a first evaluation value which is sent by a plurality of viewing terminals and determined aiming at service data in a to-be-processed area; the to-be-processed area is an area in the first assessment file output by each viewing terminal;
a first determination module for determining an abnormality evaluation value from the first evaluation values through the smart contract in the contract node, and determining a first evaluation value other than the abnormality evaluation value among the first evaluation values as an evaluation value to be processed;
the calling module is used for calling the intelligent contract and sending the service data in the region to be processed to the auditing terminal;
the second acquisition module is used for acquiring a second evaluation value which is returned by the audit terminal and determined aiming at the service data in the area to be processed;
and a writing module, configured to determine a target evaluation value corresponding to the service data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and write associated service data information associated with the target evaluation value into the blockchain corresponding to the blockchain network.
Wherein, this first acquisition module includes:
the device comprises a cutting unit, a processing unit and a processing unit, wherein the cutting unit is used for acquiring a first examination file aiming at a target test paper and a cutting identifier of the first examination file, which are sent by a scanning terminal, and cutting the first examination file into at least one area based on the cutting identifier; each area in the at least one area corresponds to a plurality of terminals respectively; one area corresponds to one service data;
a first distribution unit, configured to acquire a to-be-processed area from the at least one area, and distribute service data in the to-be-processed area to a plurality of terminals associated with the to-be-processed area;
and the receiving unit is used for respectively determining a plurality of terminals associated with the to-be-processed area as the browsing terminals and receiving first evaluation values which are respectively sent by the browsing terminals and are determined aiming at the service data in the to-be-processed area.
Wherein the first determining module comprises:
the first average processing unit is used for carrying out average processing on the first evaluation values through the intelligent contract in the contract node to obtain a first average value among the first evaluation values;
a first determining unit configured to determine a difference between each of the first evaluation values and the first average value, and determine a first evaluation value for which the difference is larger than an abnormality threshold as an abnormality evaluation value;
a rejecting unit configured to reject the abnormal evaluation value from the first evaluation value;
a second determining unit for determining the first evaluation value excluding the abnormal evaluation value as an evaluation value to be processed.
Wherein, this write module includes:
a third determining unit configured to acquire the first evaluation value having the largest evaluation value and the first evaluation value having the smallest evaluation value from the evaluation values to be processed, and determine an evaluation range formed by the first evaluation value having the largest evaluation value and the first evaluation value having the smallest evaluation value;
a second average processing unit, configured to, if the second evaluation value belongs to the evaluation range, perform an average processing on the to-be-processed evaluation value and the second evaluation value to obtain a second average value between the to-be-processed evaluation value and the second evaluation value;
a fourth determining unit, configured to determine the second average value as a target evaluation value corresponding to the service data in the to-be-processed region;
and the writing unit is used for writing the related service data information related to the target evaluation value into the block chain corresponding to the block chain network.
Wherein, this write module still includes:
the second distribution unit is used for triggering a rechecking mechanism in the intelligent contract and distributing the service data in the region to be processed to the plurality of viewing terminals if the second evaluation value does not belong to the evaluation range;
and the updating unit is used for receiving a third evaluation value which is sent by the plurality of viewing terminals and determined aiming at the service data in the area to be processed, and updating the first evaluation value based on the third evaluation value.
Wherein the write unit includes:
an obtaining subunit, configured to obtain a browsing duration of each browsing terminal for the service data in the to-be-processed area;
a determining subunit, configured to determine, according to the multiple scoring durations, the to-be-processed evaluation value, the abnormal evaluation value, and the second evaluation value, associated service data information associated with the target evaluation value;
and the writing subunit is used for writing the target block containing the associated service data information into the block chain corresponding to the block chain network.
Wherein, the device still includes:
the second determining module is used for acquiring at least one second assessment file associated with the first assessment file and determining the reading terminal associated with the abnormal assessment value as a terminal to be monitored; each second assessment file and the first assessment file comprise the same to-be-processed area;
the monitoring module is used for monitoring a fourth evaluation value determined by the terminal to be monitored for each second evaluation file through the intelligent contract;
the counting module is used for counting the frequency of the fourth evaluation value as the abnormal evaluation value in the target duration;
the third determining module is used for determining behavior confidence information corresponding to the terminal to be monitored based on the times and the reading duration of each second assessment file; the behavior confidence information is used for representing that the user corresponding to the terminal to be detected has the authority of checking the file reading.
One aspect of the present application provides a node device, including: a processor, a memory, a network interface;
the processor is connected to a memory and a network interface, wherein the network interface is used for providing a data communication function, the memory is used for storing a computer program, and the processor is used for calling the computer program to execute the method in the above aspect in the embodiment of the present application.
An aspect of the present application provides a computer-readable storage medium storing a computer program comprising program instructions that, when executed by a processor, perform the method of the above-mentioned aspect of the embodiments of the present application.
In the embodiment of the application, a contract node in a block chain network may acquire a first evaluation value determined for service data in a to-be-processed area, which is sent by a plurality of viewing terminals. The to-be-processed area is an area in the first assessment file output by each viewing terminal. The contract node may determine an abnormality evaluation value from the first evaluation values by an intelligent contract in the contract node, and determine a first evaluation value other than the abnormality evaluation value among the first evaluation values as an evaluation value to be processed. At this time, the contract node may invoke the intelligent contract, send the service data in the to-be-processed region to the auditing terminal, and obtain a second evaluation value determined for the service data in the to-be-processed region returned by the auditing terminal. Further, the contract node may determine a target evaluation value corresponding to traffic data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and write associated traffic data information associated with the target evaluation value into the blockchain corresponding to the blockchain network. Therefore, the contract node in the blockchain network can call an intelligent contract, determine a target evaluation value of the service data in the to-be-processed area of the first assessment file, and write the associated service data information associated with the target evaluation value into the blockchain corresponding to the blockchain network, so that the reliability of the service data of the target evaluation value can be improved as the service data information on the blockchain has non-tamper-property.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1a is a schematic diagram of a block link point system according to an embodiment of the present disclosure;
fig. 1b is a schematic structural diagram of a network architecture according to an embodiment of the present application;
fig. 2 is a schematic view of a scenario for performing data interaction according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a data processing method according to an embodiment of the present application;
FIG. 4 is a schematic view of an electronic assessment document provided by an embodiment of the present application;
FIG. 5 is a schematic flow chart diagram of another data processing method provided in the embodiments of the present application;
fig. 6 is a scene schematic diagram for determining behavior confidence information corresponding to a terminal to be monitored according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic diagram of a node device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1a is a schematic structural diagram of a block link point system according to an embodiment of the present disclosure. As shown in fig. 1a, the block-link node system refers to a system for performing data sharing between nodes. The block link point system may include a plurality of nodes. As shown in fig. 1a, the block link point system may specifically include node 1000a, node 1000b, nodes 1000c, …, and node 1000 n.
In the block chain node system, when each node works normally, the associated service data information associated with the target evaluation value can be acquired, so as to maintain the shared data in the block chain node system. In order to ensure the information intercommunication in the blockchain node system, a network connection can be established between each node in the blockchain node system, so as to transmit data through the network connection. For example, when any node in the block chain node system acquires the associated service data information, other nodes in the block chain node system may acquire the associated service data information according to a consensus algorithm, and store the associated service data information as data in shared data, so that the data stored in all nodes in the block chain node system are consistent.
Each node in the block chain node point system has a corresponding node identifier, and each node in the block chain node point system can store other node identifiers having a network connection relationship with the current node, so that the generated block is broadcast to other nodes in the block chain node point system according to the node identifiers of the other nodes. Each node may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an IP (Internet Protocol) address and any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
TABLE 1
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
Node N 119.123.789.258
It should be understood that the embodiments of the present application may select one node from the plurality of nodes in the block-link point system shown in fig. 1a as a contract node in the block-link network corresponding to the block-link point system. For example, the node 1000a in the blockchain link point system may be used as a contract node in the blockchain network to illustrate a process in which the node 1000a may determine a target evaluation value of the first assessment file through an intelligent contract, and write associated service data information associated with the target evaluation value into a blockchain corresponding to the blockchain network.
For easy understanding, please refer to fig. 1b, which is a schematic structural diagram of a network architecture according to an embodiment of the present application. As shown in fig. 1b, the network architecture may include a node 1000a, a scanning terminal 2000, a viewing terminal cluster, and a review terminal 4000. It is understood that the node 1000a shown in fig. 1b may be the node 1000a in the block-link point system shown in fig. 1a, and the node 1000a may be a contract node in the block-link network corresponding to the block-link point system. The viewing terminal cluster shown in fig. 1b may comprise a plurality of viewing terminals. As shown in fig. 1b, the viewing terminal cluster may specifically include: viewing terminal 3000a, viewing terminals 3000b, …, and viewing terminal 3000 n.
Each of the viewing terminals and the review terminals 4000 in the viewing terminal cluster shown in fig. 1b may include: and the intelligent terminals have a service data processing function, such as a smart phone, a tablet computer and a desktop computer. It can be understood that each viewing terminal in the viewing terminal cluster of the embodiment of the present application can evaluate the associated service data in the electronic assessment file scanned by the scanning terminal 2000.
As shown in fig. 1b, the scanning terminal 2000 may have a network connection with the node 1000a, so that the scanning terminal may perform data interaction with the node 1000a through the network connection. Furthermore, each of the viewing terminals 3000a, 3000b, …, and 3000n may be in network connection with the node 1000a, so that each viewing terminal may interact with the node 1000a through the network connection. The review terminal 4000 may also be in network communication with the node 1000a such that the review terminal can interact with the node 1000a via the network communication.
It should be appreciated that the scanning terminal 2000 may scan the target test paper into an electronic assessment document and transmit the electronic assessment document to the node 1000 a. The target test paper can be the test paper of college entrance examination, self-examination, adult college entrance examination, middle school examination and other various social examinations (computer-level examination, student examination, etc.). At this time, the node 1000a may obtain a cutting identifier of the electronic assessment document and cut the electronic assessment document into at least one region based on the cutting identifier. Wherein the cutting identifier is a sign that the node 1000a cuts the electronic assessment document. It can be understood that each area cut by the electronic assessment document corresponds to a plurality of terminals respectively, and one area corresponds to one service data.
Further, the node 1000a may select an area from at least one area in the electronic assessment document and transmit the business data in the area to a plurality of terminals associated with the area. At this time, the node 1000a may determine a plurality of terminals associated with the area as viewing terminals, respectively, and call the area received by the viewing terminal as a to-be-processed area. It is understood that the plurality of viewing terminals in the viewing terminal cluster shown in fig. 1b may be a plurality of terminals associated with the to-be-processed area (e.g., area a) of the electronic assessment document. For example, the business data in the area to be processed may be the business data in the area where the blank filling of a certain biological test paper is located. It should be understood that each viewing terminal in the viewing terminal cluster can sequentially display the business data in the area where the blank filling question of each biological test paper sent by the node 1000a is located, but cannot display the business data corresponding to other areas (e.g., area B, answer) of the biological test paper. In addition, the responder information corresponding to the target test paper cannot be displayed on each viewing terminal, so that the evaluation error of the user corresponding to the viewing terminal on the business data in the to-be-processed area, caused by the subjective factor of the user, can be reduced.
It should be understood that the user corresponding to each viewing terminal in the viewing terminal cluster can evaluate the service data of the to-be-processed area (area a), so that the evaluated evaluation value can be input into the corresponding viewing terminal, so that the viewing terminal can transmit the evaluation value to the node 1000 a. It can be understood that, in the embodiment of the present application, the electronic assessment file corresponding to the to-be-processed area that each viewing terminal views at the current time may be referred to as a first assessment file, and after the viewing terminal determines the assessment value for the service data in the to-be-processed area of the first assessment file, the viewing terminal may continue to determine the assessment value for at least one electronic assessment file sent by the node 1000 a. Each electronic assessment file in the at least one electronic assessment file and the first assessment file have the same region to be processed. At this time, the embodiment of the application may collectively refer to at least one electronic assessment document having the same area to be processed as the first assessment document as the second assessment document.
It is understood that the node 1000a may obtain the evaluation value determined by each viewing terminal in the viewing terminal cluster as shown in fig. 1b for the traffic data in the area to be processed. In this embodiment of the application, the evaluation value determined by the plurality of browsing terminals for the service data in the to-be-processed area of the first assessment file may be referred to as a first evaluation value.
Further, the node 1000a may determine an abnormality evaluation value from the first evaluation values by calling a smart contract, and refer to the first evaluation values excluding the abnormality evaluation value as evaluation values to be processed. At this time, the node 1000a may transmit the service data in the pending area to the auditing terminal 4000 as shown in fig. 1 b. It can be understood that the service data received by the audit terminal 4000 and the service data received by each viewing terminal in the viewing terminal cluster are the service data in the same to-be-processed area sent by the node 1000 a. A user (auditor) corresponding to the audit terminal 4000 can evaluate the service data in the to-be-processed area, and input the evaluation value to the audit terminal 4000, so that the audit terminal 4000 can send the evaluation value to the node 1000 a. In this embodiment, the evaluation value determined by the audit terminal 4000 for the service data in the to-be-processed area of the first assessment document may be referred to as a second evaluation value.
The node 1000a may determine a target evaluation value corresponding to traffic data in the area to be processed according to the second evaluation value and the evaluation value to be processed, and write associated traffic data information associated with the target evaluation value into a block chain corresponding to the block chain network as shown in fig. 1a, so that reliability of the target evaluation value may be improved. The target evaluation value refers to an evaluation value finally obtained by the service data in the area to be processed.
Alternatively, if no abnormal evaluation value occurs in the first evaluation values determined by the plurality of viewing terminals in the viewing terminal cluster shown in fig. 1b for the service data in the to-be-processed area, the node 1000a may perform an average processing on the first evaluation values, so as to obtain an average value of the first evaluation values. It is understood that the node 1000a may determine the average value as a target evaluation value corresponding to the traffic data in the area to be processed, and write the associated traffic data information associated with the target evaluation value into a block chain in the block chain network as shown in fig. 1 a. If the determined average value is a non-integer, the node 1000a may approximate (e.g., round) the average value, and use the average value after the approximation as the target evaluation value of the traffic data in the to-be-processed area.
For easy understanding, please refer to fig. 2, which is a schematic diagram of a scenario for performing data interaction according to an embodiment of the present application. As shown in fig. 2, the contract node may be a node 1000a corresponding to the node in fig. 1b, and the node 1000a may be a node in the block-link node system shown in fig. 1 a. The audit terminal may be the audit terminal 4000 corresponding to fig. 1 b. Each of the viewing terminals a, B and C in the viewing terminal cluster is any one of the viewing terminals in the viewing terminal cluster shown in fig. 1B, wherein each viewing terminal in the viewing terminal cluster is a viewing terminal associated with a region to be processed.
In the embodiment of the present application, only three viewing terminals are taken as an example, namely, a viewing terminal a, a viewing terminal B, and a viewing terminal C. It can be understood that, in the embodiment of the present application, the business data in the to-be-processed area of the first assessment document may be answers to the short-answer questions of the historical test paper, which are filled by the examinee a. In other words, the electronic examination document scanned by the scanning terminal of the historical examination paper of the examinee a can be called a first examination document, and the region where the brief answer questions are located can be called a region to be processed.
As shown in fig. 2, the contract node may obtain a to-be-processed region of a first assessment file (i.e., a region where the brief answers of the examinee a history test paper are located) scanned by a scanning terminal having a network connection relationship with the contract node, and distribute the to-be-processed region to each of the viewing terminals in the viewing terminal cluster associated with the to-be-processed region. It should be understood that each of the viewing terminals in the viewing terminal cluster may determine the first evaluation value for the traffic data in the area to be processed. For example, the first rating value determined by the viewing terminal a for the traffic data in the to-be-processed area may be K1 (for example, 20 points), the first rating value determined by the viewing terminal B for the traffic data in the to-be-processed area may be K2 (for example, 25 points), and the first rating value determined by the viewing terminal C for the traffic data in the to-be-processed area may be K3 (for example, 18 points).
Further, the three viewing terminals may transmit the respective determined first evaluation values to the contract node. At this time, the contract node may average the received first evaluation values by the intelligent contract in the contract node, so that an average (i.e., 21 points) between the first evaluation values may be obtained. In this embodiment, an average value obtained by averaging the first evaluation values determined by the plurality of viewing terminals may be referred to as a first average value. It should be understood that the contract node may determine a difference between each of the first evaluation values determined by the three viewing terminals and the first average value. Wherein the difference between the first evaluation value (20 points) determined by the viewing terminal a and the first average value is 1 point, the difference between the first evaluation value (25 points) determined by the viewing terminal B and the first average value is 4 points, and the difference between the first evaluation value (18 points) determined by the viewing terminal C and the first average value is 3 points.
It should be understood that an abnormality threshold (for example, 3 points) for determining an abnormality evaluation value between the first evaluation values determined by the plurality of viewing terminals may be set in advance in the embodiment of the present application. It is to be understood that the contract node may determine the first evaluation value for which the above-described difference is larger than the abnormality threshold value as the abnormality evaluation value. The contract node can determine the first evaluation value (25 points) determined by the viewing terminal B as the abnormality evaluation value. Further, the contract node may exclude the abnormal evaluation value from the above-described first evaluation values, and determine the first evaluation value excluding the abnormal evaluation value as an evaluation value to be processed. The evaluation values to be processed are the first evaluation value (20 points) determined by the viewing terminal a and the first evaluation value (18 points) determined by the viewing terminal C.
At this time, the contract node may send the service data in the to-be-processed area of the first assessment document (i.e., the answer filled by the examinee a in the area where the short answer of the historical test paper is located) to the review terminal shown in fig. 2, so that the reviewer corresponding to the review terminal evaluates the service data in the to-be-processed area. The review terminal may send the evaluation value determined by the auditor to the contract node. The evaluation value determined by the auditing terminal for the service data in the to-be-processed area of the first assessment file can be referred to as a second evaluation value.
Further, the contract node may acquire the first evaluation value having the largest evaluation value and the first evaluation value having the smallest evaluation value from among the above-described evaluation values to be processed, and a range made up of the first evaluation value having the largest evaluation value and the first evaluation value having the smallest evaluation value is referred to as an evaluation range. The contract node may determine that the first evaluation value having the largest evaluation value is 20 points and the first evaluation value having the smallest evaluation value is 18 points from the evaluation values to be processed, so that the evaluation range may be between 18 points and 20 points, in other words, the evaluation range includes 18 points, 19 points, and 20 points.
If the second evaluation value (for example, 19 points) determined by the review terminal shown in fig. 2 falls within the evaluation range, the contract node may perform averaging processing on the second evaluation value and the evaluation value to be processed, so that an average value (that is, 19 points) between the second evaluation value and the evaluation value to be processed may be obtained. In this embodiment, an average value obtained after performing averaging processing on the second evaluation value and the evaluation value to be processed may be referred to as a second average value. At this time, the contract node may use the second average value as a target evaluation value corresponding to the traffic data in the to-be-processed area. In other words, the contract node may determine that the answers filled in by the short answers in the test paper of the examinee a are 19 points.
Further, the contract node may acquire a viewing time length of each viewing terminal in the viewing terminal cluster for the service data in the to-be-processed area, and determine the associated service data information associated with the target evaluation value according to the viewing time length, the abnormal evaluation value, the to-be-processed evaluation value, the second evaluation value, and the target evaluation value. The associated service data information is used for recording a determination process of a target evaluation value of service data in the region to be processed of the first assessment file. The contract node can uplink the associated service data information, thereby improving the reliability of the associated service data information.
The blockchain 1 shown in fig. 2 may be a blockchain corresponding to the blockchain network in fig. 1a, where the blockchain 1 may be an identical blockchain shared by each node in the blockchain network corresponding to the contract node, and each node may obtain information stored in the blockchain 1. The blockchain 1 includes a block 10a, blocks 10b, …, a block 10n, and a target block, wherein the block 10a can be referred to as a created block of the blockchain 1. The target block in the block chain 1 contains the related service data information.
The contract node may write the associated service data information into a block chain in the block chain network corresponding to the contract node. In other words, the contract node may obtain the chunk 10n with the largest generation timestamp from the blockchain 1. Further, the contract node may generate a target block to be written in the block chain 1 according to the associated service data information. At this time, the contract node broadcasts the target block containing the associated service data information to all the blockchain nodes (e.g., consensus nodes for performing consensus processing) in the blockchain network, and when it is determined that all the blockchain nodes achieve consensus, the target block may be written into the blockchain 1, that is, the target block is set as the next block of the block 10 n.
A specific implementation manner of a contract node in a blockchain network determining a target evaluation value of service data in a region to be processed through an intelligent contract in the contract node and writing associated service data information associated with the target evaluation value into the blockchain may refer to the following embodiments corresponding to fig. 3 to 6.
Further, please refer to fig. 3, which is a flowchart illustrating a data processing method according to an embodiment of the present application. The method may be applied to a contract node in a blockchain network. As shown in fig. 3, the method may include:
s101, acquiring a first evaluation value which is sent by a plurality of viewing terminals and determined aiming at service data in a to-be-processed area.
Specifically, a contract node in the blockchain network may transmit a to-be-processed region of the first electronic assessment file to a plurality of viewing terminals associated with the to-be-processed region. Further, each of the plurality of viewing terminals may determine a first evaluation value for the traffic data in the area to be processed, and transmit the first evaluation value to the contract node. The to-be-processed area is an area in the first assessment file output by each viewing terminal. The first assessment file refers to an electronic assessment file corresponding to a to-be-processed area which is browsed by each browsing terminal at the current moment.
It should be understood that the first electronic assessment file may be an electronic file transmitted to the contract node through a question terminal where the examinee is located. The answer terminal is a terminal used by examinees to answer the target test paper. For example, the first assessment document may be an electronic document answered by examinee a on answering terminal a for mechanical examination a (computer-grade examination).
Alternatively, the first electronic assessment file may be a file acquired by the contract node from a scanning terminal having a network connection relationship with the contract node. It can be understood that the contract node may obtain a first assessment file for a target test paper sent by a scanning terminal and a cutting identifier of the first assessment file, and may cut the first assessment file into at least one region based on the cutting identifier. The target test paper can be the test paper of college entrance examination, self-examination, adult college entrance examination, middle school examination and other various social examinations (students examination, etc.). The contract node may acquire a to-be-processed region from the at least one region, and distribute the service data in the to-be-processed region to a plurality of terminals associated with the to-be-processed region. Further, the contract node may determine a plurality of terminals associated with the area to be processed as viewing terminals, respectively, and receive first evaluation values determined for the traffic data in the area to be processed, which are transmitted by the plurality of viewing terminals, respectively. Each area in the at least one area corresponds to a plurality of terminals respectively; one area corresponds to one service data. The first assessment document can also be acquired in other manners, which are not limited herein.
The contract node may be a contract node corresponding to fig. 2, the contract node may be the node 1000a in fig. 1b, and the node 1000a is a contract node in the block chain node system in fig. 1 a. The viewing terminal may be any one of the viewing terminal clusters corresponding to fig. 1 b. The scanning terminal may be the scanning terminal 2000 corresponding to fig. 1 b.
It should be understood that the scanning terminal having a network connection relationship with the contract node can scan the target test papers of a plurality of examinees participating in examination into an electronic examination file. It is understood that the electronic assessment document carries a cutting identifier. Wherein the cutting identifier is a sign of the contract node cutting the electronic assessment file.
For easy understanding, please refer to fig. 4, which is a schematic diagram of an electronic assessment document provided in an embodiment of the present application. As shown in fig. 4, the electronic assessment file 100a may be an electronic scanning file obtained by scanning the target test paper by the scanning terminal. The electronic assessment document can be an answer sheet of subject A filled in a XX ordinary high-interest national unified examination by a certain examinee. For example, the content in the title 30 shown in fig. 4 may be "2019 ordinary high admission nationwide unified examination language answer sheet"
It should be understood that the identifier 20 shown in fig. 4 is a locating identifier used by the contract node to locate the electronic assessment document, and the identifier 10 is a cutting identifier used by the contract node to cut the electronic assessment document. It is understood that the contract node can obtain the identifier 20 and locate the electronic assessment document via the identifier 20. Further, the contract node may obtain an identifier 10 in the electronic scan file, and divide the electronic assessment file into at least one region based on the identifier 10. As shown in fig. 4, the contract node may divide the electronic assessment file 100a into 5 regions, i.e., a region a, a region B, a region C, a region D, and a region E.
Each of the 5 regions corresponds to a plurality of terminals, and each region corresponds to one service data. For example, the area a corresponds to an area where a choice question is located, the area B corresponds to an area where a literary expression is read, the area C corresponds to an area where an ancient poetry is appreciated, the area D corresponds to an area where a modern expression is read, and the area E corresponds to an area where a composition is located.
Further, the contracting node may obtain a pending area (e.g., area B) from the 5 areas and send the service data in the area B to a plurality of terminals associated with the area B. At this time, the contract node may determine a plurality of terminals associated with the area B as viewing terminals, respectively. The viewing terminals may be viewing terminals in the viewing terminal cluster corresponding to fig. 2, namely, viewing terminal a, viewing terminal B, and viewing terminal C.
It should be understood that the user corresponding to each viewing terminal in the viewing terminal cluster can evaluate the service data (reading in the language) of the area B and input the evaluated value into the corresponding viewing terminal. The input mode may include voice input, keyboard input, gesture input, and the like. At this time, each of the viewing terminals may transmit the evaluation value determined by the viewing terminal to the contract node. In this embodiment, the evaluation values determined by the three viewing terminals for the traffic data in the area B may be referred to as first evaluation values. For example, the first rating value determined by the viewing terminal a for the traffic data in the area B may be K1 (e.g., 9 points), the first rating value determined by the viewing terminal B for the traffic data in the area B may be K2 (e.g., 8 points), and the first rating value determined by the viewing terminal C for the traffic data in the area B may be K3 (e.g., 4 points).
S102, an abnormal evaluation value is determined from the first evaluation values through the intelligent contract in the contract node, and a first evaluation value except the abnormal evaluation value in the first evaluation values is determined as an evaluation value to be processed.
Specifically, the contract node may average the first evaluation values through an intelligent contract in the contract node to obtain a first average value between the first evaluation values. Then, the contract node may further determine a difference between each of the first evaluation values and the first average value, and determine a first evaluation value for which the difference is larger than an abnormality threshold as an abnormality evaluation value. Further, the contract node may exclude the abnormal evaluation value from the first evaluation values, and determine the first evaluation value excluding the abnormal evaluation value as an evaluation value to be processed.
It should be understood that the contract node may acquire the first evaluation values, i.e., 9 points, 8 points, 4 points, determined for the traffic data in the area B (i.e., the area where the literary language is read) shown in fig. 4 by performing the above-described step S101. The contract node may average the received first evaluation values by an intelligent contract in the contract node, so that an average (i.e., 7 points) between the first evaluation values may be obtained. In this embodiment, an average value obtained by averaging the first evaluation values determined by the plurality of viewing terminals may be referred to as a first average value. It should be understood that the contract node may determine a difference between each of the first evaluation values determined by the three viewing terminals and the first average value. As shown in fig. 2, the difference between the first evaluation value (9 point) determined by the viewing terminal a and the first average value is 2 points, the difference between the first evaluation value (8 point) determined by the viewing terminal B and the first average value is 1 point, and the difference between the first evaluation value (4 point) determined by the viewing terminal C and the first average value is 3 points.
It should be understood that an abnormality threshold (for example, 2 points) for determining an abnormality evaluation value between the first evaluation values determined by the plurality of viewing terminals may be set in advance in the embodiment of the present application. It is to be understood that the contract node may determine the first evaluation value for which the above-described difference is larger than the abnormality threshold value as the abnormality evaluation value. The contract node can determine the first evaluation value (4 points) determined by the viewing terminal C as the abnormality evaluation value. Further, the contract node may exclude the abnormal evaluation value from the first evaluation values, and determine the first evaluation value excluding the abnormal evaluation value as a to-be-processed evaluation value, i.e., the first evaluation value (9 points) determined by the viewing terminal a and the first evaluation value (8 points) determined by the viewing terminal B.
S103, calling the intelligent contract and sending the service data in the region to be processed to the auditing terminal.
Specifically, after the abnormal evaluation value is removed, the contract node sends the service data in the to-be-processed area corresponding to the abnormal evaluation value to the auditing terminal by calling an intelligent contract. The audit terminal may be the audit terminal corresponding to fig. 2, and the audit terminal may be the audit terminal 4000 corresponding to fig. 1 b.
It should be understood that, as shown in fig. 2, the contract node may send the traffic data in the area B to the auditing terminal associated with the area B after culling the abnormal evaluation value (i.e., the first evaluation value 4 score determined by the viewing terminal C for the traffic data in the area B shown in fig. 4). At this time, an auditor corresponding to the audit terminal may evaluate the service data in the area B. In other words, the auditor can evaluate the answers that examinee a filled in the area where the literary reading is located.
And S104, acquiring a second evaluation value which is returned by the auditing terminal and determined aiming at the service data in the to-be-processed area.
Specifically, the audit terminal may transmit the evaluation value determined for the traffic data in the pending area to the contract node. In this embodiment of the present application, an evaluation value determined by the audit terminal for the service data in the to-be-processed area may be referred to as a second evaluation value. Further, the contract node may receive the second evaluation value transmitted by the audit terminal.
And S105, determining a target evaluation value corresponding to the service data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and writing the associated service data information associated with the target evaluation value into the blockchain corresponding to the blockchain network.
Specifically, the contract node may acquire the first evaluation value having the largest evaluation value and the first evaluation value having the smallest evaluation value from the evaluation values to be processed, and determine an evaluation range formed by the first evaluation value having the largest evaluation value and the first evaluation value having the smallest evaluation value. Further, the contract node may determine an affiliation between the second evaluation value and the evaluation range, so that a target evaluation value corresponding to the traffic data in the area to be processed may be determined, and associated traffic data information associated with the target evaluation value may be written into the blockchain corresponding to the blockchain network.
It should be understood that, as shown in fig. 2, the contract node may determine that the first evaluation value having the largest evaluation value is 9 points and the first evaluation value having the smallest evaluation value is 8 points from among the above-described evaluation values to be processed, so that the evaluation range may be between 8 points and 9 points, and it is understood that the evaluation range includes 8 points and 9 points.
If the second evaluation value (for example, 8 points) determined by the review terminal shown in fig. 2 falls within the evaluation range, the contract node may perform averaging processing on the second evaluation value and the evaluation value to be processed, so that an average value (i.e., 8.3 points) between the second evaluation value and the evaluation value to be processed may be obtained. In this embodiment, an average value obtained after performing averaging processing on the second evaluation value and the evaluation value to be processed may be referred to as a second average value. It is to be understood that, when determining the second average value, there may be a case where the second average value is a non-integer, and at this time, the contract node may approximate (e.g., round) the second average value so as to take the second average value after the approximate processing as the target evaluation value corresponding to the traffic data in the to-be-processed region. In other words, the contract node may determine that the score obtained by test taker A in the literary language reading section is 8.
If the second evaluation value (for example, 10 points) determined by the review terminal shown in fig. 2 does not fall within the evaluation range, the contract node may trigger a review mechanism in the intelligent contract to distribute the service data in the area to be processed to the three review terminals in the review terminal cluster shown in fig. 2. In other words, the contract node may send the service data in the area B shown in fig. 4 to the viewing terminal a, the viewing terminal B, and the viewing terminal C again, so that the users corresponding to the three viewing terminals can evaluate the answers filled in the area where the examinee a reads the language text again. The evaluation value determined by the plurality of browsing terminals in the browsing terminal cluster for the service data in the to-be-processed area in the first assessment file can be determined as the third evaluation value. It is understood that the contract node may receive the third evaluation values determined by the three viewing terminals and update the first evaluation value based on the third evaluation value. At this time, the contract node may perform the same step as the first evaluation value on the third evaluation value through the intelligent contract in the contract node, so that the target evaluation value of the service data in the region to be processed may be determined, which is not described herein again.
Alternatively, if no abnormal evaluation value occurs in the first evaluation values acquired by the contract node as shown in fig. 2, the contract node may perform an averaging process on the first evaluation values to obtain a first average value between the first evaluation values. At this time, the first average value may be used as a target evaluation value of traffic data in the area B shown in fig. 4. For example, the viewing terminal a shown in fig. 2 has a first evaluation value of 8 points for the traffic data in the area B, the viewing terminal B has a first evaluation value of 7 points for the traffic data in the area B, and the viewing terminal C has a first evaluation value of 8 points for the traffic data in the area B. At this time, the contract node may determine that the first average value corresponding to the first evaluation value is 7.67 points, perform approximation processing on the first average value, and obtain 8 points as the first average value after the approximation processing. At this time, the contract node may determine a difference between each first evaluation value and the first average value, and since the abnormality threshold is 2 points, the contract node is such that an abnormality evaluation value is not determined among the first evaluation values. It should be understood that the contract node may use the first average value after the approximate processing as a target evaluation value (i.e., 8 points) of the traffic data corresponding to the area B. In other words, the contract node may determine that the score obtained by test taker A in the literary language reading section is 8.
Further, the contract node may acquire a viewing time length of the service data of the area B shown in fig. 4 by each viewing terminal in the viewing terminal cluster shown in fig. 2, and determine the associated service data information associated with the target evaluation value according to the viewing time length, the abnormality evaluation value, the evaluation value to be processed, the second evaluation value, and the target evaluation value. The related business data information is used for recording a determining process of a business data determination target evaluation value in the to-be-processed area of the first assessment file. As shown in fig. 2, the contract node can uplink the associated service data information, so that the reliability of the associated service data information can be improved due to the non-tamper property of the block link technology.
The blockchain 1 may be a blockchain corresponding to the blockchain network in fig. 1a, where the blockchain 1 may be an identical blockchain shared by each node in the blockchain network corresponding to the contract node, and each node may obtain information stored in the blockchain 1. The blockchain 1 includes a block 10a, blocks 10b, …, a block 10n, and a target block, wherein the block 10a can be referred to as a created block of the blockchain 1. The target block in the block chain 1 contains the related service data information.
The contract node may write the associated service data information into a block chain in the block chain network corresponding to the contract node. In other words, the contract node may obtain the chunk 10n with the largest generation timestamp from the blockchain 1. Further, the contract node may generate a target block to be written in the block chain 1 according to the associated service data information. At this time, the contract node broadcasts the target block containing the associated service data information to all the blockchain nodes (e.g., consensus nodes for performing consensus processing) in the blockchain network, and when it is determined that all the blockchain nodes achieve consensus, the target block may be written into the blockchain 1, that is, the target block is set as the next block of the block 10 n.
In the embodiment of the application, a contract node in a block chain network may acquire a first evaluation value determined for service data in a to-be-processed area, which is sent by a plurality of viewing terminals. The to-be-processed area is an area in the first assessment file output by each viewing terminal. The contract node may determine an abnormality evaluation value from the first evaluation values by an intelligent contract in the contract node, and determine a first evaluation value other than the abnormality evaluation value among the first evaluation values as an evaluation value to be processed. At this time, the contract node may invoke the intelligent contract, send the service data in the to-be-processed region to the auditing terminal, and obtain a second evaluation value determined for the service data in the to-be-processed region returned by the auditing terminal. Further, the contract node may determine a target evaluation value corresponding to traffic data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and write associated traffic data information associated with the target evaluation value into the blockchain corresponding to the blockchain network. Therefore, the contract node in the blockchain network can call an intelligent contract, determine a target evaluation value of the service data in the to-be-processed area of the first assessment file, and write the associated service data information associated with the target evaluation value into the blockchain corresponding to the blockchain network, so that the reliability of the service data of the target evaluation value can be improved as the service data information on the blockchain has non-tamper-property.
Further, please refer to fig. 5, which is a flowchart illustrating another data processing method according to an embodiment of the present application. The method is applied to a contract node in a blockchain network. As shown in fig. 5, the method may include:
s201, acquiring a first evaluation value which is sent by a plurality of viewing terminals and determined aiming at the service data in the area to be processed.
Specifically, a contract node in the blockchain network may transmit a to-be-processed region of the first electronic assessment file to a plurality of viewing terminals associated with the to-be-processed region. Further, each of the plurality of viewing terminals may determine a first evaluation value for the traffic data in the area to be processed, and transmit the first evaluation value to the contract node. The to-be-processed area is an area in the first assessment file output by each viewing terminal. The first assessment file refers to an electronic assessment file corresponding to a to-be-processed area which is browsed by each browsing terminal at the current moment.
S202, an abnormality evaluation value is determined from the first evaluation values through the smart contract in the contract node, and a first evaluation value other than the abnormality evaluation value among the first evaluation values is determined as an evaluation value to be processed.
Specifically, the contract node may average the first evaluation values through an intelligent contract in the contract node to obtain a first average value between the first evaluation values. Then, the contract node may further determine a difference between each of the first evaluation values and the first average value, and determine a first evaluation value for which the difference is larger than an abnormality threshold as an abnormality evaluation value. Further, the contract node may exclude the abnormal evaluation value from the first evaluation values, and determine the first evaluation value excluding the abnormal evaluation value as an evaluation value to be processed.
S203, calling the intelligent contract and sending the service data in the region to be processed to the auditing terminal.
Specifically, after the abnormal evaluation value is removed, the contract node sends the service data in the to-be-processed area corresponding to the abnormal evaluation value to the auditing terminal by calling an intelligent contract. The audit terminal may be the audit terminal corresponding to fig. 2, and the audit terminal may be the audit terminal 4000 corresponding to fig. 1 b.
And S204, acquiring a second evaluation value which is returned by the auditing terminal and determined aiming at the service data in the to-be-processed area.
Specifically, the audit terminal may transmit the evaluation value determined for the traffic data in the pending area to the contract node. In this embodiment of the present application, an evaluation value determined by the audit terminal for the service data in the to-be-processed area may be referred to as a second evaluation value. Further, the contract node may receive the second evaluation value transmitted by the audit terminal.
And S205, determining a target evaluation value corresponding to the service data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and writing the associated service data information associated with the target evaluation value into the blockchain corresponding to the blockchain network.
Specifically, the contract node may acquire the first evaluation value having the largest evaluation value and the first evaluation value having the smallest evaluation value from the evaluation values to be processed, and determine an evaluation range formed by the first evaluation value having the largest evaluation value and the first evaluation value having the smallest evaluation value. Further, the contract node may determine an affiliation between the second evaluation value and the evaluation range, thereby determining a target evaluation value corresponding to the traffic data in the region to be processed, and write associated traffic data information associated with the target evaluation value into the blockchain corresponding to the blockchain network.
For specific implementation of steps S201 to S205, reference may be made to the description of steps S101 to S105 in the embodiment corresponding to fig. 3, which will not be described herein again.
S206, at least one second assessment file related to the first assessment file is obtained, and the reading terminal related to the abnormal assessment value is determined as the terminal to be monitored.
Specifically, the contract node may obtain at least one second assessment document having the same area to be processed as the first assessment document. It should be understood that, in the process of determining the first evaluation value by each of the viewing terminals of the viewing terminal cluster shown in fig. 1b, the contract node may determine the viewing terminal associated with the abnormal evaluation value as the terminal to be monitored. The electronic assessment files which are the same as the first assessment file in an area to be processed can be collectively called as second assessment files in the embodiment of the application.
And S207, monitoring a fourth evaluation value determined by the terminal to be monitored for each second evaluation file through the intelligent contract.
Specifically, after the viewing terminal associated with the to-be-processed area determines the first evaluation value for the to-be-processed area, the viewing terminal may continue to determine the evaluation value for the business data in the to-be-processed area of the second assessment file. In this embodiment of the application, the evaluation value determined by the viewing terminal for the service data in the to-be-processed area of the second assessment file may be referred to as a fourth evaluation value. Further, the contract node may monitor, through an intelligent contract, a fourth evaluation value determined by the terminal to be monitored for the service data in the to-be-processed area of each second evaluation file.
S208, counting the number of times that the fourth evaluation value is the abnormal evaluation value in the target time length.
Specifically, the contract node may count the number of times that the fourth evaluation value determined by the terminal to be monitored is an abnormal evaluation value within the target duration. The target duration refers to a duration that the terminal to be monitored spends determining the fourth evaluation value for the service data in the to-be-processed area of all the second assessment files.
S209, determining behavior confidence information corresponding to the terminal to be monitored based on the times and the reading time of each second assessment file.
Specifically, the contract node may determine behavior confidence information of the user corresponding to the viewing terminal according to the number of times that the fourth evaluation value determined by the terminal to be monitored is the abnormal evaluation value and the viewing duration of each second evaluation file. The behavior confidence information is used for representing that the user corresponding to the terminal to be detected has the authority of checking the file reading.
For convenience of understanding, please refer to fig. 6, which is a schematic view of a scenario for determining behavior confidence information corresponding to a terminal to be monitored according to an embodiment of the present application. As shown in fig. 6, the node a may be a contract node corresponding to fig. 2, the contract node may be a node 1000a corresponding to fig. 1b, and the node 1000a may be a node 1000a in the block-linked node system shown in fig. 1 a. The viewing terminal cluster may be the viewing terminal cluster corresponding to fig. 2, and the viewing terminal cluster may specifically include a viewing terminal a, a viewing terminal B, and a viewing terminal C.
As shown in fig. 6, the node a may obtain at least one electronic assessment file in the second assessment files 200, wherein each electronic assessment file in the second assessment files 200 is an electronic assessment file having the same pending area (area B) as the first assessment file (the electronic assessment file 100a shown in fig. 4). It should be appreciated that the node a can send each of the electronic assessment files 200 to each of the viewing terminals in the cluster of viewing terminals. In other words, each of the viewing terminals in the viewing terminal cluster may continue to determine the fourth assessment value for each of the second assessment files 200 after determining the first assessment value for the electronic assessment file 100a (first assessment file) shown in fig. 4. Wherein, the second assessment documents 200 can include at least one electronic assessment document. As shown in fig. 6, the second assessment document 200 may specifically include: an electronic assessment file 200a, electronic assessment files 200b, …, and an electronic assessment file 200 n.
It should be understood that the node a may determine, as the terminal to be monitored, the viewing terminal associated with the abnormal evaluation value when each viewing terminal in the viewing terminal cluster determines the first evaluation value for the first assessment file. For example, the node a may determine that the first evaluation value determined by the viewing terminal C in the viewing terminal cluster is an abnormal evaluation value, and at this time, the node a may determine the viewing terminal C as a terminal to be monitored.
Further, the viewing terminal C may continue to determine a fourth evaluation value for the business data in the area B of each of the electronic assessment files 200 after determining the first evaluation value for the business data in the area B of the first assessment file. At this time, the node a may monitor the fourth evaluation value determined by the viewing terminal C through the smart contract. The node a may count the number of times the fourth evaluation value determined by the viewing terminal C is an abnormal evaluation value within the target time period. The target duration refers to a duration taken by the viewing terminal C to determine the service data in the to-be-processed area of all the electronic assessment files in the second assessment file 200.
It should be understood that the node a may determine the behavior confidence information corresponding to the viewing terminal C according to the number and the viewing time length of the viewing terminal C for each electronic assessment file in the second assessment file 200. It can be understood that, if the browsing terminal C has more times of occurrence of abnormal evaluation values in the target time length, and the browsing time length of the service data in the area B is shorter, the behavior confidence information of the user C corresponding to the browsing terminal C is lower. And when the behavior confidence information of the user C is lower than a preset judgment threshold, canceling the browsing qualification of the user C. In other words, the user C does not have the right to view the target test paper. The node A determines the behavior confidence information of the browsing terminal corresponding to the abnormal evaluation value, so that the accuracy and the efficiency of the service data in the region to be processed can be improved.
In the embodiment of the application, a contract node in a block chain network may acquire a first evaluation value determined for service data in a to-be-processed area, which is sent by a plurality of viewing terminals. The to-be-processed area is an area in the first assessment file output by each viewing terminal. The contract node may determine an abnormality evaluation value from the first evaluation values by an intelligent contract in the contract node, and determine a first evaluation value other than the abnormality evaluation value among the first evaluation values as an evaluation value to be processed. At this time, the contract node may invoke the intelligent contract, send the service data in the to-be-processed region to the auditing terminal, and obtain a second evaluation value determined for the service data in the to-be-processed region returned by the auditing terminal. Further, the contract node may determine a target evaluation value corresponding to traffic data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and write associated traffic data information associated with the target evaluation value into the blockchain corresponding to the blockchain network. Therefore, the contract node in the blockchain network can call an intelligent contract, determine a target evaluation value of the service data in the to-be-processed area of the first assessment file, and write the associated service data information associated with the target evaluation value into the blockchain corresponding to the blockchain network, so that the reliability of the service data of the target evaluation value can be improved as the service data information on the blockchain has non-tamper-property.
Further, please refer to fig. 7, which is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. The data processing apparatus 1 may be applied to a contract node in a block chain network, and the contract node may be the contract node in the embodiment corresponding to fig. 2. The data processing apparatus 1 may include: the device comprises a first obtaining module 10, a first determining module 20, a calling module 30, a second obtaining module 40, a writing module 50, a second determining module 60, a monitoring module 70, a counting module 80 and a third determining module 90.
The first obtaining module 10 is configured to obtain a first evaluation value determined for service data in a to-be-processed area, which is sent by a plurality of viewing terminals; the to-be-processed area is an area in the first assessment file output by each viewing terminal.
Wherein, the first obtaining module 10 includes: a cutting unit 101, a first dispensing unit 102 and a receiving unit 103.
The cutting unit 101 is configured to obtain a first examination file for a target test paper and a cutting identifier of the first examination file, which are sent by a scanning terminal, and cut the first examination file into at least one region based on the cutting identifier; each area in the at least one area corresponds to a plurality of terminals respectively; one area corresponds to one service data;
the first distributing unit 102 is configured to acquire a to-be-processed area from the at least one area, and distribute service data in the to-be-processed area to a plurality of terminals associated with the to-be-processed area;
the receiving unit 103 is configured to determine a plurality of terminals associated with the to-be-processed area as viewing terminals, and receive first evaluation values determined for the service data in the to-be-processed area, which are transmitted by the plurality of viewing terminals, respectively.
For specific implementation manners of the cutting unit 101, the first distributing unit 102, and the receiving unit 103, reference may be made to the description of step S101 in the embodiment corresponding to fig. 3, and details will not be further described here.
The first determining module 20 is configured to determine an abnormality evaluation value from the first evaluation values through the smart contract in the contract node, and determine a first evaluation value other than the abnormality evaluation value among the first evaluation values as an evaluation value to be processed.
Wherein the first determining module 20 comprises: a first mean processing unit 201, a first determining unit 202, a rejecting unit 203 and a second determining unit 204.
The first average processing unit 201 is configured to perform average processing on the first evaluation values through an intelligent contract in the contract node to obtain a first average value between the first evaluation values;
the first determining unit 202 for determining a difference between each of the first evaluation values and the first average value, and determining a first evaluation value whose difference is larger than an abnormality threshold as an abnormality evaluation value;
the rejecting unit 203, for rejecting the abnormal evaluation value from the first evaluation value;
the second determining unit 204 is configured to determine the first evaluation value excluding the abnormal evaluation value as the evaluation value to be processed.
For specific implementation manners of the first mean processing unit 201, the first determining unit 202, the removing unit 203, and the second determining unit 204, reference may be made to the description of step S102 in the embodiment corresponding to fig. 3, and details will not be further described here.
The calling module 30 is configured to call the intelligent contract, and send the service data in the region to be processed to the auditing terminal;
the second obtaining module 40 is configured to obtain a second evaluation value, which is returned by the audit terminal and determined for the service data in the to-be-processed area;
the writing module 50 is configured to determine a target evaluation value corresponding to the service data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and write the associated service data information associated with the target evaluation value into the blockchain corresponding to the blockchain network.
The writing module 50 includes: a third determination unit 501, a second averaging unit 502, a fourth determination unit 503, a writing unit 504, a second distribution unit 505, and an updating unit 506.
The third determining unit 501 is configured to acquire a first evaluation value having a maximum evaluation value and a first evaluation value having a minimum evaluation value from the evaluation values to be processed, and determine an evaluation range formed by the first evaluation value having the maximum evaluation value and the first evaluation value having the minimum evaluation value;
the second average processing unit 502 is configured to, if the second evaluation value belongs to the evaluation range, perform average processing on the to-be-processed evaluation value and the second evaluation value to obtain a second average value between the to-be-processed evaluation value and the second evaluation value;
the fourth determining unit 503 is configured to determine the second average value as a target evaluation value corresponding to the service data in the area to be processed;
the writing unit 504 is configured to write the associated service data information associated with the target evaluation value into the corresponding blockchain of the blockchain network.
The writing unit 504 includes: fetch subunit 5041, determine subunit 5042, and write subunit 5043.
The obtaining sub-unit 5041 is configured to obtain a viewing duration of each viewing terminal for the service data in the to-be-processed area;
the determining subunit 5042, configured to determine, according to the multiple examination paper marking durations, the to-be-processed evaluation value, the abnormality evaluation value, and the second evaluation value, associated service data information associated with the target evaluation value;
the writing subunit 5043 is configured to write the target block containing the associated service data information into the corresponding blockchain of the blockchain network.
For a specific implementation manner of the obtaining subunit 5041, the determining subunit 5042, and the writing subunit 5043, reference may be made to the description of the associated service data information writing block chain in the embodiment corresponding to fig. 3, which will not be described again here.
The writing module 50 further includes:
the second distributing unit 505 is configured to trigger a rechecking mechanism in the intelligent contract and distribute the service data in the region to be processed to the multiple viewing terminals if the second evaluation value does not belong to the evaluation range;
the updating unit 506 is configured to receive a third evaluation value determined for the traffic data in the to-be-processed area and sent by the plurality of viewing terminals, and update the first evaluation value based on the third evaluation value.
The third determining unit 501, the second averaging unit 502, the fourth determining unit 503, the writing unit 504, the second distributing unit 505, and the updating unit 506. For a specific implementation of this step, reference may be made to the description of step S105 in the embodiment corresponding to fig. 3, and details will not be further described here.
The second determining module 60 is configured to obtain at least one second assessment file associated with the first assessment file, and determine a viewing terminal associated with the abnormality assessment value as a terminal to be monitored; each second assessment file and the first assessment file comprise the same to-be-processed area;
the monitoring module 70 is configured to monitor, through the intelligent contract, a fourth evaluation value determined by the terminal to be monitored for each second evaluation file;
the counting module 80 is configured to count the number of times that the fourth evaluation value is the abnormal evaluation value within a target duration;
the third determining module 90 is configured to determine behavior confidence information corresponding to the terminal to be monitored based on the number of times and the reading duration of each second assessment file; the behavior confidence information is used for representing that the user corresponding to the terminal to be detected has the authority of checking the file reading.
For specific implementation manners of the first obtaining module 10, the first determining module 20, the calling module 30, the second obtaining module 40, the writing module 50, the second determining module 60, the monitoring module 70, the counting module 80, and the third determining module 90, reference may be made to the description of step S201 to step S209 in the embodiment corresponding to fig. 5, which will not be further described herein. In addition, the beneficial effects of the same method are not described in detail.
Further, please refer to fig. 8, which is a schematic diagram of a node device according to an embodiment of the present application. As shown in fig. 8, the node apparatus 1000 may be a contract node in the embodiment corresponding to fig. 2, and the node apparatus 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display) and a Keyboard (Keyboard), and the network interface 1004 may optionally include a standard wired interface and a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally also be at least one storage device located remotely from the aforementioned processor 1001. As shown in fig. 8, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
In the node device 1000 shown in fig. 8, the network interface 1004 is mainly used for network communication with a viewing terminal, a scanning terminal, and a review terminal; the user interface 1003 is an interface for providing a user with input; and the processor 1001 may be used to invoke a device control application stored in the memory 1005 to implement:
acquiring a first evaluation value which is sent by a plurality of viewing terminals and determined aiming at service data in a to-be-processed area; the to-be-processed area is an area in the first assessment file output by each viewing terminal;
determining an abnormality evaluation value from the first evaluation values by the smart contract in the contract node, and determining a first evaluation value other than the abnormality evaluation value among the first evaluation values as an evaluation value to be processed;
calling the intelligent contract, and sending the service data in the region to be processed to an auditing terminal;
acquiring a second evaluation value which is returned by the auditing terminal and determined aiming at the service data in the area to be processed;
and determining a target evaluation value corresponding to the service data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and writing the associated service data information associated with the target evaluation value into the block chain corresponding to the block chain network.
It should be understood that the node device 1000 described in this embodiment may perform the description of the data processing method in the embodiment corresponding to fig. 3 and fig. 5, and may also perform the description of the data processing apparatus 1 in the embodiment corresponding to fig. 7, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Further, here, it is to be noted that: an embodiment of the present application further provides a computer-readable storage medium, where the computer program executed by the aforementioned data processing apparatus 1 is stored in the computer-readable storage medium, and the computer program includes program instructions, and when the processor executes the program instructions, the description of the data processing method in the embodiment corresponding to fig. 3 or fig. 5 can be performed, so that details are not repeated here. In addition, the beneficial effects of the same method are not described in detail. For technical details not disclosed in embodiments of the computer-readable storage medium referred to in the present application, reference is made to the description of embodiments of the method of the present application.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (10)

1. A data processing method is applied to a contract node in a block chain network and comprises the following steps:
acquiring a first evaluation value which is sent by a plurality of viewing terminals and determined aiming at service data in a to-be-processed area; the to-be-processed area is an area in the first assessment file output by each viewing terminal;
determining an abnormality evaluation value from the first evaluation values by an intelligent contract in the contract node, and determining a first evaluation value other than the abnormality evaluation value among the first evaluation values as an evaluation value to be processed;
calling the intelligent contract, and sending the service data in the region to be processed to an auditing terminal;
acquiring a second evaluation value which is returned by the auditing terminal and determined aiming at the service data in the area to be processed;
and determining a target evaluation value corresponding to the service data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and writing associated service data information associated with the target evaluation value into a block chain corresponding to the block chain network.
2. The method of claim 1, wherein the obtaining of the first evaluation value determined for the service data in the area to be processed sent by the plurality of scoring terminals comprises:
the method comprises the steps of obtaining a first examination file aiming at a target examination paper and a cutting identifier of the first examination file sent by a scanning terminal, and cutting the first examination file into at least one area based on the cutting identifier; each region in the at least one region corresponds to a plurality of terminals respectively; one area corresponds to one service data;
acquiring a region to be processed from the at least one region, and distributing service data in the region to be processed to a plurality of terminals associated with the region to be processed;
and respectively determining a plurality of terminals associated with the to-be-processed area as viewing terminals, and receiving first evaluation values which are respectively sent by the viewing terminals and are determined aiming at the service data in the to-be-processed area.
3. The method according to claim 1, wherein the determining an abnormality evaluation value from the first evaluation values by the smart contract in the contract node and determining a first evaluation value other than the abnormality evaluation value among the first evaluation values as an evaluation value to be processed comprises:
carrying out mean value processing on the first evaluation values through an intelligent contract in the contract node to obtain a first mean value between the first evaluation values;
determining a difference between each of the first evaluation values and the first average value, determining a first evaluation value for which the difference is greater than an abnormality threshold as an abnormality evaluation value;
removing the abnormal evaluation value from the first evaluation value;
determining a first evaluation value excluding the abnormal evaluation value as an evaluation value to be processed.
4. The method of claim 1, wherein the determining a target evaluation value corresponding to traffic data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and writing associated traffic data information associated with the target evaluation value into a block chain corresponding to the block chain network comprises:
acquiring a first evaluation value with the maximum evaluation value and a first evaluation value with the minimum evaluation value from the evaluation values to be processed, and determining an evaluation range formed by the first evaluation value with the maximum evaluation value and the first evaluation value with the minimum evaluation value;
if the second evaluation value belongs to the evaluation range, carrying out mean value processing on the evaluation value to be processed and the second evaluation value to obtain a second mean value between the evaluation value to be processed and the second evaluation value;
determining the second average value as a target evaluation value corresponding to the service data in the area to be processed;
and writing the related service data information associated with the target evaluation value into a block chain corresponding to the block chain network.
5. The method of claim 4, further comprising:
if the second evaluation value does not belong to the evaluation range, triggering a rechecking mechanism in the intelligent contract, and distributing the service data in the region to be processed to the plurality of reading terminals;
and receiving a third evaluation value which is sent by the plurality of viewing terminals and determined aiming at the service data in the area to be processed, and updating the first evaluation value based on the third evaluation value.
6. The method of claim 4, wherein the writing the associated traffic data information associated with the target evaluation value into the corresponding blockchain of the blockchain network comprises:
acquiring the browsing time length of each browsing terminal aiming at the service data in the region to be processed;
determining associated service data information associated with the target evaluation value according to the plurality of marking durations, the evaluation value to be processed, the abnormal evaluation value and the second evaluation value;
and writing the target block containing the associated service data information into a block chain corresponding to the block chain network.
7. The method of claim 1, further comprising:
acquiring at least one second assessment file associated with the first assessment file, and determining a reading terminal associated with the abnormal assessment value as a terminal to be monitored; each second assessment file and the first assessment file comprise the same to-be-processed area;
monitoring a fourth evaluation value determined by the terminal to be monitored for each second assessment file through the intelligent contract;
counting the number of times that the fourth evaluation value is the abnormal evaluation value within the target duration;
determining behavior confidence information corresponding to the terminal to be monitored based on the times and the reading duration of each second assessment file; the behavior confidence information is used for representing that the user corresponding to the terminal to be detected has the authority of checking the file reading.
8. A data processing apparatus, applied to a contract node in a block chain network, comprising:
the system comprises a first acquisition module, a second acquisition module and a processing module, wherein the first acquisition module is used for acquiring a first evaluation value which is sent by a plurality of viewing terminals and determined aiming at service data in a to-be-processed area; the to-be-processed area is an area in the first assessment file output by each viewing terminal;
a first determination module configured to determine an abnormality evaluation value from the first evaluation values by an intelligent contract in the contract node, and determine a first evaluation value other than the abnormality evaluation value among the first evaluation values as an evaluation value to be processed;
the calling module is used for calling the intelligent contract and sending the service data in the region to be processed to an auditing terminal;
the second acquisition module is used for acquiring a second evaluation value which is returned by the audit terminal and determined aiming at the service data in the area to be processed;
and a writing module, configured to determine a target evaluation value corresponding to the service data in the area to be processed based on the second evaluation value and the evaluation value to be processed, and write associated service data information associated with the target evaluation value into the blockchain corresponding to the blockchain network.
9. A node apparatus, comprising: a processor, a memory, and a network interface;
the processor is coupled to a memory for providing data communication functionality, a network interface for storing program code, and the processor is configured to invoke the program code to perform the method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions which, when executed by a processor, perform the method according to any one of claims 1-7.
CN201911174348.1A 2019-11-26 2019-11-26 Data processing method, device and storage medium Pending CN110955920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911174348.1A CN110955920A (en) 2019-11-26 2019-11-26 Data processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911174348.1A CN110955920A (en) 2019-11-26 2019-11-26 Data processing method, device and storage medium

Publications (1)

Publication Number Publication Date
CN110955920A true CN110955920A (en) 2020-04-03

Family

ID=69976850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911174348.1A Pending CN110955920A (en) 2019-11-26 2019-11-26 Data processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110955920A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111507689A (en) * 2020-04-23 2020-08-07 腾讯科技(深圳)有限公司 Service processing method, device, equipment and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111507689A (en) * 2020-04-23 2020-08-07 腾讯科技(深圳)有限公司 Service processing method, device, equipment and computer readable storage medium
CN111507689B (en) * 2020-04-23 2023-04-18 腾讯科技(深圳)有限公司 Service processing method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
Serrano et al. The rise of Germany's AfD: A social media analysis
Fawzi et al. Concepts, causes and consequences of trust in news media–a literature review and framework
CN107784051B (en) Online customer service response system and method
CN110083808B (en) Cheating judgment method, device, equipment and storage medium based on user answers
CN110634471B (en) Voice quality inspection method and device, electronic equipment and storage medium
CN107528867B (en) Information pushing method and system
US20190272769A1 (en) Information processing device, information processing method, and non-transitory computer readable medium storing information processing program
CN111694644A (en) Message processing method and device based on robot operating system and computer equipment
CN107085549A (en) The method and apparatus of fault message generation
CN111582653A (en) Government affair service evaluation processing method, system, device and storage medium
CN107896170A (en) Insure the monitoring method and device of application system
KR101739539B1 (en) System and method for verifying and revising knowledge base
CN110377703A (en) Error information processing method, device and equipment
CN113889271A (en) Mental health test method and device for students
CN110543550A (en) Method and device for automatically generating test questions
CN109587351B (en) Call testing method, device, equipment and storage medium
CN110955920A (en) Data processing method, device and storage medium
Iakhnis et al. Networks of power: Analyzing world leaders interactions on social media
CN110427620B (en) Service quality optimization management system based on community system
CN110427277B (en) Data verification method, device, equipment and storage medium
CN110111011B (en) Teaching quality supervision method and device and electronic equipment
CN110674632A (en) Method and device for determining security level, storage medium and equipment
CN111563037A (en) Test optimization method and device based on test questions, storage medium and terminal
CN110569297A (en) Student learning state statistics and evaluation system
CN113362031A (en) Activity sign-in method, device, equipment and storage medium

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