CN115695449A - Block chain digital collection source file cross-platform synchronization and transfer method - Google Patents

Block chain digital collection source file cross-platform synchronization and transfer method Download PDF

Info

Publication number
CN115695449A
CN115695449A CN202211146109.7A CN202211146109A CN115695449A CN 115695449 A CN115695449 A CN 115695449A CN 202211146109 A CN202211146109 A CN 202211146109A CN 115695449 A CN115695449 A CN 115695449A
Authority
CN
China
Prior art keywords
file
digital
cross
platform
distributed storage
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.)
Pending
Application number
CN202211146109.7A
Other languages
Chinese (zh)
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.)
Tianyi Electronic Commerce Co Ltd
Original Assignee
Tianyi Electronic Commerce 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 Tianyi Electronic Commerce Co Ltd filed Critical Tianyi Electronic Commerce Co Ltd
Priority to CN202211146109.7A priority Critical patent/CN115695449A/en
Publication of CN115695449A publication Critical patent/CN115695449A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a block chain digital collection source file cross-platform synchronization and transfer method, which comprises the following steps: the system comprises distributed storage, a user digital client, a system digital client and a cross-chain monitoring module. According to the invention, only the butt joint among system modules is needed to be realized, and theoretically, improvement or support can be provided for all digital collection cross-platform scenes; in the cross-platform synchronous transfer process of the digital collection, the file transmission process between the platforms is replaced by the real-time synchronous characteristic of the nodes of distributed storage, so that the source file cannot be copied in the transfer process, the hidden dangers of file loss, damage and the like of cross-platform file transmission and the efficiency problem caused by instant communication are avoided; the invention performs double control of file hash and access signature on the cross-platform access authority of the source file of the digital collection, and the source file can be read only by simultaneously possessing the file hash and the correct access signature, thereby obviously improving the access control strength of the source file and ensuring the safety of the digital collection.

Description

Block chain digital collection source file cross-platform synchronization and transfer method
Technical Field
The invention relates to the field of IT and software development/platforms and the technical field of emerging information, in particular to a block chain digital collection source file cross-platform synchronization and transfer method.
Background
The digital collection is used as one of hot point applications of a block chain, and is popularized in a large amount in the digital age. The value of digital collections is proportional to the acceptance and audience of the digital collections on the market, so the distribution of a plurality of digital collection platforms generates the requirement of transferring the digital collections among different platforms. The current block chain digital collection is in a form that basic information and casting information of digital engineering files are stored on a chain, and source files of the digital engineering files are stored under the chain. How to perform efficient and stable synchronization and transfer of digital source files between platforms under a chain while transferring digital collection information across chains among block chains and guarantee the security access authority of the files is not a unified and perfect scheme at present.
The digital collection source file synchronous transfer scheme in the current market generally adopts two modes:
1. an independent source file library is reserved between the digital collection platforms, and a source file is sent from one platform to the other platform through FTP network communication in the process of initiating the cross-chain transfer of the digital collection;
2. the multiple digital collection platforms synchronously share the same source file library in a real-time or timing mode, and the source file can be accessed as long as the digital collection platforms have file information on the corresponding digital collection chain, so that the method cannot ensure the access safety of the source file.
In addition, both of these schemes generate duplicates of the source file, and the uniqueness of the source file cannot be guaranteed, which is an important characteristic of digital collections.
Disclosure of Invention
The invention provides a block chain digital collection source file cross-platform synchronization and transfer method, which aims to overcome the defects of the prior art.
The invention provides the following technical scheme:
the invention provides a block chain digital collection source file cross-platform synchronization and transfer method, which comprises the following steps:
1. to the problem that the source file generates a replica during the cross-platform transfer:
establishing a multi-node file storage platform among different platforms by adopting a distributed storage technology; each digital collection platform is used as a node to form distributed storage, files uploaded to the distributed storage are scattered into slices in a HasmeCler tree mode, redundant synchronization is carried out among the nodes, and the files are inquired through file Hash values;
2. the problem of cross-platform access authority of source files is as follows:
the distributed storage comprises a certificate identity mechanism, a certificate and a secret key are issued to each user to serve as identity information, and each storage file object is bound with a unique user certificate to serve as authority authentication;
3. on the basis of a digital Tibetan product cross-chain platform constructed by multiple platforms, a set of distributed file object storage is set up to be used as a source file storage base to be in butt joint with the digital Tibetan product platform participating in cross-chain; the main module comprises: the distributed storage, the user digital client, the system digital client and the cross-chain monitoring module are specifically as follows:
(1) The distributed storage is connected with the digital collection application and the client and is used for storing a source file; the digital collection application is in butt joint with the distributed storage node of the platform through a file uploading interface; the user client and the system client are connected with the distributed storage through the certificate key, and submit operation requests of file reading, modification and the like;
(2) The user digital client is connected with the distributed storage and used for accessing a source file on the distributed storage; when accessing a file, connecting distributed storage nodes through a certificate key, sending a file hash value and user key signature information to the distributed storage, and performing file authorization reading;
(3) The system digital client is connected with the distributed storage and used for logging in by using an administrator certificate key and modifying the access authority of the distributed storage object by using the high-level operation authority;
(4) The cross-chain monitoring module is used for receiving a cross-chain transfer result of information on a digital collection chain pushed by the cross-chain service system, identifying the transferred digital collection and a corresponding source file thereof, and initiating a source file access right modification operation through the system digital client.
As a preferred technical solution of the present invention, the information on the digital Tibetan chain includes file hash of a source file in the distributed storage and certificate information of an owner user thereof, the information on the digital Tibetan chain includes a bucket name and an object name of a storage object, and each storage object can only be simultaneously owned by a platform user who owns the digital Tibetan information on its corresponding chain.
As a preferred technical scheme of the invention, the distributed storage receives a source file uploaded by a digital collection application, fragments the source file and synchronizes the source file with other nodes, and sets the access right of the file to be readable only by the identity of a specific user.
As a preferred technical scheme of the invention, the user digital client sends the file hash and the user signature to the distributed storage, and can access the file hash and the user signature after the permission check is met.
As a preferred technical solution of the present invention, after receiving the digital collection cross-chain transfer message, the cross-chain monitoring module identifies storage information of a source file corresponding to the digital collection and target platform user information, and modifies the access right of the digital collection in distributed storage to be readable only by the tenant through the system digital client.
Compared with the prior art, the invention has the following beneficial effects:
the invention does not relate to the digital collection service of the digital collection platform and the realization process of the related digital collection cross-chain service, and can theoretically provide improvement or support for all digital collection cross-platform scenes only by realizing the butt joint between system modules.
In the cross-platform synchronous transfer process of the digital collection, the invention uses the real-time synchronization characteristic of the nodes of distributed storage to replace the file transmission process among platforms, so that the source file cannot be copied in the transfer process, and the hidden dangers of file loss, damage and the like of cross-platform file transmission and the efficiency problem caused by instant messaging are avoided.
The invention performs double control of file hash and access signature on the cross-platform access authority of the digital collection source file, and can read the file hash and the correct access signature at the same time. Compared with the mode of synchronizing the source file library and opening the access authority among platforms, the access control strength of the source file is obviously improved, and the safety of the digital collection is guaranteed.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a block diagram of a method for synchronously transferring source files of a digital collection across platforms according to the present invention;
FIG. 2 is a diagram illustrating the binding relationship between the on-chain information, the distributed storage user information, and the storage object of the digital collection according to the present invention;
FIG. 3 is a flow chart of source file cross-platform synchronization according to an embodiment of the present invention;
FIG. 4 is a flow diagram of source file access according to an embodiment of the present invention;
FIG. 5 is a flowchart of source file cross-platform migration according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation. Wherein like reference numerals refer to like parts throughout.
Example 1
1-5, the present invention provides a first embodiment of the present invention, which relates to the related operations of digital collection cross-platform source file using the method, including:
(1) Cross-platform synchronization of digital collection source files;
(2) Accessing a source file by a digital collection platform;
(3) Cross-platform transfer of digital collection source files.
The specific implementation is as follows:
(1) Cross-platform synchronization of digital collection source files:
the cross-platform synchronous operation of the source file occurs in a scene that the digital collection platform carries out digital collection casting and new file uploading. As shown in FIG. 3, source file cross-platform synchronization using a method comprises the steps of:
s1, initiating a new digital collection casting operation by a digital collection application of a digital collection platform;
s2, after generating a new digital source file, the platform uploads the new digital source file to a distributed storage node of the platform and provides owned user identity information;
s3, the distributed storage breaks up the source file into a plurality of slices in a Hash Merckel tree mode and carries out redundancy synchronization among all nodes;
s4, binding the stored file object with a user certificate through distributed storage;
and S5, storing the object information of the source file by the platform.
(2) The digital collection platform accesses the source file:
the access operation of the source file occurs in a scene that the digital collection platform needs to acquire the detailed content of the digital collection for displaying. As shown in fig. 4, source file access using the method comprises the steps of:
s1, searching source file information corresponding to a digital collection on a block chain by using a digital collection application, wherein the source file information comprises file hash and the like;
s2, the user digital client signs the access application by using the user key;
s3, the user digital client sends the file hash and the access signature to distributed storage;
s4, if the hash of the source file is correct and exists, continuing to perform the next step, otherwise, accessing wrongly;
and S5, if the binding certificate of the source file passes the verification of the access signature, allowing access, otherwise, giving an error access.
(3) Cross-platform transfer of digital collection source files:
the source file cross-platform transfer operation occurs in a scene of initiating the digital collection cross-platform transfer between platforms, and needs to be cooperated with the digital collection cross-chain transfer operation. As shown in FIG. 5, a source file cross-platform migration using a method comprises the steps of:
s1, a digital collection cross-chain service system initiates a cross-chain transfer operation of information on a digital collection chain;
s2, a cross-chain monitoring module which is in butt joint with the cross-chain service system monitors the process and events of the cross-chain operation of the digital collection in real time;
s3, after receiving a notification of completion of information transfer on the chain pushed by the cross-chain service system, the cross-chain monitoring module continues to perform the next step;
s4, reading source file storage information corresponding to the cross-chain digital collection by a cross-chain monitoring module, wherein the source file storage information comprises file hash, transfer target user information and the like, and sending the source file storage information to a system digital client;
s5, connecting the system digital client with a secret key through an administrator user certificate for distributed storage;
and S6, the system digital client transmits the file hash and the user information by using the highest-level authority, and binds the file and the user certificate.
The information on the digital collection chain comprises file hash of a source file in distributed storage and certificate information of an owner user of the source file, the information on the digital collection chain comprises a bucket name and an object name of a storage object, and each storage object can only be simultaneously provided with readable rights by a platform user who has the corresponding information on the digital collection chain.
The distributed storage receives a source file uploaded by the digital collection application, fragments the source file and synchronizes the source file with other nodes, and sets the access right of the file to be readable only by a specific user identity.
And the user digital client sends the file hash and the user signature to the distributed storage, and can access the file hash and the user signature after the permission verification is met.
And after receiving the digital collection cross-chain transfer message, the cross-chain monitoring module identifies the storage information of the source file corresponding to the digital collection and the target platform user information, and modifies the access right of the digital collection in distributed storage to be readable only by the tenant through the system digital client.
Furthermore, the invention has the novelty that in the cross-platform transfer process of the digital collection, the real-time synchronization characteristic of the distributed storage nodes is used for replacing the source file transmission process among the platforms, and the source file dual access right control combining file hash and access signature is provided.
Compared with the prior art, the invention avoids the hidden troubles of file loss, damage and the like of file transmission in the cross-platform synchronous transfer process of the digital collection and the efficiency problem caused by instant communication. Meanwhile, the access control strength of the source file is obviously improved, and the safety of the digital collection is guaranteed.
The method has the practicability of providing improvement or support for cross-platform synchronization or transfer scenes among all digital collection platforms binding the digital source files.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (5)

1. A block chain digital collection source file cross-platform synchronization and transfer method is characterized by comprising the following steps:
1. to the problem that the source file generates a replica during the cross-platform transfer:
establishing a multi-node file storage platform among different platforms by adopting a distributed storage technology; each digital collection platform is used as a node to form distributed storage, files uploaded to the distributed storage are scattered into slices in a HasmeCler tree mode, redundant synchronization is carried out among the nodes, and the files are inquired through file Hash values;
2. aiming at the problem of cross-platform access authority of source files:
the distributed storage comprises a certificate identity mechanism, a certificate and a secret key are issued to each user to serve as identity information, and each storage file object is bound with a unique user certificate to serve as authority authentication;
3. on the basis of a digital Tibetan product cross-chain platform constructed by multiple platforms, a set of distributed file object storage is set up to be used as a source file storage base to be in butt joint with the digital Tibetan product platform participating in cross-chain; the main module comprises: the distributed storage, the user digital client, the system digital client and the cross-chain monitoring module are as follows:
(1) The distributed storage docking digital Tibetan application and the client are used for storing a source file; the digital collection application is in butt joint with the distributed storage node of the platform through a file uploading interface; the user client and the system client are connected with the distributed storage through the certificate key, and submit operation requests of file reading, modification and the like;
(2) The user digital client is connected with the distributed storage and used for accessing a source file on the distributed storage; when accessing a file, connecting distributed storage nodes through a certificate key, sending a file hash value and user key signature information to the distributed storage, and performing file authorization reading;
(3) The system digital client is connected with the distributed storage and used for logging in by using an administrator certificate key and modifying the access authority of the distributed storage object by using the high-level operation authority;
(4) The cross-chain monitoring module is used for receiving a cross-chain transfer result of information on a digital collection chain pushed by the cross-chain service system, identifying a transferred digital collection and a corresponding source file thereof, and initiating a source file access right modification operation through the system digital client.
2. The method of claim 1 wherein the information on the digital collection chain contains the file hash of the source file in distributed storage and the certificate information of its owner user, the information on the digital collection chain contains the bucket name and object name of the storage object, and each storage object can only be read by one platform user who owns the digital collection information on its corresponding chain at the same time.
3. The method of claim 1, wherein the distributed storage receives source files uploaded by the digital collection application, fragments the source files and synchronizes them to other nodes, and sets the access rights of the files to be readable only by specific user identities.
4. The method of claim 1, wherein the client digital client sends the file hash and the user signature to the distributed storage and is accessible after the permission check is satisfied.
5. The method of claim 1, wherein the cross-chain monitoring module identifies the storage information of the source file corresponding to the digital collection and the target platform user information after receiving the cross-chain transfer message of the digital collection, and the system digital client modifies the access right in the distributed storage to be readable only by the tenant.
CN202211146109.7A 2022-09-20 2022-09-20 Block chain digital collection source file cross-platform synchronization and transfer method Pending CN115695449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211146109.7A CN115695449A (en) 2022-09-20 2022-09-20 Block chain digital collection source file cross-platform synchronization and transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211146109.7A CN115695449A (en) 2022-09-20 2022-09-20 Block chain digital collection source file cross-platform synchronization and transfer method

Publications (1)

Publication Number Publication Date
CN115695449A true CN115695449A (en) 2023-02-03

Family

ID=85061906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211146109.7A Pending CN115695449A (en) 2022-09-20 2022-09-20 Block chain digital collection source file cross-platform synchronization and transfer method

Country Status (1)

Country Link
CN (1) CN115695449A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116137570A (en) * 2023-04-13 2023-05-19 北京百度网讯科技有限公司 Digital collection processing method, device, equipment and storage medium based on blockchain
CN116823482A (en) * 2023-08-23 2023-09-29 杭州字节方舟科技有限公司 Trading system and method for metauniverse digital collection

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116137570A (en) * 2023-04-13 2023-05-19 北京百度网讯科技有限公司 Digital collection processing method, device, equipment and storage medium based on blockchain
CN116137570B (en) * 2023-04-13 2023-07-25 北京百度网讯科技有限公司 Digital collection processing method, device, equipment and storage medium based on blockchain
CN116823482A (en) * 2023-08-23 2023-09-29 杭州字节方舟科技有限公司 Trading system and method for metauniverse digital collection

Similar Documents

Publication Publication Date Title
CN107844976B (en) Block chain based deposit certificate application transaction system and method
CN114079660B (en) High-performance distributed storage block data, time stamp, cross-chain communication and data collaboration method
JP7330596B2 (en) BLOCKCHAIN DATA ARCHIVING METHOD, BLOCKCHAIN DATA ARCHIVING DEVICE, ELECTRONIC DEVICE, AND COMPUTER PROGRAM
CN107193490B (en) Distributed data storage system and method based on block chain
WO2020258831A1 (en) Method and device for master node handover processing in blockchain system
CN115695449A (en) Block chain digital collection source file cross-platform synchronization and transfer method
EP3731494A1 (en) Blockchain maintaining method and apparatus, server, and computer-readable storage medium
CN102170440B (en) Method suitable for safely migrating data between storage clouds
CN113114759A (en) Chain-crossing method and system for realizing multi-chain intercommunication
CN111209262B (en) Large-scale distributed secure storage system based on block chain
CN104580395A (en) Multi-cloud cooperative storage middleware system based on existing cloud storage platform
CN112615847B (en) Data sharing and privacy protection method based on block chain
CN112835977A (en) Database management method and system based on block chain
CN111314060A (en) Key updating method, device and storage medium
WO2021000802A1 (en) Communication method, node, and communication system
CN111782623A (en) File checking and repairing method in HDFS storage platform
CN113127562A (en) Low-redundancy block chain data storage and retrieval method and system
CN113556393B (en) Multi-type intermodal data exchange system and method based on block chain
CN110673966A (en) Data interaction method based on block chain up-link down cooperation
CN112235290B (en) Block chain-based Internet of things equipment management method and first Internet of things equipment
CN116827957B (en) Information processing method, device, equipment and medium based on multi-block chain
CN111917748B (en) Intelligent laser remote control system and method based on IPFS + alliance chain
KR20190086301A (en) System and method for distributed database using block chain
CN111865983A (en) Block chain-based data security tracing method
CN105141418A (en) Certificate authentication method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication