CN111696634A - 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
CN111696634A
CN111696634A CN201910188121.6A CN201910188121A CN111696634A CN 111696634 A CN111696634 A CN 111696634A CN 201910188121 A CN201910188121 A CN 201910188121A CN 111696634 A CN111696634 A CN 111696634A
Authority
CN
China
Prior art keywords
processed
data
questionnaire data
questionnaire
block chain
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.)
Granted
Application number
CN201910188121.6A
Other languages
Chinese (zh)
Other versions
CN111696634B (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

Images

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)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Medical Informatics (AREA)
  • Epidemiology (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Primary Health Care (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 block chain, and cleaning the questionnaire data to be processed. The scheme is that questionnaire data to be processed are obtained; calling an intelligent contract on a block chain, and cleaning the questionnaire data to be processed; the method can ensure the tamper resistance, traceability and open transparency of the data processing process, greatly improve the public credibility of the questionnaire data, and well solve the problem that the questionnaire data in the prior art is lack of public credibility.

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 actual work, many aspects need to be investigated, such as national hospital satisfaction, the investigation result is used as a part of the performance assessment of the hospital, and the reputation and the performance of the hospital are affected by the score of the hospital satisfaction. Questionnaires are a common investigation method; hospital satisfaction is acquired in a questionnaire form, and most of the questionnaires currently adopted in questionnaire collection are web page answers, stored in a central database, cleaned and analyzed.
However, in this process, the data disclosure is not guaranteed to be transparent, authentic, and valid; the questionnaire data can be falsified, and the credibility is also lacked if the data statistics result is correct.
Disclosure of Invention
The invention aims to provide a data processing method, a data processing device, data processing equipment and a computer readable storage medium, and solves the problem that questionnaire data in the prior art is lack of public confidence.
In order to solve the above technical problem, 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 block chain, and cleaning the questionnaire data to be processed.
Optionally, the invoking an intelligent contract on the block chain to perform cleaning processing on the to-be-processed questionnaire data includes:
and calling the intelligent contract on the block chain according to the account address and the transaction hash value of the intelligent contract, and cleaning the questionnaire data to be processed.
Optionally, the invoking an intelligent contract on the block chain to perform cleaning processing on the to-be-processed questionnaire data includes:
calling an intelligent contract on a block chain, and authenticating the questionnaire data to be processed;
if the authentication is passed, performing questionnaire recording operation on the questionnaire data to be processed, and adding a new piece of transaction record information in the block chain;
and if the authentication is not passed, deleting the questionnaire data to be processed.
Optionally, the invoking an intelligent contract on the blockchain to authenticate the questionnaire data to be processed includes:
calling an intelligent contract on a block chain, 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 meets 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 block chain, and determining whether the content of the questionnaire data to be processed meets a preset reverse validation condition, including:
acquiring whether the filling content of the questionnaire data to be processed for the preset forward question is opposite to the filling content of the corresponding preset reverse question;
if so, determining that the content of the questionnaire data to be processed meets a preset reverse verification condition;
if not, determining that the content of the questionnaire data to be processed does not meet the preset reverse verification condition.
Optionally, before acquiring the questionnaire data to be processed, the method further includes:
constructing the intelligent contract;
deploying the smart contracts on the blockchain.
Optionally, when the intelligent contract is deployed on the blockchain, the method further includes:
and generating the account address and the transaction hash value of the intelligent contract.
Optionally, after invoking the intelligent contract on the blockchain and performing cleaning processing on the to-be-processed questionnaire data, the method further includes:
obtaining effective questionnaire data according to the cleaned questionnaire data to be processed;
and storing the effective questionnaire data into a preset database.
Optionally, 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 to a block chain.
An embodiment of the present invention further provides a data processing apparatus, including:
the first acquisition module is used for acquiring questionnaire data to be processed;
and the first processing module is used for calling an intelligent contract on the block chain and cleaning the questionnaire data to be processed.
Optionally, the first processing module includes:
and the first processing submodule is used for calling the intelligent contract on the block chain 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 submodule is used for calling an intelligent contract on a block chain and authenticating the questionnaire data to be processed;
the second processing submodule is used for executing questionnaire recording operation aiming at the questionnaire data to be processed and adding a piece of transaction record information in the block chain if the authentication is passed;
and the third processing submodule 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 a block chain, 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 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 the filling content of the questionnaire data to be processed for the preset forward question is opposite to the filling content of the corresponding preset reverse question;
if so, determining that the content of the questionnaire data to be processed meets a preset reverse verification condition;
if not, determining that the content of the questionnaire data to be processed does not meet the preset reverse verification condition.
Optionally, the method further includes:
the first construction module is used for constructing the intelligent contract before the questionnaire data to be processed is acquired;
a first deployment module to deploy the smart contracts on the blockchain.
Optionally, the method further includes:
the first generation module is used for generating the account address and the transaction hash value of the intelligent contract when the intelligent contract is deployed on the block chain.
Optionally, the method further includes:
the second processing module is used for obtaining effective questionnaire data according to the questionnaire data to be processed after the intelligent contract on the block chain is called and the questionnaire data to be processed is cleaned;
and the first storage module is used for storing the effective questionnaire data into a preset database.
Optionally, the method further includes:
the second generation module is used for generating corresponding abstract information and data index information according to the effective questionnaire data after the effective questionnaire data are obtained according to the cleaned and processed questionnaire data to be processed;
and the second storage module is used for storing the summary information and the data index information to a block chain.
The embodiment of the invention also provides data processing equipment, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor; the processor implements the data processing method described above when executing the program.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the data processing method described above.
The technical scheme of the invention has the following beneficial effects:
in the scheme, the data processing method comprises the steps of obtaining questionnaire data to be processed; calling an intelligent contract on a block chain, and cleaning the questionnaire data to be processed; the method can ensure the non-tamper property, the traceability and the open transparency of the data processing process, greatly improve the public credibility of the questionnaire data, and well solve the problem that the questionnaire data in the prior art is lack of public credibility.
Drawings
FIG. 1 is a flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an intelligent contract invocation flow according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a specific implementation flow of an intelligent contract according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an efficient questionnaire data store of an embodiment of the invention;
fig. 5 is a schematic structural 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 by the present invention clearer, the following detailed description is made with reference to the accompanying drawings and specific embodiments.
The invention provides a data processing method aiming at the problem that questionnaire data in the prior art is lack of public confidence, as shown in fig. 1, comprising the following steps:
step 11: acquiring questionnaire data to be processed;
step 12: and calling an intelligent contract on the block chain, and cleaning the questionnaire data to be processed.
The data processing method provided by the embodiment of the invention obtains questionnaire data to be processed; calling an intelligent contract on a block chain, and cleaning the questionnaire data to be processed; the method can ensure the tamper resistance, traceability and open transparency of the data processing process, greatly improve the public credibility of the questionnaire data, and well solve the problem that the questionnaire data in the prior art is lack of public credibility.
The intelligent contract on the calling block chain is used for cleaning the questionnaire data to be processed, and the intelligent contract comprises: and calling the intelligent contract on the block chain 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 invoking an intelligent contract on a block chain to perform cleaning processing on the to-be-processed questionnaire data includes: calling an intelligent contract on a block chain, and authenticating the questionnaire data to be processed; if the authentication is passed, performing questionnaire recording operation on the questionnaire data to be processed, and adding a piece of transaction record information in the block chain; 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 calling an intelligent contract on the block chain to authenticate the questionnaire data to be processed includes: calling an intelligent contract on a block chain, 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 meets a preset reverse verification condition; if yes, determining that the authentication is passed; if not, determining that the authentication is not passed.
Can also be: the calling of the intelligent contract on the block chain to authenticate the questionnaire data to be processed comprises the following steps: calling an intelligent contract on a block chain, and judging whether an identity of an operator corresponding to the questionnaire data to be processed is unique, whether a geographic position where the operator is located is matched with a preset geographic position, and whether a state when the operator fills in the questionnaire is matched with a preset state; if yes, determining that the authentication is passed; if not, determining that the authentication is not passed.
More specifically, the step of calling an intelligent contract on the block chain to determine whether the content of the questionnaire data to be processed meets a preset reverse validation condition includes: acquiring whether the filling content of the questionnaire data to be processed for the preset forward question is opposite to the filling content of the corresponding preset reverse question; if so, determining that the content of the questionnaire data to be processed meets a preset reverse verification condition; if not, determining that the content of the questionnaire data to be processed does not meet the preset reverse verification condition.
Correspondingly, the aforementioned invoking of the intelligent contract on the block chain, and determining whether a state of the questionnaire filled by the operator corresponding to the questionnaire data to be processed matches a preset state, may include: acquiring whether the filling content of the operator for the preset forward question is opposite to the filling content of the corresponding preset reverse question; if yes, determining that the state of the operator when filling in the questionnaire is matched with a preset state; and 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 answers the question carefully (fills in the questionnaire carefully).
Further, before obtaining the questionnaire data to be processed, the method further comprises: constructing the intelligent contract; deploying the smart contracts on the blockchain.
Further, when the intelligent contract is deployed on the blockchain, the method further includes: and generating the account address and the transaction hash value of the intelligent contract.
After the intelligent contract on the calling block chain is used for cleaning the questionnaire data to be processed, the method further comprises the following steps: obtaining effective questionnaire data according to the cleaned questionnaire data to be processed; and storing the effective questionnaire data into a preset database.
Further, in order to link all 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 to a block chain.
The data processing method provided by the embodiment of the invention is further explained below.
Aiming at the technical problems, a scheme which can be trusted by multiple parties is needed to be adopted to collect the questionnaire, and the data source and other information are stored in a public and safe manner; considering that the block chain technology is firstly used for a bit currency system, the block chain technology is a distributed account book, has non-tamper property and is suitable for storing transaction records; the intelligent contract can be seen as a section of program code stored and operated on a block chain, is an activity rule and a related convention which are commonly recognized by related parties participating in a certain activity, and the rule and the convention are expressed in a code mode and are put into the block chain for execution; moreover, smart contracts, once agreed upon and placed on the blockchain, are also transparent to all active participants and unalterable. Intelligent contract execution procedures, status, input and output data are also recorded in the blockchain and are not alterable, transparent to all active participants.
Therefore, the traceability of the block chain is realized, the characteristic of difficult tampering is in line with the requirement, and the intelligent contract technology also provides a convenient implementation way for inquiring the winding set. However, the questionnaire collection is implemented by using a block chain, and has the following defects:
1. the national satisfaction questionnaire survey has huge questionnaires, and a large number of invalid questionnaires exist, such as repeated questionnaires and fake questionnaires, and the invalid questionnaires have great influence on the data analysis and the correctness of conclusion.
2. Due to the characteristics of the block chain technology, the efficiency is low when data is synchronized in the p2p network (peer-to-peer network) in the whole network, and the data is not suitable for storing larger data. Therefore, the massive questionnaire data cannot be linked up in its entirety.
In view of the above technical problems and these drawbacks, an embodiment of the present invention provides a data processing method, mainly relating to the following two aspects:
1. for the defect of the presence of invalid questionnaires: the embodiment of the invention adopts an intelligent contract technology, is deployed at each node in a block chain, cleans invalid questionnaire data and realizes the tamper resistance of the valid questionnaire data.
2. Aiming at the defect that massive questionnaire data is too large and all links cannot be linked: the embodiment of the invention adopts an address mapping mode, stores the original questionnaire data in a preset database (such as a traditional database), and stores the database address mapping (data index information) and the summary information in a block chain.
The method comprises the following specific steps:
firstly, questionnaire data processing is carried out by utilizing intelligent contracts
1. Constructing an intelligent contract female parent (the intelligent contract comprises the functions of questionnaire cleaning, questionnaire query, questionnaire authorization, questionnaire storage and the like), deploying the intelligent contract female parent on a block chain, and automatically generating and returning an account address and a transaction Hash (Hash) value of the intelligent contract female parent when the block chain is deployed; the deployed intelligent contract master needs to be confirmed by the block chain to be identified and then recorded in the block chain, and the intelligent contract master is transparent and unchangeable. Specifically, the "confirmation via blockchain to obtain consensus" may be that the node on the blockchain confirms the normalization of the syntax of the intelligent contract, the call authority of the caller, and the like.
The intelligent contract parent specifies the execution process and the mode method of questionnaire cleaning, and defines the data structure related to the execution process of the mode method.
The "deploying the intelligent contract parent on the blockchain" may specifically be: connecting to a preset node (a specific node) on a P2P network where a blockchain is located through a blockchain client or an Application Program Interface (API) on a local server, and authenticating through the node; calling an intelligent contract deployment script on the node, deploying an intelligent contract to the node, and pushing the intelligent contract to other nearby nodes by the node; and (4) each node on the block chain respectively verifies and deploys locally the contract, and propagates the contract to other nodes nearby each node, and finally the whole 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 implementing the intelligent contract in the embodiment of the present invention may be as shown in fig. 3 (the operator takes a patient in a hospital as an example), and after logging in the questionnaire system, the patient submits a questionnaire; then the questionnaire system calls a login authentication method in the intelligent contract on the block chain to authenticate the identity and the authority of the logged-in patient:
(1) judging whether the ID filled by the patient is unique when the questionnaire is launched; if the position is unique, entering the geographic position matching of the patient (namely entering (2)), and if not, ending the process;
(2) judging whether the geographic position of the patient is in accordance with the geographic position of the hospital when the questionnaire is launched; if the answer is not the same, namely the answers asked by the patient in different modes aiming at the same question are not uniform, the patient questionnaire does not pass through a reverse question verification link, namely the patient questionnaire does not accord with the preset reverse verification condition; if not, the process is ended;
(3) judging whether the patient answers seriously according to the preset reverse question of the questionnaire, and if so, recording the questionnaire (namely, entering (4)); if not, the process is ended;
(4) executing a record questionnaire, and adding block chain transaction questionnaire records; specifically, a new transaction record may be added to the blockchain transaction list.
Second, the address mapping and summary information uplink
1. As in fig. 4, the valid questionnaire data is saved in a traditional database (i.e., the delicatessen database in fig. 4, such as a traditional relational database, a file system, a non-relational database, etc.) or a medical cloud database (i.e., the cloud service in fig. 4):
specifically, data to be kept is used as input, summary information and data index information of the data are generated and stored in an intelligent contract of a block chain;
the data index information may specifically be link address information of the valid questionnaire data, and the summary information may specifically be 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 changes correspondingly);
it can also be understood that the data index information stored on the block chain is used for recording the specific position of the effective questionnaire data in the traditional database or the medical cloud database; specifically, the abstract information and the data index information of the effective questionnaire data can be stored in a block (the data in a block chain is stored in blocks, each block comprises a block head and a block body, the block head is used for linking, and the block body is used 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.
An embodiment of the present invention further provides a data processing apparatus, 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 block chain, and perform cleaning processing on the to-be-processed questionnaire data.
The data processing device provided by the embodiment of the invention acquires questionnaire data to be processed; calling an intelligent contract on a block chain, and cleaning the questionnaire data to be processed; the method can ensure the tamper resistance, traceability and open transparency of the data processing process, greatly improve the public credibility of the questionnaire data, and well solve the problem that the questionnaire data in the prior art is lack of public credibility.
Wherein the first processing module comprises: and the first processing submodule is used for calling the intelligent contract on the block chain 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 submodule is used for calling an intelligent contract on a block chain and authenticating the questionnaire data to be processed; the second processing submodule is used for executing questionnaire recording operation aiming at the questionnaire data to be processed and adding a new piece of transaction recording information in the block chain if the authentication is passed; and the third processing submodule 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 a block chain, 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 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 the filling content of the questionnaire data to be processed for the preset forward question is opposite to the filling content of the corresponding preset reverse question; if so, determining that the content of the questionnaire data to be processed meets a preset reverse verification condition; if not, determining that the content of the questionnaire data to be processed does not meet the preset reverse verification condition.
Further, the data processing apparatus further includes: the first construction module is used for constructing the intelligent contract before the questionnaire data to be processed is acquired; a first deployment module to deploy the intelligent contracts on the blockchain.
Further, the data processing apparatus further includes: the first generation module is used for generating the account address and the transaction hash value of the intelligent contract when the intelligent contract is deployed on the block chain.
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 the intelligent contract on the block chain is called and the questionnaire data to be processed is cleaned; and the first storage module is used for storing the effective questionnaire data into a preset database.
Further, in order to link up as much massive questionnaire data 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 effective questionnaire data after the effective questionnaire data are obtained according to the cleaned and processed questionnaire data to be processed; and the second storage module is used for storing the summary information and the data index information to a block chain.
The implementation embodiments of the data processing method are all applicable to the implementation embodiment 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 on 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 all applicable to the implementation embodiments of the data processing device, and the same technical effects can be achieved.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the data processing method described above.
The implementation embodiments of the data processing method are all applicable to the embodiment 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/submodules/units in order to more particularly emphasize their implementation independence.
In embodiments of the present 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 constructed 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 locations 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 the 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, and may exist, at least partially, merely as electronic signals on a system or network.
When a module can be implemented by software, considering the level of existing hardware technology, a module implemented by software may build a corresponding hardware circuit to implement a corresponding function, without considering the cost, and the hardware circuit may include a conventional Very Large Scale Integration (VLSI) circuit or a gate array and an existing semiconductor such as a logic chip, a transistor, or other discrete components. 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 preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (14)

1. A data processing method, comprising:
acquiring questionnaire data to be processed;
and calling an intelligent contract on the block chain, and cleaning the questionnaire data to be processed.
2. The data processing method according to claim 1, wherein the invoking of the smart contract on the blockchain to perform the cleansing process on the to-be-processed questionnaire data comprises:
calling an intelligent contract on a block chain, and authenticating the questionnaire data to be processed;
if the authentication is passed, performing questionnaire recording operation on the questionnaire data to be processed, and adding a piece of transaction record information in the block chain;
and if the authentication is not passed, deleting the questionnaire data to be processed.
3. The data processing method of claim 2, wherein the invoking of the smart contract on the blockchain to authenticate the to-be-processed questionnaire data comprises:
calling an intelligent contract on a block chain, 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 meets a preset reverse verification condition;
if yes, determining that the authentication is passed;
if not, determining that the authentication is not passed.
4. The data processing method of claim 3, wherein invoking an intelligent contract on a blockchain to determine whether the content of the to-be-processed questionnaire data meets a preset reverse validation condition comprises:
acquiring whether the filling content of the questionnaire data to be processed for the preset forward question is opposite to the filling content of the corresponding preset reverse question;
if so, determining that the content of the questionnaire data to be processed meets a preset reverse verification condition;
if not, determining that the content of the questionnaire data to be processed does not meet the preset reverse verification condition.
5. The data processing method according to claim 1, after invoking an intelligent contract on a blockchain to perform cleansing processing on the to-be-processed questionnaire data, further comprising:
obtaining effective questionnaire data according to the cleaned questionnaire data to be processed;
and storing the effective questionnaire data into a preset database.
6. The data processing method according to claim 5, further comprising, after obtaining valid questionnaire data from the questionnaire data to be processed after the cleaning process, the step of:
generating corresponding abstract information and data index information according to the effective questionnaire data;
and storing the summary information and the data index information to a block chain.
7. A data processing apparatus, comprising:
the first acquisition module is used for acquiring questionnaire data to be processed;
and the first processing module is used for calling an intelligent contract on the block chain and cleaning the questionnaire data to be processed.
8. The data processing apparatus of claim 7, wherein the first processing module comprises:
the first authentication submodule is used for calling an intelligent contract on a block chain and authenticating the questionnaire data to be processed;
the second processing submodule is used for executing questionnaire recording operation aiming at the questionnaire data to be processed and adding a piece of transaction record information in the block chain if the authentication is passed;
and the third processing submodule is used for deleting the questionnaire data to be processed if the authentication is not passed.
9. The data processing apparatus of claim 8, wherein the first authentication sub-module comprises:
the first processing unit is used for calling an intelligent contract on a block chain, 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 meets a preset reverse verification condition;
if yes, determining that the authentication is passed;
if not, determining that the authentication is not passed.
10. The data processing apparatus according to claim 9, wherein the first processing unit is specifically configured to:
acquiring whether the filling content of the questionnaire data to be processed for the preset forward question is opposite to the filling content of the corresponding preset reverse question;
if so, determining that the content of the questionnaire data to be processed meets a preset reverse verification condition;
if not, determining that the content of the questionnaire data to be processed does not meet the preset reverse verification condition.
11. The data processing apparatus of claim 7, further comprising:
the second processing module is used for obtaining effective questionnaire data according to the questionnaire data to be processed after the intelligent contract on the block chain is called and the questionnaire data to be processed is cleaned;
and the first storage module is used for storing the effective questionnaire data into a preset database.
12. The data processing apparatus of claim 11, further comprising:
the second generation module is used for generating corresponding abstract information and data index information according to the effective questionnaire data after the effective questionnaire data is obtained according to the cleaned questionnaire data to be processed;
and the second storage module is used for storing the summary information and the data index information to a block chain.
13. A data processing apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor; characterized in that the processor implements the data processing method according to any one of claims 1 to 6 when executing the program.
14. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the steps of the data processing method of any one of claims 1 to 6.
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 true CN111696634A (en) 2020-09-22
CN111696634B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241404A (en) * 2020-10-28 2021-01-19 深圳供电局有限公司 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

Cited By (2)

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

Also Published As

Publication number Publication date
CN111696634B (en) 2023-11-21

Similar Documents

Publication Publication Date Title
CN110599095B (en) Block chain network-based hazardous waste treatment method and node of block chain network
CN106354634A (en) Interface testing method and device
CN107436832A (en) A kind of dynamic buries method, apparatus and electronic equipment a little
CN110516474A (en) User information processing method, device, electronic equipment and storage medium in block chain network
CN110557420B (en) Operation method and system of independent sub-chains
CN112508566A (en) Alliance chain-based cross-chain private transaction method and equipment
CN108897760A (en) Electronic evidence chain integrity verification method based on Merkel tree
CN106603296A (en) Log processing method and device
CN109729044A (en) A kind of general internet data acquisition is counter to climb system and method
CN105260292A (en) Log recording method, apparatus and system
CN114462624A (en) Method for developing credible federal learning based on block chain
CN110321730A (en) A kind of method, block chain node and the storage medium of operation data processing
Atoum et al. A hybrid technique for SQL injection attacks detection and prevention
CN111861481A (en) Block chain account checking method and system
CN111696634A (en) Data processing method, device, equipment and computer readable storage medium
CN111369337A (en) Credit wind control system, method, equipment and medium based on block chain
CN113037505A (en) Method and system for realizing trusted Web application
CN110581841A (en) Back-end anti-crawler method
CN113890739A (en) Cross-block-chain authentication method and device, electronic equipment and medium
CN102541674A (en) Control system and method of autonomic element model and server invasion protection and detection system
CN111596890A (en) Block chain random number seed generation method, equipment and medium based on distributed protocol
CN110515750A (en) A kind of applied topology generation method, system and cluster
CN106470132B (en) Horizontal permission test method and device
CN114091057A (en) Federal learning safety audit method and device based on model simulation
Di Lucca et al. A technique for reducing user session data sets in web application testing

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