CN110210859B - Investigation method and device on block chain - Google Patents

Investigation method and device on block chain Download PDF

Info

Publication number
CN110210859B
CN110210859B CN201910499633.4A CN201910499633A CN110210859B CN 110210859 B CN110210859 B CN 110210859B CN 201910499633 A CN201910499633 A CN 201910499633A CN 110210859 B CN110210859 B CN 110210859B
Authority
CN
China
Prior art keywords
client
research
investigation
public key
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
CN201910499633.4A
Other languages
Chinese (zh)
Other versions
CN110210859A (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 CN201910499633.4A priority Critical patent/CN110210859B/en
Publication of CN110210859A publication Critical patent/CN110210859A/en
Application granted granted Critical
Publication of CN110210859B publication Critical patent/CN110210859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a research method and equipment on a block chain, 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 verification intelligent contract, wherein the task verification intelligent contract verifies balance corresponding to the first client address; receiving a chain winding request of a research and study paper of a second client, wherein the chain winding request of the research and study paper comprises the research and study paper encrypted by the public key of the first client and the research and study paper encrypted by the public key of the second client; and triggering a transaction intelligent contract when the number of the investigation answer sheets reaches a preset number, verifying the number of the investigation answer sheets by the transaction intelligent contract, executing the transfer of the preset price of the investigation task after the verification is passed, and executing the cochain flow of the investigation answer sheets encrypted by the public key of the first client and the investigation answer sheets encrypted by the public key of the second client. The method can ensure that the investigation process is open and transparent, and the benefits of the investigator and the investigated person are ensured.

Description

Investigation method and device on block chain
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a method and an apparatus for investigating a blockchain.
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 is concerned that after first paying, the investigator will not answer the questionnaire.
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 above problems, the present application provides a research method on a blockchain and an apparatus thereof, which can make the research process public and transparent and ensure the interests of the researchers and the researchers.
A first aspect of the present application provides a method for investigation on a blockchain, the method comprising:
the block chain node receives a research task chain-up request sent by a first client, wherein the research task chain-up request comprises a preset research task price and preset research task time, and the preset research task price comprises a unit price of a research questionnaire and the number of the research questionnaire;
triggering a task verification intelligent contract, verifying the balance corresponding to the first client address by the task verification intelligent contract, and freezing the preset price of the investigation task after the verification is passed;
the block chain node receives a chain winding request of a research and study paper of a second client, wherein the chain winding request of the research and study paper comprises the research and study paper encrypted by the public key of the first client and the research and study paper encrypted by the public key of the second client;
and triggering a transaction intelligent contract when the number of the investigation answer sheets reaches a preset number, verifying the number of the investigation answer sheets by the transaction intelligent contract, executing the transfer of the preset price of the investigation task after the verification is passed, and executing the cochain flow of the investigation answer sheets encrypted by the public key of the first client and the investigation answer sheets encrypted by the public key of the second client.
In one possible embodiment, the method further comprises: the first client sends a query request of the investigation answer sheet to the block chain node; and the block chain node sends a survey answer sheet response to the first client, wherein the survey answer sheet response comprises a first preset number of survey answer sheets encrypted by the first client public key, so that the first client private key decrypts the survey answer sheets encrypted by the first client public key.
In a possible embodiment, the research mission preset price further includes a transaction service fee of the blockchain node.
In a possible implementation manner, the second client encrypts the questionnaire with its own public key, specifically: and the second client encrypts the investigation answer sheet by using a self public key according to a preset proportion.
In one possible embodiment, the method further comprises: the block chain node receives a research and study answer sheet purchase request sent by a third client, wherein the research and study answer sheet purchase request comprises a research and study answer sheet purchase price and a third client public key, and the research and study answer sheet purchase price comprises a research and study answer sheet purchase unit price and the research and study answer sheet quantity;
triggering a verification intelligent contract, verifying the balance corresponding to the third client address by the verification intelligent contract, and freezing the purchase price of the investigation answer sheet after the verification is passed;
the block chain node sends a transaction request to the second client, wherein the transaction request comprises a third client public key, so that the second client encrypts the investigation answer sheet data by using the third client public key and sends the investigation answer sheet data encrypted by using the third client public key to the block chain node;
and triggering a transaction intelligent contract, wherein the transaction intelligent contract executes the transfer of the investigation answer sheet purchase price and executes the chain process of the investigation answer sheet data encrypted by the public key of the third client.
A second aspect of the present application provides a research apparatus on a blockchain, the apparatus including a receiving unit, a processing unit, and a transmitting 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 preset research task price and preset research task time, and the preset research task price comprises a unit price of a research questionnaire and the number of the research questionnaire;
the processing unit is used for triggering a task verification intelligent contract, the task verification intelligent contract is used for verifying the balance corresponding to the first client address, and after the verification is passed, the preset price of the investigation task is frozen;
the receiving unit is used for receiving a chain winding request of a research and study paper of a second client, wherein the chain winding request of the research and study paper comprises the research and study paper encrypted by the public key of the first client and the research and study paper encrypted by the public key of the second client;
and the processing unit is used for triggering a transaction intelligent contract when the number of the investigation answer sheets reaches a preset number, verifying the number of the investigation answer sheets by the transaction intelligent contract, executing the transfer of the preset price of the investigation task after the verification is passed, and executing the chain process of the investigation answer sheets encrypted by the public key of the first client and the chain process of the investigation answer sheets encrypted by the public key of the second client.
In a possible implementation manner, the apparatus further includes a sending unit, where the sending unit sends a query request for a survey answer sheet to the blockchain node;
the sending unit sends a survey answer sheet response to the first client, wherein the survey answer sheet response comprises a first preset number of survey answer sheets encrypted by the first client public key, so that the first client private key decrypts the survey answer sheets encrypted by the first client public key.
In a possible embodiment, the research mission preset price further includes a transaction service fee of the blockchain node.
In a possible implementation manner, the second client encrypts the questionnaire with its own public key, specifically:
and the second client encrypts the investigation answer sheet by using a self public key according to a preset proportion.
In a possible implementation manner, the receiving unit receives a questionnaire purchase request sent by a third client, where the questionnaire purchase request includes a questionnaire purchase price and a third client public key, and the questionnaire purchase price includes a questionnaire purchase unit price and the questionnaire number;
the processing unit triggers a check intelligent contract, the check intelligent contract checks the balance corresponding to the third client address, and after the check is passed, the purchase price of the investigation answer sheet is frozen;
the sending unit is used for sending a transaction request to the second client, wherein the transaction request comprises a third client public key, so that the second client can encrypt the investigation answer sheet data by using the third client public key and send the investigation answer sheet data encrypted by using the third client public key to the block chain node;
and the processing unit triggers a transaction intelligent contract, and the transaction intelligent contract executes the transfer of the investigation answer sheet purchase price and executes the chain process of the investigation answer sheet data encrypted by the public key of the third 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; in addition, the method links the research and study paper data, and both the research personnel and the researched personnel can check the research and study paper 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 a method for investigating a block chain according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of another block chain investigation method according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating a transaction flow of a questionnaire on a blockchain according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a research apparatus on a blockchain according to an embodiment of the present disclosure.
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 block link point and the client referred to in the embodiment of the 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 of investigation on a blockchain includes S101-S104.
S101, a block link point receives a research task uplink request sent by a first client, wherein the research task uplink request comprises a preset research task price and preset research task time, and the preset research task price comprises a unit price of a research questionnaire and the number of the research questionnaire.
And S102, triggering a task verification intelligent contract, verifying the balance corresponding to the first client address by the task verification intelligent contract, and freezing the preset price of the investigation task after the verification is passed.
And S103, the block chain node receives a chain winding request of the investigation answer sheet of the second client, wherein the chain winding request of the investigation answer sheet comprises the investigation answer sheet encrypted by the public key of the first client and the investigation answer sheet encrypted by the public key of the second client.
And S104, when the number of the investigation answer sheets reaches a preset number, triggering a transaction intelligent contract, verifying the number of the investigation answer sheets by the transaction intelligent contract, executing the transfer of the preset price of the investigation task after the verification is passed, and executing the chain process of the investigation answer sheets encrypted by the public key of the first client and the chain process of the investigation answer sheets encrypted by the public key of the second client.
In one example, the method further comprises: the first client sends a query request of the investigation answer sheet to the block chain node;
and the block chain node sends a survey answer sheet response to the first client, wherein the survey answer sheet response comprises a first preset number of survey answer sheets encrypted by the first client public key, so that the first client private key decrypts the survey answer sheets encrypted by the first client public key.
In one example, the research mission preset price further includes a transaction service fee of the blockchain node.
In one example, the encrypting the questionnaire by the second client using its own public key specifically includes: and the second client encrypts the investigation answer sheet by using a self public key according to a preset proportion.
In one example, the method further comprises: the block chain node receives a research and study answer sheet purchase request sent by a third client, wherein the research and study answer sheet purchase request comprises a research and study answer sheet purchase price and a third client public key, and the research and study answer sheet purchase price comprises a research and study answer sheet purchase unit price and the research and study answer sheet quantity;
triggering a verification intelligent contract, verifying the balance corresponding to the third client address by the verification intelligent contract, and freezing the purchase price of the investigation answer sheet after the verification is passed;
the block chain node sends a transaction request to the second client, wherein the transaction request comprises a third client public key, so that the second client encrypts the investigation answer sheet data by using the third client public key and sends the investigation answer sheet data encrypted by using the third client public key to the block chain node;
and triggering a transaction intelligent contract, wherein the transaction intelligent contract executes the transfer of the investigation answer sheet purchase price and executes the chain process of the investigation answer sheet data encrypted by the public key of the third client.
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.
In addition, the second client is a surveyor and has a field of excellence or a field of hobby. For example: the first client is a researcher in the mobile phone industry, and the research task of the first client can be seen only by a user corresponding to the second client with the mobile phone identification or the electronic product identification; 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 and a researched person to solve the mutual trust problem of the researcher and the researched person in the research process.
The following describes a method for investigating a blockchain according to the present application, including S201-S211, by taking fig. 2 as an example.
The first client is a investigator and can be a client of each merchant; the second client is the investigator and is the user answering the questionnaire.
S201, the first client sends a research task chaining request to the block chain node, wherein the research task chaining request comprises a preset research task price and preset research task time, the research task comprises a research questionnaire, and the preset research task price comprises a unit price of the research questionnaire and the number of the research questionnaire.
The preset time of the research mission is the set time of the research mission, and if the questionnaire is not answered by the investigator within the set time range, the research mission is invalidated.
And S202, triggering a verification intelligent contract, verifying the balance corresponding to the first client address by the verification intelligent contract, freezing the preset price of the investigation task after the verification is passed, and linking 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, the second client sends a research task query request to the block chain node.
And S205, sending a research task response to the second client by the block chain node, wherein the research task response comprises a research task and a public key of the first client, and the research task is associated with a research questionnaire.
And S206, the second client sends a chain linking request of the investigation answer sheet to the block chain node, wherein the chain linking request of the investigation answer sheet comprises the investigation answer sheet encrypted by the public key of the first client and the investigation answer sheet encrypted by the public key of the second client.
At this time, the second client encrypts the questionnaire data by using its own public key, which may be partial key field encryption, or encryption according to a preset ratio (e.g., two thirds of the questionnaire data is encrypted). The second client can also trade the investigation answer sheet, so that a purchaser of the investigation answer sheet data cannot check the complete data without purchasing the investigation answer sheet data.
The preset proportion may also be 0, that is, the second client does not encrypt the questionnaire answer sheet data.
And S207, when the number of the investigation answer sheets reaches a preset number, triggering an intelligent transaction contract, checking the data of the investigation answer sheets by the intelligent transaction contract, executing the transfer of the preset price of the investigation task after the check is passed, executing the chain linking process on the investigation answer sheets encrypted by the first client public key, and executing the chain linking process on the investigation answer sheets encrypted by the second client public key.
The preset number of the investigation answer sheets can be the number of the investigation tasks, and each investigation answer sheet can trigger a transaction intelligent contract to execute one transfer of unit price of the investigation questionnaire. The present application is described by taking only one second client as an example.
At this time, when the verification fails, the next process cannot be performed. The preset investigation task price also comprises service charge of the block chain node.
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.
It should be noted that the service charge of the block link node can also be a survey and 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 number of the transfer times of the service fee of the block link points.
S208, the block node sends a research data uplink response to the second client.
S209, the first client sends a query request of the investigation answer sheet to the block chain node.
At this time, the investigation query request is an uninterrupted query.
And S210, sending a survey answer sheet response to the first client by the block link points, wherein the survey answer sheet response comprises the survey answer sheet encrypted by the public key of the first client.
S211, the first client decrypts the investigation answer sheet encrypted by the first client public key by using the private key of the first client.
Next, referring to fig. 3 as an example, a process of on-chain transaction of the investigation paper by the second client as the investigated person will be described.
In the investigation method, only the second client has the transaction right of investigating and researching the answer sheet, and the first client only has the right of inquiring on the chain.
The transaction process of the second client to the investigation answer sheet comprises S301-S310, and the third client is the buyer of the investigation answer sheet data.
And S301, the third client sends a survey answer sheet purchase request to the block link points, wherein the survey answer sheet purchase request comprises a survey answer sheet purchase price and a third client public key, and the survey answer sheet purchase price comprises a survey answer sheet purchase unit price and a survey answer sheet number.
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 a verification intelligent contract, verifying the balance corresponding to the address of the third client by the verification intelligent contract, and freezing the purchase price of the investigation answer sheet after the verification is passed.
Checking the balance corresponding to the address of the third client, and judging whether the balance is enough to pay the cost; and when the verification fails, namely the balance corresponding to the address of the third 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 uplink process of the research mission 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.
S303, the block link node sends a transaction request to the second client, where the transaction request includes the public key of the third client.
S304, the second client encrypts the investigation answer sheet by using the third client public key.
S305, the second client sends a transaction response to the block chain node, wherein the transaction response comprises the investigation paper data encrypted by the public key of the third client.
And S306, triggering a transaction intelligent contract, executing the transfer of the investigation answer sheet purchase price by the transaction intelligent contract, and linking the investigation answer sheet data encrypted by the public key of the third client.
At this moment, the transaction intelligent contract can be triggered by one piece of investigation answer sheet data, the transfer of the investigation answer sheet purchase unit price is executed once, and the transfer of the investigation answer sheet purchase unit price of the quantity can be executed when the preset quantity condition is met.
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.
It should be noted that the service charge of the block link node can also be a survey and 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 number of the transfer times of the service fee of the block link points.
And S307, the block chain node sends a survey answer sheet purchase response to the third client.
And S308, the third client sends a research and answer sheet query request to the block chain node.
The query request of the investigation and examination paper is sent continuously.
And S309, sending a research answer sheet query response to the third client by the block link point, wherein the research answer sheet query response comprises the research answer sheet encrypted by the public key of the third client.
And S310, the third client decrypts the investigation answer sheet data encrypted by the public key of the third client by using the private key of the third 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 has only viewing right to the investigation answer sheet and has no right to trade the investigation answer sheet again.
As shown in fig. 4, an apparatus for investigation on a blockchain, where the apparatus is a blockchain node, includes a receiving unit, a processing unit, and a sending unit.
The receiving unit receives a research task uplink request sent by a first client, wherein the research task uplink request comprises a preset research task price and preset research task time, and the preset research task price comprises a unit price of a research questionnaire and the number of the questionnaire.
And the processing unit triggers a task verification intelligent contract, the task verification intelligent contract verifies the balance corresponding to the first client address, and after the verification is passed, the preset price of the investigation task is frozen.
The receiving unit receives a chain winding request of the investigation answer sheet of the second client, wherein the chain winding request of the investigation answer sheet comprises the investigation answer sheet encrypted by the public key of the first client and the investigation answer sheet encrypted by the public key of the second client.
And the processing unit is used for triggering a transaction intelligent contract when the number of the investigation answer sheets reaches a preset number, verifying the number of the investigation answer sheets by the transaction intelligent contract, executing the transfer of the preset price of the investigation task after the verification is passed, and executing the chain process of the investigation answer sheets encrypted by the public key of the first client and the chain process of the investigation answer sheets encrypted by the public key of the second client.
In a possible implementation manner, the apparatus further includes a sending unit, where the sending unit sends a query request for a survey answer sheet to the blockchain node; the sending unit sends a survey answer sheet response to the first client, wherein the survey answer sheet response comprises a first preset number of survey answer sheets encrypted by the first client public key, so that the first client private key decrypts the survey answer sheets encrypted by the first client public key.
In a possible embodiment, the research mission preset price further includes a transaction service fee of the blockchain node.
In a possible implementation manner, the second client encrypts the questionnaire with its own public key, specifically: and the second client encrypts the investigation answer sheet by using a self public key according to a preset proportion.
In a possible implementation manner, the receiving unit receives a questionnaire purchase request sent by a third client, where the questionnaire purchase request includes a questionnaire purchase price and a third client public key, and the questionnaire purchase price includes a questionnaire purchase unit price and the questionnaire number;
the processing unit triggers a check intelligent contract, the check intelligent contract checks the balance corresponding to the third client address, and after the check is passed, the purchase price of the investigation answer sheet is frozen;
the sending unit is used for sending a transaction request to the second client, wherein the transaction request comprises a third client public key, so that the second client can encrypt the investigation answer sheet data by using the third client public key and send the investigation answer sheet data encrypted by using the third client public key to the block chain node;
and the processing unit triggers a transaction intelligent contract, and the transaction intelligent contract executes the transfer of the investigation answer sheet purchase price and executes the chain process of the investigation answer sheet data encrypted by the public key of the third 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 has only viewing right to the investigation answer sheet and has no right to trade the investigation answer sheet again.
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 (8)

1. A method of investigation on a blockchain, the method comprising:
the block chain node receives a research task chain-up request sent by a first client, wherein the research task chain-up request comprises a preset research task price and preset research task time, and the preset research task price comprises a unit price of a research questionnaire and the number of the research questionnaire;
triggering a task verification intelligent contract, verifying the balance corresponding to the first client address by the task verification intelligent contract, and freezing the preset price of the investigation task after the verification is passed;
the block chain node receives a chain winding request of a research and study paper of a second client, wherein the chain winding request of the research and study paper comprises the research and study paper encrypted by the public key of the first client and the research and study paper encrypted by the public key of the second client;
triggering a transaction intelligent contract when the number of the investigation answer sheets reaches a preset number, verifying the number of the investigation answer sheets by the transaction intelligent contract, executing the transfer of the preset price of the investigation task after the verification is passed, and executing the chain process of the investigation answer sheets encrypted by the public key of the first client and the investigation answer sheets encrypted by the public key of the second client;
the method further comprises the following steps:
the block chain node receives a research and study answer sheet purchase request sent by a third client, wherein the research and study answer sheet purchase request comprises a research and study answer sheet purchase price and a third client public key, and the research and study answer sheet purchase price comprises a research and study answer sheet purchase unit price and the research and study answer sheet quantity;
triggering a verification intelligent contract, verifying the balance corresponding to the address of the third client by the verification intelligent contract, and freezing the purchase price of the investigation answer sheet after the verification is passed;
the block chain node sends a transaction request to the second client, wherein the transaction request comprises a third client public key, so that the second client encrypts the investigation answer sheet data by using the third client public key and sends the investigation answer sheet data encrypted by using the third client public key to the block chain node;
and triggering a transaction intelligent contract, wherein the transaction intelligent contract executes the transfer of the investigation answer sheet purchase price and executes the chain process of the investigation answer sheet data encrypted by the public key of the third client.
2. The method of claim 1, further comprising:
the first client sends a query request of the investigation answer sheet to the block chain node;
and the block chain node sends a survey answer sheet response to the first client, wherein the survey answer sheet response comprises a first preset number of survey answer sheets encrypted by the first client public key, so that the first client private key decrypts the survey answer sheets encrypted by the first client public key.
3. The method of claim 1, wherein the research mission preset price further comprises a transaction service fee for the blockchain node.
4. The method according to claim 1, wherein the second client encrypts the questionnaire with its own public key, specifically:
and the second client encrypts the investigation answer sheet by using a self public key according to a preset proportion.
5. An investigation equipment on a block chain is characterized in that the equipment comprises a receiving unit, a processing unit and a sending 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 preset research task price and preset research task time, and the preset research task price comprises a unit price of a research questionnaire and the number of the research questionnaire;
the processing unit triggers a task verification intelligent contract, the task verification intelligent contract verifies balance corresponding to the first client address, and after the verification is passed, the preset price of the investigation task is frozen;
the receiving unit is used for receiving a chain winding request of a research and study paper of a second client, wherein the chain winding request of the research and study paper comprises the research and study paper encrypted by the public key of the first client and the research and study paper encrypted by the public key of the second client;
the processing unit is used for triggering a transaction intelligent contract when the number of the investigation answer sheets reaches a preset number, verifying the number of the investigation answer sheets by the transaction intelligent contract, executing the transfer of the preset price of the investigation task after the verification is passed, and executing the chain process of the investigation answer sheets encrypted by the first client public key and the investigation answer sheets encrypted by the second client public key;
the receiving unit is used for receiving a research and study answer sheet purchase request sent by a third client, wherein the research and study answer sheet purchase request comprises a research and study answer sheet purchase price and a third client public key, and the research and study answer sheet purchase price comprises a research and study answer sheet purchase unit price and the research and study answer sheet quantity;
the processing unit triggers a check intelligent contract, the check intelligent contract checks the balance corresponding to the address of the third client, and after the check is passed, the purchase price of the investigation answer sheet is frozen;
the sending unit is used for sending a transaction request to the second client, wherein the transaction request comprises a third client public key, so that the second client can encrypt the investigation answer sheet data by using the third client public key and send the investigation answer sheet data encrypted by using the third client public key to the block chain node;
and the processing unit triggers a transaction intelligent contract, and the transaction intelligent contract executes the transfer of the investigation answer sheet purchase price and executes the chain process of the investigation answer sheet data encrypted by the public key of the third client.
6. The apparatus of claim 5, further comprising a transmitting unit,
the sending unit is used for sending a query request of the investigation answer sheet to the block chain node;
the sending unit sends a survey answer sheet response to the first client, wherein the survey answer sheet response comprises a first preset number of survey answer sheets encrypted by the first client public key, so that the first client private key decrypts the survey answer sheets encrypted by the first client public key.
7. The apparatus of claim 5, wherein the research mission preset price further comprises a transaction service fee for a blockchain node.
8. The device according to claim 5, wherein the second client encrypts the questionnaire with its own public key, specifically:
and the second client encrypts the investigation answer sheet by using a self public key according to a preset proportion.
CN201910499633.4A 2019-06-11 2019-06-11 Investigation method and device on block chain Active CN110210859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910499633.4A CN110210859B (en) 2019-06-11 2019-06-11 Investigation method and device on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910499633.4A CN110210859B (en) 2019-06-11 2019-06-11 Investigation method and device on block chain

Publications (2)

Publication Number Publication Date
CN110210859A CN110210859A (en) 2019-09-06
CN110210859B true CN110210859B (en) 2022-02-22

Family

ID=67791892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910499633.4A Active CN110210859B (en) 2019-06-11 2019-06-11 Investigation method and device on block chain

Country Status (1)

Country Link
CN (1) CN110210859B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076762A1 (en) * 2016-10-27 2018-05-03 上海亿账通区块链科技有限公司 Block chain-based transaction verification method and system, electronic device, and medium
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
CN109785200A (en) * 2019-01-03 2019-05-21 中国联合网络通信集团有限公司 It answers questions method, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241756B (en) * 2018-08-20 2020-01-31 深圳市腾讯网络信息技术有限公司 Data processing method, system, server and medium based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018076762A1 (en) * 2016-10-27 2018-05-03 上海亿账通区块链科技有限公司 Block chain-based transaction verification method and system, electronic device, and medium
CN109146547A (en) * 2018-07-26 2019-01-04 武汉研众科技有限公司 A kind of method of investigation and study and system based on block chain
CN108710808A (en) * 2018-08-07 2018-10-26 武汉研众科技有限公司 A kind of investigation payment platform based on block chain
CN109785200A (en) * 2019-01-03 2019-05-21 中国联合网络通信集团有限公司 It answers questions method, equipment and storage medium

Also Published As

Publication number Publication date
CN110210859A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
Dhar Dwivedi et al. Blockchain and artificial intelligence for 5G‐enabled Internet of Things: Challenges, opportunities, and solutions
CN106878396B (en) Method, device and system for processing trade information
Zhou et al. Blockchain-based decentralized reputation system in E-commerce environment
Chang et al. A blockchain-based traceable certification system
CN110225032B (en) Business data transaction method and equipment
CN110210977A (en) A kind of data trade method and its equipment
KR20190046486A (en) Virtual currency processing system and method based on blockchain
CN111126987B (en) Resource transfer information processing method and device, storage medium and electronic device
CN110223118B (en) Investigation method and device realized through intelligent contract
CN110223117B (en) Investigation method and device for combined block chain
CN110210859B (en) Investigation method and device on block chain
CN110210247B (en) Research method and device for using intelligent contract
AU2020432497A1 (en) Cryptosystem, systems, methods and applications for zero-knowledge anonymously-individualized marketing and loyalty management based on end-to-end encrypted transfer of statements like receipts or scripts
CN110210240B (en) Research method and device for applying intelligent contracts
CN110232594B (en) Investigation method realized through block chain and equipment thereof
CN110232096B (en) Intelligent contract-based investigation method and equipment thereof
CN110210908B (en) Investigation method and device by means of block chain
CN110213282B (en) Research method and device by means of intelligent contract
CN110210975A (en) Data trade method and its equipment on block chain
CN106326272A (en) Method and interactive terminal for establishing interactive binding relationship
CN116208632A (en) Fire-fighting product tracing system and method based on blockchain, internet of things and IPFS
CN111131227A (en) Data processing method and device
CN110189130A (en) Method of commerce and its equipment on block chain
Nawaz et al. Hyperledger sawtooth based supplychain traceability system for counterfeit drugs
CN110210862A (en) A kind of method of commerce and its equipment of business datum

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information
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.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant