CN110223117A - A kind of method of investigation and study and its equipment of combination block chain - Google Patents

A kind of method of investigation and study and its equipment of combination block chain Download PDF

Info

Publication number
CN110223117A
CN110223117A CN201910499602.9A CN201910499602A CN110223117A CN 110223117 A CN110223117 A CN 110223117A CN 201910499602 A CN201910499602 A CN 201910499602A CN 110223117 A CN110223117 A CN 110223117A
Authority
CN
China
Prior art keywords
investigation
test paper
questionnaire
client
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
Application number
CN201910499602.9A
Other languages
Chinese (zh)
Other versions
CN110223117B (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 Ai Morui Strategic Technology Co Ltd
Original Assignee
Beijing Ai Morui Strategic 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 Ai Morui Strategic Technology Co Ltd filed Critical Beijing Ai Morui Strategic Technology Co Ltd
Priority to CN201910499602.9A priority Critical patent/CN110223117B/en
Publication of CN110223117A publication Critical patent/CN110223117A/en
Application granted granted Critical
Publication of CN110223117B publication Critical patent/CN110223117B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • G06Q30/0203Market surveys; Market polls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/0825Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application discloses the method for investigation and study and its equipment of a kind of combination block chain, in this method: block chain node receives the investigation questionnaire cochain request that the first client is sent;Trigger questionnaire intelligence contract;Receive the investigation questionnaire inquiry request that investigation server is sent;The investigation questionnaire is sent to the investigation server;Receive the investigation test paper for first client public key encryption that the investigation server is sent and the investigation test paper of second client public key encryption;Triggering transaction intelligence contract, the transaction intelligence contract execute the investigation test paper execution cochain process that the monovalent investigation transferred accounts, and first client public key is encrypted of investigation questionnaire is answered the questions in a test paper and second client public key encrypts.This method can allow investigation open process transparent, guarantee the interests of investigation person and investigated person.

Description

A kind of method of investigation and study and its equipment of combination block chain
Technical field
This application involves block chain technical field more particularly to a kind of method of investigation and study and its equipment of combination block chain.
Background technique
Currently, block chain technology is the peer-to-peer network based on decentralization, with open source software Cryptography Principles, when ordinal number It is combined according to common recognition mechanism, to ensure the coherent of each node in distributed data base and continue, so that information is verified immediately, can Retrospect, 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 the method for investigation and study and its equipment of a kind of combination block chain, this method energy It enough allows investigation open process transparent, guarantees the interests of investigation person and investigated person.
The application first aspect provides a kind of method of investigation and study of combination block chain, which comprises
Block chain node receives the investigation questionnaire cochain request that the first client is sent, the investigation questionnaire cochain request packet Investigation questionnaire price and investigation questionnaire time are included, the investigation questionnaire price includes investigation questionnaire unit price and investigation questionnaire quantity;
Questionnaire intelligence contract is triggered, the questionnaire intelligence contract carries out school to the corresponding remaining sum of first client address It tests, after verification passes through, freezes the investigation questionnaire price;
The block chain node receives the investigation questionnaire inquiry request that investigation server is sent;
The block chain node sends the investigation questionnaire to the investigation server, so that the investigation server is distributed To the second client, and then second client investigation server public key encrypts investigation test paper, and by the investigation The investigation test paper of server public key encryption is sent to the investigation server, so that the investigation server own private key is to this The investigation test paper of investigation server public key encryption is decrypted, and obtains the investigation test paper;
The investigation that the block chain node receives first client public key encryption that the investigation server is sent is answered The investigation test paper of volume and second client public key encryption;
Triggering is traded intelligent contract, and the intelligent contract of trading executes transferring accounts for the investigation questionnaire unit price, and will be described The investigation test paper of first client public key encryption and the investigation test paper of second client public key encryption execute cochain process.
In a kind of mode in the cards, the method also includes: the block chain node receives first client The investigation test paper inquiry request that end is sent;
The block chain node is sent to the first client investigation test paper response, and the investigation test paper response includes institute The investigation test paper of the first client public key encryption is stated, in order to which the first client private key is to first client The investigation test paper of public key encryption is decrypted.
In a kind of mode in the cards, the investigation questionnaire price includes the investigation questionnaire unit price, the investigation The service charge of questionnaire quantity, the service charge of the investigation server and the block chain node.
In a kind of mode in the cards, the method also includes: the block chain node receives third client Test paper purchase request is investigated, it includes investigation test paper purchasing price, the investigation test paper purchase price that the investigation test paper, which buys request, Lattice include investigation test paper 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 the investigation server, and the transaction request includes the investigation clothes The investigation test paper of business device public key encryption, so that the investigation server own private key is to the investigation server public key encryption Investigation test paper is decrypted, and is encrypted with the third client public key to investigation test paper;
The investigation that the block chain node receives the third client public key encryption that the investigation server is sent is answered Volume;
Intelligence contract of trading is triggered, the intelligent contract of trading executes the test paper of investigating and buys transferring accounts for unit price, and holds The investigation test paper cochain process of the row third client public key encryption.
In a kind of mode in the cards, second client public key is answered the questions in a test paper to the investigation and is encrypted, specifically: institute State the encryption that the second client public key carries out preset ratio to the investigation test paper.
The application second aspect provides a kind of investigation equipment of combination block chain, and the equipment is to set described in block chain node Standby includes receiving unit, processing unit and transmission unit.
The receiving unit, receives the investigation questionnaire cochain request that the first client is sent, and the investigation questionnaire cochain is asked It asks including investigation questionnaire price and investigation questionnaire time, the investigation questionnaire price includes investigation questionnaire unit price and investigation questionnaire number Amount;
The processing unit triggers questionnaire intelligence contract, and the questionnaire intelligence contract is to first client address pair The remaining sum answered is verified, and after verification passes through, freezes the investigation questionnaire price;
The receiving unit receives the investigation questionnaire inquiry request that investigation server is sent;
The transmission unit sends the investigation questionnaire to the investigation server, so that the investigation server is distributed To the second client, and then second client investigation server public key encrypts investigation test paper, and by the investigation The investigation test paper of server public key encryption is sent to the investigation server, so that the investigation server own private key is to this The investigation test paper of investigation server public key encryption is decrypted, and obtains the investigation test paper;
The receiving unit, the investigation for receiving first client public key encryption that the investigation server is sent are answered The investigation test paper of volume and second client public key encryption;
The processing unit, triggering are traded intelligent contract, and the intelligent contract of trading executes the investigation questionnaire unit price It transfers accounts, and the investigation of the investigation test paper of first client public key encryption and second client public key encryption is answered the questions in a test paper Execute cochain process.
In a kind of mode in the cards, the receiving unit receives the investigation test paper that first client is sent Inquiry request;
The transmission unit is sent to the first client investigation test paper response, and the investigation test paper response includes institute The investigation test paper of the first client public key encryption is stated, in order to which the first client private key is to first client The investigation test paper of public key encryption is decrypted.
In a kind of mode in the cards, the investigation questionnaire price includes the investigation questionnaire unit price, the investigation The service charge of questionnaire quantity, the service charge of the investigation server and the block chain node.
In a kind of mode in the cards, the receiving unit receives the investigation test paper purchase request of third client, The investigation test paper purchase request includes investigation test paper purchasing price, and the investigation test paper purchasing price includes investigation test paper unit price With 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 the investigation server, and the transaction request includes the investigation clothes The investigation test paper of business device public key encryption, so that the investigation server own private key is to the investigation server public key encryption Investigation test paper is decrypted, and is encrypted with the third client public key to investigation test paper;
The receiving unit, the investigation for receiving the third client public key encryption that the investigation server is sent are answered Volume;
The processing unit, the intelligent contract of triggering transaction, the transaction intelligent contract execution investigation test paper are bought single Valence is transferred accounts, and executes the investigation test paper cochain process of the third client public key encryption.
In a kind of mode in the cards, second client public key is answered the questions in a test paper to the investigation and is encrypted, specifically: institute State the encryption that the second client public key carries out preset ratio to the investigation test paper.
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.
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 a kind of method of investigation and study flow diagram of combination block chain provided by the embodiments of the present application;
Fig. 2 is a kind of method of investigation and study flow diagram of block chain provided by the embodiments of the present application;
Fig. 3 is a kind of investigation test paper transaction flow schematic diagram provided by the embodiments of the present application;
Fig. 4 is a kind of investigation device structure schematic diagram of combination 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 node in the embodiment of the present application, it can be understood as respond extraneous certain trigger condition, and by certain rule The abstract machine for doing state conversion, can be mobile phone, tablet computer, palm PC, individual's PC computer etc. can be soft according to application Part and the equipment that can be networked.
As shown in Figure 1, a kind of method of investigation and study of combination block chain, the method includes the steps S101-S106.
S101, block chain node receive the investigation questionnaire cochain request that the first client is sent, the investigation questionnaire cochain Request includes investigation questionnaire price and investigation questionnaire time, and the investigation questionnaire price includes investigation questionnaire unit price and investigation questionnaire Quantity.
S102 triggers questionnaire intelligence contract, and the questionnaire intelligence contract is to the corresponding remaining sum of first client address It is verified, after verification passes through, freezes the investigation questionnaire price.
S103, the block chain node receive the investigation questionnaire inquiry request that investigation server is sent.
S104, the block chain node send the investigation questionnaire to the investigation server, so that the investigation services Device is distributed to the second client, and then second client investigation server public key encrypts investigation test paper, and by institute The investigation test paper for stating investigation server public key encryption is sent to the investigation server, so that itself private of the investigation server The investigation test paper that the investigation server public key encrypts is decrypted in key, obtains the investigation test paper.
S105, the block chain node receive the tune for first client public key encryption that the investigation server is sent Grind the investigation test paper of test paper and second client public key encryption.
S106, triggering are traded intelligent contract, and the intelligent contract of trading executes transferring accounts for the investigation questionnaire unit price, and will The investigation test paper of the first client public key encryption and the investigation test paper of second client public key encryption execute cochain stream Journey.
In one example, the method also includes: the block chain nodes to receive the tune that first client is sent Grind test paper inquiry request;
The block chain node is sent to the first client investigation test paper response, and the investigation test paper response includes institute The investigation test paper of the first client public key encryption is stated, in order to which the first client private key is to first client The investigation test paper of public key encryption is decrypted.
In one example, the investigation questionnaire price includes the investigation questionnaire unit price, the investigation questionnaire quantity, institute State the service charge of investigation server and the service charge of the block chain node.
In one example, the method also includes:
The block chain node receives the investigation test paper purchase request of third client, the investigation test paper purchase request packet Investigation test paper purchasing price is included, the investigation test paper purchasing price includes investigation test paper 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 the investigation server, and the transaction request includes the investigation clothes The investigation test paper of business device public key encryption, so that the investigation server own private key is to the investigation server public key encryption Investigation test paper is decrypted, and is encrypted with the third client public key to investigation test paper;
The investigation that the block chain node receives the third client public key encryption that the investigation server is sent is answered Volume;
Intelligence contract of trading is triggered, the intelligent contract of trading executes the test paper of investigating and buys transferring accounts for unit price, and holds The investigation test paper cochain process of the row third client public key encryption.
In one example, second client public key is answered the questions in a test paper to the investigation and is encrypted, specifically: second client Public key is held to carry out the encryption of preset ratio to the investigation test paper.
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, also there is the field in the field or hobby be good at.Such as: the first client End is the investigation person of mobile phone industry, the corresponding user's ability of the second client only identified with mobile phone logo or electronic product It can be carried out the answer of the investigation questionnaire.
Method in the application, allows investigation person and investigated person, solves investigation person and investigated person during investigation Mutual trust problem;After guaranteeing investigation person's bid, investigation test paper can be taken;After investigated person replies investigation questionnaire, energy Take price.
Below by taking Fig. 2 as an example, the method for investigation and study of the application is described in detail.This method includes S201-S212.
The first client is investigation person in the application, and the second client is investigated person, and investigation server is entire investigation Process provides service, and possesses the public key of the first client and the second client.
S201, the first client send investigation questionnaire cochain and request to give block chain node, the investigation questionnaire cochain request Including investigation questionnaire price and investigation questionnaire time, the investigation questionnaire price includes investigation questionnaire unit price and investigation questionnaire number Amount.
The investigation questionnaire time refers to the setting time of this investigation, for the answer effective time of this investigation questionnaire.
S202 triggers questionnaire intelligence contract, and the questionnaire intelligence contract is to the corresponding remaining sum of first client address It is verified, after verification passes through, freezes the investigation questionnaire price, and by the investigation questionnaire cochain.
Remaining sum transaction is obstructed out-of-date, cannot execute follow-up process;After verification passes through, by the investigation questionnaire price freeze, from And guarantees subsequent transaction and go on smoothly.
S203, block chain node send investigation questionnaire cochain and respond to the first client.
S204, the investigation server send investigation questionnaire inquiry request and give the block chain node.
S205, block chain node send investigation questionnaire and give investigation server.
S206, investigation server distribute the investigation questionnaire to the second client.
Investigation server preserves the mark for being good at field of each client, here can be based on the field mark of investigation questionnaire Know, is distributed to the second client for possessing same area mark.
S207, the investigation that the second client sends investigation server public key encryption, which is answered the questions in a test paper, gives investigation server.
At this point, the investigation test paper that the investigation server public key encrypts is decrypted in investigation server own private key, and Portion is encrypted respectively with the first client and the second client public key.
At this point, the second client public key encrypts investigation test paper data, it can be progress Partial key field and add It is close, it is also possible to be encrypted according to preset ratio (such as: encrypting 2/3rds of the business datum).Because the second client may be used also Investigation test paper data to be traded, so that the buyer of investigation test paper data can not look into the case where not buying See the complete data.
The preset ratio can be 0, i.e. the second client does not encrypt investigation test paper data.
S208, investigation server send investigation test paper cochain and request to give block chain node, which answers the questions in a test paper in cochain request The investigation test paper of investigation test paper and the encryption of the second client public key including the encryption of the first client public key.
S209, triggering are traded intelligent contract, which executes transferring accounts for investigation questionnaire unit price, and by this first The investigation test paper of client public key encryption and the investigation test paper of the second client public key encryption execute cochain process.
At this point, the investigation questionnaire price includes the investigation questionnaire unit price, the investigation questionnaire quantity, the investigation service The service charge of device and the service charge of block chain node.
Furthermore, it is possible to be that a investigation is answered the questions in a test paper, triggers intelligent contract of trading and carry out once investigating transferring accounts for questionnaire unit price;? It can be more parts of investigation test papers, the intelligent contract of triggering transaction, the primary multiple investigation questionnaires of progress are monovalent to transfer accounts;That is, The quantity for investigating test paper is equal with the investigation quantity of transferring accounts of questionnaire unit price.It transfers accounts and refers to first client (investigation person) address pair The investigation questionnaire unit price answered is gone on the address of the second client (investigated person).
It should be noted that the service charge of investigation server and the service charge of block chain node cochain, are also possible to portion Investigation test paper, triggering are traded after intelligent contract, are transferred accounts primary;It is also possible to more parts of investigation test papers, triggering is traded after intelligent contract, It transfers accounts repeatedly;Investigate the number of transferring accounts of the quantity of test paper and the service charge of investigation server, the cochain service charge of block chain node It is equal.
S210, the first client send investigation test paper inquiry request and give block chain node.
S211, block chain node send investigation test paper and respond to the first client, and investigation test paper response includes the first visitor The investigation of family end public key encryption is answered the questions in a test paper.
The investigation test paper that the first client public key encrypts is decrypted in S212, the first client own private key.
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..Investigation server 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.
The person of grinding is exchanged in citing below, investigated person must have same or similar field, is illustrated.In above-mentioned steps In, the investigation questionnaire of S205 has mobile phone logo, shows the target industry of investigation person;S206, distribution, which is investigated, has hand in questionnaire Machine mark, shows the hobby of investigated person.
Below by taking Fig. 3 as an example, the investigation test paper transaction of the second client in the application is illustrated.The transaction flow packet Include S301-S313.
As described above, S301, the second client own public key encrypts investigation test paper, and services public key with the investigation Encryption investigation test paper;S302, the second client send investigation test paper cochain and request to give block chain node;S303, the block chain link Point executes the cochain process of the request;S304, the block chain node send investigation test paper cochain and respond to the second client.
S305, third client send investigation test paper purchase request and give block chain node, investigation test paper purchase request packet Investigation test paper purchasing price is included, which answers the questions in a test paper purchasing price including investigating test paper unit price and investigating quantity of answering the questions in a test paper.
At this point, after the corresponding user of third client can view investigation test paper on block chain, the purchase of sending Buy request;Investigation test paper purchasing price further includes investigating the service charge of the transactional services expense and block chain node of server.
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.
S306, 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.
Investigation test paper 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.
S307, the block chain node send transaction request and give the investigation server, which includes investigation server The investigation of public key encryption is answered the questions in a test paper, so that the investigation server own private key answers the questions in a test paper to the investigation that the investigation server public key encrypts It is decrypted, obtains investigation test paper, and encrypted with third client public key investigation test paper.
S308, the investigation that investigation server sends third client public key encryption, which is answered the questions in a test paper, gives the block chain node.
S309, triggering are traded intelligent contract, which executes transferring accounts for investigation test paper unit price, and by this The investigation test paper of three client public keys encryption executes cochain process.
At this point it is possible to be the primary intelligent contract of trading of a investigation test paper triggering, primary investigation test paper purchase unit price is carried out Transfer accounts;It is also possible to the primary intelligent contract of trading of more parts of investigation test paper triggerings, carries out repeatedly turning for investigation test paper purchase unit price Account;It is, the quantity of investigation test paper is identical as the number of transferring accounts of investigation test paper purchase unit price.
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 investigation server and the service charge of block chain node cochain, are also possible to portion Investigation test paper, triggering are traded after intelligent contract, are transferred accounts primary;It is also possible to more parts of investigation test papers, triggering is traded after intelligent contract, It transfers accounts repeatedly;Investigate the number of transferring accounts of the quantity of test paper and the service charge of investigation server, the cochain service charge of block chain node It is equal.
S310, the block chain node send investigation test paper purchase and respond to the third client.
S311, the third client send investigation test paper inquiry request and give the block chain node.
S312, the block chain node send investigation test paper and respond to the third client, and investigation test paper response includes the The investigation test paper of three client public keys encryption.
S313, third client own private key are decrypted the investigation test paper that the third client public key encrypts, obtain It answers the questions in a test paper to the investigation.
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, a kind of investigation equipment of combination block chain, the equipment is that equipment described in block chain node includes connecing Receive unit, processing unit and transmission unit.
The receiving unit, receives the investigation questionnaire cochain request that the first client is sent, and the investigation questionnaire cochain is asked It asks including investigation questionnaire price and investigation questionnaire time, the investigation questionnaire price includes investigation questionnaire unit price and investigation questionnaire number Amount;
The processing unit triggers questionnaire intelligence contract, and the questionnaire intelligence contract is to first client address pair The remaining sum answered is verified, and after verification passes through, freezes the investigation questionnaire price;
The receiving unit receives the investigation questionnaire inquiry request that investigation server is sent;
The transmission unit sends the investigation questionnaire to the investigation server, so that the investigation server is distributed To the second client, and then second client investigation server public key encrypts investigation test paper, and by the investigation The investigation test paper of server public key encryption is sent to the investigation server, so that the investigation server own private key is to this The investigation test paper of investigation server public key encryption is decrypted, and obtains the investigation test paper;
The receiving unit, the investigation for receiving first client public key encryption that the investigation server is sent are answered The investigation test paper of volume and second client public key encryption;
The processing unit, triggering are traded intelligent contract, and the intelligent contract of trading executes the investigation questionnaire unit price It transfers accounts, and the investigation of the investigation test paper of first client public key encryption and second client public key encryption is answered the questions in a test paper Execute cochain process.
In one example, the receiving unit receives the investigation test paper inquiry request that first client is sent;Institute Transmission unit is stated, is sent to the first client investigation test paper response, the investigation test paper response includes first client The investigation test paper for holding public key encryption, encrypts first client public key in order to the first client private key Investigation test paper is decrypted.
In one example, the investigation questionnaire price includes the investigation questionnaire unit price, the investigation questionnaire quantity, institute State the service charge of investigation server and the service charge of the block chain node.
In one example, the receiving unit, receives the investigation test paper purchase request of third client, and the investigation is answered Volume purchase request includes investigation test paper purchasing price, and the investigation test paper purchasing price includes investigation test paper 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 the investigation server, and the transaction request includes the investigation clothes The investigation test paper of business device public key encryption, so that the investigation server own private key is to the investigation server public key encryption Investigation test paper is decrypted, and is encrypted with the third client public key to investigation test paper;
The receiving unit, the investigation for receiving the third client public key encryption that the investigation server is sent are answered Volume;
The processing unit, the intelligent contract of triggering transaction, the transaction intelligent contract execution investigation test paper are bought single Valence is transferred accounts, and executes the investigation test paper cochain process of the third client public key encryption.
In one example, second client public key is answered the questions in a test paper to the investigation and is encrypted, specifically: second client Public key is held to carry out the encryption of preset ratio to the investigation test paper.
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. a kind of method of investigation and study of combination block chain, which is characterized in that the described method includes:
Block chain node receives the investigation questionnaire cochain request that the first client is sent, and the investigation questionnaire cochain request includes adjusting Questionnaire price and investigation questionnaire time are ground, the investigation questionnaire price includes investigation questionnaire unit price and investigation questionnaire quantity;
Questionnaire intelligence contract is triggered, the questionnaire intelligence contract verifies the corresponding remaining sum of first client address, After verification passes through, freeze the investigation questionnaire price;
The block chain node receives the investigation questionnaire inquiry request that investigation server is sent;
The block chain node sends the investigation questionnaire to the investigation server, so that the investigation server is distributed to the Two clients, and then second client investigation server public key encrypts investigation test paper, and the investigation is serviced The investigation test paper of device public key encryption is sent to the investigation server, so that the investigation server own private key is to the investigation The investigation test paper of server public key encryption is decrypted, and obtains the investigation test paper;
The block chain node receives the investigation test paper for first client public key encryption that the investigation server is sent, and The investigation test paper of the second client public key encryption;
Triggering is traded intelligent contract, and the intelligent contract of trading executes transferring accounts for the investigation questionnaire unit price, and by described first The investigation test paper of client public key encryption and the investigation test paper of second client public key encryption execute cochain process.
2. the method according to claim 1, wherein the method also includes:
The block chain node receives the investigation test paper inquiry request that first client is sent;
The block chain node is sent to first client investigation test paper response, and the investigation test paper response includes described the The investigation test paper of one client public key encryption, in order to which the first client private key is to first client public key The investigation test paper of encryption is decrypted.
3. the method according to claim 1, wherein the investigation questionnaire price includes the investigation questionnaire list Valence, the service charge for investigating questionnaire quantity, the service charge of the investigation server and the block chain node.
4. the method according to claim 1, wherein the method also includes:
The block chain node receives the investigation test paper purchase request of third client, and the investigation test paper purchase request includes adjusting Test paper purchasing price is ground, the investigation test paper purchasing price includes investigation test paper unit price and 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 the investigation server, and the transaction request includes the investigation server The investigation of public key encryption is answered the questions in a test paper, so that investigation of the investigation server own private key to the investigation server public key encryption Test paper is decrypted, and is encrypted with the third client public key to investigation test paper;
The block chain node receives the investigation test paper for the third client public key encryption that the investigation server is sent;
Intelligence contract of trading is triggered, the intelligent contract of trading executes the test paper of investigating and buys transferring accounts for unit price, and executes institute State the investigation test paper cochain process of third client public key encryption.
5. the method according to claim 1, wherein second client public key adds investigation test paper It is close, specifically:
Second client public key carries out the encryption of preset ratio to the investigation test paper.
6. a kind of investigation equipment of combination block chain, which is characterized in that the equipment is that equipment described in block chain node includes connecing Receive unit, processing unit and transmission unit;Wherein,
The receiving unit receives the investigation questionnaire cochain request that the first client is sent, the investigation questionnaire cochain request packet Investigation questionnaire price and investigation questionnaire time are included, the investigation questionnaire price includes investigation questionnaire unit price and investigation questionnaire quantity;
The processing unit, triggers questionnaire intelligence contract, and the questionnaire intelligence contract is corresponding to first client address Remaining sum is verified, and after verification passes through, freezes the investigation questionnaire price;
The receiving unit receives the investigation questionnaire inquiry request that investigation server is sent;
The transmission unit sends the investigation questionnaire to the investigation server, so that the investigation server is distributed to the Two clients, and then second client investigation server public key encrypts investigation test paper, and the investigation is serviced The investigation test paper of device public key encryption is sent to the investigation server, so that the investigation server own private key is to the investigation The investigation test paper of server public key encryption is decrypted, and obtains the investigation test paper;
The receiving unit receives the investigation test paper for first client public key encryption that the investigation server is sent, and The investigation test paper of the second client public key encryption;
The processing unit, triggering are traded intelligent contract, and the intelligent contract of trading executes transferring accounts for the investigation questionnaire unit price, And the investigation test paper of the investigation test paper of first client public key encryption and second client public key encryption is executed Chain process.
7. equipment according to claim 6, which is characterized in that
The receiving unit receives the investigation test paper inquiry request that first client is sent;
The transmission unit, is sent to first client investigation test paper response, and the investigation test paper response includes described the The investigation test paper of one client public key encryption, in order to which the first client private key is to first client public key The investigation test paper of encryption is decrypted.
8. equipment according to claim 6, which is characterized in that the investigation questionnaire price includes the investigation questionnaire list Valence, the service charge for investigating questionnaire quantity, the service charge of the investigation server and the block chain node.
9. equipment according to claim 6, which is characterized in that
The receiving unit receives the investigation test paper purchase request of third client, and the investigation test paper purchase request includes adjusting Test paper purchasing price is ground, the investigation test paper purchasing price includes investigation test paper unit price and 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 the investigation server, and the transaction request includes the investigation server The investigation of public key encryption is answered the questions in a test paper, so that investigation of the investigation server own private key to the investigation server public key encryption Test paper is decrypted, and is encrypted with the third client public key to investigation test paper;
The receiving unit receives the investigation test paper for the third client public key encryption that the investigation server is sent;
The processing unit, triggers intelligence contract of trading, and the intelligent contract of trading executes the test paper of investigating and buys unit price It transfers accounts, and executes the investigation test paper cochain process of the third client public key encryption.
10. equipment according to claim 6, which is characterized in that second client public key adds investigation test paper It is close, specifically:
Second client public key carries out the encryption of preset ratio to the investigation test paper.
CN201910499602.9A 2019-06-11 2019-06-11 Investigation method and device for combined block chain Active CN110223117B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910499602.9A CN110223117B (en) 2019-06-11 2019-06-11 Investigation method and device for combined block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910499602.9A CN110223117B (en) 2019-06-11 2019-06-11 Investigation method and device for combined block chain

Publications (2)

Publication Number Publication Date
CN110223117A true CN110223117A (en) 2019-09-10
CN110223117B CN110223117B (en) 2022-04-15

Family

ID=67816301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910499602.9A Active CN110223117B (en) 2019-06-11 2019-06-11 Investigation method and device for combined block chain

Country Status (1)

Country Link
CN (1) CN110223117B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225391A (en) * 2022-07-21 2022-10-21 电子科大科园股份有限公司 Questionnaire encryption method and device, electronic equipment and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170344988A1 (en) * 2016-05-24 2017-11-30 Ubs Ag System and method for facilitating blockchain-based validation
WO2018076762A1 (en) * 2016-10-27 2018-05-03 上海亿账通区块链科技有限公司 Block chain-based transaction verification method and system, electronic device, and medium
US20180331837A1 (en) * 2016-01-05 2018-11-15 Coinplug, Inc. Secure information transmitting system and method for personal identity authentication
CN109146547A (en) * 2018-07-26 2019-01-04 武汉研众科技有限公司 A kind of method of investigation and study and system based on block chain
CN109408617A (en) * 2018-09-13 2019-03-01 浙江大学华南工业技术研究院 Questionnaire investigation data processing method, system, computer equipment and storage medium
CN109462588A (en) * 2018-11-13 2019-03-12 上海物融智能科技有限公司 A kind of decentralization data trade method and system based on block chain
CN109493020A (en) * 2018-11-08 2019-03-19 众安信息技术服务有限公司 Method for secure transactions and device based on block chain
CN109544171A (en) * 2018-11-30 2019-03-29 众安信息技术服务有限公司 For realizing the method and apparatus of the consistency of transregional piece of chain transaction
CN109785200A (en) * 2019-01-03 2019-05-21 中国联合网络通信集团有限公司 It answers questions method, equipment and storage medium
US20190164157A1 (en) * 2017-11-28 2019-05-30 American Express Travel Related Services Company, Inc. Transaction authorization process using blockchain

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180331837A1 (en) * 2016-01-05 2018-11-15 Coinplug, Inc. Secure information transmitting system and method for personal identity authentication
US20170344988A1 (en) * 2016-05-24 2017-11-30 Ubs Ag System and method for facilitating blockchain-based validation
WO2018076762A1 (en) * 2016-10-27 2018-05-03 上海亿账通区块链科技有限公司 Block chain-based transaction verification method and system, electronic device, and medium
US20190164157A1 (en) * 2017-11-28 2019-05-30 American Express Travel Related Services Company, Inc. Transaction authorization process using blockchain
CN109146547A (en) * 2018-07-26 2019-01-04 武汉研众科技有限公司 A kind of method of investigation and study and system based on block chain
CN109408617A (en) * 2018-09-13 2019-03-01 浙江大学华南工业技术研究院 Questionnaire investigation data processing method, system, computer equipment and storage medium
CN109493020A (en) * 2018-11-08 2019-03-19 众安信息技术服务有限公司 Method for secure transactions and device based on block chain
CN109462588A (en) * 2018-11-13 2019-03-12 上海物融智能科技有限公司 A kind of decentralization data trade method and system based on block chain
CN109544171A (en) * 2018-11-30 2019-03-29 众安信息技术服务有限公司 For realizing the method and apparatus of the consistency of transregional piece of chain transaction
CN109785200A (en) * 2019-01-03 2019-05-21 中国联合网络通信集团有限公司 It answers questions method, equipment and storage medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
SHITANG YU等: "A High Performance Blockchain Platform for Intelligent Devices", 《2018 1ST IEEE INTERNATIONAL CONFERENCE ON HOT INFORMATION-CENTRIC NETWORKING (HOTICN)》 *
YU BAI等: "Researchain: Union Blockchain Based Scientific Research Project Management System", 《2018 CHINESE AUTOMATION CONGRESS (CAC)》 *
刘雄文: "多区块链交易分发和事件处理的***方案", 《计算机科学》 *
张昊迪等: "基于区块链技术的跨域身份认证机制研究", 《广东通信技术》 *
王德文等: "基于智能合约的区域能源交易模型与实验测试", 《电网技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225391A (en) * 2022-07-21 2022-10-21 电子科大科园股份有限公司 Questionnaire encryption method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN110223117B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
CA2624981C (en) Three-dimensional transaction authentication
KR102110605B1 (en) Method for trading blockchain exchange based real electronic wallet and method for trading the same
CN110210977A (en) A kind of data trade method and its equipment
CN110225032B (en) Business data transaction method and equipment
CN111126987B (en) Resource transfer information processing method and device, storage medium and electronic device
CN110210976A (en) A kind of method of commerce and its equipment based on block chain
US20020038424A1 (en) Apparatus and method for providing security for electronic signatures
CN110969465A (en) Sales promotion method and system based on block link certificate
CN110223117A (en) A kind of method of investigation and study and its equipment of combination block chain
CN110223118A (en) A kind of method of investigation and study realized by intelligent contract and its equipment
CN110210975A (en) Data trade method and its equipment on block chain
Sridhar E-commerce technology made easy
CN110210861A (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
CN110223053A (en) A kind of data trade method and its equipment
CN110210247A (en) A kind of method of investigation and study and its equipment using intelligent contract
CN110210239A (en) A kind of method of investigation and study and its equipment applied on block chain
CN110223119A (en) A kind of method of investigation and study and its equipment on block chain
CN110210859A (en) Method of investigation and study and its equipment on a kind of block chain
CN110232594A (en) A kind of method of investigation and study realized by block chain and its equipment
CN110223043A (en) A kind of method of investigation and study and its equipment based on block chain
CN110210908A (en) A kind of method of investigation and study and its equipment by block chain
CN110189130A (en) Method of commerce and its equipment on block chain
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

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

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

Applicant after: Beijing ruice Technology Co.,Ltd.

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

Applicant before: BEIJING AIMORECE TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant