CN112269829A - 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 PDF

Info

Publication number
CN112269829A
CN112269829A CN202010967765.8A CN202010967765A CN112269829A CN 112269829 A CN112269829 A CN 112269829A CN 202010967765 A CN202010967765 A CN 202010967765A CN 112269829 A CN112269829 A CN 112269829A
Authority
CN
China
Prior art keywords
data
block chain
resource recovery
file
recovery system
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
CN202010967765.8A
Other languages
Chinese (zh)
Other versions
CN112269829B (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.)
Zhonglituo Software Technology Co ltd
Original Assignee
Zhonglituo Software 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 Zhonglituo Software Technology Co ltd filed Critical Zhonglituo Software Technology Co ltd
Priority to CN202010967765.8A priority Critical patent/CN112269829B/en
Publication of CN112269829A publication Critical patent/CN112269829A/en
Application granted granted Critical
Publication of CN112269829B publication Critical patent/CN112269829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • G06F16/137Hash-based
    • 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/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computing 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 safety of data and data time sequences in an 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 the service data of each system forms a closed-loop evidence chain to manage the whole resource recovery process so as to monitor and manage the transactions among a supplier, a circular economy industrial park and a client; the block chain includes: the bottom layer of the block chain is established through a super account book and used for recording and storing document type data; the storage function of the block chain is realized through an interplanetary file system, and is used for storing the file type data and recording the storage information in the alliance chain so as to improve the safety of the file type data. The invention has the beneficial effects that: the data stored in the platform is prevented from being tampered, the safety and the time sequence queryability of the data are improved, and the method has practicability.

Description

Block chain data management method based on resource recovery system platform
Technical Field
The invention relates to the field of data management, in particular to a block chain data management method based on a resource recovery system platform.
Background
The resource recovery system platform relates to a plurality of systems, namely a SaaS system (an industrial park management system), an IOT system (all terminals are in an Internet of things), a big data system (external public data collection) and an AI system (tax inspection intelligent detection); the method adopts a block chain technology and utilizes a special account book data structure constructed by asymmetric cryptography to ensure that recorded and stored data can be traced back and forth, cannot be tampered and can be recorded with credible properties.
Disclosure of Invention
In order to solve the above problems, the present invention provides a block chain data management method based on a resource recovery system platform, which is used to improve the security of data and data time sequence in an evidence chain of the resource recovery system platform; the resource recovery system platform is used for monitoring and managing resource recovery transactions among a supplier, a circular economy industrial park and a client, and intelligently searching abnormal transactions; the method comprises the following steps:
the bottom layer of the block chain is established through a hyper book (Fabric) and is used for recording and storing document type data;
the storage function of the block chain is realized through an interplanetary file system (IPFS) and is used for storing the file type data and recording the storage information in the alliance chain so as to improve the safety of the file type data;
the industrial park management subsystem of the resource recovery 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, and 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 data interface modules;
the specific process of storing data by using the block chain is as follows:
(1) for non-file or non-audio data:
the non-file or non-audio data includes order, inventory, logistics, tax, and financial transaction data; when newly added, deleted or modified non-file or non-audio data, transmitting the transaction information of the non-file or non-audio data to a third party, and the third party performs the following processing on the transaction information:
transmitting data to be stored to the Fabric through a data interface, calling a chaincode built-in function by the Fabric, serializing the data into a Json format and storing the data in a database CouncihDB of the Fabric;
(2) for file or audio data:
when storing files or audio data, the Fabric and the IPFS are mutually independent, and the SDK is used as a bridge to link the two; when a certain file or audio data is newly added, deleted or modified, the certain file or audio data is added, deleted or modified through an SDK, the SDK uploads the certain file or audio data to an IPFS (Internet protocol file system) and obtains a returned Hash value from the IPFS, and then the SDK submits extracted keywords of the certain file or audio data and the received Hash value to Fabric; the Fabric serializes the key and the Hash value into json format and stores in the Fabric's corehDB.
Further, the database CounchDB of the Fabric is a blockchain ledger, the blockchain ledger stores data by using a chained blockchain structure with a timestamp, the chained blockchain structure has traceability and security, and an encryption algorithm and a consensus mechanism which are built in the chained blockchain structure are combined to make the blockchain have a characteristic of being not tampered.
Furthermore, the blockchain also comprises an authentication module which is used for providing evidence storage inquiry service of data and viewing information in the blockchain.
Further, the blockchain further comprises a data verification module for verifying whether the data is tampered.
Further, when the authenticity of the data acquired from the resource recovery system platform is doubtful, the data is verified whether to be tampered or not through data verification; the specific process of the data verification is as follows: a user clicks an authentication module on a block chain, fills in information to be inquired, and accesses the block chain; after the access is successful, transmitting the related data inquired in the block chain to a data verification module, and calling corresponding data in a database of the resource recovery system platform by the verification module; and comparing the related data acquired from the blockchain with the corresponding data called from the database of the resource recovery system platform, wherein if the data is the same as the data, the suspected data is not tampered, and if the data is different from the data, the suspected data is 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 the time sequence queryability 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 present invention;
fig. 2 is a flowchart of storing file or audio data in an embodiment of the present invention.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
The embodiment of the invention provides a block chain data management method based on a resource recovery system platform. The block chain data management method is used for improving the safety of data and data time sequences in an evidence chain of a resource recovery system platform; the resource recovery system platform in the patent application with application number 20191016494978.4 includes a SaaS system, an IOT system, a big data system and an AI system, where the SaaS system is used to manage the whole resource recovery process, the IOT system is used to monitor the whole resource recovery process, the big data system is used to collect external public data, and the AI system is used to perform intelligent detection of tax audit; the service 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 a supplier, a circular economy industrial park and a client and intelligently searching abnormal transactions;
the bottom layer of the block chain is established through a hyper book (Fabric) and is used for recording and storing document type data;
the storage function of the block chain is realized through an interplanetary file system (IPFS) and is used for storing the file type data and recording the storage information in the alliance chain so as to improve the safety of the file type data;
the industrial park management subsystem of the resource recovery 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, and 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 data interface modules; referring to fig. 1 and fig. 2, fig. 1 is a flowchart illustrating a process of storing non-file or non-audio data according to an embodiment of the present invention, and fig. 2 is a flowchart illustrating a process of storing file or audio data according to an embodiment of the present invention, wherein the specific process of storing the block chain 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 transaction, inventory, logistics, tax and fund exchange; acquiring data to be stored from a database of a resource recovery system platform, transmitting the data to be stored to a super account book of a block chain through a data interface, serializing the data to be stored into a json format by calling a chain code, and storing the data to be stored in a CouchDB of the super account book; the chain code is a built-in function of the super account book;
taking the order business of a transaction plate in a sales module as an example, when document data is newly added, deleted or modified in the order business, transaction information of the document data is sent to a third party, the third party is a server side of a block chain, and the third party performs the following transaction information processing:
transmitting data to be stored to the Fabric through a data interface, calling a chaincode built-in function by the Fabric, serializing the data into a Json format and storing the data in a database CouncihDB of the Fabric;
processing non-file or non-audio data of other services in the sales module and various services in other modules by the same method, and finally storing the non-file or non-audio data in a CounciDB of the Fabric;
(2) storing files or audio data
Initiating file or audio data addition through an SDK (software development kit), uploading the added file or audio data to an interplanetary file system by the SDK, and returning a Hash value of the added file or audio data to the SDK by the interplanetary file system; the SDK transmits the extracted keywords of the files or the audio data and the Hash value to the super account book; serializing keywords and Hash values of the added files or audio data into a json format by calling chain codes, and storing the json format in a database CouchDB of the super account book;
when data are stored, the Fabric and the IPFS are mutually independent, the SDK is used as a bridge to link the two, a file is added in a video evidence chain subsystem as an example, the SDK is used for initiating the addition 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 extracted keywords of the file and the received Hash value to the Fabric; the Fabric serializes the key and the Hash value into json format and stores in the Fabric's corehDB; all files or audio data are stored in the same way.
The database CounciDB of the Fabric is a block chain ledger book, the block chain ledger book stores data by adopting a chain block structure with a timestamp, the chain block structure has traceability and security, and an encryption algorithm and a consensus mechanism which are arranged in the chain block structure are combined to enable the block chain to have the characteristic of being not tampered.
The specific process of acquiring data by using the block chain is as follows:
(3) obtaining 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 to obtain related storage data through a chain code according to the keywords corresponding to the non-file or non-audio data, and transmitting the storage data to an acquisition frame port through the interface;
(4) obtaining storage files or audio data
Through a data interface of the super account book, obtaining related storage data through chain code query, transmitting the storage data to the SDK through the interface, and after the SDK deserializes the storage data into a hash value, transmitting the hash value to a storage node of an interplanetary file system; and the storage node of the interplanetary file system acquires the stored file or audio data according to the received hash value.
The block chain also comprises an authentication module which is used for providing evidence storage inquiry service of data and checking information in the block chain.
When the authenticity of the data acquired from the resource recovery system platform is doubtful, verifying whether the data is tampered through data verification; the specific process of the data verification is as follows: a user clicks an authentication module on a block chain, fills in information to be inquired, and accesses the block chain; after the access is successful, transmitting the related data inquired in the block chain to a data verification module, and calling corresponding data in a database of the resource recovery system platform by the verification module; and comparing the related data acquired from the blockchain with the corresponding data called from the database of the resource recovery system platform, wherein if the data is the same as the data, the suspected data is not tampered, and if the data is different from the data, the suspected data is indeed tampered.
The invention has the beneficial effects that: the data stored in the platform is prevented from being tampered, the safety and the time sequence queryability of the data are improved, and the method has practicability.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (5)

1. A block chain data management method based on a resource recovery system platform is used for improving the safety of data and data time sequences in an evidence chain of the resource recovery system platform; the resource recovery system platform is used for monitoring and managing resource recovery transactions among a supplier, a circular economy industrial park and a client, 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 used for recording and storing document type data;
the storage function of the block chain is realized through IPFS, and is used for storing the file type data and recording the 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 recovery 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, and 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 data interface modules;
the specific process of storing data by using the block chain is as follows:
(1) for non-file or non-audio data:
the non-file or non-audio data includes transaction, inventory, logistics, tax, and financial transaction data; when newly added, deleted or modified non-file or non-audio data, transmitting the transaction information of the non-file or non-audio data to a third party, and the third party performs the following processing on the transaction information:
transmitting data to be stored to the Fabric through a data interface, calling a chaincode built-in function by the Fabric, serializing the data into a Json format and storing the data in a database CouncihDB of the Fabric;
(2) for file or audio data:
when storing files or audio data, the Fabric and the IPFS are mutually independent, and the SDK is used as a bridge to link the two; when a certain file or audio data is newly added, deleted or modified, the certain file or audio data is added, deleted or modified through an SDK, the SDK uploads the certain file or audio data to an IPFS (Internet protocol file system) and obtains a returned Hash value from the IPFS, and then the SDK submits extracted keywords of the certain file or audio data and the received Hash value to Fabric; the Fabric serializes the key and the Hash value into json format and stores in the Fabric's corehDB.
2. The method as claimed in claim 1, wherein the method for managing blockchain data based on a resource recovery system platform comprises: the database CounciDB of the Fabric is a block chain ledger book, the block chain ledger book stores data by adopting a chain block structure with a timestamp, the chain block structure has traceability and security, and an encryption algorithm and a consensus mechanism which are arranged in the chain block structure are combined to enable the block chain to have the characteristic of being not tampered.
3. The method as claimed in claim 1, wherein the method for managing blockchain data based on a resource recovery system platform comprises: the block chain also comprises an authentication module which is used for providing evidence storage inquiry service of data and checking information in the block chain.
4. The method as claimed in claim 1, wherein the method for managing blockchain data based on a resource recovery system platform comprises: the blockchain further comprises a data verification module for verifying whether the data is tampered.
5. The method as claimed in claim 4, wherein the method for managing blockchain data based on the resource recovery system platform comprises: when the authenticity of the data acquired from the resource recovery system platform is doubtful, verifying whether the data is tampered through data verification; the specific process of the data verification is as follows: a user clicks an authentication module on a block chain, fills in information to be inquired, and accesses the block chain; after the access is successful, transmitting the related data inquired in the block chain to a data verification module, and calling corresponding data in a database of the resource recovery system platform by the verification module; and comparing the related data acquired from the blockchain with the corresponding data called from the database of the resource recovery system platform, wherein if the data is the same as the data, the suspected data is not tampered, and if the data is different from the data, the suspected data is indeed tampered.
CN202010967765.8A 2020-09-15 2020-09-15 Block chain data management method based on resource recovery system platform Active CN112269829B (en)

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 true CN112269829A (en) 2021-01-26
CN112269829B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN113259340A (en) * 2021-05-10 2021-08-13 中国联合网络通信集团有限公司 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Cited By (4)

* Cited by examiner, † Cited by third party
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
CN113259340A (en) * 2021-05-10 2021-08-13 中国联合网络通信集团有限公司 Block chain data processing method and device and electronic equipment
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

Also Published As

Publication number Publication date
CN112269829B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN112269829B (en) Block chain data management method based on resource recovery system platform
Al-Dhaqm et al. CDBFIP: Common database forensic investigation processes for Internet of Things
JP2022504637A (en) Distributed ledger for encrypted digital IDs
US10346620B2 (en) Systems and methods for authentication of access based on multi-data source information
CN109410076A (en) Agricultural product based on block chain technology, which are traced to the source, insures public service platform
CN109255622A (en) A kind of back-tracing anti-fake data-storage system
EP3543891B1 (en) A computer implemented method and a system for tracking of certified documents lifecycle and computer programs thereof
US20210304191A1 (en) System and method for integration and validation
US11570005B2 (en) Systems and methods for proving immutability of blockchains
CN112287033B (en) Data synchronization method, equipment and computer readable storage medium
US12051063B2 (en) Systems and methods for blockchain-based transaction break prevention
CN112036995A (en) Large-scale enterprise financial data management method and system based on block chain and readable storage medium
WO2020000777A1 (en) Method and apparatus for acquiring individual credit information on the basis of block chain, and computer device
CN111429250A (en) Data management method and device in escort scene
CN104704521A (en) Multi-factor profile and security fingerprint analysis
CN112015826B (en) Intelligent contract security detection method based on block chain and related equipment
CN111556148B (en) Data sharing method, data sharing platform and device
CN115879164A (en) Data verification method, device, equipment and storage medium
US20210209603A1 (en) Method for preventing fraud in trusted network, and system thereof
CN109120411B (en) Asset securitization basic asset data collection method and device
CN115587233B (en) Data identification and catalog management method and system
CN103647650A (en) Rule definition based automatic signature/signature verification device and method
CN117034358A (en) Service certificate processing method and device and computer equipment
CN116596551A (en) Supply chain product tracing method based on block chain, storage medium and electronic equipment
CN118036021A (en) Multi-block-chain-based data processing method, device, equipment and medium

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