CN110232096B - Intelligent contract-based investigation method and equipment thereof - Google Patents

Intelligent contract-based investigation method and equipment thereof Download PDF

Info

Publication number
CN110232096B
CN110232096B CN201910499729.0A CN201910499729A CN110232096B CN 110232096 B CN110232096 B CN 110232096B CN 201910499729 A CN201910499729 A CN 201910499729A CN 110232096 B CN110232096 B CN 110232096B
Authority
CN
China
Prior art keywords
investigation
client
research
questionnaire
answer sheet
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
CN201910499729.0A
Other languages
Chinese (zh)
Other versions
CN110232096A (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.)
Beijing Ruice Technology Co Ltd
Original Assignee
Beijing Ruice Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ruice Technology Co Ltd filed Critical Beijing Ruice Technology Co Ltd
Priority to CN201910499729.0A priority Critical patent/CN110232096B/en
Publication of CN110232096A publication Critical patent/CN110232096A/en
Application granted granted Critical
Publication of CN110232096B publication Critical patent/CN110232096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a research method and a device based on intelligent contracts, wherein the method comprises the following steps: a block chain node receives a research task uplink request sent by a first client; triggering a task intelligent contract, verifying the balance corresponding to the first client address by the task intelligent contract, and freezing the investigation task price after the balance is verified; receiving a questionnaire uplink request sent by a third client; triggering a questionnaire intelligent contract, verifying the balance corresponding to the third client address by the questionnaire intelligent contract, and freezing the price of the questionnaire after the balance passes the verification; receiving a chain uploading request of a research and study paper sent by a research server; triggering an intelligent contract for answering a paper; and triggering the transaction intelligent contract when the investigation answer sheets reach the preset number. The method can link the chain in the research process, and improves the research experience of users.

Description

Intelligent contract-based investigation method and equipment thereof
Technical Field
The application relates to the technical field of block chains, in particular to an investigation method and device based on an intelligent contract.
Background
At present, a block chain, the internet of things and artificial intelligence are listed as three major technologies of future technologies. The block chain technology is based on a decentralized peer-to-peer network, and open source software is used for combining a cryptography principle, time sequence data and a consensus mechanism to ensure the consistency and the persistence of each node in a distributed database, so that information can be immediately verified and traceable, but is difficult to tamper and cannot be shielded, and a private, efficient and safe shared value system is created.
Research is a common market activity that reflects information such as the customer's evaluation of a product or service. However, the current research is conducted on the internet, and the investigator gives the investigator some reward for answering the questionnaire, and the investigator answers the questionnaire. In this process, there are the following problems: 1, after the investigator worries to answer the questionnaire, the inquired party can not obtain the reward; 2, the investigator worries that the investigator does not answer the questionnaire after paying first; 3, the questionnaires designed by the investigators themselves are redundant and complex.
That is, how to perform research on the chain based on the traceability characteristic of the blockchain, and making the research process public and transparent becomes a problem to be solved urgently.
The above is only for the purpose of assisting understanding of the technical solutions of the present application, and does not represent an admission that the above is prior art.
Disclosure of Invention
In order to solve the problems, the application provides an investigation method based on an intelligent contract and equipment thereof, and the method can ensure that the investigation process is public and transparent and ensure the benefits of an investigator and a researched person.
The first aspect of the present application provides a research method based on intelligent contracts, the method including:
the block chain node receives a research task uplink request sent by a first client, wherein the research task uplink request comprises a research task price and preset research task time;
triggering a task intelligent contract, verifying the balance corresponding to the first client address by the task intelligent contract, and freezing the investigation task price after the balance is verified;
the block chain node receives a questionnaire chain-loading request sent by a third client, wherein the questionnaire chain-loading request comprises questionnaire price and questionnaire time, and the questionnaire price comprises questionnaire unit price and questionnaire quantity;
triggering a questionnaire intelligent contract, verifying the balance corresponding to the third client address by the questionnaire intelligent contract, and freezing the price of the questionnaire after the balance passes the verification;
the block chain node receives a survey answer sheet chaining request sent by a survey server, the survey answer sheet is sent to the survey server by a second client, and the survey answer sheet chaining request comprises a survey answer sheet encrypted by a first client public key, a survey answer sheet encrypted by a second client public key and a survey answer sheet encrypted by a third client public key;
triggering an answer sheet intelligent contract, wherein the answer sheet intelligent contract executes the transfer of the unit price of the investigation questionnaire, and executes the chain process on the investigation answer sheet encrypted by the first client public key, the investigation answer sheet encrypted by the second client public key and the investigation answer sheet encrypted by the third client public key;
triggering a transaction intelligent contract when the investigation answer sheets reach a preset number, verifying the number of the investigation answer sheets by the transaction intelligent contract, and executing the transfer of the investigation task price after the verification is passed; the questionnaire is associated with a questionnaire and a survey task.
In one possible embodiment, the method further comprises: the block chain node receives a research task query request sent by the first client; and the block chain nodes are sent to the investigation task response of the first client, wherein the investigation task response comprises a preset number of the investigation answer sheets encrypted by the first client public key, so that the first client can decrypt the investigation answer sheets encrypted by the first client public key by using a private key.
In one possible embodiment, the research mission set price includes the research questionnaire price and the service fee of the third client, and the research questionnaire price includes the research questionnaire unit price, the number of the research questionnaires, the service fee of the block chain node, and the service fee of the research server.
In one possible embodiment, the method further comprises: the block chain node receives a research and study answer sheet purchase request of a fourth client, wherein the research and study answer sheet purchase request comprises a research and study answer sheet purchase price, and the research and study answer sheet purchase price comprises a research and study answer sheet unit price and a research and study answer sheet quantity;
triggering an answer sheet verification intelligent contract, verifying the balance corresponding to the fourth client address by the answer sheet verification intelligent contract, and freezing the investigation answer sheet purchase price after the verification is passed;
the block link node receives a transaction request sent by the investigation server, wherein the transaction request comprises investigation answer sheet data encrypted by a fourth client public key by the investigation server; after receiving the investigation answer sheet encrypted by the public key of the investigation server sent by the second client, the investigation server decrypts the investigation answer sheet encrypted by the public key of the investigation server by using a private key of the investigation server, and encrypts the investigation answer sheet by using the public key of the fourth client to obtain the investigation answer sheet data encrypted by the public key of the fourth client;
and triggering a transaction intelligent contract, verifying the quantity of the investigation answer sheets by the transaction intelligent contract, executing the transfer of the investigation answer sheet purchase price after the verification is passed, and executing the chain process of the investigation answer sheets encrypted by the public key of the fourth client.
In a possible implementation manner, the encrypting the questionnaire by the second client public key specifically includes: and the public key of the second client side encrypts the investigation answer sheet according to a preset proportion.
The second aspect of the present application provides a research device based on an intelligent contract, where the device is a block link point, and the block link point includes a receiving unit and a processing unit; wherein the content of the first and second substances,
the receiving unit is used for receiving a research task uplink request sent by a first client, wherein the research task uplink request comprises a research task price and preset research task time;
the processing unit triggers a task intelligent contract, the task intelligent contract checks the balance corresponding to the first client address, and after the check is passed, the investigation task price is frozen;
the receiving unit is used for receiving a questionnaire uplink request sent by a third client, wherein the questionnaire uplink request comprises questionnaire price and questionnaire time, and the questionnaire price comprises questionnaire unit price and questionnaire quantity;
the processing unit triggers an intelligent questionnaire contract, the intelligent questionnaire contract checks the balance corresponding to the third client address, and after the check is passed, the price of the investigation questionnaire is frozen;
the receiving unit is used for receiving a chain searching request sent by a research server, wherein the research answer is a research answer sent to the research server by a second client, and the chain searching request comprises a research answer encrypted by a first client public key, a research answer encrypted by a second client public key and a research answer encrypted by a third client public key;
the processing unit is used for triggering an answer sheet intelligent contract, executing the transfer of the unit price of the investigation paper by the answer sheet intelligent contract, and executing the chain process on the investigation paper encrypted by the first client public key, the investigation paper encrypted by the second client public key and the investigation paper encrypted by the third client public key;
the processing unit is used for triggering a transaction intelligent contract when the investigation answer sheets reach a preset number, verifying the number of the investigation answer sheets by the transaction intelligent contract, and executing the transfer of the investigation task price after the verification is passed; the questionnaire is associated with a questionnaire and a survey task.
In a possible implementation manner, the apparatus further includes a sending unit, where the receiving unit receives a research task query request sent by the first client; the sending unit sends the investigation task response to the first client, where the investigation task response includes a predetermined number of the investigation answer sheets encrypted by the first client public key, so that the first client decrypts the investigation answer sheets encrypted by the first client public key with a private key.
In one possible embodiment, the research mission set price includes the research questionnaire price and a service fee of the third client;
the questionnaire price includes the questionnaire unit price, the number of questionnaires, the service fee of the block chain node, and the service fee of the research server.
In a possible implementation manner, the receiving unit receives a questionnaire purchase request from a fourth client, where the questionnaire purchase request includes a questionnaire purchase price, and the questionnaire purchase price includes a questionnaire unit price and a questionnaire number;
the processing unit is used for triggering an answer sheet verification intelligent contract, the answer sheet verification intelligent contract is used for verifying the balance corresponding to the fourth client address, and after the verification is passed, the investigation answer sheet purchase price is frozen;
the receiving unit is used for receiving a transaction request sent by the investigation server, wherein the transaction request comprises investigation answer sheet data encrypted by a fourth client public key by the investigation server; after receiving the investigation answer sheet encrypted by the public key of the investigation server sent by the second client, the investigation server decrypts the investigation answer sheet encrypted by the public key of the investigation server by using a private key of the investigation server, and encrypts the investigation answer sheet by using the public key of the fourth client to obtain the investigation answer sheet data encrypted by the public key of the fourth client;
and the processing unit triggers a transaction intelligent contract, the transaction intelligent contract checks the number of the investigation answer sheets, after the checking is passed, the transfer of the investigation answer sheet purchase price is executed, and the chain process of the investigation answer sheets encrypted by the public key of the fourth client is executed.
In a possible implementation manner, the encrypting the questionnaire by the second client public key specifically includes: and the public key of the second client side encrypts the investigation answer sheet according to a preset proportion.
The method can link the chain in the investigation process, the whole investigation process is transparent, and the benefits of the investigator and the investigated person are guaranteed; moreover, the method allows the research data to be linked up, and both the investigator and the investigator can view the research data.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application.
Fig. 1 is a schematic flow chart of an investigation method based on an intelligent contract according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of another intelligent contract-based research method provided in an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a transaction flow of a survey and research answer sheet according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a research device based on an intelligent contract according to an embodiment of the present application.
Detailed Description
In order to more clearly explain the overall concept of the present application, the following detailed description is given by way of example in conjunction with the accompanying drawings.
The terms "first," "second," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the order of such use may be interchanged under appropriate circumstances such that embodiments of the invention described herein may be practiced in other orders than those illustrated or described herein.
Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The node referred to in the embodiment of the present application may be understood as an abstract machine that responds to an external specific trigger condition and performs state conversion according to a certain rule, and may be a device that can be networked according to application software, such as a mobile phone, a tablet computer, a palm computer, a personal PC, and the like.
As shown in FIG. 1, a method for researching on intelligent contracts includes steps S101-S107.
S101, a block chain node receives a research task uplink request sent by a first client, wherein the research task uplink request comprises a research task price and preset research task time.
And S102, triggering a task intelligent contract, checking the balance corresponding to the first client address by the task intelligent contract, and freezing the investigation task price after the check is passed.
And S103, the block chain node receives a questionnaire uplink request sent by a third client, wherein the questionnaire uplink request comprises questionnaire price and questionnaire time, and the questionnaire price comprises questionnaire unit price and questionnaire quantity.
And S104, triggering an intelligent questionnaire contract, checking the balance corresponding to the third client address by the intelligent questionnaire contract, and freezing the price of the investigation questionnaire after the check is passed.
And S105, the block chain node receives a survey answer sheet cochain request sent by the survey server, the survey answer sheet is sent to the survey server by the second client, and the survey answer sheet cochain request comprises a survey answer sheet encrypted by the public key of the first client, a survey answer sheet encrypted by the public key of the second client and a survey answer sheet encrypted by the public key of the third client.
And S106, triggering an intelligent answer sheet contract, executing the transfer of the unit price of the investigation paper by the intelligent answer sheet contract, and executing the chain process on the investigation paper encrypted by the public key of the first client, the investigation paper encrypted by the public key of the second client and the investigation paper encrypted by the public key of the third client.
S107, when the investigation answer sheets reach the preset number, triggering a transaction intelligent contract, verifying the number of the investigation answer sheets by the transaction intelligent contract, and executing the transfer of the investigation task price after the verification is passed; the questionnaire is associated with a questionnaire and a survey task.
In one example, the method further comprises: the block chain node receives a research task query request sent by the first client; and the block chain nodes are sent to the investigation task response of the first client, wherein the investigation task response comprises a preset number of the investigation answer sheets encrypted by the first client public key, so that the first client can decrypt the investigation answer sheets encrypted by the first client public key by using a private key.
In one example, the research mission set price includes the research questionnaire price and a service fee of the third client, and the research questionnaire price includes the research questionnaire unit price, the number of research questionnaires, a service fee of the block chain node, and a service fee of the research server.
In one example, the method further comprises: the block chain node receives a research and study answer sheet purchase request of a fourth client, wherein the research and study answer sheet purchase request comprises a research and study answer sheet purchase price, and the research and study answer sheet purchase price comprises a research and study answer sheet unit price and a research and study answer sheet quantity;
triggering an answer sheet verification intelligent contract, verifying the balance corresponding to the fourth client address by the answer sheet verification intelligent contract, and freezing the investigation answer sheet purchase price after the verification is passed;
the block link node receives a transaction request sent by the investigation server, wherein the transaction request comprises investigation answer sheet data encrypted by a fourth client public key by the investigation server; after receiving the investigation answer sheet encrypted by the public key of the investigation server sent by the second client, the investigation server decrypts the investigation answer sheet encrypted by the public key of the investigation server by using a private key of the investigation server, and encrypts the investigation answer sheet by using the public key of the fourth client to obtain the investigation answer sheet data encrypted by the public key of the fourth client;
and triggering a transaction intelligent contract, verifying the quantity of the investigation answer sheets by the transaction intelligent contract, executing the transfer of the investigation answer sheet purchase price after the verification is passed, and executing the chain process of the investigation answer sheets encrypted by the public key of the fourth client.
In one example, the encrypting the questionnaire by the second client public key specifically includes: and the public key of the second client side encrypts the investigation answer sheet according to a preset proportion.
It should be noted that, a user corresponding to the first client will score the questionnaire replied by the second client; the scoring content includes a survey content score. For the user corresponding to the second client, a credit score is associated with the score of the questionnaire; when the credit score of the user corresponding to the second client is too low, the second client locks the authority, and the user corresponding to the second client is not allowed to answer the questionnaire. And the user corresponding to the first client also scores the questionnaire formulated by the third client, the user credit value corresponding to the third client is related to the rating of the questionnaire, when the user credit score corresponding to the third client is too low, the authority is locked by the third client, and the user corresponding to the third client is not allowed to formulate the questionnaire in the related field.
In addition, the third client is a research engineer, who has a good field; the second client is the investigator, and also has areas of excellence or hobbies. For example: the first client is a researcher in the mobile phone industry, and a research task of the first client can be seen only by a user corresponding to a third client with a mobile phone identifier or an electronic product identifier, so that a research questionnaire is made according to the research task; and only the user corresponding to the second client with the mobile phone identification or the electronic product identification can reply the questionnaire.
The method in the application enables a researcher, a researcher and a professional researcher to participate in the three, not only solves the problem of mutual trust between the researcher and the researcher in the research process, but also solves the problem that the researcher cannot make professional questionnaires.
Next, the investigation method in the present application will be described with reference to fig. 2 as an example. The investigation method comprises steps S201-S218.
The first client is a investigator and can be various brands of merchants; the second client is a surveyor and can be a user corresponding to various brands and merchants; the third client is a research engineer, which may be a professional questionnaire maker, and may decompose the research tasks of the research engineer into questionnaires.
S201, the first client sends a research task uplink request to a block chain node, wherein the research task uplink request comprises a research task price and preset research task time.
The task setting price is the expense set by the investigator for the investigation task, and the task setting time is the effective time set by the investigation task.
S202, triggering a task intelligent contract, checking the balance corresponding to the first client address by the task intelligent contract, freezing the price of the investigation task after the check is passed, and executing the cochain of the investigation task.
When the balance transaction is failed, the subsequent process cannot be executed; after the verification is passed, the set price of the investigation task is frozen, so that the subsequent transaction is ensured to be carried out smoothly.
S203, the block node sends a search task uplink response to the first ue.
And S204, sending a research task to the research server by the block chain nodes.
S205, the research server sends and distributes the research task to the third client.
In this case, the third client is familiar with, liked by, or good at the domain related to the research mission, and the research server stores the domain identification of the respective client good at.
And S206, the third client sends a questionnaire uplink request to the block chain node, wherein the questionnaire uplink request comprises a questionnaire price and a questionnaire time, and the questionnaire price comprises a questionnaire unit price and a questionnaire quantity.
At this time, the questionnaire time is within the predetermined time range of the investigation task. For example: the survey task setting time is 10 days from the day, and the survey questionnaire response time must be within the range of the survey task setting time. And once the third client applies for the research task, the block chain node sends the research task to the third client, and then the research task is automatically marked to be picked, namely the research task is in a state that the research task can not be picked any more.
And S207, triggering an intelligent questionnaire contract, checking the balance corresponding to the address of the third client by the intelligent questionnaire contract, freezing the price of the investigation questionnaire after the check is passed, and linking the investigation questionnaire.
At this time, when the verification fails, the next process cannot be performed. The research task set price comprises the research questionnaire price and the service fee of the third client. The price of the questionnaire comprises the unit price of the questionnaire, the number of the questionnaires, the service fee of the block chain node and the service fee of the research server.
S208, the block node sends a questionnaire uplink response to the third client.
S209, the block link points send the questionnaire to the investigation server, and the questionnaire is related to the investigation task.
S210, the investigation server distributes the investigation questionnaire to the second client.
The second client is a surveyor and is also a fan of the domain related to the survey questionnaire and the survey task, and the survey server stores the domain identification of the preference of each client.
And S211, the second client sends the investigation answer sheet to the investigation server.
S212, the research server sends a chain loading request to the block chain node, where the chain loading request includes the research answer encrypted by the first client public key, the research answer encrypted by the second client public key, and the research answer encrypted by the third client public key.
At this time, the public key of the second client encrypts the questionnaire data, which may be partial key field encryption or encryption according to a preset ratio (e.g., encrypt two thirds of the service data). The second client can also trade the research and study answer sheet data, so that a purchaser of the research and study answer sheet data cannot check the complete data without purchasing the data.
The preset ratio may be 0, that is, the second client does not encrypt the questionnaire answer sheet data.
And S213, triggering an intelligent answer sheet contract, executing the transfer of unit prices of the investigation questionnaires, and executing the uplink process on the investigation answer sheet encrypted by the public key of the first client, the investigation answer sheet encrypted by the public key of the second client and the investigation answer sheet encrypted by the public key of the third client.
At this time, the answer sheet intelligent contract is triggered every time of investigation and research, and the transfer of unit price of the investigation and research questionnaire is executed; or, the multiple questionnaires trigger the answer sheet intelligent contract together to execute the transfer of unit price of the multiple questionnaires. The transfer refers to transferring the unit price of the questionnaire corresponding to the address of the third client (the investigator) to the address of the second client (the investigator).
It should be noted that the service charge of the research server and the service charge of the block link points can also be one research answer sheet, and the transfer is performed once after the transaction intelligent contract is triggered; or transferring accounts for many times after a plurality of investigation and answer sheets trigger a transaction intelligent contract; the number of the investigation answer sheets is equal to the transfer times of the service fee of the investigation server and the service fee of the block link points.
S214, the block link point sends the chain response of the investigation and research paper to the investigation and research server.
S215, when the number of the investigation answer sheets reaches the preset number, triggering a transaction intelligent contract, checking the number of the investigation answer sheets by the transaction intelligent contract, and when the number of the investigation answer sheets reaches the preset number, executing the transfer of investigation task prices.
And when the verification is failed, the subsequent process is not carried out.
In the present application, only one second client (investigator) is taken as an example, but the present invention is not limited thereto. In addition, when the second client answers to the questionnaire, some illegal answer operations, such as: multiple choice questions, all choices being the same, or response speed being too fast, etc. When the block link node receives a plurality of investigation answer sheets of the same investigation task, relevant data analysis can be automatically carried out, for example: analyzing the proportion of the option A and the proportion of the option B; and storing the analyzed data on the block chain in a report form.
S216, the first client sends a research task query request to the blockchain node.
And S217, the block link points send investigation task responses to the first client, the investigation task responses comprise the investigation answer sheets encrypted by the public key of the first client, and the investigation tasks are related to the investigation questionnaires and the investigation answer sheets.
S218, the first client decrypts the investigation answer sheet encrypted by the first client public key by using the private key of the first client, so as to obtain the predetermined number of investigation answer sheets.
The following description will be made by taking examples in which the investigator, the subject to be investigated, and the investigator must have the same or similar fields. In the above steps, the research task of S201 has a mobile phone identifier, indicating the target industry of the researcher; in S204, the research task is provided with a mobile phone identifier, which indicates that the research engineer is good at the field of making a research questionnaire; and S209, carrying the mobile phone identification in the questionnaire to indicate the hobbies and interests of the investigated person.
The following describes the transaction process of the research answer sheet of the second client (the investigator) in the present application with reference to fig. 3, which includes S301-S314.
In fig. 3, the fourth client is a purchaser of the investigation answer sheet data, and the investigation answer sheet data, the first client and the third client only have a right to check, and do not have a right to buy or sell the investigation answer sheet; the second client, as the answer of the questionnaire, i.e. the subject, may trade the questionnaire data again.
S301, the fourth client sends a survey answer sheet purchase request to the tile link point, where the survey answer sheet purchase request includes a survey answer sheet purchase price, and the survey answer sheet purchase price includes a survey answer sheet unit price and a survey answer sheet quantity.
At this time, the user corresponding to the fourth client may check the search answer sheet on the blockchain and then send a purchase request. The survey answer sheet purchase price also includes a transaction service fee for the blockchain node and a transaction service fee for the survey server.
The survey answer sheet data in the application is divided into two attributes, namely, a correlation attribute and a non-correlation attribute. For example: the investigation answer sheet data are user comment contents, belong to non-associated attributes, and the comment contents of each user can be stored in the block chain; when one merchant needs to purchase the evaluation of a certain commodity, the merchant can purchase the evaluation of the commodity for a plurality of users, the operation is carried out from the block chain, the disclosure is transparent, and the benefits of the merchant and the users can be guaranteed at the same time. For example: the number of the user comment contents is the correlation attribute, the business data format of a commodity comprises the comment number, and the comment number of the commodity can be automatically superposed as long as a user comments on the commodity; another example is: the transaction frequency of the investigation answer sheet data in the application is a correlation attribute, and the attribute value is automatically increased by 1 every time the investigation answer sheet data is transacted.
And S302, triggering an answer sheet verification intelligent contract, verifying the balance corresponding to the fourth client address by the answer sheet verification intelligent contract, freezing the investigation answer sheet purchase price after the verification is passed, and chaining the investigation answer sheet purchase request.
Checking the balance corresponding to the fourth client address, and judging whether the balance is enough to pay the fee; and when the verification fails, namely the balance corresponding to the address of the fourth client is not enough to pay the expense of the purchased research and examination paper, the subsequent steps cannot be carried out. And after the verification is passed, the purchase price of the investigation answer sheet needs to be frozen, so that the subsequent transaction of the investigation answer sheet is ensured to be successfully completed.
The link procedure of the investigation answer sheet data is not described in this application, for example: under the consensus mechanism of workload certification PoW, after packaging and verification, the nodes broadcast to all nodes for data synchronization.
And S303, sending a survey and research answer sheet purchase response to the fourth client by the block chain node.
S304, the second client sends a transaction query request to the block chain node, and queries whether the investigation answer sheet is purchased by a buyer or not and whether the balance of the buyer is sufficient or not.
S305, the block node sends a query response to the second ue.
S306, the second client sends a transaction request to the investigation server, wherein the transaction request comprises the investigation answer sheet encrypted by the public key of the investigation server.
And S307, the investigation server decrypts the investigation answer sheet encrypted by the public key of the investigation server by using a private key of the investigation server, and encrypts the investigation answer sheet by using a public key of a fourth client to obtain the investigation answer sheet encrypted by the public key of the fourth client.
And S308, the investigation server sends a transaction request to the block chain node, wherein the transaction request comprises the investigation answer sheet data after the fourth client public key is encrypted.
And S309, triggering an intelligent transaction contract, executing the transfer of the unit price of the investigation answer sheet by the intelligent transaction contract, and executing the chain linking process on the investigation answer sheet data encrypted by the public key of the fourth client.
The buyer of the investigation answer sheet data needs to possess digital currency to buy the investigation answer sheet data on the block chain; the digital money owned by the purchaser of the questionnaire data may be digital money obtained by selling the data of another type of questionnaire data as the owner of the data of another type of questionnaire. This is not explained in detail in the present application.
At this time, triggering an intelligent contract for one transaction for each investigation and examination paper to transfer the unit price of the investigation and examination paper; or a plurality of investigation and answer sheets trigger a transaction intelligent contract, and transfer of unit price of the investigation and answer sheets is carried out at one time.
It should be noted that the service charge of the research server and the service charge of the block link points can also be one research answer sheet, and the transfer is performed once after the transaction intelligent contract is triggered; or transferring accounts for many times after a plurality of investigation and answer sheets trigger a transaction intelligent contract; the number of the investigation answer sheets is equal to the transfer times of the service fee of the investigation server and the service fee of the block link points.
S310, the block chain nodes send transaction responses to the research server.
S311, the research server sends a transaction response to the second client.
S312, the fourth client sends the survey answer sheet query to the block chain node.
And S313, the block link points send investigation answer sheet query responses to the fourth client, wherein the investigation answer sheet query responses comprise the investigation answer sheet encrypted by the public key of the fourth client.
And S314, the fourth client decrypts the investigation answer sheet encrypted by the public key of the fourth client by using the private key of the fourth client.
The method can link the chain in the investigation process, the whole investigation process is transparent, and the benefits of the investigator and the investigated person are guaranteed; moreover, the method allows the research data to be linked up, and both the investigator and the investigator can view the research data. In addition, the investigator who answers the questionnaire can also conduct a transaction with the investigation answer; the investigator and the investigator only have the viewing right for the investigation answer sheet, and do not have the right to trade the investigation answer sheet again.
The investigation equipment in the present application will be described with reference to fig. 4 as an example.
As shown in fig. 4, the research device based on the intelligent contract is a block link point, and the block link point comprises a receiving unit and a processing unit.
The receiving unit is used for receiving a research task uplink request sent by a first client, wherein the research task uplink request comprises a research task price and preset research task time;
the processing unit triggers a task intelligent contract, the task intelligent contract checks the balance corresponding to the first client address, and after the check is passed, the investigation task price is frozen;
the receiving unit is used for receiving a questionnaire uplink request sent by a third client, wherein the questionnaire uplink request comprises questionnaire price and questionnaire time, and the questionnaire price comprises questionnaire unit price and questionnaire quantity;
the processing unit triggers an intelligent questionnaire contract, the intelligent questionnaire contract checks the balance corresponding to the third client address, and after the check is passed, the price of the investigation questionnaire is frozen;
the receiving unit is used for receiving a chain searching request sent by a research server, wherein the research answer is a research answer sent to the research server by a second client, and the chain searching request comprises a research answer encrypted by a first client public key, a research answer encrypted by a second client public key and a research answer encrypted by a third client public key;
the processing unit is used for triggering an answer sheet intelligent contract, executing the transfer of the unit price of the investigation paper by the answer sheet intelligent contract, and executing the chain process on the investigation paper encrypted by the first client public key, the investigation paper encrypted by the second client public key and the investigation paper encrypted by the third client public key;
the processing unit is used for triggering a transaction intelligent contract when the investigation answer sheets reach a preset number, verifying the number of the investigation answer sheets by the transaction intelligent contract, and executing the transfer of the investigation task price after the verification is passed; the questionnaire is associated with a questionnaire and a survey task.
In one example, the apparatus further includes a sending unit, where the receiving unit receives a research task query request sent by the first client; the sending unit sends the investigation task response to the first client, where the investigation task response includes a predetermined number of the investigation answer sheets encrypted by the first client public key, so that the first client decrypts the investigation answer sheets encrypted by the first client public key with a private key.
In one example, the research mission set price includes the research questionnaire price and a service fee of the third client; the questionnaire price includes the questionnaire unit price, the number of questionnaires, the service fee of the block chain node, and the service fee of the research server.
In one example, the receiving unit receives a questionnaire purchase request of a fourth client, where the questionnaire purchase request includes a questionnaire purchase price, and the questionnaire purchase price includes a questionnaire unit price and a questionnaire number;
the processing unit is used for triggering an answer sheet verification intelligent contract, the answer sheet verification intelligent contract is used for verifying the balance corresponding to the fourth client address, and after the verification is passed, the investigation answer sheet purchase price is frozen;
the receiving unit is used for receiving a transaction request sent by the investigation server, wherein the transaction request comprises investigation answer sheet data encrypted by a fourth client public key by the investigation server; after receiving the investigation answer sheet encrypted by the public key of the investigation server sent by the second client, the investigation server decrypts the investigation answer sheet encrypted by the public key of the investigation server by using a private key of the investigation server, and encrypts the investigation answer sheet by using the public key of the fourth client to obtain the investigation answer sheet data encrypted by the public key of the fourth client;
and the processing unit triggers a transaction intelligent contract, the transaction intelligent contract checks the number of the investigation answer sheets, after the checking is passed, the transfer of the investigation answer sheet purchase price is executed, and the chain process of the investigation answer sheets encrypted by the public key of the fourth client is executed.
In one example, the encrypting the questionnaire by the second client public key specifically includes: and the public key of the second client side encrypts the investigation answer sheet according to a preset proportion.
The method can link the chain in the investigation process, the whole investigation process is transparent, and the benefits of the investigator and the investigated person are guaranteed; moreover, the method allows the research data to be linked up, and both the investigator and the investigator can view the research data.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for intelligent contract-based research, the method comprising:
the block chain node receives a research task uplink request sent by a first client, wherein the research task uplink request comprises a research task price and preset research task time;
triggering a task intelligent contract, verifying the balance corresponding to the first client address by the task intelligent contract, and freezing the investigation task price after the balance is verified;
the block chain node receives a questionnaire chain-loading request sent by a third client, wherein the questionnaire chain-loading request comprises questionnaire price and questionnaire time, and the questionnaire price comprises questionnaire unit price and questionnaire quantity;
triggering a questionnaire intelligent contract, verifying the balance corresponding to the third client address by the questionnaire intelligent contract, and freezing the price of the questionnaire after the balance passes the verification;
the block chain node receives a survey answer sheet chaining request sent by a survey server, the survey answer sheet is sent to the survey server by a second client, and the survey answer sheet chaining request comprises a survey answer sheet encrypted by a first client public key, a survey answer sheet encrypted by a second client public key and a survey answer sheet encrypted by a third client public key;
triggering an answer sheet intelligent contract, wherein the answer sheet intelligent contract executes the transfer of the unit price of the investigation questionnaire, and executes the chain process on the investigation answer sheet encrypted by the public key of the first client, the investigation answer sheet encrypted by the public key of the second client and the investigation answer sheet encrypted by the public key of the third client;
triggering a transaction intelligent contract when the investigation answer sheets reach a preset number, verifying the number of the investigation answer sheets by the transaction intelligent contract, and executing the transfer of the investigation task price after the verification is passed; the questionnaire is associated with a questionnaire and a survey task.
2. The method of claim 1, further comprising:
the block chain node receives a research task query request sent by the first client;
and the block chain nodes are sent to the investigation task response of the first client, wherein the investigation task response comprises a preset number of the investigation answer sheets encrypted by the first client public key, so that the first client can decrypt the investigation answer sheets encrypted by the first client public key by using a private key.
3. The method of claim 1, wherein the research mission set price comprises the research questionnaire price and the service fee of the third client, and the research questionnaire price comprises the research questionnaire unit price, the number of research questionnaires, the service fee of the block chain node, and the service fee of the research server.
4. The method of claim 1, further comprising:
the block chain node receives a research and study answer sheet purchase request of a fourth client, wherein the research and study answer sheet purchase request comprises a research and study answer sheet purchase price, and the research and study answer sheet purchase price comprises a research and study answer sheet unit price and a research and study answer sheet quantity;
triggering an answer sheet verification intelligent contract, verifying the balance corresponding to the fourth client address by the answer sheet verification intelligent contract, and freezing the investigation answer sheet purchase price after the verification is passed;
the block link node receives a transaction request sent by the investigation server, wherein the transaction request comprises investigation answer sheet data encrypted by a fourth client public key by the investigation server; after receiving the investigation answer sheet encrypted by the public key of the investigation server sent by the second client, the investigation server decrypts the investigation answer sheet encrypted by the public key of the investigation server by using a private key of the investigation server, and encrypts the investigation answer sheet by using the public key of the fourth client to obtain the investigation answer sheet data encrypted by the public key of the fourth client;
and triggering a transaction intelligent contract, verifying the quantity of the investigation answer sheets by the transaction intelligent contract, executing the transfer of the investigation answer sheet purchase price after the verification is passed, and executing the chain process of the investigation answer sheets encrypted by the public key of the fourth client.
5. The method according to claim 1, wherein the second client public key encrypts the questionnaire, specifically:
and the public key of the second client side encrypts the investigation answer sheet according to a preset proportion.
6. The investigation equipment based on the intelligent contract is characterized in that the equipment is a block chain node, and the block chain node comprises a receiving unit and a processing unit; wherein the content of the first and second substances,
the receiving unit is used for receiving a research task uplink request sent by a first client, wherein the research task uplink request comprises a research task price and preset research task time;
the processing unit triggers a task intelligent contract, the task intelligent contract checks the balance corresponding to the first client address, and after the check is passed, the investigation task price is frozen;
the receiving unit is used for receiving a questionnaire uplink request sent by a third client, wherein the questionnaire uplink request comprises questionnaire price and questionnaire time, and the questionnaire price comprises questionnaire unit price and questionnaire quantity;
the processing unit triggers an intelligent questionnaire contract, the intelligent questionnaire contract checks the balance corresponding to the third client address, and after the check is passed, the price of the investigation questionnaire is frozen;
the receiving unit is used for receiving a chain winding request of a research and study answer sheet sent by a research and study server, wherein the research and study answer sheet is sent to the research and study server by a second client side, and the chain winding request of the research and study answer sheet comprises the research and study answer sheet encrypted by a first client side public key, the research and study answer sheet encrypted by a second client side public key and the research and study answer sheet encrypted by a third client side public key;
the processing unit is used for triggering an answer sheet intelligent contract, executing the transfer of the unit price of the investigation paper by the answer sheet intelligent contract, and executing the chain process on the investigation paper encrypted by the first client public key, the investigation paper encrypted by the second client public key and the investigation paper encrypted by the third client public key;
the processing unit is used for triggering a transaction intelligent contract when the investigation answer sheets reach a preset number, verifying the number of the investigation answer sheets by the transaction intelligent contract, and executing the transfer of the investigation task price after the verification is passed; the questionnaire is associated with a questionnaire and a survey task.
7. The apparatus of claim 6, further comprising a transmitting unit, wherein,
the receiving unit is used for receiving a research task query request sent by the first client;
the sending unit sends the investigation task response to the first client, where the investigation task response includes a predetermined number of the investigation answer sheets encrypted by the first client public key, so that the first client decrypts the investigation answer sheets encrypted by the first client public key with a private key.
8. The apparatus of claim 6, wherein the research mission set price comprises the research questionnaire price and a service fee of the third client;
the questionnaire price includes the questionnaire unit price, the number of questionnaires, the service fee of the block chain node, and the service fee of the research server.
9. The apparatus of claim 6,
the receiving unit is used for receiving a research and study paper purchase request of a fourth client, wherein the research and study paper purchase request comprises a research and study paper purchase price, and the research and study paper purchase price comprises a research and study paper unit price and a research and study paper quantity;
the processing unit is used for triggering an answer sheet verification intelligent contract, the answer sheet verification intelligent contract is used for verifying the balance corresponding to the fourth client address, and after the verification is passed, the investigation answer sheet purchase price is frozen;
the receiving unit is used for receiving a transaction request sent by the investigation server, wherein the transaction request comprises investigation answer sheet data encrypted by a fourth client public key by the investigation server; after receiving the investigation answer sheet encrypted by the public key of the investigation server sent by the second client, the investigation server decrypts the investigation answer sheet encrypted by the public key of the investigation server by using a private key of the investigation server, and encrypts the investigation answer sheet by using the public key of the fourth client to obtain the investigation answer sheet data encrypted by the public key of the fourth client;
and the processing unit triggers a transaction intelligent contract, the transaction intelligent contract checks the number of the investigation answer sheets, after the checking is passed, the transfer of the investigation answer sheet purchase price is executed, and the chain process of the investigation answer sheets encrypted by the public key of the fourth client is executed.
10. The device according to claim 6, wherein the second client public key encrypts the questionnaire, specifically:
and the public key of the second client side encrypts the investigation answer sheet according to a preset proportion.
CN201910499729.0A 2019-06-11 2019-06-11 Intelligent contract-based investigation method and equipment thereof Active CN110232096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910499729.0A CN110232096B (en) 2019-06-11 2019-06-11 Intelligent contract-based investigation method and equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910499729.0A CN110232096B (en) 2019-06-11 2019-06-11 Intelligent contract-based investigation method and equipment thereof

Publications (2)

Publication Number Publication Date
CN110232096A CN110232096A (en) 2019-09-13
CN110232096B true CN110232096B (en) 2021-11-12

Family

ID=67858770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910499729.0A Active CN110232096B (en) 2019-06-11 2019-06-11 Intelligent contract-based investigation method and equipment thereof

Country Status (1)

Country Link
CN (1) CN110232096B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9990418B1 (en) * 2017-05-19 2018-06-05 2020 Ip Llc System and method for creating an opinion and behavioral data economy
CN108710808A (en) * 2018-08-07 2018-10-26 武汉研众科技有限公司 A kind of investigation payment platform based on block chain
CN109146547A (en) * 2018-07-26 2019-01-04 武汉研众科技有限公司 A kind of method of investigation and study and system based on block chain
CN109146618A (en) * 2018-07-30 2019-01-04 杭州复杂美科技有限公司 A kind of collaborative share method and system, computer equipment and storage medium
CN109255255A (en) * 2018-10-22 2019-01-22 北京锐安科技有限公司 Data processing method, device, equipment and storage medium based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9990418B1 (en) * 2017-05-19 2018-06-05 2020 Ip Llc System and method for creating an opinion and behavioral data economy
CN109146547A (en) * 2018-07-26 2019-01-04 武汉研众科技有限公司 A kind of method of investigation and study and system based on block chain
CN109146618A (en) * 2018-07-30 2019-01-04 杭州复杂美科技有限公司 A kind of collaborative share method and system, computer equipment and storage medium
CN108710808A (en) * 2018-08-07 2018-10-26 武汉研众科技有限公司 A kind of investigation payment platform based on block chain
CN109255255A (en) * 2018-10-22 2019-01-22 北京锐安科技有限公司 Data processing method, device, equipment and storage medium based on block chain

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
David L'opez等.A blockchain framework for smart mobility.《IEEE》.2019, *
基于区块链技术的交易及其安全性研究;王文明等;《信息网络安全》;20190510(第05期);第7-15页 *
基于区块链的智慧云制造系统安全架构;杜兰等;《信息技术与网络安全》;20181110(第11期);第38-42页 *

Also Published As

Publication number Publication date
CN110232096A (en) 2019-09-13

Similar Documents

Publication Publication Date Title
Xie et al. Blockchain for cloud exchange: A survey
Dhar Dwivedi et al. Blockchain and artificial intelligence for 5G‐enabled Internet of Things: Challenges, opportunities, and solutions
Agarwal et al. Blockchain technology for secure supply chain management: A comprehensive review
CN103858141B (en) Payment devices with integrated chip
CN110728494B (en) Real estate business handling method, real property information system and device
KR20190059491A (en) System and method for e-commerce with shared and distributed ledger coupled with outer storage devices
CN110225032B (en) Business data transaction method and equipment
Niya et al. A platform-independent, generic-purpose, and blockchain-based supply chain tracking
Ghazaleh et al. BlockChain (BC) Upending Customer Experience: Promoting a New Customer Relationship Management (CRM)
Iftekhar et al. Blockchain technology for trustworthy operations in the management of strategic grain reserves
JP3622789B2 (en) General in-house personal authentication system
US20020038424A1 (en) Apparatus and method for providing security for electronic signatures
CN110223117B (en) Investigation method and device for combined block chain
CN110223118B (en) Investigation method and device realized through intelligent contract
Weber et al. Trading user data: A Blockchain based approach
KR102230452B1 (en) open market blockchain statistical analysis system for ship supplies
CN110232096B (en) Intelligent contract-based investigation method and equipment thereof
CN110213282B (en) Research method and device by means of intelligent contract
CN110210908B (en) Investigation method and device by means of block chain
CN110210240B (en) Research method and device for applying intelligent contracts
CN110232594B (en) Investigation method realized through block chain and equipment thereof
CN110210247B (en) Research method and device for using intelligent contract
CN110210859B (en) Investigation method and device on block chain
JP6809768B1 (en) Questionnaire data management / analysis system
Joseph-Vaidyan Factors that enhance customer trust in e-commerce Web sites: An examination of e-commerce success metrics using Internet audience rating

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information

Address after: No.108, 1 / F, No.9, shangdijiu street, Haidian District, Beijing 100085

Applicant after: Beijing ruice Technology Co.,Ltd.

Address before: No.108, 1 / F, No.9, shangdijiu street, Haidian District, Beijing 100085

Applicant before: BEIJING AIMORECE TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant