CN110210859A - Method of investigation and study and its equipment on a kind of block chain - Google Patents
Method of investigation and study and its equipment on a kind of block chain Download PDFInfo
- Publication number
- CN110210859A CN110210859A CN201910499633.4A CN201910499633A CN110210859A CN 110210859 A CN110210859 A CN 110210859A CN 201910499633 A CN201910499633 A CN 201910499633A CN 110210859 A CN110210859 A CN 110210859A
- Authority
- CN
- China
- Prior art keywords
- investigation
- test paper
- client
- investigation test
- public key
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment 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
This application discloses the method for investigation and study and its equipment on a kind of block chain, in this method: block chain node receives the investigation task cochain request that the first client is sent;Triggering task verifies intelligent contract, and the task verifies intelligent contract and verifies to the corresponding remaining sum of first client address;The investigation test paper cochain request of the second client is received, the investigation test paper cochain request includes the investigation test paper of first client public key encryption and the investigation test paper of second client public key encryption;When the quantity of the investigation test paper reaches preset quantity, the intelligent contract of triggering transaction, the intelligent contract of trading verifies the quantity of the investigation test paper, after verification passes through, it executes the investigation task and presets transferring accounts for price, and execute the cochain process of the investigation test paper of the first client public key encryption and the investigation test paper of second client public key encryption.This method can allow investigation open process transparent, guarantee the interests of investigation person and investigated person.
Description
Technical field
This application involves the method for investigation and study and its equipment in block chain technical field more particularly to a kind of block chain.
Background technique
Currently, block chain, Internet of Things and artificial intelligence are listed as three big technologies of future technology.Block chain technology is base
In the peer-to-peer network of decentralization, Cryptography Principles, time series data and common recognition mechanism are combined with open source software, to ensure point
Each node is coherent and lasting in cloth database, so that information is verified, is can be traced immediately, but be difficult to tamper with and can not shield,
To create a set of privacy, shareable value system efficiently, safe.
Investigation is a kind of common market behavior, for reacting client to information such as the evaluations of product or service.However, existing
Investigation carry out on the internet, investigation person gives investigated person some rewards to answer a questionnaire, investigated person reply questionnaire.This
In the process, there is a following problem: 1, investigated person worries after replying questionnaire, cannot reward;2, after investigation person worries post-pay paystation, quilt
Investigation person does not reply questionnaire.
That is, the characteristic that how can be traced to the source based on block chain, is investigated on chain, make investigation open process transparent
As urgent problem to be solved.
Above content is only used for the technical solution that auxiliary understands the application, does not represent and recognizes that above content is existing skill
Art.
Summary of the invention
To solve the above-mentioned problems, the application provides a kind of method of investigation and study on block chain and its equipment, this method can
It makes investigation open process transparent, guarantees the interests of investigation person and investigated person.
The application first aspect provides the method for investigation and study on a kind of block chain, which comprises
Block chain node receives the investigation task cochain request that the first client is sent, the investigation task cochain request packet
It includes investigation task and presets price and investigation task preset time, the investigation task presets price and includes investigation questionnaire unit price and adjust
Grind questionnaire quantity;
Triggering task verifies intelligent contract, and it is corresponding to first client address remaining that the task verifies intelligent contract
Volume is verified, and after verification passes through, is freezed the investigation task and is preset price;
The block chain node receives the investigation test paper cochain request of the second client, the investigation test paper cochain request packet
Include the investigation test paper of the first client public key encryption and the investigation test paper of second client public key encryption;
When the quantity of the investigation test paper reaches preset quantity, the intelligent contract of triggering transaction, the transaction intelligent contract school
The quantity for testing the investigation test paper after verification passes through, executes the investigation task and presets transferring accounts for price, and execute described first
The cochain process of the investigation test paper of the investigation test paper and second client public key encryption of client public key encryption.
In a kind of possible embodiment, the method also includes: first client sends investigation test paper inquiry
It requests to the block chain node;The block chain node sends investigation test paper and responds to first client, the investigation
Test paper response includes the investigation test paper that first client public key of the first preset quantity encrypts, in order to first client
The investigation test paper that first client public key encrypts is decrypted in end private key.
In a kind of possible embodiment, the investigation task presets the transaction that price further includes the block chain node
Service charge.
In a kind of possible embodiment, the second client own public key is answered the questions in a test paper to the investigation and is encrypted, tool
Body are as follows: second client carries out the encryption of preset ratio with own public key to the investigation test paper.
In a kind of possible embodiment, the method also includes: the block chain node receives third client hair
The investigation test paper purchase request sent, the investigation test paper purchase request includes investigation test paper purchasing price and third client
Public key, investigation test paper purchasing price include the investigation test paper purchase unit price and investigation test paper quantity;
Triggering verifies intelligent contract, and the intelligent contract of the verification carries out school to the corresponding remaining sum of the third client address
It tests, after verification passes through, freezes the investigation test paper purchasing price;
The block chain node sends transaction request to second client, and the transaction request includes third client
Public key, in order to which second client encrypts investigation test paper data with the third client public key, concurrently
Send the investigation test paper data of the third client public key encryption to the block chain node;
Triggering is traded intelligent contract, and the intelligent contract of trading executes transferring accounts for the investigation test paper purchasing price, and holds
The cochain process of the investigation test paper data of the row third client public key encryption.
The application second aspect provides the investigation equipment on a kind of block chain, and the equipment includes that receiving unit, processing are single
Member and transmission unit;Wherein,
The receiving unit, receives the investigation task cochain request that the first client is sent, and the investigation task cochain is asked
It asks and presets price and investigation task preset time including investigation task, it includes investigation questionnaire unit price that the investigation task, which presets price,
With investigation questionnaire quantity;
The processing unit, triggering task verify intelligent contract, and the task verifies intelligent contract to first client
The corresponding remaining sum in end address is verified, and after verification passes through, is freezed the investigation task and is preset price;
The receiving unit receives the investigation test paper cochain request of the second client, the investigation test paper cochain request packet
Include the investigation test paper of the first client public key encryption and the investigation test paper of second client public key encryption;
When the quantity of the processing unit, the investigation test paper reaches preset quantity, the intelligent contract of triggering transaction, the friendship
Easily intelligence contract verifies the quantity that the investigation is answered the questions in a test paper, and after verification passes through, executes the investigation task and presets transferring accounts for price, and
Execute the cochain of the investigation test paper of the first client public key encryption and the investigation test paper of second client public key encryption
Process.
In a kind of possible embodiment, the equipment further includes transmission unit, the transmission unit, sends investigation and answers
Inquiry request is rolled up to the block chain node;
The transmission unit sends investigation test paper and responds to first client, and the investigation test paper response includes the
The investigation test paper of first client public key encryption of one preset quantity, in order to which first client private key is to described the
The investigation test paper of one client public key encryption is decrypted.
In a kind of possible embodiment, the investigation task presets the transaction that price further includes the block chain node
Service charge.
In a kind of possible embodiment, the second client own public key is answered the questions in a test paper to the investigation and is encrypted, tool
Body are as follows:
Second client carries out the encryption of preset ratio with own public key to the investigation test paper.
In a kind of possible embodiment, the receiving unit receives the investigation test paper purchase that third client is sent
Request, the investigation test paper purchase request include that investigation test paper purchasing price and third client public key, the investigation are answered
Rolling up purchasing price includes the investigation test paper purchase unit price and investigation test paper quantity;
The processing unit, triggering verify intelligent contract, and the intelligent contract of the verification is to the third client address pair
The remaining sum answered is verified, and after verification passes through, freezes the investigation test paper purchasing price;
The transmission unit sends transaction request to second client, and the transaction request includes third client
Public key, in order to which second client encrypts investigation test paper data with the third client public key, concurrently
Send the investigation test paper data of the third client public key encryption to the block chain node;
The processing unit, triggers intelligent contract of trading, and the intelligent contract of the transaction executes the investigation test paper purchase price
Lattice are transferred accounts, and execute the cochain process of the investigation test paper data of the third client public key encryption.
The present processes can allow the process cochain of investigation, and the open process entirely investigated is transparent, while having ensured tune
The interests of the person of grinding and investigated person;Also, this method, which allows, investigates test paper data cochain, and investigation person and investigated person can check
Investigation test paper data.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.
Fig. 1 is the method for investigation and study flow diagram on a kind of block chain provided by the embodiments of the present application;
Fig. 2 is the method for investigation and study flow diagram on another block chain provided by the embodiments of the present application;
Fig. 3 is the investigation test paper transaction flow schematic diagram on a kind of block chain provided by the embodiments of the present application;
Fig. 4 is the investigation device structure schematic diagram on a kind of block chain provided by the embodiments of the present application.
Specific embodiment
For the clearer general idea for illustrating the application, carry out in an illustrative manner with reference to the accompanying drawings of the specification detailed
It describes in detail bright.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing
Similar object, without being used to describe a particular order or precedence order.It should be understood that the sequence used in this way is in appropriate feelings
It can be interchanged under condition, so that the embodiment of the present invention described herein can be other than those of illustrating or describing herein
Sequence implement.
In addition, term " includes " and " having " and their any deformation, it is intended that covering non-exclusive includes example
Such as, the process, method, system, product or equipment for containing a series of steps or units those of are not necessarily limited to be clearly listed
Step or unit, but may include being not clearly listed or intrinsic for these process, methods, product or equipment other
Step or unit.
So-called block chain node and client in the embodiment of the present application, it can be understood as respond extraneous certain trigger item
Part, and the abstract machine that state is converted is done by certain rule, it can be mobile phone, tablet computer, palm PC, individual's PC computer etc.
It can be according to application software and the equipment that can be networked.
As shown in Figure 1, the method for investigation and study on a kind of block chain, this method include S101-S104.
S101, block chain node receive the investigation task cochain request that the first client is sent, the investigation task cochain
Request includes that investigation task presets price and investigation task preset time, and it includes investigation questionnaire list that the investigation task, which presets price,
Valence and investigation questionnaire quantity.
S102, triggering task verify intelligent contract, and the task verifies intelligent contract to first client address pair
The remaining sum answered is verified, and after verification passes through, is freezed the investigation task and is preset price.
S103, the block chain node receive the investigation test paper cochain request of the second client, the investigation test paper cochain
Request includes the investigation test paper of first client public key encryption and the investigation test paper of second client public key encryption.
When the quantity of S104, the investigation test paper reach preset quantity, the intelligent contract of triggering transaction, the transaction is intelligently closed
The quantity for about verifying the investigation test paper after verification passes through, executes the investigation task and presets transferring accounts for price, and described in execution
The cochain process of the investigation test paper of the investigation test paper and second client public key encryption of first client public key encryption.
In one example, the method also includes: first client sends investigation test paper inquiry request to described
Block chain node;
The block chain node sends investigation test paper and responds to first client, and the investigation test paper response includes the
The investigation test paper of first client public key encryption of one preset quantity, in order to which first client private key is to described the
The investigation test paper of one client public key encryption is decrypted.
In one example, the investigation task presets the transactional services expense that price further includes the block chain node.
In one example, the second client own public key is answered the questions in a test paper to the investigation and is encrypted, specifically: described the
Two clients carry out the encryption of preset ratio with own public key to the investigation test paper.
In one example, the method also includes: the block chain node receives the investigation that third client is sent and answers
Volume buys request, and the investigation test paper purchase request includes investigation test paper purchasing price and third client public key, described
Investigating purchasing price of answering the questions in a test paper includes the investigation test paper purchase unit price and investigation test paper quantity;
Triggering verifies intelligent contract, and the intelligent contract of the verification carries out school to the corresponding remaining sum of the third client address
It tests, after verification passes through, freezes the investigation test paper purchasing price;
The block chain node sends transaction request to second client, and the transaction request includes third client
Public key, in order to which second client encrypts investigation test paper data with the third client public key, concurrently
Send the investigation test paper data of the third client public key encryption to the block chain node;
Triggering is traded intelligent contract, and the intelligent contract of trading executes transferring accounts for the investigation test paper purchasing price, and holds
The cochain process of the investigation test paper data of the row third client public key encryption.
It should be noted that the investigation questionnaire that the corresponding user of the first client can reply the second client is commented
Point;The scoring content includes investigation content scores.For the corresponding user of the second client, there are a credit score, the credit
Divide related with the scoring of the investigation questionnaire;When the corresponding user credit point of the second client is too low, can be locked by the second client
Determine permission, the corresponding user of second client is not allowed to reply investigation questionnaire.
In addition, the second client is investigated person, there is the field in the field or hobby be good at.Such as: the first client
It is the investigation person of mobile phone industry, its investigation task only has the second client pair of mobile phone logo or electronic product mark
The user answered can just see;Also, the corresponding user of the second client only identified with mobile phone logo or electronic product
It just can be carried out the answer of the investigation questionnaire.
Method in the application, allows investigation person and investigated person, not only solves during investigation investigation person and is investigated
The mutual trust problem of person.
Below by taking Fig. 2 as an example, the method for investigation and study on the block chain of the application is illustrated, this method includes S201-
S211。
First client is investigation person, can be the client of each businessman;Second client is investigated person, to answer
Investigate the user of questionnaire.
S201, the first client send investigation task cochain and request to give block chain node, the investigation task cochain request packet
It includes investigation task and presets price and investigation task preset time, investigation task includes investigation questionnaire, and investigation task presets price packet
Include investigation questionnaire unit price and investigation questionnaire quantity.
The investigation task preset time is the setting time of the investigation task, if within the scope of the setting time, not adjusted
The person of grinding replies questionnaire, which cancels.
S202, triggering verify intelligent contract, which carries out school to the corresponding remaining sum of the first client address
It tests, after verification passes through, freezes above-mentioned investigation task and preset price, and by above-mentioned investigation task cochain.
Remaining sum transaction is obstructed out-of-date, cannot execute follow-up process;After verification passes through, which is frozen
Knot, to guarantee that subsequent transaction is gone on smoothly.
S203, block chain node send investigation task cochain and respond to the first client.
S204, the second client send investigation job enquiry and request to give block chain node.
S205, block chain node send investigation task and respond to the second client, and investigation task response includes that investigation is appointed
Business and the first client public key, investigation task association investigation questionnaire.
S206, the second client send investigation test paper cochain and request to give block chain node, investigation test paper cochain request packet
Include the encrypted investigation test paper of the first client public key, the encrypted investigation test paper of the second client public key.
At this point, the second client encrypts investigation test paper data with own public key, carry out Partial key can be
Field encryption is also possible to be encrypted according to preset ratio (such as: encrypting 2/3rds of investigation test paper data).Because of second
The investigation can also be answered the questions in a test paper and be traded by client, so that the buyer of investigation test paper data can not be the case where not buying
Under, check the complete data.
The preset ratio may be 0, i.e. the second client does not encrypt investigation test paper data.
When the quantity of S207, above-mentioned investigation test paper reach preset quantity, the intelligent contract of triggering transaction, the transaction intelligence contract
The data of investigation test paper are verified, after verification passes through, above-mentioned investigation task is executed and presets price and transfer accounts, and by this
The encrypted investigation test paper of one client public key executes cochain process, and the encrypted investigation test paper of second client public key executes
Cochain process.
The preset quantity of investigation test paper can be the quantity of above-mentioned investigation task, and it is equal to be also possible to every a investigation test paper
The intelligent contract of transaction can be triggered, transferring accounts for primary investigation questionnaire unit price is executed.The application is only with second client
For be illustrated.
At this point, verification is obstructed out-of-date, next step process not can be carried out.It further includes the area that the investigation task, which presets price,
The service charge of block chain node.
It should be noted that being only illustrated by taking second client (investigated person) as an example in the application, still
To this without limiting.In addition, the second client when carrying out answer investigation questionnaire, can be cleaned or be filtered out automatically and is some illegal
Operation is replied, such as: multiple choice, all options all select same, or reply excessive velocities etc..Block chain node is connecing
To the same investigation task several investigation test papers when, can carry out relevant data analysis automatically, such as: analysis A option
Ratio, the ratio of B option;And by the data after analysis, it is stored on block chain in the form of statements.
It should be noted that the service charge of block chain node, is also possible to a investigation test paper, the intelligent contract of triggering transaction
Afterwards, it transfers accounts primary;It is also possible to more parts of investigation test papers, triggering trades after intelligent contract, transfers accounts repeatedly;Investigate test paper quantity with
The number of transferring accounts of the service charge of block chain node is equal.
S208, block chain node send investigational data cochain and respond to the second client.
S209, the first client send investigation test paper inquiry request and give block chain node.
At this point, the investigation inquiry request is continual inquiry.
S210, block chain node send investigation test paper and respond to the first client, and investigation test paper response includes the first visitor
The investigation test paper that family end public key encryption is crossed.
The investigation test paper that first client public key encrypts is decrypted in S211, the first client own private key.
Below by taking Fig. 3 as an example, to above-mentioned the second client as investigated person, process of exchange on the chain of test paper is investigated
It is illustrated.
In above-mentioned method of investigation and study, the trading privilege that only the second client has investigation to answer the questions in a test paper, the first client is only in chain
On the permission inquired.
Second client includes S301-S310 to the transaction flow of investigation test paper, and third client is investigation test paper data
Buyer.
S301, third client send investigation test paper purchase request and give block chain node, investigation test paper purchase request packet
Investigation test paper purchasing price and third client public key are included, which answers the questions in a test paper purchasing price including investigating test paper purchase unit price and tune
Grind test paper quantity.
Investigation test paper data in the application, are divided into two attribute, relating attribute and dereferenced attribute.Such as: investigation is answered
Rolling up data is user comment content, belongs to dereferenced attribute, the comment content of every user may be stored on block chain;When
When one businessman needs to buy the evaluation of certain part commodity, which can buy the evaluation of the commodity to multiple users, from block
It is operated on chain, it is open and clear, the interests of businessman and user can be ensured simultaneously.Such as: the quantity of user comment content, just
It is relating attribute, includes number of reviews in the business datum format of a commodity, it, should as long as there is user to comment on the commodity
The number of reviews of commodity can be superimposed automatically;It is relating attribute another example is: investigating the transaction count of test paper data in the application, it should
The every transaction of investigation test paper data is primary, which increases by 1 automatically.
S302, triggering verify intelligent contract, which carries out school to the corresponding remaining sum of third client address
It tests, after verification passes through, freezes investigation test paper purchasing price.
The corresponding remaining sum of third client address is verified, judges whether it there are enough remaining sum payment expenses;When
It is obstructed out-of-date to verify, i.e., third client address it is corresponding Sorry, your ticket has not enough value with pay its purchase investigation answer the questions in a test paper expense, Bu Nengjin
Row subsequent step.Also, after verification passes through, to freeze investigation test paper purchasing price, to guarantee that subsequent investigation test paper is handed over
Easy smoothly completes.
Investigate task data on chain process, the application without associated description, such as: in the common recognition of proof of work PoW
Under mechanism, after being packaged and being verified, it is synchronous that node broadcasts to all nodes carry out data.
S303, block chain node send transaction request to the second client, which includes third client public key.
S304, the second client encrypt investigation test paper with third client public key.
S305, the second client send transaction and respond to block chain node, and transaction response includes third client public key
The investigation test paper data of encryption.
S306, the intelligent contract of triggering transaction, the transaction intelligence contract execute transferring accounts for above-mentioned investigation test paper purchasing price, and
The investigation test paper data cochain that third client public key is encrypted.
At this point it is possible to which a investigation test paper data-triggered transaction intelligence contract, executes primary investigation test paper purchase unit price
Transfer accounts, can be and meet preset quantity condition, execute the quantity investigation test paper purchase unit price transfer accounts.
The buyer of investigation test paper data needs to possess digital cash, and test paper data could be investigated on block chain
Purchase;The digital cash that investigation test paper data purchaser possesses can be as another kind of investigation test paper data owner, sell
Another kind of investigation test paper data digital cash obtained.The application is to this without being described in detail.
It should be noted that the service charge of block chain node, is also possible to a investigation test paper, the intelligent contract of triggering transaction
Afterwards, it transfers accounts primary;It is also possible to more parts of investigation test papers, triggering trades after intelligent contract, transfers accounts repeatedly;Investigate test paper quantity with
The number of transferring accounts of the service charge of block chain node is equal.
S307, block chain node send investigation test paper purchase and respond to third client.
S308, third client send investigation test paper inquiry request and give block chain node.
The investigation test paper inquiry request be it is uninterrupted, ceaselessly send.
S309, block chain node send investigation test paper inquiry response and give third client, investigation test paper inquiry response packet
Include the investigation test paper of third client public key encryption.
S310, third client solve the investigation test paper data that the third client public key encrypts with own private key
It is close.
The present processes can allow the process cochain of investigation, and the open process entirely investigated is transparent, while having ensured tune
The interests of the person of grinding and investigated person;Also, this method allows investigational data cochain, and investigation person and investigated person can check the tune
Grind data.In addition, the investigated person for replying questionnaire can also be answered the questions in a test paper with the investigation and be traded;Investigation person answers the questions in a test paper to above-mentioned investigation
Only check permission, the permission that investigation test paper is not traded again.
As shown in figure 4, the investigation equipment on a kind of block chain, the investigation equipment is block chain node, the equipment packet
Include receiving unit, processing unit and transmission unit.
The receiving unit, receives the investigation task cochain request that the first client is sent, and the investigation task cochain is asked
It asks and presets price and investigation task preset time including investigation task, it includes investigation questionnaire unit price that the investigation task, which presets price,
With investigation questionnaire quantity.
The processing unit, triggering task verify intelligent contract, and the task verifies intelligent contract to first client
The corresponding remaining sum in end address is verified, and after verification passes through, is freezed the investigation task and is preset price.
The receiving unit receives the investigation test paper cochain request of the second client, the investigation test paper cochain request packet
Include the investigation test paper of the first client public key encryption and the investigation test paper of second client public key encryption.
When the quantity of the processing unit, the investigation test paper reaches preset quantity, the intelligent contract of triggering transaction, the friendship
Easily intelligence contract verifies the quantity that the investigation is answered the questions in a test paper, and after verification passes through, executes the investigation task and presets transferring accounts for price, and
Execute the cochain of the investigation test paper of the first client public key encryption and the investigation test paper of second client public key encryption
Process.
In a kind of possible embodiment, the equipment further includes transmission unit, the transmission unit, sends investigation and answers
Inquiry request is rolled up to the block chain node;The transmission unit sends investigation test paper and responds to first client, described
Investigation test paper response includes the investigation test paper that first client public key of the first preset quantity encrypts, in order to described first
The investigation test paper that first client public key encrypts is decrypted in client private key.
In a kind of possible embodiment, the investigation task presets the transaction that price further includes the block chain node
Service charge.
In a kind of possible embodiment, the second client own public key is answered the questions in a test paper to the investigation and is encrypted, tool
Body are as follows: second client carries out the encryption of preset ratio with own public key to the investigation test paper.
In a kind of possible embodiment, the receiving unit receives the investigation test paper purchase that third client is sent
Request, the investigation test paper purchase request include that investigation test paper purchasing price and third client public key, the investigation are answered
Rolling up purchasing price includes the investigation test paper purchase unit price and investigation test paper quantity;
The processing unit, triggering verify intelligent contract, and the intelligent contract of the verification is to the third client address pair
The remaining sum answered is verified, and after verification passes through, freezes the investigation test paper purchasing price;
The transmission unit sends transaction request to second client, and the transaction request includes third client
Public key, in order to which second client encrypts investigation test paper data with the third client public key, concurrently
Send the investigation test paper data of the third client public key encryption to the block chain node;
The processing unit, triggers intelligent contract of trading, and the intelligent contract of the transaction executes the investigation test paper purchase price
Lattice are transferred accounts, and execute the cochain process of the investigation test paper data of the third client public key encryption.
The present processes can allow the process cochain of investigation, and the open process entirely investigated is transparent, while having ensured tune
The interests of the person of grinding and investigated person;Also, this method allows investigational data cochain, and investigation person and investigated person can check the tune
Grind data.In addition, the investigated person for replying questionnaire can also be answered the questions in a test paper with the investigation and be traded;Investigation person answers the questions in a test paper to above-mentioned investigation
Only check permission, the permission that investigation test paper is not traded again.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this realization
It is not considered that exceeding scope of the present application.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.
Claims (10)
1. the method for investigation and study on a kind of block chain, which is characterized in that the described method includes:
Block chain node receives the investigation task cochain request that the first client is sent, and the investigation task cochain request includes adjusting
It grinds task and presets price and investigation task preset time, it includes that investigation questionnaire unit price and investigation are asked that the investigation task, which presets price,
Roll up quantity;
Triggering task verifies intelligent contract, the task verify intelligent contract to the corresponding remaining sum of first client address into
Row verification after verification passes through, freezes the investigation task and presets price;
The block chain node receives the investigation test paper cochain request of the second client, and the investigation test paper cochain request includes institute
State the investigation test paper of the first client public key encryption and the investigation test paper of second client public key encryption;
When the quantity of the investigation test paper reaches preset quantity, the intelligent contract of triggering transaction, the intelligent contract of the transaction verifies institute
The quantity of investigation test paper is stated, after verification passes through, the investigation task is executed and presets transferring accounts for price, and execute first client
Hold the cochain process of the investigation test paper of public key encryption and the investigation test paper of second client public key encryption.
2. the method according to claim 1, wherein the method also includes:
First client sends investigation test paper inquiry request to the block chain node;
The block chain node sends investigation test paper and responds to first client, and the investigation test paper response includes first pre-
If the investigation test paper that first client public key of quantity encrypts, in order to which first client private key is to first visitor
The investigation test paper of family end public key encryption is decrypted.
3. the method according to claim 1, wherein it further includes the block chain that the investigation task, which presets price,
The transactional services of node are taken.
4. the method according to claim 1, wherein the second client own public key answers the investigation
Volume encryption, specifically:
Second client carries out the encryption of preset ratio with own public key to the investigation test paper.
5. method according to claim 1 or 4, which is characterized in that the method also includes:
The block chain node receives the investigation test paper purchase request that third client is sent, the investigation test paper purchase request packet
The investigation test paper purchasing price and third client public key are included, the investigation test paper purchasing price includes the investigation test paper purchase
Check valence and the investigation test paper quantity;
Triggering verifies intelligent contract, and the intelligent contract of the verification verifies the corresponding remaining sum of the third client address,
After verification passes through, freeze the investigation test paper purchasing price;
The block chain node sends transaction request to second client, and the transaction request includes that third client is public
Key in order to which second client encrypts investigation test paper data with the third client public key, and is sent
The investigation test paper data of the third client public key encryption give the block chain node;
Triggering is traded intelligent contract, and the intelligent contract of trading executes transferring accounts for the investigation test paper purchasing price, and executes institute
State the cochain process of the investigation test paper data of third client public key encryption.
6. the investigation equipment on a kind of block chain, which is characterized in that the equipment includes receiving unit, processing unit and transmission
Unit;Wherein,
The receiving unit receives the investigation task cochain request that the first client is sent, the investigation task cochain request packet
It includes investigation task and presets price and investigation task preset time, the investigation task presets price and includes investigation questionnaire unit price and adjust
Grind questionnaire quantity;
The processing unit, triggering task verify intelligent contract, and the task verifies intelligent contract to first client
The corresponding remaining sum in location is verified, and after verification passes through, is freezed the investigation task and is preset price;
The receiving unit receives the investigation test paper cochain request of the second client, and the investigation test paper cochain request includes institute
State the investigation test paper of the first client public key encryption and the investigation test paper of second client public key encryption;
When the quantity of the processing unit, the investigation test paper reaches preset quantity, the intelligent contract of triggering transaction, the transaction intelligence
Energy contract verifies the quantity of the investigation test paper, after verification passes through, executes the investigation task and presets transferring accounts for price, and execute
The cochain process of the investigation test paper of the investigation test paper and second client public key encryption of the first client public key encryption.
7. equipment according to claim 1, which is characterized in that the equipment further includes transmission unit,
The transmission unit sends investigation test paper inquiry request to the block chain node;
The transmission unit sends investigation test paper and responds to first client, and the investigation test paper response includes first pre-
If the investigation test paper that first client public key of quantity encrypts, in order to which first client private key is to first visitor
The investigation test paper of family end public key encryption is decrypted.
8. equipment according to claim 6, which is characterized in that it further includes the block chain that the investigation task, which presets price,
The transactional services of node are taken.
9. equipment according to claim 6, which is characterized in that the second client own public key answers the investigation
Volume encryption, specifically:
Second client carries out the encryption of preset ratio with own public key to the investigation test paper.
10. equipment according to claim 6 or 9, which is characterized in that
The receiving unit receives the investigation test paper purchase request that third client is sent, the investigation test paper purchase request packet
The investigation test paper purchasing price and third client public key are included, the investigation test paper purchasing price includes the investigation test paper purchase
Check valence and the investigation test paper quantity;
The processing unit, triggering verify intelligent contract, and the intelligent contract of the verification is corresponding to the third client address
Remaining sum is verified, and after verification passes through, freezes the investigation test paper purchasing price;
The transmission unit sends transaction request to second client, and the transaction request includes third client public key,
In order to which second client encrypts investigation test paper data with the third client public key, and described in transmission
The investigation test paper data of third client public key encryption give the block chain node;
The processing unit, triggering are traded intelligent contract, and the intelligent contract of trading executes the investigation test paper purchasing price
It transfers accounts, and executes the cochain process of the investigation test paper data of the third client public key encryption.
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 true CN110210859A (en) | 2019-09-06 |
CN110210859B 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 (5)
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 |
CN109241756A (en) * | 2018-08-20 | 2019-01-18 | 深圳市腾讯网络信息技术有限公司 | Data processing method, system, server and medium based on block chain |
CN109785200A (en) * | 2019-01-03 | 2019-05-21 | 中国联合网络通信集团有限公司 | It answers questions method, equipment and storage medium |
-
2019
- 2019-06-11 CN CN201910499633.4A patent/CN110210859B/en active Active
Patent Citations (5)
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 |
CN109241756A (en) * | 2018-08-20 | 2019-01-18 | 深圳市腾讯网络信息技术有限公司 | Data processing method, system, server and medium 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 |
---|---|
CN110210859B (en) | 2022-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2624981C (en) | Three-dimensional transaction authentication | |
US11093963B2 (en) | System for digital bonus point management | |
CN110210977A (en) | A kind of data trade method and its equipment | |
CN110225032A (en) | A kind of method of commerce and its equipment of business datum | |
KR20170013209A (en) | Personal area network | |
KR102290481B1 (en) | Method and apparatus for providing real estate transaction service interacting with fintech based on block chain | |
CN110210976A (en) | A kind of method of commerce and its equipment based on block chain | |
JP3622789B2 (en) | General in-house personal authentication system | |
CN110223118A (en) | A kind of method of investigation and study realized by intelligent contract and its equipment | |
CN110223117A (en) | A kind of method of investigation and study and its equipment of combination block chain | |
CN110210975A (en) | Data trade method and its equipment on block chain | |
CN110223065A (en) | Business datum method of commerce and its equipment on a kind of chain | |
CN110210861A (en) | Data trade method and its equipment on block chain | |
CN110210859A (en) | Method of investigation and study and its equipment on a kind of block chain | |
CN110210239A (en) | A kind of method of investigation and study and its equipment applied on block chain | |
CN110210247A (en) | A kind of method of investigation and study and its equipment using intelligent contract | |
CN110223043A (en) | A kind of method of investigation and study and its equipment based on block chain | |
CN110223119A (en) | A kind of method of investigation and study and its equipment on block chain | |
CN111131227B (en) | Data processing method and device | |
CN110232096A (en) | A kind of method of investigation and study and its equipment based on intelligent contract | |
CN110210240A (en) | A kind of method of investigation and study and its equipment for applying intelligent contract | |
CN110232594A (en) | A kind of method of investigation and study realized by block chain and its equipment | |
CN110189130A (en) | Method of commerce and its equipment on block chain | |
CN110210862A (en) | A kind of method of commerce and its equipment of business datum | |
CN110213282A (en) | A kind of method of investigation and study and its equipment by intelligent contract |
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 |