CN110827028A - Data acquisition and transaction system and method based on block chain - Google Patents

Data acquisition and transaction system and method based on block chain Download PDF

Info

Publication number
CN110827028A
CN110827028A CN201911080936.9A CN201911080936A CN110827028A CN 110827028 A CN110827028 A CN 110827028A CN 201911080936 A CN201911080936 A CN 201911080936A CN 110827028 A CN110827028 A CN 110827028A
Authority
CN
China
Prior art keywords
data
chain
sensing equipment
transaction
block
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
CN201911080936.9A
Other languages
Chinese (zh)
Other versions
CN110827028B (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.)
Hubei Post & Telecom Design Co Ltd
Original Assignee
Hubei Post & Telecom Design 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 Hubei Post & Telecom Design Co Ltd filed Critical Hubei Post & Telecom Design Co Ltd
Priority to CN201911080936.9A priority Critical patent/CN110827028B/en
Publication of CN110827028A publication Critical patent/CN110827028A/en
Application granted granted Critical
Publication of CN110827028B publication Critical patent/CN110827028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a data acquisition transaction system and a data acquisition transaction method based on a block chain, which relate to the field of block chains and the Internet of things, wherein the system comprises the block chain, a data manager, a data consumer and a plurality of data sensing devices, wherein the block chain comprises a public chain and a alliance chain which are mutually connected; the data manager comprises an administrative organization and an enterprise, the enterprise is used for deploying the data sensing equipment as a data source of the system, and the data consumer is used for purchasing corresponding monitoring data from the system according to the requirement; the administrative institution is used for auditing accounting node accounts to be added into the alliance chain, the enterprise is used for adding the data sensing equipment into the block chain, the data consumer and the data sensing equipment both have corresponding wallet addresses and private keys in the block chain, and the data consumer can directly send data purchasing information to the data sensing equipment and conduct transaction. The invention can determine the right of the data, increase the mobility of the data and improve the economic value of the data.

Description

Data acquisition and transaction system and method based on block chain
Technical Field
The invention relates to the field of block chains and the Internet of things, in particular to a data acquisition and transaction system and method based on the block chains.
Background
The blockchain technology is a brand new distributed infrastructure and computing paradigm that utilizes blockchain data structures to verify and store data, utilizes distributed node consensus algorithms to generate and update data, utilizes cryptography to secure data transmission and access, and utilizes intelligent contracts composed of automated script codes to program and manipulate data.
In recent years, the rapid development of the block chain technology has become the most innovative new technology at present, and meanwhile, the block chain not only has a unique block chain data structure, but also has a center-removing structure and data unchangeable and modifiable, so the block chain technology has a wide application prospect in the fields of finance and electronic money, and at the present stage, the practicability of the block chain technology in the fields of finance and electronic money has been well verified.
However, effective data collected by a large number of internet of things/sensing devices cannot be authorized, so that on one hand, the application range and the using population of the data are small, on the other hand, the trust degree of the population needing to be used on the data is low, and the population is unwilling to purchase, so that the mobility of the data is not high, and the due social and economic values of the data cannot be exerted.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a data acquisition and transaction system and method based on a block chain, which can determine the right of data, increase the mobility of the data and improve the economic value of the data.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:
a data acquisition transaction system based on a block chain comprises the block chain, a data manager, a data consumer and a plurality of data sensing devices, wherein the block chain comprises a public chain and a alliance chain which are mutually connected, data exchange can be carried out between the public chain and the alliance chain, and storage mechanisms are arranged in the public chain and the alliance chain;
the data manager comprises an administrative organization and an enterprise, the enterprise is used for deploying the data sensing equipment as a data source of the system, and the data consumer is used for purchasing corresponding monitoring data from the system according to the requirement;
each alliance chain comprises a plurality of nodes, and the data manager, the data consumer and the data sensing device are all node accounts, wherein the administrative agency is a common node account of the block chain, the enterprise is a bookkeeping node account in the block chain, the data consumer is a consumption account, the data sensing device provides an account for data, and the administrative agency is used for checking the bookkeeping node account to be added into the alliance chain and judging whether to permit the current bookkeeping node account to be added into the alliance chain; the enterprise is used for adding the data sensing equipment into the block chain, the data consumer and the data sensing equipment both have corresponding wallet addresses and private keys in the block chain, the data consumer can directly send data purchasing information to the data sensing equipment and conduct transaction, and the transaction is completed through the wallet addresses and the private keys.
Furthermore, the storage mechanisms of the public chain and the alliance chain store all pieces of equipment information of the data sensing equipment, the equipment information of the data sensing equipment comprises identification information, position information and enterprise information, and the data acquired by the data sensing equipment are stored in the storage mechanism of the alliance chain.
Further, the specific steps of storing the data collected by the data sensing device in a storage mechanism of a federation chain are as follows:
packing data obtained by monitoring of data sensing equipment into a group of data blocks one by one according to a preset time stamp length, wherein the data structure of the monitored data is a unique identifier of the data sensing equipment and comprises a monitoring index, a monitoring value and a time stamp, and constructing a JSON format data block by performing transaction hash on a group of monitored data blocks and a previous group of data blocks within the current time stamp length;
and performing SHA256 algorithm calculation on the JSON data block to obtain data block hash, and writing a data structure consisting of the data block hash, the data block URL, the time range, the wallet address of the data sensing equipment and the previous data block transaction hash into a storage mechanism of the alliance chain by constructing a convert type transaction.
Further, the adding of the block chain into the data sensing device comprises the following steps:
the alliance chain accounting node account provides identification information, position information and enterprise information of data sensing equipment to be added to a system, storage mechanisms in the public chain and the alliance chain store the current information, the consensus node account checks the information and judges the information to be correct, and the public chain and the alliance chain respectively generate a pair of wallet addresses and private keys to form mapping binding with the basic information of the data sensing equipment stored in the corresponding storage mechanisms.
Further, the method for generating a pair of wallet address and private key by the public chain and the alliance chain respectively is as follows: a. obtaining a random number of a 32-bit fixed-length character string by a SHA256 algorithm on a character string consisting of MN + Location + Firm + Passwd corresponding to the current data sensing equipment; b. the random number obtains a private key through an SHA256 algorithm; c. the private key obtains a public key through an SECP256K1 elliptic curve algorithm; d. the public key obtains public key hash through an SHA256 algorithm; e. public key hashing gets the wallet address through BASE58 algorithm.
Furthermore, the data sensing equipment comprises all atmospheric monitoring equipment, water quality monitoring equipment, solid waste monitoring equipment and noise monitoring equipment which are distributed at different collection points.
A data transaction method based on block chain comprises the following steps:
the method comprises the steps of determining data sensing equipment corresponding to monitoring data needing to be purchased, initiating a send type transfer transaction to a wallet account corresponding to a sensor through the wallet account of a user, enabling a transaction initiator to be a wallet address of the user, enabling a transaction acceptor to be a wallet address of the data sensing equipment, enabling the data sensing equipment to generate a corresponding data block to the user, meanwhile, enabling the data sensing equipment to send a transaction record to a node account and a storage mechanism of a alliance chain, and enabling the storage mechanism to store the transaction record.
Further, when the data consumer doubts the authenticity and rights and interests of the data sensing device in the system, the verification is carried out by the following method:
selecting or inputting identification information MN of corresponding data sensing equipment, traversing and inquiring whether corresponding storage records exist or not by the system according to the input identification information MN, if so, obtaining a wallet address to be confirmed of the current data sensing equipment according to a method for generating the wallet address and a private key, respectively verifying whether a wallet address identical to the wallet address to be confirmed exists in a public chain and an environment-friendly alliance chain through a wallet verification API interface of a block chain, if so, verifying that the data sensing equipment is credible, otherwise, the data sensing equipment is not credible.
Further, when the data consumer doubts feasibility and rights and interests of the monitoring data, the data consumer verifies the feasibility and rights and interests by the following method:
confirming whether authenticity and rights and interests of data sensing equipment corresponding to monitored data to be verified are credible or not, if so, confirming a timestamp range of the monitored data to be verified and data sensing equipment MN, determining a data block according to the data sensing equipment and the timestamp range, acquiring transaction hash of the data block, performing SHA256 algorithm on the data block to calculate the data block hash, retrieving corresponding transaction records on an environment-friendly alliance chain through the transaction hash, and if not, indicating that the monitored data to be verified is not credible and ending; and if the corresponding transaction record exists, acquiring the data block hash in the transaction remark, judging whether the calculated data block hash is consistent with the data block hash in the block remark, if so, indicating that the monitored data to be verified is credible and belongs to the designated enterprise digital asset, and ending, otherwise, indicating that the monitored data is an incredible digital asset and ending.
Compared with the prior art, the invention has the advantages that:
(1) the invention relates to a data acquisition transaction system based on a blockchain, which comprises the blockchain, a data manager, a data consumer and a plurality of data sensing devices, wherein the blockchain comprises a public chain and a alliance chain which are mutually connected, data exchange can be carried out between the public chain and the alliance chain, storage mechanisms are arranged in the public chain and the alliance chain, the storage mechanisms in the alliance chain are also called distributed accounts, each environmental protection department, an environmental protection enterprise, the data consumer and the data sensing devices are all node accounts of the alliance chain, when in use, the data consumer and the data sensing devices both have corresponding wallet addresses and private keys in the blockchain, the data consumer can directly send data purchase information to the data sensing devices and carry out transaction, the transaction is completed through the wallet addresses and the private keys, in the transaction process, the transaction can be regarded as a certificate of purchase behaviors of both parties of the transaction and recorded on the blockchain, the hash set and the transaction timestamp of the data of the sensing equipment covered by the transaction are recorded in the transaction additional information, so that the right of the data can be confirmed, the authenticity of the data is ensured, meanwhile, the mobility of the data is increased, and the social and economic values of the data are provided.
(2) According to the data acquisition transaction system based on the block chain, point-to-point data transmission between a user and sensor equipment is achieved, transaction information is recorded in each node account and storage mechanism of the alliance chain, the characteristics of non-tampering and traceability are achieved, the low-cost requirement for small-amount frequent transactions in the application scene of the Internet of things is met, and low-value data mobility and information sharing among multiple parties are promoted.
(3) According to the data acquisition transaction system based on the block chain, the monitoring data are packaged into the data blocks according to the preassigned rule and the timestamp range, then the data blocks are stored into the storage mechanism of the block chain, and compared with the existing environment monitoring scene, the data volume of the environment monitoring data returned by the terminal data sensing equipment is excessively large along with the time accumulation, the data blocks are multi-source massive structured data with timestamp attributes.
Drawings
FIG. 1 is a block diagram of a data acquisition transaction system based on a blockchain according to an embodiment of the present invention;
FIG. 2 is a flow chart of generating a data sensing device wallet address and private key in an embodiment of the present invention;
FIG. 3 is a diagram illustrating a data structure of monitoring data stored in a federation chain;
FIG. 4 is a flow chart of a verification method of monitoring data trust and equity.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, an embodiment of the present invention provides a data acquisition transaction system based on a blockchain, including a blockchain, a data manager, a data consumer, and a plurality of data sensing devices, where the blockchain includes a public chain and a federation chain that are connected to each other, data exchange can be performed between the public chain and the federation chain, both the public chain and the federation chain are provided with storage institutions, and the storage institutions in the federation chain are also referred to as a distributed ledger.
The data manager in this embodiment includes an administrative organization and an enterprise, where the enterprise is configured to deploy the data sensing device as a data source of the system, and the data consumer is configured to purchase corresponding monitoring data from the system as needed.
In practical use, the monitored data range can be various fields such as environmental protection, electric power, energy and the like.
Each alliance chain comprises a plurality of nodes, in the embodiment, each environmental protection department, each environmental protection enterprise, each data consumer and each data sensing device are all node accounts of the alliance chain, wherein the environmental protection department is a common node account of the block chain, each environmental protection enterprise is a bookkeeping node account in the block chain, each data consumer is a consumption account, each data sensing device provides an account for data, and each administrative agency is used for auditing the bookkeeping node accounts to be added into the alliance chain and judging whether to permit the current bookkeeping node accounts to be added into the alliance chain; the data consumer and the data sensing equipment both have corresponding wallet addresses and private keys in the blockchain, the data consumer can directly send data purchase information to the data sensing equipment and conduct transaction, and the transaction is completed through the wallet addresses and the private keys.
The public chain and the alliance chain are stored with the equipment information of all data sensing equipment, the equipment information of the data sensing equipment comprises identification information (MN), position information (Location) and enterprise information (Firm), the data collected by the data sensing equipment are stored in the alliance chain storage mechanism, and the data sensing equipment comprises all atmospheric monitoring equipment, water quality monitoring equipment, solid waste monitoring equipment and noise monitoring equipment which are distributed at different collection points.
Adding a data sensing device to a blockchain comprises the following steps:
the method comprises the steps that an alliance chain accounting node account (environment-friendly enterprise) submits identification information (MN), position information (Location) and enterprise information (Firm) of data sensing equipment to be added to a system, storage mechanisms in a public chain and an alliance chain store current information, the consensus node account verifies the information, whether the information is correct is judged, and if the information is correct, the public chain and the alliance chain respectively generate a pair of wallet addresses and private keys to form mapping binding with basic information of the data sensing equipment stored in the corresponding storage mechanisms.
Referring to fig. 2, the method of generating the wallet address and private key is as follows: a. obtaining a random number of a 32-bit fixed-length character string by a character string consisting of MN + Location + Firm + Passwd through an SHA256 algorithm; b. the random number obtains a private key through an SHA256 algorithm; c. the private key obtains a public key through an SECP256K1 elliptic curve algorithm; d. the public key obtains public key hash through an SHA256 algorithm; e. public key hashing gets the wallet address through BASE58 algorithm.
In a real environment monitoring scene, the data volume of environment monitoring data returned by the terminal data sensing equipment is excessively large accumulated along with time, and the environment monitoring data is multi-source massive structured data with timestamp attribute. Most of the existing solutions adopt a distributed database or distributed file system method for storage, but the block chain technology cannot directly store mass data and provide an efficient retrieval mechanism.
Referring to fig. 3, in order to solve the above problem, in this embodiment, instead of directly writing and storing the monitoring data in the storage mechanism corresponding to the blockchain one by one, the monitoring data is packed into data blocks according to a pre-specified rule and a time stamp range, and then the data blocks are stored in the storage mechanism of the blockchain, where the specific storage method is as follows:
data obtained by monitoring of the data sensing equipment are packed into a group of data blocks one by one according to preset timestamp length (such as per minute, per hour or two hours), a data structure of the monitored data is a unique identifier of the data sensing equipment and comprises a monitoring index, a monitoring value and a timestamp, and a JSON format data block is constructed by performing transaction hash on a group of monitored data blocks in the current timestamp length and a previous group of data blocks.
The JSON data block is subjected to SHA256 algorithm calculation to obtain data block hash (data abstract), and the data block hash, the data block URL (RESTful data service address), the time range, the data sensing equipment wallet address and the data structure formed by the previous data block transaction hash are written into the distributed account book transaction by constructing a convert type transaction (the transaction initiator and the transaction partner are the same wallet account), so that the uplink (namely storage) of the monitoring data is completed.
The invention also provides a data transaction method based on the block chain, which comprises the following steps (namely a method for subscribing/purchasing monitoring data in the system by a user): :
the method comprises the steps of determining data sensing equipment corresponding to monitoring data needing to be purchased, initiating a send type transfer transaction to a wallet account corresponding to a sensor through the wallet account of a user, wherein the amount of the transaction is the cost of purchasing the monitoring data, the transaction initiator is the wallet address of the user, the transaction acceptor is the wallet address of the data sensing equipment, the data sensing equipment generates a corresponding data block to the user, meanwhile, the data sensing equipment sends a transaction record to a node account and a storage mechanism of a alliance chain, and the storage mechanism stores the transaction record.
According to the invention, point-to-point data transmission between the user and the sensor equipment is realized based on the blockchain transaction model, the transaction information is recorded in each node account and storage mechanism of the alliance chain, the characteristics of non-falsification and traceability are achieved, the low-cost requirement of small amount of frequent transactions in the application scene of the Internet of things is met, and the mobility of low-value data and information sharing among multiple parties are promoted.
When the data consumer doubts the authenticity and rights of the data sensing device in the system, the verification can be carried out by the following method:
selecting or inputting identification information MN of the data sensing equipment, traversing and inquiring whether corresponding storage records exist or not by the system according to the input identification information MN, if so, obtaining a wallet address to be confirmed of the current data sensing equipment according to a method for generating the wallet address and a private key, respectively verifying whether a wallet address identical to the wallet address to be confirmed exists in a public chain and an environment-friendly alliance chain or not through a wallet verification API interface (each block chain is provided with) of the block chain, and if so, verifying that the data sensing equipment is credible, otherwise, not.
Referring to fig. 4, the verification method for monitoring data credibility and rights and interests includes the following steps:
A. confirming whether the authenticity and the rights and interests of the data sensing equipment corresponding to the monitored data to be verified are credible, if so,
B. confirming a timestamp range and a data sensing device MN of monitoring data to be verified, determining a data block according to the data sensing device and the timestamp range, acquiring transaction hash of the data block, performing SHA256 algorithm on the data block to calculate the data block hash, retrieving corresponding transaction records on an environment-friendly alliance chain through the transaction hash, and if no corresponding transaction records exist, indicating that the monitoring data to be verified is not credible and ending; and if the corresponding transaction record exists, acquiring the data block hash in the transaction remark, judging whether the calculated data block hash is consistent with the data block hash in the block remark, if so, indicating that the monitored data to be verified is credible and belongs to the designated enterprise digital asset, and ending, otherwise, indicating that the monitored data is an incredible digital asset and ending.
The present invention is not limited to the above-mentioned preferred embodiments, and any other products in various forms can be obtained by anyone with the teaching of the present invention, but any changes in the shape or structure thereof, which have the same or similar technical solutions as the present invention, are within the protection scope.

Claims (9)

1. The utility model provides a data acquisition transaction system based on block chain, includes the block chain, its characterized in that: the block chain comprises a public chain and a alliance chain which are mutually connected, data exchange can be carried out between the public chain and the alliance chain, and storage mechanisms are arranged in the public chain and the alliance chain;
the data manager comprises an administrative organization and an enterprise, the enterprise is used for deploying the data sensing equipment as a data source of the system, and the data consumer is used for purchasing corresponding monitoring data from the system according to the requirement;
each alliance chain comprises a plurality of nodes, and the data manager, the data consumer and the data sensing device are all node accounts, wherein the administrative agency is a common node account of the block chain, the enterprise is a bookkeeping node account in the block chain, the data consumer is a consumption account, the data sensing device provides an account for data, and the administrative agency is used for checking the bookkeeping node account to be added into the alliance chain and judging whether to permit the current bookkeeping node account to be added into the alliance chain; the enterprise is used for adding the data sensing equipment into the block chain, the data consumer and the data sensing equipment both have corresponding wallet addresses and private keys in the block chain, the data consumer can directly send data purchasing information to the data sensing equipment and conduct transaction, and the transaction is completed through the wallet addresses and the private keys.
2. The blockchain-based data acquisition transaction system of claim 1, wherein: the device information of all the data sensing devices is stored in the storage mechanisms of the public chain and the alliance chain, the device information of the data sensing devices comprises identification information, position information and enterprise information, and the data acquired by the data sensing devices are stored in the storage mechanisms of the alliance chain.
3. The blockchain-based data acquisition transaction system of claim 2, wherein: the specific steps of storing the data collected by the data sensing equipment in a storage mechanism of a alliance chain are as follows:
packing data obtained by monitoring of data sensing equipment into a group of data blocks one by one according to a preset time stamp length, wherein the data structure of the monitored data is a unique identifier of the data sensing equipment and comprises a monitoring index, a monitoring value and a time stamp, and constructing a JSON format data block by performing transaction hash on a group of monitored data blocks and a previous group of data blocks within the current time stamp length;
and performing SHA256 algorithm calculation on the JSON data block to obtain data block hash, and writing a data structure consisting of the data block hash, the data block URL, the time range, the wallet address of the data sensing equipment and the previous data block transaction hash into a storage mechanism of the alliance chain by constructing a convert type transaction.
4. The blockchain-based data acquisition transaction system of claim 1, wherein: the data sensing equipment adding block chain comprises the following steps:
the alliance chain accounting node account provides identification information, position information and enterprise information of data sensing equipment to be added to a system, storage mechanisms in the public chain and the alliance chain store the current information, the consensus node account checks the information and judges the information to be correct, and the public chain and the alliance chain respectively generate a pair of wallet addresses and private keys to form mapping binding with the basic information of the data sensing equipment stored in the corresponding storage mechanisms.
5. The blockchain-based data acquisition transaction system of claim 4, wherein: the method for generating a pair of wallet addresses and private keys by the public chain and the alliance chain respectively is as follows: a. obtaining a random number of a 32-bit fixed-length character string by a SHA256 algorithm on a character string consisting of MN + Location + Firm + Passwd corresponding to the current data sensing equipment; b. the random number obtains a private key through an SHA256 algorithm; c. the private key obtains a public key through an SECP256K1 elliptic curve algorithm; d. the public key obtains public key hash through an SHA256 algorithm; e. public key hashing gets the wallet address through BASE58 algorithm.
6. The blockchain-based data acquisition transaction system of claim 4, wherein: the data sensing equipment comprises all atmospheric monitoring equipment, water quality monitoring equipment, solid waste monitoring equipment and noise monitoring equipment which are distributed at different collection points.
7. A blockchain data transaction method based on the system of any one of claims 1 to 6, wherein: the method comprises the following steps:
the method comprises the steps of determining data sensing equipment corresponding to monitoring data needing to be purchased, initiating a send type transfer transaction to a wallet account corresponding to a sensor through the wallet account of a user, enabling a transaction initiator to be a wallet address of the user, enabling a transaction acceptor to be a wallet address of the data sensing equipment, enabling the data sensing equipment to generate a corresponding data block to the user, meanwhile, enabling the data sensing equipment to send a transaction record to a node account and a storage mechanism of a alliance chain, and enabling the storage mechanism to store the transaction record.
8. The blockchain-based data transaction method of claim 7, wherein: when the data consumer doubts the authenticity and rights and interests of the data sensing equipment in the system, the verification is carried out by the following method:
selecting or inputting identification information MN of corresponding data sensing equipment, traversing and inquiring whether corresponding storage records exist or not by the system according to the input identification information MN, if so, obtaining a wallet address to be confirmed of the current data sensing equipment according to a method for generating the wallet address and a private key, respectively verifying whether a wallet address identical to the wallet address to be confirmed exists in a public chain and an environment-friendly alliance chain through a wallet verification API interface of a block chain, if so, verifying that the data sensing equipment is credible, otherwise, the data sensing equipment is not credible.
9. The blockchain-based data transaction method of claim 7, wherein: when the data consumer doubts the feasibility and the rights and interests of the monitoring data, the data consumer verifies the feasibility and the rights and interests by the following method:
confirming whether authenticity and rights and interests of data sensing equipment corresponding to monitored data to be verified are credible or not, if so, confirming a timestamp range of the monitored data to be verified and data sensing equipment MN, determining a data block according to the data sensing equipment and the timestamp range, acquiring transaction hash of the data block, performing SHA256 algorithm on the data block to calculate the data block hash, retrieving corresponding transaction records on an environment-friendly alliance chain through the transaction hash, and if not, indicating that the monitored data to be verified is not credible and ending; and if the corresponding transaction record exists, acquiring the data block hash in the transaction remark, judging whether the calculated data block hash is consistent with the data block hash in the block remark, if so, indicating that the monitored data to be verified is credible and belongs to the designated enterprise digital asset, and ending, otherwise, indicating that the monitored data is an incredible digital asset and ending.
CN201911080936.9A 2019-11-07 2019-11-07 Block chain-based data acquisition transaction system and method Active CN110827028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911080936.9A CN110827028B (en) 2019-11-07 2019-11-07 Block chain-based data acquisition transaction system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911080936.9A CN110827028B (en) 2019-11-07 2019-11-07 Block chain-based data acquisition transaction system and method

Publications (2)

Publication Number Publication Date
CN110827028A true CN110827028A (en) 2020-02-21
CN110827028B CN110827028B (en) 2023-08-29

Family

ID=69553125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911080936.9A Active CN110827028B (en) 2019-11-07 2019-11-07 Block chain-based data acquisition transaction system and method

Country Status (1)

Country Link
CN (1) CN110827028B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193630A (en) * 2020-02-28 2020-05-22 杭州云象网络技术有限公司 Nonlinear self-adaptive closed-loop control system for block chain Internet of things management
CN111241569A (en) * 2020-04-24 2020-06-05 支付宝(杭州)信息技术有限公司 Information processing method, device and equipment
CN111309813A (en) * 2020-03-17 2020-06-19 北京百度网讯科技有限公司 Information processing method, device, equipment and storage medium in data circulation
CN111475567A (en) * 2020-03-09 2020-07-31 上海能链众合科技有限公司 Internet of things data sequential recording method
CN111538782A (en) * 2020-04-14 2020-08-14 浙江浙燃能源有限公司 Energy big data management system based on block chain
CN112991060A (en) * 2021-03-05 2021-06-18 苏州迈兰德节能环保科技有限公司 Block chain-based carbon trace data tracking method and device and storage medium
CN113724079A (en) * 2021-08-10 2021-11-30 内蒙古电力(集团)有限责任公司电力调度控制分公司 Electric power data transaction system and method based on block chain
CN114119231A (en) * 2021-11-26 2022-03-01 浪潮卓数大数据产业发展有限公司 Data transaction method and system based on block chain
CN116525077A (en) * 2023-06-29 2023-08-01 安翰科技(武汉)股份有限公司 Processing method and system for artificial intelligent medical instrument test data

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7406710B1 (en) * 2000-12-29 2008-07-29 At&T Delaware Intellectual Property, Inc. System and method for controlling devices at a location
US20150081553A1 (en) * 2013-09-17 2015-03-19 Bc Investments & Leasing, Inc. Electronic Funds Transfer Consumer Authorization Verification System
CN107124460A (en) * 2017-04-28 2017-09-01 北京汇通金财信息科技有限公司 A kind of alliance's catenary system, the method and apparatus of alliance's chain accounting nodes communication
CN107994982A (en) * 2017-10-18 2018-05-04 上海唯链信息科技有限公司 A kind of green organic agricultural Verification System based on block chain technology
CN108694594A (en) * 2018-05-29 2018-10-23 阿里巴巴集团控股有限公司 Commodity source tracing method and device, electronic equipment based on block chain
CN109242636A (en) * 2018-09-26 2019-01-18 盈盈(杭州)网络技术有限公司 A kind of data transacting system and its implementation based on block chain
CN109743177A (en) * 2018-12-29 2019-05-10 湖南大学 A kind of internet of things data management system based on block chain and shared environment
CN109859024A (en) * 2019-01-23 2019-06-07 陕西优米数据技术有限公司 A kind of tax system common recognition method based on alliance's chain
CN110223064A (en) * 2019-05-27 2019-09-10 四川大学 A kind of undeniable safety data transmission method based on block chain
US20190280880A1 (en) * 2018-12-21 2019-09-12 Alibaba Group Holding Limited Blockchain data protection based on generic account model and homomorphic encryption
WO2019184296A1 (en) * 2018-03-28 2019-10-03 深圳市网心科技有限公司 Blockchain-based digital information transaction method, system and apparatus, and storage device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7406710B1 (en) * 2000-12-29 2008-07-29 At&T Delaware Intellectual Property, Inc. System and method for controlling devices at a location
US20150081553A1 (en) * 2013-09-17 2015-03-19 Bc Investments & Leasing, Inc. Electronic Funds Transfer Consumer Authorization Verification System
CN107124460A (en) * 2017-04-28 2017-09-01 北京汇通金财信息科技有限公司 A kind of alliance's catenary system, the method and apparatus of alliance's chain accounting nodes communication
CN107994982A (en) * 2017-10-18 2018-05-04 上海唯链信息科技有限公司 A kind of green organic agricultural Verification System based on block chain technology
WO2019184296A1 (en) * 2018-03-28 2019-10-03 深圳市网心科技有限公司 Blockchain-based digital information transaction method, system and apparatus, and storage device
CN108694594A (en) * 2018-05-29 2018-10-23 阿里巴巴集团控股有限公司 Commodity source tracing method and device, electronic equipment based on block chain
CN109242636A (en) * 2018-09-26 2019-01-18 盈盈(杭州)网络技术有限公司 A kind of data transacting system and its implementation based on block chain
US20190280880A1 (en) * 2018-12-21 2019-09-12 Alibaba Group Holding Limited Blockchain data protection based on generic account model and homomorphic encryption
CN109743177A (en) * 2018-12-29 2019-05-10 湖南大学 A kind of internet of things data management system based on block chain and shared environment
CN109859024A (en) * 2019-01-23 2019-06-07 陕西优米数据技术有限公司 A kind of tax system common recognition method based on alliance's chain
CN110223064A (en) * 2019-05-27 2019-09-10 四川大学 A kind of undeniable safety data transmission method based on block chain

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193630A (en) * 2020-02-28 2020-05-22 杭州云象网络技术有限公司 Nonlinear self-adaptive closed-loop control system for block chain Internet of things management
CN111475567A (en) * 2020-03-09 2020-07-31 上海能链众合科技有限公司 Internet of things data sequential recording method
CN111309813A (en) * 2020-03-17 2020-06-19 北京百度网讯科技有限公司 Information processing method, device, equipment and storage medium in data circulation
CN111309813B (en) * 2020-03-17 2023-08-29 北京百度网讯科技有限公司 Method, device, equipment and storage medium for processing information in data circulation
CN111538782A (en) * 2020-04-14 2020-08-14 浙江浙燃能源有限公司 Energy big data management system based on block chain
CN111538782B (en) * 2020-04-14 2023-08-08 浙江浙燃能源有限公司 Energy big data management system based on block chain
CN111241569A (en) * 2020-04-24 2020-06-05 支付宝(杭州)信息技术有限公司 Information processing method, device and equipment
CN112991060A (en) * 2021-03-05 2021-06-18 苏州迈兰德节能环保科技有限公司 Block chain-based carbon trace data tracking method and device and storage medium
CN113724079A (en) * 2021-08-10 2021-11-30 内蒙古电力(集团)有限责任公司电力调度控制分公司 Electric power data transaction system and method based on block chain
CN114119231A (en) * 2021-11-26 2022-03-01 浪潮卓数大数据产业发展有限公司 Data transaction method and system based on block chain
CN116525077A (en) * 2023-06-29 2023-08-01 安翰科技(武汉)股份有限公司 Processing method and system for artificial intelligent medical instrument test data
CN116525077B (en) * 2023-06-29 2023-09-08 安翰科技(武汉)股份有限公司 Processing method and system for artificial intelligent medical instrument test data

Also Published As

Publication number Publication date
CN110827028B (en) 2023-08-29

Similar Documents

Publication Publication Date Title
CN110827028B (en) Block chain-based data acquisition transaction system and method
US11205172B2 (en) Factom protocol in blockchain environments
Wang et al. A blockchain based privacy-preserving incentive mechanism in crowdsensing applications
CN111259070B (en) Method and related device for storing and acquiring service data
JP6939791B2 (en) Bulletin board information management system
Karame et al. Bitcoin and blockchain security
Hsiao et al. Employing blockchain technology to strengthen security of wireless sensor networks
KR20200106000A (en) System and method for implementing blockchain-based digital certificate
CN108520415A (en) Data processing method based on block chain and device
JP2018528555A (en) Method and apparatus for distributed databases in a network
CN107171812A (en) It is a kind of based on block chain without key signature infrastructure construction method
CN111768296A (en) Block chain-based small and micro enterprise loan approval method and device
CN110378697A (en) A kind of light node UTXO transaction verification method of block chain based on RSA accumulator and its device
CN108600163A (en) A kind of cloud environment distributed hash chain framework and cloud data integrity verification method
CN104778123A (en) Method and device for detecting system performance
Odiete et al. Using blockchain to support data and service management in IoV/IoT
Velasco Sketching Bitcoin: Empirical research of digital affordances
CN111556148B (en) Data sharing method, data sharing platform and device
CN115375329A (en) Digital collection transaction traceability anti-counterfeiting management method and system
KR102573034B1 (en) Information judgment server for blockchain, information judgment method for blockchain, and recording medium on which information judgment program for blockchain is recorded
CN111415105B (en) Comment verification method, node, population thermodynamic diagram data node and management system
CN111932375A (en) Block chain design method
PG et al. Blockchain based verification of vehicle history for pre-owned vehicle industry
CN111488343A (en) E-commerce data uplink method and device based on business data block chain
Loporchio et al. A survey of set accumulators for blockchain systems

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
GR01 Patent grant
GR01 Patent grant