CN109213790B - Block chain-based data circulation analysis method and system - Google Patents

Block chain-based data circulation analysis method and system Download PDF

Info

Publication number
CN109213790B
CN109213790B CN201810905458.XA CN201810905458A CN109213790B CN 109213790 B CN109213790 B CN 109213790B CN 201810905458 A CN201810905458 A CN 201810905458A CN 109213790 B CN109213790 B CN 109213790B
Authority
CN
China
Prior art keywords
data
server
query
client
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810905458.XA
Other languages
Chinese (zh)
Other versions
CN109213790A (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.)
Nanjing Yimu Intelligent Technology Co ltd
Original Assignee
Nanjing Yimu Intelligent 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 Nanjing Yimu Intelligent Technology Co ltd filed Critical Nanjing Yimu Intelligent Technology Co ltd
Priority to CN201810905458.XA priority Critical patent/CN109213790B/en
Publication of CN109213790A publication Critical patent/CN109213790A/en
Application granted granted Critical
Publication of CN109213790B publication Critical patent/CN109213790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Storage Device Security (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a data circulation method and a system based on a block chain.A user obtains a service interface through a client; the client runs on the access server, a user sends out a query instruction through the client, and the query server controls the access authority through the unified port and receives a data query request of the access server; the query server requests a corresponding data index from the block chain according to the data query request and feeds the data index back to the access server; a user obtains a data index through a client and determines whether to use the data index; a user sends a use instruction through a client, and an inquiry server sends data calling requests to all distributed data servers in parallel; the distributed data server feeds back the encrypted data to the query server according to the data calling request; the access server writes the records of the data query and analysis into the blockchain. The invention separates the data ownership and the use right, so that a mechanism which is sufficient in the rights and interests of users and data owners is ensured.

Description

Block chain-based data circulation analysis method and system
Technical Field
The invention relates to a data circulation analysis method and system based on a block chain, and belongs to the block chain technology.
Background
Data distribution refers to the behavior of data as an object between a data provider and a data consumer according to a certain distribution rule. In this case, the data is separated from the original usage scenario, and the usage purpose is changed. With the gradually accepted resource value of data and the increasingly complete structure of big data industry chain, the demand of data circulation in China is increasingly urgent. Data circulation enables data to be transferred from a data generation end to a data application end no matter sharing or trading, resource allocation is optimized, and the data circulation becomes an important link for releasing data value.
Data circulation in China, particularly data circulation in the transaction industry, still faces serious problems, such as extremely outstanding data privacy protection problem, accurate definition of data right problem, lack of unified consensus in standards of all links of data circulation, rampant data transaction and the like. In addition, with the formal implementation of the network security law of the people's republic of China, the selling of illegal data is formally put into criminal. Under the condition that supporting laws and regulations and standards are not perfect, many enterprises delay or reduce the industrial scale of data circulation in order to avoid risks. The data distribution industry is facing the greatest challenge in recent years and new safeguards through new technology applications are urgently needed.
Disclosure of Invention
The purpose of the invention is as follows: in order to overcome the defects in the prior art, the invention provides a data circulation analysis method and a data circulation analysis system based on a block chain. The system queries single or multiple data sources in parallel and encrypts the data in the transmission process, so that the data is more open. Open means that anyone, whether a person, a company or an application, has access to this database. Therefore, the method has the four characteristics of distributed peer-to-peer, distrust, collective maintenance and incapability of tampering, and has natural engagement with a data circulation scene.
The technical scheme is as follows: in order to achieve the purpose, the invention adopts the technical scheme that:
a data circulation method based on a block chain comprises the following steps:
step A: a user obtains a service interface through a client;
and B: the client runs on the access server, a user sends out a query instruction through the client, and the query server controls access authority through the unified port and receives data query requests of more than one access server;
and C: the query server requests a corresponding data index from the block chain according to the data query request and feeds the data index back to the access server;
step D: a user obtains a data index through a client and determines whether to use the data index;
step E: a user sends a use instruction through a client, and an inquiry server sends data calling requests to all distributed data servers in parallel;
step F: the distributed data server feeds back the encrypted data to the query server according to the data calling request, the query server feeds back the encrypted data to the access server, and the access server completes data analysis according to the operation instruction;
step G: the access server writes the records of the data query and analysis into the blockchain.
Specifically, in the step a, the service interface is a unified rule, and the service interface can be accessed only after being authorized.
Specifically, in step a, the service interface provides block chain registration information and a private key.
Specifically, if the user does not use a digital encryption algorithm to generate a private key, the client uses the digital encryption algorithm to generate a private key, and each private key corresponds to a public key; if the user uses the digital encryption algorithm to generate a private key, the client side obtains a corresponding public key according to the digital encryption algorithm.
Specifically, the access server registers information on the query server, is given certain access authority, and controls the access authority through the unified port and receives the data query request.
Specifically, in step D, the data index includes a signature, a data snapshot, and a timestamp.
Specifically, in the step E, after the query server receives a use instruction sent by the user, the query server obtains the use permission of the user for the corresponding data through interaction with the blockchain; based on the use permission, the query server sends data call requests to all distributed data servers in parallel; the data call request comprises a use authority, a public key and a data index; and in the interaction process of the block chain and the query server, giving the user the right to use the corresponding data at the current time according to the access right setting.
Specifically, in the step F, the distributed data server confirms the usage right of the user according to the public key, then packages the target data and encrypts the target data by using the public key, and the access server decrypts the encrypted data by using the private key.
Specifically, in step F, the data analysis includes providing an Application Programming Interface (API), a data report, a data model training, a data application, and the like.
A data circulation system based on a block chain comprises a client, an access server, a query server, the block chain and a distributed data server;
the client runs on the access server, a user sends out a query instruction, a use instruction and an operation instruction through the client, and the user receives data feedback through the client;
the access server sends data query and use requests to the query server and receives feedback, and writes data query, use and analysis records into the block chain;
the query server requests a corresponding data index from the block chain according to the data query request, feeds the data index back to the access server, and sends a data call request to each distributed data server in parallel according to the user use instruction;
the block chain controls the access authority of the user according to the access authority setting, and stores the records of data query, use and analysis;
the distributed data server stores data and feeds back encrypted data to the query server according to the data call request.
Has the advantages that: compared with the prior art, the block chain-based data circulation analysis method and system provided by the invention have the following advantages:
1. the data ownership and the use right are separated, and a mechanism that the user and the data owner have sufficient rights and interests is guaranteed;
2. the data can be subjected to large-scale parallel query, so that the data processing speed is increased;
3. the query of the data and the transaction record of the data are asynchronously executed, so that the complexity of the system is reduced;
4. the user can not possess the data, can also finish the use of the data, and automatically finish the data transaction through the intelligent contract of the blockchain system.
Drawings
FIG. 1 is a block diagram of a data flow analysis system based on blockchains;
FIG. 2 is a timing diagram of query data for a blockchain-based data flow analysis method;
fig. 3 is a timing diagram of usage data of the blockchain-based data flow analysis method.
Detailed Description
The present invention will be further described with reference to the accompanying drawings.
Fig. 1 shows a data circulation analysis system based on a block chain, which includes a client, an access server, an inquiry server, a block chain, and a distributed data server;
the client runs on the access server, a user sends out a query instruction, a use instruction and an operation instruction through the client, and the user receives data feedback through the client;
the access server sends data query and use requests to the query server and receives feedback, and writes data query, use and analysis records into the block chain;
the query server requests a corresponding data index from the block chain according to the data query request, feeds the data index back to the access server, and sends a data call request to each distributed data server in parallel according to the user use instruction;
the block chain controls the access authority of the user according to the access authority setting, and stores the records of data query, use and analysis;
the distributed data server stores data and feeds back encrypted data to the query server according to the data call request.
The access server registers information on the query server, is given certain access authority, and controls the access authority through the unified port and receives a data query request.
Fig. 2 is a query data sequence diagram of the blockchain-based data flow analysis method, and fig. 3 is a usage data sequence diagram of the blockchain-based data flow analysis method. The method comprises the following steps:
step A: a user obtains a service interface through a client; the service interface is a uniform rule and can be accessed only after being authorized; the service interface provides blockchain registration information and a private key. If the user does not use the digital encryption algorithm to generate the private key, the client side adopts the digital encryption algorithm to generate a private key, and each private key corresponds to a public key; if the user uses the digital encryption algorithm to generate a private key, the client side obtains a corresponding public key according to the digital encryption algorithm.
And B: the client runs on the access server, the user sends out an inquiry command through the client, and the inquiry server controls the access authority through the unified port and receives data inquiry requests of more than one access server.
And C: the query server requests a corresponding data index from the block chain according to the data query request and feeds the data index back to the access server; the data index includes a signature, a data snapshot, and a timestamp.
Step D: and the user obtains the data index through the client and determines whether to use the data index.
Step E: the user sends a use instruction through the client, and after the query server receives the use instruction sent by the user, the query server obtains the use permission of the user on corresponding data through interaction with the block chain; based on the use permission, the query server sends data call requests to all distributed data servers in parallel; the data call request comprises a use authority, a public key and a data index; and in the interaction process of the block chain and the query server, giving the user the right to use the corresponding data at the current time according to the access right setting.
Step F: according to the data calling request, the distributed data server confirms the use authority of the user according to the public key, then packs the target data and feeds the target data back to the query server after being encrypted by the public key, and the query server finally sends the data to the access server; the access server decrypts the encrypted data by using the private key and then completes data analysis according to the operation instruction; data analysis includes providing an Application Programming Interface (API), data reporting, data model training, data applications, and the like.
The above description is only of the preferred embodiments of the present invention, and it should be noted that: it will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the principles of the invention and these are intended to be within the scope of the invention.

Claims (8)

1. A data circulation method based on a block chain is characterized in that: the method comprises the following steps:
step A: a user obtains a service interface through a client;
and B: the client runs on the access server, a user sends out a query instruction through the client, and the query server controls access authority through the unified port and receives data query requests of more than one access server; the access server registers information on the query server, is given certain access authority, and controls the access authority through the unified port and receives a data query request;
and C: the query server requests a corresponding data index from the block chain according to the data query request and feeds the data index back to the access server;
step D: a user obtains a data index through a client and determines whether to use the data index;
step E: a user sends a use instruction through a client, and an inquiry server sends data calling requests to all distributed data servers in parallel; after receiving a use instruction sent by a user, the query server acquires the use permission of the user on corresponding data through interaction with the block chain; based on the use permission, the query server sends data call requests to all distributed data servers in parallel; the data call request comprises a use authority, a public key and a data index; in the interaction process of the block chain and the query server, giving the user the right to use the corresponding data at the current time according to the access right setting;
step F: the distributed data server feeds back the encrypted data to the query server according to the data calling request, the query server feeds back the encrypted data to the access server, and the access server completes data analysis according to the operation instruction;
step G: the access server writes the records of the data query and analysis into the blockchain.
2. The blockchain-based data flow method according to claim 1, wherein: in the step A, the service interface is a unified rule, and the service interface can be accessed only after authorization.
3. The blockchain-based data flow method according to claim 1, wherein: in the step A, the service interface provides the block chain registration information and the private key.
4. A block chain based data flow method according to claim 3, characterized in that: if the user does not use the digital encryption algorithm to generate the private key, the client side adopts the digital encryption algorithm to generate a private key, and each private key corresponds to a public key; if the user uses the digital encryption algorithm to generate a private key, the client side obtains a corresponding public key according to the digital encryption algorithm.
5. The blockchain-based data flow method according to claim 1, wherein: in the step D, the data index includes a signature, a data snapshot, and a timestamp.
6. The blockchain-based data flow method according to claim 1, wherein: in the step F, the distributed data server confirms the use authority of the user according to the public key, then the target data is packaged and encrypted by using the public key, and the access server decrypts the encrypted data by using the private key.
7. The blockchain-based data flow method according to claim 1, wherein: in step F, the data analysis includes providing an application programming interface, data reporting, data model training, and data application.
8. A data circulation system based on block chains is characterized in that: the system comprises a client, an access server, a query server, a block chain and a distributed data server;
the client runs on the access server, a user sends out a query instruction, a use instruction and an operation instruction through the client, and the user receives data feedback through the client;
the access server sends data query and use requests to the query server and receives feedback, and writes data query, use and analysis records into the block chain;
the query server requests a corresponding data index from the block chain according to the data query request, feeds the data index back to the access server, and sends a data call request to each distributed data server in parallel according to the user use instruction;
the block chain controls the access authority of the user according to the access authority setting, and stores the records of data query, use and analysis;
the distributed data server stores data and feeds back encrypted data to the query server according to the data call request.
CN201810905458.XA 2018-08-10 2018-08-10 Block chain-based data circulation analysis method and system Active CN109213790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810905458.XA CN109213790B (en) 2018-08-10 2018-08-10 Block chain-based data circulation analysis method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810905458.XA CN109213790B (en) 2018-08-10 2018-08-10 Block chain-based data circulation analysis method and system

Publications (2)

Publication Number Publication Date
CN109213790A CN109213790A (en) 2019-01-15
CN109213790B true CN109213790B (en) 2021-04-20

Family

ID=64989053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810905458.XA Active CN109213790B (en) 2018-08-10 2018-08-10 Block chain-based data circulation analysis method and system

Country Status (1)

Country Link
CN (1) CN109213790B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109930B (en) * 2019-05-15 2020-07-03 山东省计算中心(国家超级计算济南中心) Government affair data storage and query method and system based on block chain double-chain structure
CN110427767B (en) * 2019-08-08 2021-10-08 北京阿尔山区块链联盟科技有限公司 Asset recursive authorization method and device
CN110569281A (en) * 2019-08-30 2019-12-13 阿里巴巴集团控股有限公司 Block chain transaction query method and system
CN110597877A (en) * 2019-08-30 2019-12-20 阿里巴巴集团控股有限公司 Block chain transaction processing method and device
US10903989B2 (en) 2019-08-30 2021-01-26 Advanced New Technologies Co., Ltd. Blockchain transaction processing method and apparatus
CN111127042A (en) * 2019-12-24 2020-05-08 杭州浙大恩氏网络科技有限公司 Data traceability system and method based on block chain
CN113204432A (en) * 2021-02-03 2021-08-03 支付宝(杭州)信息技术有限公司 Transaction processing method and device in block chain and electronic equipment
CN114138899A (en) * 2021-11-22 2022-03-04 支付宝(杭州)信息技术有限公司 Block chain-based data stream transfer method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915380A (en) * 2012-11-19 2013-02-06 北京奇虎科技有限公司 Method and system for carrying out searching on data
CN107239953A (en) * 2017-06-20 2017-10-10 无锡井通网络科技有限公司 Fast data store method and system based on block chain
CN107292181A (en) * 2017-06-20 2017-10-24 无锡井通网络科技有限公司 Database Systems based on block chain and the application method using the system
CN107566117A (en) * 2017-07-14 2018-01-09 浙商银行股份有限公司 A kind of block chain key management system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915380A (en) * 2012-11-19 2013-02-06 北京奇虎科技有限公司 Method and system for carrying out searching on data
CN107239953A (en) * 2017-06-20 2017-10-10 无锡井通网络科技有限公司 Fast data store method and system based on block chain
CN107292181A (en) * 2017-06-20 2017-10-24 无锡井通网络科技有限公司 Database Systems based on block chain and the application method using the system
CN107566117A (en) * 2017-07-14 2018-01-09 浙商银行股份有限公司 A kind of block chain key management system and method

Also Published As

Publication number Publication date
CN109213790A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN109213790B (en) Block chain-based data circulation analysis method and system
US11695555B2 (en) Federated key management
AU2017204853B2 (en) Data security service
CN110543464B (en) Big data platform applied to intelligent park and operation method
CA2899019C (en) Delayed data access
WO2020098336A1 (en) Data sharing method and apparatus, and digital gateway and computer-readable storage medium
US9547771B2 (en) Policy enforcement with associated data
CN108256340B (en) Data acquisition method and device, terminal equipment and storage medium
CN108667605B (en) Data encryption and decryption method and device
CN103906054A (en) Method and system for authorization of software function modules of internet of things
CA2970686A1 (en) Verification of data processes in a network of computing resources
CN111292041A (en) Electronic contract generating method, device, equipment and storage medium
CN111008855B (en) Retrospective data access control method based on improved proxy re-encryption
CN112583887B (en) Data credible sharing method based on block chain
CN110719176A (en) Logistics privacy protection method and system based on block chain and readable storage medium
CN109377220B (en) Block chain-based media data transaction method and system and computer storage medium
CN112861172A (en) Symmetric searchable encryption method based on PBFT (public domain representation) consensus mechanism
CN111444264A (en) Data security sharing method based on block chain
CN113239409A (en) Block chain-based steel structure traceability system and method
CN114676192A (en) Electric energy metering data sharing method and device, storage medium and computer equipment
CN116915520B (en) Agricultural product informatization data security optimization method based on distributed computing
CN111832032B (en) Data circulation method, system, data use system and secure computing system
CN116305209A (en) Continuous casting data copyright protection method and system based on block chain
Shahane et al. Cloud Auditing: An Approach for Betterment of Data Integrity
CN117972746A (en) Combined computing method and system based on blockchain and homomorphic encryption

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: Room 305, Baixia 321 building, 127 Guanghua Road, Qinhuai District, Nanjing City, Jiangsu Province, 210000

Applicant after: Nanjing Yimu Intelligent Technology Co.,Ltd.

Address before: Room 305, Baixia 321 building, 127 Guanghua Road, Qinhuai District, Nanjing City, Jiangsu Province, 210000

Applicant before: NANJING JIANNUOTE INTELLIGENT TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant