CN111696634B - Data processing method, device, equipment and computer readable storage medium - Google Patents

Data processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN111696634B
CN111696634B CN201910188121.6A CN201910188121A CN111696634B CN 111696634 B CN111696634 B CN 111696634B CN 201910188121 A CN201910188121 A CN 201910188121A CN 111696634 B CN111696634 B CN 111696634B
Authority
CN
China
Prior art keywords
processed
data
questionnaire data
questionnaire
blockchain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910188121.6A
Other languages
Chinese (zh)
Other versions
CN111696634A (en
Inventor
李娜
高飞
许利群
郭义华
刘金鑫
靳泽宇
任伯瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910188121.6A priority Critical patent/CN111696634B/en
Publication of CN111696634A publication Critical patent/CN111696634A/en
Application granted granted Critical
Publication of CN111696634B publication Critical patent/CN111696634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/20ICT specially adapted for the handling or processing of patient-related medical or healthcare data for electronic clinical trials or questionnaires
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a data processing method, a device, equipment and a computer readable storage medium, wherein the data processing method comprises the following steps: acquiring questionnaire data to be processed; and calling an intelligent contract on the blockchain to clean the questionnaire data to be processed. According to the scheme, questionnaire data to be processed are obtained; calling an intelligent contract on a block chain to clean the questionnaire data to be processed; the method can ensure the non-tamper property, the traceability and the public transparency of the data processing process, greatly improve the public confidence of the questionnaire data and well solve the problem of lack of public confidence of the questionnaire data in the prior art.

Description

Data processing method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data processing method, apparatus, device, and computer readable storage medium.
Background
In practical work, many aspects need to be studied, such as examining the national hospital satisfaction, and the investigation result is used as a part of the performance assessment of the hospital, and the reputation and performance of the hospital are affected by the score of the hospital satisfaction. The questionnaire is a common investigation method; hospital satisfaction is collected through a questionnaire form, and most of the current questionnaire collection modes are webpage answering, and a central database stores, cleans and analyzes questionnaires.
However, in this process, the disclosure of the data is not guaranteed to be transparent, authentic, reliable and effective; the questionnaire data may be tampered with, and the data statistics are correct or lack of confidence.
Disclosure of Invention
The invention aims to provide a data processing method, a device, equipment and a computer readable storage medium, which solve the problem that questionnaire data in the prior art lacks public confidence.
In order to solve the above technical problems, an embodiment of the present invention provides a data processing method, including:
acquiring questionnaire data to be processed;
and calling an intelligent contract on the blockchain to clean the questionnaire data to be processed.
Optionally, the calling the intelligent contract on the blockchain cleans the questionnaire data to be processed, including:
and calling the intelligent contract on the blockchain according to the account address and the transaction hash value of the intelligent contract, and cleaning the questionnaire data to be processed.
Optionally, the calling the intelligent contract on the blockchain cleans the questionnaire data to be processed, including:
invoking an intelligent contract on a blockchain to authenticate the questionnaire data to be processed;
if the authentication is passed, executing a questionnaire recording operation on the questionnaire data to be processed, and newly adding a transaction record message in a blockchain;
and if the authentication is not passed, deleting the questionnaire data to be processed.
Optionally, the invoking the intelligent contract on the blockchain to authenticate the questionnaire data to be processed includes:
invoking an intelligent contract on a blockchain, and judging whether the identity of the questionnaire data to be processed is unique, whether the generation position of the questionnaire data to be processed is matched with a preset geographic position, and whether the content of the questionnaire data to be processed accords with a preset reverse verification condition;
if yes, determining that the authentication is passed;
if not, determining that the authentication is not passed.
Optionally, invoking an intelligent contract on the blockchain to determine whether the content of the questionnaire data to be processed meets a preset reverse verification condition, including:
acquiring whether filling contents aiming at preset forward questions in the questionnaire data to be processed are opposite to filling contents of corresponding preset reverse questions;
if yes, determining that the content of the questionnaire data to be processed accords with a preset reverse verification condition;
if not, determining that the content of the questionnaire data to be processed does not accord with a preset reverse verification condition.
Optionally, before acquiring the questionnaire data to be processed, the method further includes:
constructing the intelligent contract;
the smart contract is deployed on the blockchain.
Optionally, when the smart contract is deployed on the blockchain, the method further includes:
an account address and a transaction hash value of the smart contract are generated.
Optionally, after calling the intelligent contract on the blockchain to clean the questionnaire data to be processed, the method further includes:
obtaining effective questionnaire data according to the questionnaire data to be processed after the cleaning treatment;
and storing the valid questionnaire data into a preset database.
Optionally, after obtaining valid questionnaire data according to the questionnaire data to be processed after the cleaning process, the method further includes:
generating corresponding abstract information and data index information according to the effective questionnaire data;
and storing the summary information and the data index information on a blockchain.
The embodiment of the invention also provides a data processing device, which comprises:
the first acquisition module is used for acquiring questionnaire data to be processed;
and the first processing module is used for calling the intelligent contract on the blockchain and cleaning the questionnaire data to be processed.
Optionally, the first processing module includes:
and the first processing sub-module is used for calling the intelligent contract on the blockchain according to the account address and the transaction hash value of the intelligent contract and cleaning the questionnaire data to be processed.
Optionally, the first processing module includes:
the first authentication sub-module is used for calling an intelligent contract on the blockchain and authenticating the questionnaire data to be processed;
the second processing sub-module is used for executing questionnaire recording operation on the questionnaire data to be processed if the authentication is passed, and newly adding a transaction record message in a blockchain;
and the third processing sub-module is used for deleting the questionnaire data to be processed if the authentication is not passed.
Optionally, the first authentication sub-module includes:
the first processing unit is used for calling an intelligent contract on the blockchain, judging whether the identity of the questionnaire data to be processed is unique, judging whether the generation position of the questionnaire data to be processed is matched with a preset geographic position, and judging whether the content of the questionnaire data to be processed meets a preset reverse verification condition;
if yes, determining that the authentication is passed;
if not, determining that the authentication is not passed.
Optionally, the first processing unit is specifically configured to:
acquiring whether filling contents aiming at preset forward questions in the questionnaire data to be processed are opposite to filling contents of corresponding preset reverse questions;
if yes, determining that the content of the questionnaire data to be processed accords with a preset reverse verification condition;
if not, determining that the content of the questionnaire data to be processed does not accord with a preset reverse verification condition.
Optionally, the method further comprises:
the first construction module is used for constructing the intelligent contract before acquiring questionnaire data to be processed;
and the first deployment module is used for deploying the intelligent contract on the blockchain.
Optionally, the method further comprises:
and the first generation module is used for generating an account address and a transaction hash value of the intelligent contract when the intelligent contract is deployed on the blockchain.
Optionally, the method further comprises:
the second processing module is used for obtaining effective questionnaire data according to the questionnaire data to be processed after cleaning the questionnaire data to be processed after the cleaning process is carried out on the questionnaire data to be processed after the intelligent contract on the blockchain is called;
and the first storage module is used for storing the valid questionnaire data into a preset database.
Optionally, the method further comprises:
the second generation module is used for generating corresponding abstract information and data index information according to the valid questionnaire data after obtaining the valid questionnaire data according to the questionnaire data to be processed after the cleaning processing;
and the second storage module is used for storing the abstract information and the data index information onto a blockchain.
The embodiment of the invention also provides data processing equipment, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor; the processor implements the data processing method described above when executing the program.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the steps of the data processing method described above.
The technical scheme of the invention has the following beneficial effects:
in the above scheme, the data processing method obtains questionnaire data to be processed; calling an intelligent contract on a block chain to clean the questionnaire data to be processed; the method can ensure the non-tamper property, traceability and disclosure transparency of the data processing process, greatly improve the public confidence of the questionnaire data, and well solve the problem of lack of public confidence of the questionnaire data in the prior art.
Drawings
FIG. 1 is a flow chart of a data processing method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of an intelligent contract invocation process, according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a smart contract implementation process according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an embodiment of an active questionnaire data store;
FIG. 5 is a schematic diagram of a data processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved more apparent, the following detailed description will be made with reference to the accompanying drawings and specific embodiments.
The invention provides a data processing method, which aims at the problem that questionnaire data in the prior art lacks public confidence, and as shown in figure 1, comprises the following steps:
step 11: acquiring questionnaire data to be processed;
step 12: and calling an intelligent contract on the blockchain to clean the questionnaire data to be processed.
The data processing method provided by the embodiment of the invention is characterized by acquiring questionnaire data to be processed; calling an intelligent contract on a block chain to clean the questionnaire data to be processed; the method can ensure the non-tamper property, the traceability and the disclosure transparency of the data processing process, greatly improve the public trust of the questionnaire data and well solve the problem of lack of public trust of the questionnaire data in the prior art.
The calling the intelligent contract on the blockchain to clean the questionnaire data to be processed comprises the following steps: and calling the intelligent contract on the blockchain according to the account address and the transaction hash value of the intelligent contract, and cleaning the questionnaire data to be processed.
In the embodiment of the present invention, the calling the intelligent contract on the blockchain to clean the questionnaire data to be processed includes: invoking an intelligent contract on a blockchain to authenticate the questionnaire data to be processed; if the authentication is passed, executing a questionnaire recording operation on the questionnaire data to be processed, and newly adding a transaction record message in a blockchain; and if the authentication is not passed, deleting the questionnaire data to be processed. The authentication includes authentication of an operator corresponding to the questionnaire data to be processed, and specifically the authentication may include identity authentication and/or authority authentication of the operator corresponding to the questionnaire data to be processed.
Specifically, the invoking the intelligent contract on the blockchain to authenticate the questionnaire data to be processed includes: invoking an intelligent contract on a blockchain, judging whether the identity of the questionnaire data to be processed is unique, whether the generation position of the questionnaire data to be processed is matched with a preset geographic position, and whether the content of the questionnaire data to be processed accords with a preset reverse verification condition; if yes, determining that the authentication is passed; if not, determining that the authentication is not passed.
The method can also be as follows: the invoking of the intelligent contract on the blockchain authenticates the questionnaire data to be processed, including: invoking an intelligent contract on a blockchain, and judging whether an identity of an operator corresponding to the questionnaire data to be processed is unique, whether the geographic position of the operator is matched with a preset geographic position, and whether the state of the operator when filling in the questionnaire is matched with the preset state; if yes, determining that the authentication is passed; if not, determining that the authentication is not passed.
More specifically, invoking an intelligent contract on a blockchain to determine whether the content of the questionnaire data to be processed meets a preset reverse verification condition, including: acquiring whether filling contents of the questionnaire data to be processed aiming at preset forward questions are opposite to filling contents of corresponding preset reverse questions; if yes, determining that the content of the questionnaire data to be processed accords with a preset reverse verification condition; if not, determining that the content of the questionnaire data to be processed does not accord with a preset reverse verification condition.
Correspondingly, the above-mentioned intelligent contract on the calling blockchain, the judging whether the state of the operator corresponding to the questionnaire data to be processed when filling in the questionnaire matches with the preset state may include: acquiring whether the filling content of the operator aiming at the preset forward problem is opposite to the filling content of the corresponding preset reverse problem; if yes, determining that the state of the operator when filling in the questionnaire is matched with a preset state; if not, determining that the state of the operator when filling in the questionnaire is not matched with the preset state.
The preset state may be a state in which the operator carefully answers questions (carefully fills out questionnaires).
Further, before acquiring the questionnaire data to be processed, the method further comprises: constructing the intelligent contract; the smart contract is deployed on the blockchain.
Still further, deploying the smart contract on the blockchain further includes: an account address and a transaction hash value of the smart contract are generated.
Wherein after calling the intelligent contract on the blockchain and cleaning the questionnaire data to be processed, the method further comprises the following steps: obtaining effective questionnaire data according to the questionnaire data to be processed after the cleaning treatment; and storing the valid questionnaire data into a preset database.
Further, in order to fully uplink the massive questionnaire data as much as possible, after obtaining valid questionnaire data according to the questionnaire data to be processed after the cleaning processing, the method further includes: generating corresponding abstract information and data index information according to the effective questionnaire data; and storing the summary information and the data index information on a blockchain.
The data processing method provided by the embodiment of the invention is further described below.
Aiming at the technical problems, a scheme capable of enabling multiple parties to trust is needed to collect questionnaires, and data sources and other information are stored in a public and safe manner; considering that the blockchain technology is used for a bitcoin system at the earliest, the system is a distributed account book, has non-falsifiability and is suitable for storing transaction records; the intelligent contract can be seen as a section of program code stored and running on the blockchain, is an activity rule and an associated contract commonly known by related parties participating in an activity, and shows the rule and the contract in a code manner and puts the rule and the contract in the blockchain for execution; moreover, once agreed upon and placed on the blockchain, the smart contract is also transparent to all active participants and is not modifiable. The smart contract execution process, status, input and output data will also be recorded in the blockchain and be unalterable, transparent to all active participants.
Therefore, the traceability and the tamper-resistant characteristic of the blockchain are in line with the requirements, and the intelligent contract technology also provides a convenient realization way for collecting questionnaires. However, implementing questionnaire collection with blockchain has the following drawbacks:
1. satisfaction questionnaires are large in quantity in the whole country, and a large number of invalid questionnaires exist, such as repeated questionnaires and faking questionnaires, and the invalid questionnaires have great influence on the accuracy of data analysis and conclusion.
2. Due to the characteristics of the block chain technology, the efficiency of the whole network synchronous data in the p2p network (peer-to-peer network) is low, and the method is not suitable for storing larger data. Therefore, massive questionnaire data cannot be fully uploaded.
In view of the above technical problems and these drawbacks, an embodiment of the present invention provides a data processing method, which mainly relates to the following two aspects:
1. for defects where invalid questionnaires exist: the embodiment of the invention adopts an intelligent contract technology, is deployed at each node in the blockchain, cleans invalid questionnaire data, and realizes tamper resistance of the valid questionnaire data.
2. Aiming at the defect that massive questionnaire data is too large to be totally uplink: in the embodiment of the invention, an address mapping mode is adopted, original questionnaire data is stored in a preset database (such as a traditional database), and database address mapping (data index information) and summary information are stored on a blockchain.
The method comprises the following steps:
1. questionnaire data processing using smart contracts
1. Constructing an intelligent contract parent (the intelligent contract comprises functions of questionnaire cleaning, questionnaire inquiring, questionnaire authorizing, questionnaire storing and the like), deploying the intelligent contract parent on a blockchain, and automatically generating and returning an account address and a transaction Hash (Hash) value of the intelligent contract parent by the blockchain during deployment; the deployed intelligent contract parent needs to be recorded into the blockchain after being acknowledged by the blockchain, and is transparent and unchangeable. Specifically, the "get consensus via blockchain validation" may be that nodes on the blockchain will validate the normative of the intelligently contracted grammar, the invoker's invocation permissions, and so on.
The intelligent contract parent prescribes a questionnaire cleaning execution process and a questionnaire cleaning mode method, and defines a data structure related in the questionnaire cleaning mode method execution process.
The "deployment of smart contract parent on blockchain" may be specifically: the method comprises the steps that a blockchain client or an application program interface API on a local server is connected to a preset node (a specific node) on a P2P network where a blockchain is located, and node authentication is passed; calling an intelligent contract deployment script on the node, deploying the intelligent contract to the node, and pushing the intelligent contract to other nearby nodes by the node; each node on the blockchain respectively verifies and locally deploys contracts and propagates the contracts to other nodes nearby each other, and finally, full-network deployment is realized.
2. After the intelligent contract is deployed, the process of calling the intelligent contract by the client can be as shown in fig. 2;
specifically, the flow of implementation of the intelligent contract in the embodiment of the invention can be shown in fig. 3 (an operator takes a patient in a hospital as an example), and after the patient logs in the questionnaire system, the questionnaire is submitted; then the questionnaire system calls a login authentication method in the intelligent contract on the blockchain to authenticate the identity and authority of the logged patient:
(1) Judging whether the ID filled in by the patient is unique when the questionnaire is initiated; if the geographic position of the patient is matched (namely (2)) if the geographic position of the patient is unique, if the geographic position of the patient is not unique, the process is ended;
(2) Judging whether the geographic position of the patient is consistent with the geographic position of the hospital when the questionnaire is initiated; if the answer is met, entering reverse question verification (namely entering (3), specifically, asking questions in different description modes for individual questions in a questionnaire, such as the same question, if the answer selected by a patient is 'yes' when the first time appears, and if the answer of the patient appears in another mode (specifically, the opposite questionnaire mode to the first time), the answer of the patient should theoretically be 'no', if the answer of the patient is not the case, namely, the answers of the questions of the patient in different modes for the same question are not uniform, the patient questionnaire does not pass in the reverse question verification link, namely, the patient questionnaire does not meet the preset reverse verification condition; if not, ending the flow;
(3) Judging whether the patient gives serious questions according to the reverse questions preset by the questionnaire, if so, executing the recorded questionnaire (namely entering (4)); if not, ending the flow;
(4) Executing a record questionnaire, and adding a blockchain transaction questionnaire record; specifically, a transaction record may be newly added to the blockchain transaction list.
2. Address mapping and digest information uplink
1. As in fig. 4, valid questionnaire data is saved in a traditional database (i.e., the de-chained database in fig. 4, such as a traditional relational database, file system, non-relational database, etc.) or a medical cloud database (i.e., the cloud service in fig. 4):
specifically, data to be maintained is taken as input, summary information and data index information of the data are generated and stored in an intelligent contract of a blockchain;
the data index information may be specifically link address information of the valid questionnaire data, and the summary information may be specifically a code value of the valid questionnaire data (which is a unique summary value, such as a Hash value, and when the content of the valid questionnaire data changes, the summary value correspondingly changes);
it can also be understood that storing data index information on the blockchain is used to record the specific location of valid questionnaire data in a traditional database or a medical cloud database; specifically, the summary information and the data index information of the valid questionnaire data can be stored in a block (the data in the blockchain is stored in blocks; each block comprises a block head and a block body, the block head is responsible for linking, and the block body is responsible for storing the data);
the questionnaire data of hospital a and the questionnaire data of hospital B in fig. 4 are only examples of valid questionnaire data, and are not limited thereto.
The embodiment of the invention also provides a data processing device, as shown in fig. 5, including:
a first obtaining module 51, configured to obtain questionnaire data to be processed;
the first processing module 52 is configured to invoke an intelligent contract on the blockchain to perform cleaning processing on the questionnaire data to be processed.
The data processing device provided by the embodiment of the invention obtains questionnaire data to be processed; calling an intelligent contract on a block chain to clean the questionnaire data to be processed; the method can ensure the non-tamper property, the traceability and the disclosure transparency of the data processing process, greatly improve the public trust of the questionnaire data and well solve the problem of lack of public trust of the questionnaire data in the prior art.
Wherein the first processing module comprises: and the first processing sub-module is used for calling the intelligent contract on the blockchain according to the account address and the transaction hash value of the intelligent contract and cleaning the questionnaire data to be processed.
In an embodiment of the present invention, the first processing module includes: the first authentication sub-module is used for calling an intelligent contract on the blockchain and authenticating the questionnaire data to be processed; the second processing sub-module is used for executing questionnaire recording operation on the questionnaire data to be processed if the authentication is passed, and newly adding a transaction record message in a blockchain; and the third processing sub-module is used for deleting the questionnaire data to be processed if the authentication is not passed.
Specifically, the first authentication sub-module includes: the first processing unit is used for calling an intelligent contract on the blockchain, judging whether the identity of the questionnaire data to be processed is unique, judging whether the generation position of the questionnaire data to be processed is matched with a preset geographic position, and judging whether the content of the questionnaire data to be processed meets a preset reverse verification condition; if yes, determining that the authentication is passed; if not, determining that the authentication is not passed.
More specifically, the first processing unit is specifically configured to: acquiring whether filling contents of the questionnaire data to be processed aiming at preset forward questions are opposite to filling contents of corresponding preset reverse questions; if yes, determining that the content of the questionnaire data to be processed accords with a preset reverse verification condition; if not, determining that the content of the questionnaire data to be processed does not accord with a preset reverse verification condition.
Further, the data processing apparatus further includes: the first construction module is used for constructing the intelligent contract before acquiring questionnaire data to be processed; and the first deployment module is used for deploying the intelligent contract on the blockchain.
Still further, the data processing apparatus further includes: and the first generation module is used for generating an account address and a transaction hash value of the intelligent contract when the intelligent contract is deployed on the blockchain.
Wherein the data processing apparatus further comprises: the second processing module is used for obtaining effective questionnaire data according to the questionnaire data to be processed after cleaning after calling the intelligent contract on the blockchain; and the first storage module is used for storing the valid questionnaire data into a preset database.
Further, in order to fully link the massive questionnaire data as much as possible, the data processing apparatus further includes: the second generation module is used for generating corresponding abstract information and data index information according to the valid questionnaire data after obtaining the valid questionnaire data according to the questionnaire data to be processed after the cleaning processing; and the second storage module is used for storing the abstract information and the data index information onto a blockchain.
The implementation embodiments of the data processing method are applicable to the embodiments of the data processing device, and the same technical effects can be achieved.
The embodiment of the invention also provides data processing equipment, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor; the processor implements the data processing method described above when executing the program.
The implementation embodiments of the data processing method are applicable to the embodiment of the data processing device, and the same technical effects can be achieved.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the steps of the data processing method described above.
The embodiments of the data processing method described above are applicable to the embodiments of the computer readable storage medium, and the same technical effects can be achieved.
It should be noted that many of the functional components described in this specification are referred to as modules/sub-modules/units in order to more particularly emphasize their implementation independence.
In embodiments of the invention, the modules/sub-modules/units may be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be organized as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different bits which, when joined logically together, comprise the module and achieve the stated purpose for the module.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Likewise, operational data may be identified within modules and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices.
Where a module may be implemented in software, taking into account the level of existing hardware technology, and one skilled in the art may, without regard to cost, build corresponding hardware circuitry, including conventional Very Large Scale Integration (VLSI) circuits or gate arrays, and existing semiconductors such as logic chips, transistors, or other discrete components, to achieve the corresponding functions. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and changes can be made without departing from the principles of the present invention, and such modifications and changes should also be considered as being within the scope of the present invention.

Claims (8)

1. A method of data processing, comprising:
acquiring questionnaire data to be processed;
calling an intelligent contract on a block chain to clean the questionnaire data to be processed;
the calling the intelligent contract on the blockchain to clean the questionnaire data to be processed comprises the following steps:
calling the intelligent contract on the blockchain according to the account address and the transaction hash value of the intelligent contract, and authenticating the questionnaire data to be processed; the authentication can comprise identity authentication and authority authentication of an operator corresponding to the questionnaire data to be processed;
if the authentication is passed, executing a questionnaire recording operation on the questionnaire data to be processed, and newly adding a transaction record message in a blockchain;
if the authentication is not passed, deleting the questionnaire data to be processed;
the step of calling the intelligent contract on the blockchain to authenticate the questionnaire data to be processed comprises the following steps:
invoking an intelligent contract on a blockchain, judging whether the identity of the questionnaire data to be processed is unique, whether the generation position of the questionnaire data to be processed is matched with a preset geographic position, and whether the content of the questionnaire data to be processed accords with a preset reverse verification condition;
if yes, determining that the authentication is passed;
if not, determining that the authentication is not passed;
the method for judging whether the content of the questionnaire data to be processed accords with a preset reverse verification condition or not by calling the intelligent contract on the blockchain comprises the following steps:
acquiring whether filling contents of the questionnaire data to be processed aiming at preset forward questions are opposite to filling contents of corresponding preset reverse questions;
if yes, determining that the content of the questionnaire data to be processed accords with a preset reverse verification condition;
if not, determining that the content of the questionnaire data to be processed does not accord with a preset reverse verification condition.
2. The data processing method according to claim 1, wherein after calling the intelligent contract on the blockchain to perform the cleaning process on the questionnaire data to be processed, further comprising:
obtaining effective questionnaire data according to the questionnaire data to be processed after the cleaning treatment;
and storing the valid questionnaire data into a preset database.
3. The data processing method according to claim 2, characterized by further comprising, after obtaining valid questionnaire data from the questionnaire data to be processed after the cleaning process:
generating corresponding abstract information and data index information according to the effective questionnaire data;
and storing the summary information and the data index information on a blockchain.
4. A data processing apparatus, comprising:
the first acquisition module is used for acquiring questionnaire data to be processed;
the first processing module is used for calling the intelligent contract on the blockchain and cleaning the questionnaire data to be processed;
wherein the first processing module comprises:
the first authentication sub-module is used for calling the intelligent contract on the blockchain according to the account address and the transaction hash value of the intelligent contract and authenticating the questionnaire data to be processed; the authentication can comprise identity authentication and authority authentication of an operator corresponding to the questionnaire data to be processed;
the second processing sub-module is used for executing questionnaire recording operation on the questionnaire data to be processed if the authentication is passed, and newly adding a transaction record message in a blockchain;
the third processing sub-module is used for deleting the questionnaire data to be processed if the authentication is not passed;
the first authentication sub-module includes:
the first processing unit is used for calling an intelligent contract on the blockchain, judging whether the identity of the questionnaire data to be processed is unique, judging whether the generation position of the questionnaire data to be processed is matched with a preset geographic position, and judging whether the content of the questionnaire data to be processed meets a preset reverse verification condition;
if yes, determining that the authentication is passed;
if not, determining that the authentication is not passed;
the first processing unit is specifically configured to:
acquiring whether filling contents of the questionnaire data to be processed aiming at preset forward questions are opposite to filling contents of corresponding preset reverse questions;
if yes, determining that the content of the questionnaire data to be processed accords with a preset reverse verification condition;
if not, determining that the content of the questionnaire data to be processed does not accord with a preset reverse verification condition.
5. The data processing apparatus of claim 4, further comprising:
the second processing module is used for obtaining effective questionnaire data according to the questionnaire data to be processed after cleaning after calling the intelligent contract on the blockchain;
and the first storage module is used for storing the valid questionnaire data into a preset database.
6. The data processing apparatus of claim 5, further comprising:
the second generation module is used for generating corresponding abstract information and data index information according to the valid questionnaire data after obtaining the valid questionnaire data according to the questionnaire data to be processed after the cleaning processing;
and the second storage module is used for storing the abstract information and the data index information onto a blockchain.
7. A data processing apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor; a data processing method according to any one of claims 1 to 3, characterized in that the processor implements the data processing method when executing the program.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps in the data processing method according to any one of claims 1 to 3.
CN201910188121.6A 2019-03-13 2019-03-13 Data processing method, device, equipment and computer readable storage medium Active CN111696634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910188121.6A CN111696634B (en) 2019-03-13 2019-03-13 Data processing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910188121.6A CN111696634B (en) 2019-03-13 2019-03-13 Data processing method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111696634A CN111696634A (en) 2020-09-22
CN111696634B true CN111696634B (en) 2023-11-21

Family

ID=72474869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910188121.6A Active CN111696634B (en) 2019-03-13 2019-03-13 Data processing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111696634B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241404B (en) * 2020-10-28 2022-04-01 深圳供电局有限公司 Power quality data management method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742352A (en) * 2017-09-20 2018-02-27 黄玉宇 Decentralization lot/queuing strategy and system based on block chain and intelligent contract
CN107944892A (en) * 2017-12-28 2018-04-20 上海唯链信息科技有限公司 A kind of milk supply traceability system based on block chain technology
CN108389047A (en) * 2018-02-12 2018-08-10 深圳沃链科技有限公司 The method and block chain network of fundamental chain and subchain transaction in block chain
CN108512653A (en) * 2018-04-18 2018-09-07 成都零光量子科技有限公司 A kind of electronic evidence acquisition and method of servicing based on block chain
CN108921444A (en) * 2018-07-12 2018-11-30 李俊山 Based on block chain technology distribution formula number exchange stock index sample acquisition system
CN109087005A (en) * 2018-08-03 2018-12-25 合肥工业大学 Monitoring method based on the commodity logistics environment that intelligent contract and mist calculate
CN109146547A (en) * 2018-07-26 2019-01-04 武汉研众科技有限公司 A kind of method of investigation and study and system based on block chain
CN109446232A (en) * 2018-09-28 2019-03-08 火币(广州)区块链科技有限公司 A kind of academic approaches to IM of individual based on block chain intelligence contract and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742352A (en) * 2017-09-20 2018-02-27 黄玉宇 Decentralization lot/queuing strategy and system based on block chain and intelligent contract
CN107944892A (en) * 2017-12-28 2018-04-20 上海唯链信息科技有限公司 A kind of milk supply traceability system based on block chain technology
CN108389047A (en) * 2018-02-12 2018-08-10 深圳沃链科技有限公司 The method and block chain network of fundamental chain and subchain transaction in block chain
CN108512653A (en) * 2018-04-18 2018-09-07 成都零光量子科技有限公司 A kind of electronic evidence acquisition and method of servicing based on block chain
CN108921444A (en) * 2018-07-12 2018-11-30 李俊山 Based on block chain technology distribution formula number exchange stock index sample acquisition system
CN109146547A (en) * 2018-07-26 2019-01-04 武汉研众科技有限公司 A kind of method of investigation and study and system based on block chain
CN109087005A (en) * 2018-08-03 2018-12-25 合肥工业大学 Monitoring method based on the commodity logistics environment that intelligent contract and mist calculate
CN109446232A (en) * 2018-09-28 2019-03-08 火币(广州)区块链科技有限公司 A kind of academic approaches to IM of individual based on block chain intelligence contract and system

Also Published As

Publication number Publication date
CN111696634A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN106850746B (en) The method and device of smooth service upgrading
CN111062044B (en) Model joint training method and device based on block chain
CN107483509A (en) A kind of auth method, server and readable storage medium storing program for executing
CN107436832A (en) A kind of dynamic buries method, apparatus and electronic equipment a little
TW201947446A (en) Blockchain-based information supervision method and device
CN105072123B (en) A kind of single sign-on under cluster environment exits method and system
CN111967610A (en) Block chain-based federal learning incentive method, device, equipment and storage medium
WO2020248658A1 (en) Abnormal account detection method and apparatus
CN108234127A (en) A kind of Internet of Things method and device based on block chain
CN105378703A (en) Methods and systems for validating multiple methods of input using unified rule set
US11403281B2 (en) Parallel blockchain processing
CN114462624A (en) Method for developing credible federal learning based on block chain
WO2022048359A1 (en) Data archiving method and apparatus, and electronic device and storage medium
CN116204438A (en) Test case generation method, automatic test method and related device
CN113011598A (en) Financial data information federal migration learning method and device based on block chain
CN111696634B (en) Data processing method, device, equipment and computer readable storage medium
CN109522501A (en) Content of pages management method and its device
Atoum et al. A hybrid technique for SQL injection attacks detection and prevention
CN103475546B (en) Method and system for detecting repeated login of salesmen
CN113037505B (en) Method and system for realizing trusted Web application
CN110515750A (en) A kind of applied topology generation method, system and cluster
US20050136388A1 (en) System and method for providing instructional data integrity in offline e-learning systems
CN108228197A (en) A kind of method and apparatus for installing software in the cluster
CN112070342B (en) Microservice evaluation method and device, electronic equipment and computer readable storage medium
CN111506661A (en) Content access management method, device 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
GR01 Patent grant
GR01 Patent grant