CN112269829B - Block chain data management method based on resource recovery system platform - Google Patents
Block chain data management method based on resource recovery system platform Download PDFInfo
- Publication number
- CN112269829B CN112269829B CN202010967765.8A CN202010967765A CN112269829B CN 112269829 B CN112269829 B CN 112269829B CN 202010967765 A CN202010967765 A CN 202010967765A CN 112269829 B CN112269829 B CN 112269829B
- Authority
- CN
- China
- Prior art keywords
- data
- blockchain
- file
- system platform
- fabric
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000011084 recovery Methods 0.000 title claims abstract description 25
- 238000013523 data management Methods 0.000 title claims abstract description 13
- 238000007726 management method Methods 0.000 claims abstract description 15
- 239000004744 fabric Substances 0.000 claims description 31
- 238000004064 recycling Methods 0.000 claims description 16
- 238000013524 data verification Methods 0.000 claims description 12
- 230000002159 abnormal effect Effects 0.000 claims description 7
- 238000012544 monitoring process Methods 0.000 claims description 4
- 230000000977 initiatory effect Effects 0.000 claims description 3
- 238000004519 manufacturing process Methods 0.000 claims description 3
- 238000012546 transfer Methods 0.000 claims description 2
- 230000009286 beneficial effect Effects 0.000 abstract description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000012550 audit Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
- G06F16/137—Hash-based
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Storage Device Security (AREA)
Abstract
The invention provides a block chain data management method based on a resource recovery system platform, which is used for improving the security of data and data time sequences in a evidence chain of the resource recovery system platform; the resource recovery system platform comprises an industrial park management system, an IOT system, a big data system and an AI system, wherein business data of each system form a closed-loop evidence chain to manage the whole resource recovery process, so as to monitor and manage transactions among suppliers, a circular economy industrial park and clients; the blockchain includes: the bottom layer of the blockchain is created through a super account book and is used for recording and storing bill type data; the storage function of the block chain is realized through an interstellar file system and is used for storing file type data and recording storage information in a alliance chain so as to improve the security of the file type data. The beneficial effects of the invention are as follows: the data stored in the platform is prevented from being tampered, the safety and time sequence inquireability of the data are improved, and the method has practicability.
Description
Technical Field
The invention relates to the field of data management, in particular to a block chain data management method based on a resource recycling system platform.
Background
The resource recovery system platform relates to a plurality of systems, namely a SaaS system (industrial park management system), an IOT system (all terminals are networked by Internet of things), a big data system (external public data are collected) and an AI system (tax audit intelligent detection); the method adopts a blockchain technology and utilizes a special account book data structure constructed by asymmetric cryptography to ensure the recorded and stored data to be traced back and forth, unable to be tampered and reliable in recording.
Disclosure of Invention
In order to solve the problems, the invention provides a blockchain data management method based on a resource recovery system platform, which is used for improving the security of data and data time sequences in a evidence chain of the resource recovery system platform; the resource recycling system platform is used for monitoring and managing resource recycling transactions among suppliers, the circular economy industrial park and clients, and intelligently searching abnormal transactions; the method comprises the following steps:
the bottom layer of the blockchain is created through a super account book (Fabric) and is used for recording and storing bill type data;
the storage function of the block chain is realized through an interstellar file system (IPFS), and is used for storing file type data and recording storage information in a alliance chain so as to improve the security of the file type data;
the industrial park management subsystem of the resource recycling system platform comprises a purchasing module, a selling module, an inventory module, a production module, a financial module, a quality module and a plurality of data interface modules, wherein the industrial park management subsystem is respectively associated with a customer relationship management subsystem, a supplier management subsystem, a logistics subsystem, a video evidence chain subsystem and a payment subsystem through the plurality of data interface modules;
the specific process of storing data using the blockchain is as follows:
(1) For non-file or non-audio data:
the non-file or non-audio data includes order, inventory, logistics, tax and funds transfer data; when non-file or non-audio data is newly added, deleted or modified, the abnormal information of the non-file or non-audio data is sent to a third party, and the third party processes the abnormal information as follows:
transmitting the data to be stored to a Fabric through a data interface, wherein the Fabric calls a function built in by a chaincode, and the data is serialized into a Json format and stored in a database CounchDB of the Fabric;
(2) For file or audio data:
when storing files or audio data, fabric and IPFS are mutually independent, and SDK is used as a bridge to connect the Fabric and the IPFS; when a certain file or audio data is newly added, deleted or modified, initiating adding, deleting or modifying the certain file or audio data through an SDK, uploading the certain file or audio data to an IPFS by the SDK, obtaining a returned Hash value from the IPFS, and then submitting the extracted keyword of the certain file or audio data and the received Hash value to a Fabric together by the SDK; the Fabric serializes the key and the Hash value into json format and stores in the Fabric's couchDB.
Further, the Fabric database countdb is a blockchain ledger, the blockchain ledger uses a chain type block structure with a timestamp to store data, the chain type block structure has traceability and security, and the encryption algorithm and the consensus mechanism built in the chain type block structure are combined to enable the blockchain to have the characteristic of non-falsification.
Further, the blockchain also comprises an authentication module used for providing a certification inquiry service of the data and checking information in the blockchain.
Further, the blockchain also includes a data verification module to verify whether the data has been tampered with.
Further, when the authenticity of the data acquired from the resource recovery system platform is doubtful by the user, verifying whether the data is tampered or not through data verification; the specific process of data verification is as follows: the user clicks an authentication module on the blockchain, fills in information to be queried, and accesses the blockchain; after the access is successful, related data queried in the block chain is transmitted to a data verification module, and the verification module calls corresponding data in a database of a resource recovery system platform; and comparing the related data obtained from the blockchain with corresponding data called from a database of the resource recovery system platform, if the related data and the corresponding data are the same, the suspicious data are not tampered, and if the related data and the suspicious data are different, the suspicious data are indeed tampered.
The technical scheme provided by the invention has the beneficial effects that: the data stored in the platform is prevented from being tampered, the safety and time sequence inquireability of the data are improved, and the method has practicability.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a flow chart of storing non-file or non-audio data in an embodiment of the invention;
FIG. 2 is a flow chart of storing files or audio data in an embodiment of the invention.
Detailed Description
For a clearer understanding of technical features, objects and effects of the present invention, a detailed description of embodiments of the present invention will be made with reference to the accompanying drawings.
The embodiment of the invention provides a block chain data management method based on a resource recycling system platform. The block chain data management method is used for improving the safety of data and data time sequences in a evidence chain of a resource recovery system platform; the resource recycling system platform in the 20191016494978.4 patent application comprises a SaaS system, an IOT system, a big data system and an AI system, wherein the SaaS system is used for managing the whole resource recycling process, the IOT system is used for monitoring the whole resource recycling process, the big data system is used for collecting external public data, and the AI system is used for performing intelligent detection of tax inspection; the business data of each system form a closed-loop evidence chain management resource recovery whole process, and the resource recovery system platform is used for monitoring and managing resource recovery transactions among suppliers, a circular economy industrial park and clients, and intelligently searching abnormal transactions;
the bottom layer of the blockchain is created through a super account book (Fabric) and is used for recording and storing bill type data;
the storage function of the block chain is realized through an interstellar file system (IPFS), and is used for storing file type data and recording storage information in a alliance chain so as to improve the security of the file type data;
the industrial park management subsystem of the resource recycling system platform comprises a purchasing module, a selling module, an inventory module, a production module, a financial module, a quality module and a plurality of data interface modules, wherein the industrial park management subsystem is respectively associated with a customer relationship management subsystem, a supplier management subsystem, a logistics subsystem, a video evidence chain subsystem and a payment subsystem through the plurality of data interface modules; referring to fig. 1 and 2, fig. 1 is a flowchart of storing non-file or non-audio data in an embodiment of the invention, and fig. 2 is a flowchart of storing file or audio data in an embodiment of the invention, and a specific process of storing by using the blockchain is as follows:
(1) Storing non-file or non-audio data
The non-file or non-audio data comprises a series of business data such as transactions, inventory, logistics, tax, funds exchange and the like; acquiring data to be stored from a database of a resource recovery system platform, transmitting the data to be stored to a super ledger of the blockchain through a data interface, serializing the data to be stored into json format through calling a chain code, and storing the data to be stored in a database CouchDB of the super ledger; the chain code is a built-in function of the super ledger;
taking an order service of a transaction plate in a sales module as an example, when bill data is newly added, deleted or modified in the order service, the transaction information of the bill data is sent to a third party, wherein the third party is a service end of a blockchain, and the third party performs the following transaction information processing:
the data to be stored is transferred to Fabric through a data interface, the Fabric calls a function built in a chaincode, and the data is serialized into a Json format and stored in a database CounchDB of the Fabric;
processing non-file or non-audio data of other services in the sales module and various services in other modules by adopting the same method, and finally storing the processed non-file or non-audio data in a database CounchDB of the Fabric;
(2) Storing files or audio data
Initiating adding of file or audio data through an SDK, uploading the added file or audio data to an interstellar file system by the SDK, and returning a Hash value of the added file or audio data to the SDK by the interstellar file system; the SDK transmits the extracted keywords of the file or the audio data and the Hash value to the super ledger; serializing the keywords and the Hash value of the added file or audio data into json format by calling a chain code, and storing the json format in a database CouchDB of the super ledger;
when data are stored, fabric and IPFS are mutually independent, an SDK is used as a bridge to link the Fabric and the IPFS, a new file in a video evidence chain subsystem is taken as an example, the SDK initiates adding of the file, the SDK uploads the file to the IPFS, a returned Hash value is obtained from the IPFS, and then the SDK submits the extracted keyword of the file and the received Hash value to the Fabric together; the Fabric sequences the key words and the Hash value into json format and stores the json format in the couchDB of the Fabric; all files or audio data are stored by the same method.
The database countdb of Fabric is a blockchain ledger, the blockchain ledger stores data by adopting a chain type block structure with a timestamp, the chain type block structure has traceability and safety, and the built-in encryption algorithm and a consensus mechanism of the chain type block structure are combined to enable the blockchain to have the characteristic of non-falsification.
The specific process of acquiring data using the blockchain is as follows:
(3) Acquiring non-file or non-audio data
Acquiring keywords corresponding to non-file or non-audio data through an interface of the super account book, inquiring through a chain code according to the keywords corresponding to the non-file or non-audio data to obtain relevant storage data, and transmitting the storage data to an acquisition frame port through the interface;
(4) Obtaining stored files or audio data
Obtaining related storage data through a data interface of the super ledger through chain code inquiry, transmitting the storage data to the SDK through an interface, and transmitting the hash value to a storage node of an interstellar file system after the SDK deserializes the storage data into the hash value; and the storage node of the interstellar file system acquires the stored file or audio data according to the received hash value.
The blockchain also comprises an authentication module used for providing a certification inquiry service of the data and checking information in the blockchain.
When the authenticity of the user to the data obtained from the resource recovery system platform is doubtful, verifying whether the data is tampered or not through data verification; the specific process of data verification is as follows: the user clicks an authentication module on the blockchain, fills in information to be queried, and accesses the blockchain; after the access is successful, related data queried in the block chain is transmitted to a data verification module, and the verification module calls corresponding data in a database of a resource recovery system platform; and comparing the related data obtained from the blockchain with corresponding data called from a database of the resource recovery system platform, if the related data and the corresponding data are the same, the suspicious data are not tampered, and if the related data and the suspicious data are different, the suspicious data are indeed tampered.
The beneficial effects of the invention are as follows: the data stored in the platform is prevented from being tampered, the safety and time sequence inquireability of the data are improved, and the method has practicability.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.
Claims (5)
1. A block chain data management method based on a resource recovery system platform is used for improving the security of data and data time sequences in an evidence chain of the resource recovery system platform; the resource recycling system platform is used for monitoring and managing resource recycling transactions among suppliers, the circular economy industrial park and clients, and intelligently searching abnormal transactions; the method is characterized in that: the method comprises the following steps:
the bottom layer of the block chain is created through Fabric and is used for recording and storing bill type data;
the storage function of the block chain is realized through IPFS, and is used for storing file type data and recording storage information in the alliance chain so as to improve the security of the file type data;
the industrial park management subsystem of the resource recycling system platform comprises a purchasing module, a selling module, an inventory module, a production module, a financial module, a quality module and a plurality of data interface modules, wherein the industrial park management subsystem is respectively associated with a customer relationship management subsystem, a supplier management subsystem, a logistics subsystem, a video evidence chain subsystem and a payment subsystem through the plurality of data interface modules;
the specific process of storing data using the blockchain is as follows:
(1) For non-file or non-audio data:
the non-file or non-audio data includes transaction, inventory, logistics, tax, and funds transfer data; when non-file or non-audio data is newly added, deleted or modified, the abnormal information of the non-file or non-audio data is sent to a third party, and the third party processes the abnormal information as follows:
transmitting the data to be stored to a Fabric through a data interface, wherein the Fabric calls a function built in by a chaincode, and the data is serialized into a Json format and stored in a database CounchDB of the Fabric;
(2) For file or audio data:
when storing files or audio data, fabric and IPFS are mutually independent, and SDK is used as a bridge to connect the Fabric and the IPFS; when a certain file or audio data is newly added, deleted or modified, initiating adding, deleting or modifying the certain file or audio data through an SDK, uploading the certain file or audio data to an IPFS by the SDK, obtaining a returned Hash value from the IPFS, and then submitting the extracted keyword of the certain file or audio data and the received Hash value to a Fabric by the SDK; the Fabric serializes the key and the Hash value into json format and stores in the Fabric's couchDB.
2. The blockchain data management method based on the resource recycling system platform as in claim 1, wherein: the database countdb of Fabric is a blockchain ledger, the blockchain ledger stores data by adopting a chain type block structure with a timestamp, the chain type block structure has traceability and safety, and the built-in encryption algorithm and a consensus mechanism of the chain type block structure are combined to enable the blockchain to have the characteristic of non-falsification.
3. The blockchain data management method based on the resource recycling system platform as in claim 1, wherein: the blockchain also comprises an authentication module used for providing a certification inquiry service of the data and checking information in the blockchain.
4. The blockchain data management method based on the resource recycling system platform as in claim 1, wherein: the blockchain also includes a data verification module to verify whether the data has been tampered with.
5. The blockchain data management method based on the resource recycling system platform as in claim 4, wherein: when the authenticity of the user to the data obtained from the resource recovery system platform is doubtful, verifying whether the data is tampered or not through data verification; the specific process of data verification is as follows: the user clicks an authentication module on the blockchain, fills in information to be queried, and accesses the blockchain; after the access is successful, related data queried in the block chain is transmitted to a data verification module, and the data verification module calls corresponding data in a database of a resource recovery system platform; and comparing the related data obtained from the blockchain with corresponding data called from a database of the resource recovery system platform, if the related data and the corresponding data are the same, the suspicious data are not tampered, and if the related data and the suspicious data are different, the suspicious data are indeed tampered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010967765.8A CN112269829B (en) | 2020-09-15 | 2020-09-15 | Block chain data management method based on resource recovery system platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010967765.8A CN112269829B (en) | 2020-09-15 | 2020-09-15 | Block chain data management method based on resource recovery system platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112269829A CN112269829A (en) | 2021-01-26 |
CN112269829B true CN112269829B (en) | 2023-10-27 |
Family
ID=74349980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010967765.8A Active CN112269829B (en) | 2020-09-15 | 2020-09-15 | Block chain data management method based on resource recovery system platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112269829B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113157648A (en) * | 2021-04-28 | 2021-07-23 | 中国工商银行股份有限公司 | Block chain based distributed data storage method, device, node and system |
CN113259340B (en) * | 2021-05-10 | 2023-02-24 | 中国联合网络通信集团有限公司 | Block chain data processing method and device and electronic equipment |
CN114493632A (en) * | 2022-01-24 | 2022-05-13 | 山东浪潮工业互联网产业股份有限公司 | Authentication method and equipment for real-year wine |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110135860A (en) * | 2019-04-17 | 2019-08-16 | 中山大学 | A kind of safe traceability system of crop seeds based on block chain technology |
CN110866273A (en) * | 2019-11-09 | 2020-03-06 | 北京工业大学 | Inter-enterprise standard consensus method based on block chain and interplanetary file system |
CN110880966A (en) * | 2019-11-22 | 2020-03-13 | 哈尔滨工业大学 | Domain name resolution system building and domain name query method |
CN110912937A (en) * | 2019-12-23 | 2020-03-24 | 杭州中科先进技术研究院有限公司 | Block chain-based digital certificate storage platform and certificate storage method |
-
2020
- 2020-09-15 CN CN202010967765.8A patent/CN112269829B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110135860A (en) * | 2019-04-17 | 2019-08-16 | 中山大学 | A kind of safe traceability system of crop seeds based on block chain technology |
CN110866273A (en) * | 2019-11-09 | 2020-03-06 | 北京工业大学 | Inter-enterprise standard consensus method based on block chain and interplanetary file system |
CN110880966A (en) * | 2019-11-22 | 2020-03-13 | 哈尔滨工业大学 | Domain name resolution system building and domain name query method |
CN110912937A (en) * | 2019-12-23 | 2020-03-24 | 杭州中科先进技术研究院有限公司 | Block chain-based digital certificate storage platform and certificate storage method |
Also Published As
Publication number | Publication date |
---|---|
CN112269829A (en) | 2021-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112269829B (en) | Block chain data management method based on resource recovery system platform | |
CN109034833B (en) | Product tracing information management system and method based on block chain | |
EP3864797B1 (en) | Distributed ledger for encrypted digital identity | |
CN108520464B (en) | Real-time automatic supervision reporting system based on traditional block chain | |
Al-Dhaqm et al. | CDBFIP: Common database forensic investigation processes for Internet of Things | |
AU758266B2 (en) | Remote image capture with centralized processing and storage | |
EP3543891B1 (en) | A computer implemented method and a system for tracking of certified documents lifecycle and computer programs thereof | |
CN109255622A (en) | A kind of back-tracing anti-fake data-storage system | |
CN105556552A (en) | Fraud detection and analysis | |
US20140089156A1 (en) | Addresses in financial systems | |
US20240211938A1 (en) | Systems and methods for blockchain-based transaction break prevention | |
CN114240409A (en) | Cross-chain asset interaction method based on improved Hash time lock | |
CN116777397A (en) | Electronic bill management method, device, terminal and storage medium based on block chain | |
CN104704521A (en) | Multi-factor profile and security fingerprint analysis | |
CN114169887A (en) | Reconciliation system based on distributed data nodes | |
CN111556148B (en) | Data sharing method, data sharing platform and device | |
US20210209603A1 (en) | Method for preventing fraud in trusted network, and system thereof | |
CN109120411B (en) | Asset securitization basic asset data collection method and device | |
CN117034358A (en) | Service certificate processing method and device and computer equipment | |
CN113643032B (en) | Information processing method, device and data management system based on block chain | |
CN116596551A (en) | Supply chain product tracing method based on block chain, storage medium and electronic equipment | |
Wang et al. | A blockchain-based multi-cloud storage data consistency verification scheme | |
CN118036021A (en) | Multi-block-chain-based data processing method, device, equipment and medium | |
CN113360568A (en) | Method and system for shielding alliance link data and computer readable storage medium | |
CN107483210B (en) | Data verification method and system |
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 |