CN114880291A - Distributed file management method and system - Google Patents

Distributed file management method and system Download PDF

Info

Publication number
CN114880291A
CN114880291A CN202210755633.8A CN202210755633A CN114880291A CN 114880291 A CN114880291 A CN 114880291A CN 202210755633 A CN202210755633 A CN 202210755633A CN 114880291 A CN114880291 A CN 114880291A
Authority
CN
China
Prior art keywords
file
modification
target
user
block chain
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
CN202210755633.8A
Other languages
Chinese (zh)
Other versions
CN114880291B (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.)
Jiaying Technology Co ltd
Original Assignee
Jiaying 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 Jiaying Technology Co ltd filed Critical Jiaying Technology Co ltd
Priority to CN202210755633.8A priority Critical patent/CN114880291B/en
Publication of CN114880291A publication Critical patent/CN114880291A/en
Application granted granted Critical
Publication of CN114880291B publication Critical patent/CN114880291B/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/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • 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/17Details of further file system functions
    • G06F16/1734Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
    • 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/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • 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/18File system types
    • G06F16/182Distributed file systems
    • 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/604Tools and structures for managing or administering access control systems
    • 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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • G06Q20/3674Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes involving authentication
    • 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/389Keeping log of transactions for guaranteeing non-repudiation of a transaction

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a distributed file management method and a distributed file management system, which relate to the field of data management, and the method comprises the following steps: displaying a list of all files; receiving a target file viewing instruction from a user; judging whether the target file has the authority requirement or not according to the preset rule of the target file; popping up a user wallet information input box for the user to input wallet information and automatically finish authority verification operation; after the authority verification operation is passed, displaying the target file and occupying resources in a background to maintain and modify a block chain; and receiving a file saving instruction from a user and saving the modification record of the file. The invention constructs a self-consistent distributed file management method and system by utilizing special design of a program and based on block chain characteristics, records modification conditions in the life cycle of a file through the program, and ensures the traceability of file modification.

Description

Distributed file management method and system
Technical Field
The invention relates to the field of data management, in particular to a distributed file management method and system.
Background
The blockchain technique is one of hot techniques for data tracing, and a blockchain in the true sense includes three elements: distributed accounting and storage systems (distributed hardware to support storage of data and maintenance of blockchains), tamper-proof data structures (reliable cryptography theory everywhere in blockchain systems), and consensus algorithms (algorithms, protocols, and rules that are commonly recognized by participants). Wherein, a compliant reward system is defined in the consensus algorithm, and a work reward is provided for the participants participating in the blockchain maintenance, which can stimulate the users to participate in the blockchain maintenance spontaneously, and the reasonable cooperation of the three elements ensures the irredifiable and the sustainability of the data in the blockchain.
In the application of the blockchain, since the recording of data on the chain needs to be broadcast, the data recording efficiency is low, and therefore, most of blockchain related products only record the most important transaction certificates, and in the direction of file management, various products are developed in the market for different purposes.
For internal file management systems of companies, groups and the like, the life cycle of shared files therein can be roughly divided into: the method comprises three processes of file creation by a user, file viewing and/or modification by one or more users and file destruction by the user.
In company management, the problems caused by file modification and file destruction need to be divided into responsibilities, and the current online document management system also develops corresponding functions for confirming the users corresponding to the file modification operation and the file destruction operation. However, in practice, since the management system still needs a worker such as an administrator to participate in maintenance, the management contents related to the participation of the worker are liable to have management holes.
Therefore, in order to trace the sources of data modification and deletion records, a suitable product needs to be developed for the relevant users based on the block chain technology.
Disclosure of Invention
In order to avoid manual participation in data modification recording, the invention provides a distributed file management method and a distributed file management system, which are self-consistent and constructed by utilizing program design and based on block chain characteristics, and the modification condition in the file life cycle is recorded by a program, so that the traceability of file modification is ensured.
Correspondingly, the invention provides a distributed file management method, which comprises the following steps:
displaying a list of all files, wherein the files comprise an original file and a historical version, the original file is stored in a file storage device, the historical version comprises a corresponding modification record, the modification record comprises modification content, and the modification record is stored in a modification block chain;
receiving a target file viewing instruction from a user, wherein the target file viewing instruction comprises a target original file and a target historical version selected by the user;
judging whether the target file has the authority requirement or not according to the preset rule of the target file;
if the target file has the authority requirement, popping up a user wallet information input box for the user to input wallet information and automatically finish authority verification operation, wherein the authority verification operation transfers tokens with the number corresponding to the wallet address in the wallet information to the file address of the file to form a first transfer record according to the authority requirement, the file address transfers the tokens with the corresponding number to the wallet address to form a second transfer record, and the first transfer record and the second transfer record are recorded in the modification block chain;
after the authority verification operation is passed, displaying a target file and occupying resources in a background to maintain a modification block chain, wherein the displaying of the target file comprises the steps of obtaining a target original file and superposing all modification records corresponding to the target historical version from the modification block chain on the target original file, and a token of the maintenance modification block chain is rewarded and sent to the wallet address;
receiving a target file saving instruction from a user;
and storing an amendment record of the target file, transferring the tokens with the number corresponding to the wallet address in the wallet information to the file address of the file to form a third transfer record according to a preset rule of the target file, wherein the third transfer record is used for proving identity information of an amendment user, and the amendment record and the third transfer record are recorded in the amendment block chain.
In an optional embodiment, the original file is further stored in a file block chain.
In an alternative embodiment, the file blockchain is maintained based on a user computer.
In an optional embodiment, if the permission verification operation fails, the reminding information that the permission verification operation fails is displayed.
In an optional embodiment, the modification record further includes data of the number of modifications.
In an optional embodiment, the obtaining the target original file and overlaying all modification records corresponding to the target historical version from the modification block chain on the target original file includes:
reading a target original file;
finding out corresponding target modification records according to the historical version selected by the user, tracing forwards in a modification block chain by using the block where the target modification records are located until all the modification records of the target file before the target modification records are found, and sequentially overlapping the modification records on the target original file according to the sequence of the modification times until the target modification records are completely overlapped.
In an alternative embodiment, the modified blockchain is maintained based on a user computer.
In an alternative embodiment, the wallet address is pre-stored with a number of tokens corresponding to the user's rights.
Correspondingly, the invention provides a distributed file management system, which is used for realizing the distributed file management method and comprises the following steps:
a file storage device: used for storing the target file;
a user computer: for maintaining the modified blockchain.
In an optional embodiment, if the permission verification operation fails, the reminding information that the permission verification operation fails is displayed.
In an optional embodiment, the modification record further includes data of the number of modifications.
In an optional embodiment, the obtaining the target original file and overlaying all modification records corresponding to the target historical version from the modification block chain on the target original file includes:
reading a target original file;
finding out corresponding target modification records according to the historical version selected by the user, tracing forwards in a modification block chain by using the block where the target modification records are located until all the modification records of the target file before the target modification records are found, and sequentially overlapping the modification records on the target original file according to the sequence of the modification times until the target modification records are completely overlapped.
In an alternative embodiment, the modified blockchain is maintained based on a user computer.
In an alternative embodiment, the wallet address is pre-issued with a corresponding number of tokens, depending on the identity of the user.
Correspondingly, the invention provides a distributed file management system, which is used for realizing the distributed file management method and comprises the following steps:
a file storage device: used for storing the target file;
a user computer: for maintaining the modified blockchain.
In summary, the present invention provides a distributed file management method and system, which construct a related modified block chain for modifying a file, record modified content of the file and a modification operator of the file by using the modified block chain, and the maintenance basis of the modified block chain depends on the hardware of the company, so that external users can be attracted to participate in maintenance by using the file free in a targeted manner, thereby improving the enthusiasm of the user for maintaining the modified block chain and realizing the continuity of the modified block chain. The distributed file management method and the distributed file management system can be used for carrying out non-tampering recording on the modification of the file and a modification operator, so that the modification condition of the file in the life cycle can be effectively tracked.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a distributed file management method according to an embodiment of the present invention.
Fig. 2 is a structural diagram of a distributed file management system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The related contents of the distributed file management method and the system of the embodiment of the invention comprise:
storage carrier of original document: the original files are stored in the high-encryption file storage device, the original files are only allowed to be newly added and are not allowed to be modified or deleted, all the original files in the file device can be broadcasted and are stored in a distributed mode (the original files are defined as a file block chain), and because the original files are only changed when the original files are newly created, the data change frequency is low, the total amount of the broadcasted data is low, and the operation and maintenance of the file block chain are easy.
The self-characteristics of the original file: the original file is newly built, the original file is in an unchangeable state in the file storage device, a hash value is derived based on data of the original file, the hash value can be used for assisting the original file to generate a file address corresponding to the original file, the file address is equivalent to a wallet address in a block chain, the wallet address is generated randomly, and the size of an address pool is large enough for a large number of files.
The file is changed into a participating entity from a recording object of the block amount, specifically, the participating entity of the block chain is essentially a computing device with computing capability, according to the reward definition, the reward token is issued to the wallet address provided by the computing device, and accordingly, the embodiment of the invention assigns a specific file address (wallet address) to the original file, and the specific function is explained in the following.
Modification logic of file: the modified content of the file is not directly stored in the file, but a separate modified block chain is provided for recording the modified record. The modification records relate to three contents, namely modification times, modification contents and modifiers, specifically, the modification block chain can be used for tracing the source gradually according to the modification contents and the modification times, after the files in the file block chain are read, the modification contents in each time are displayed in a superposition mode according to the tracing records of the modification block chain, and the files from the last version are presented; the modifier does not write in the files in a subjective writing mode, but judges user information at the stage of reading the files by the user, in order to ensure the unforgeability of the identity of the user, the reading of the files by the user needs to use a token payment function, the token payment function refers to the fact that the user pays tokens from a wallet of the user to the files so as to obtain the authority and the function of reading the files, the undeniability of the user wallet is one of core contents in a data structure which can not be tampered by three elements of a block chain, and therefore the user wallet is not forged with the identity.
Token sources for the user: in order to ensure that no illegal user participates in the construction of the modification block, a threshold for participating in the modification block needs to be set, the specific representation in the embodiment of the invention is that a token threshold which needs to be paid when reading a file is a means for distinguishing the identity of the user, a company group issues a certain amount of tokens to the user, the tokens of the magnitude cannot be obtained in a short period through the maintenance of a participation block chain, and after the user pays the tokens to the file with the requirement of the threshold, the file returns the corresponding tokens correspondingly to ensure the stability of the number of the tokens of the user, and meanwhile, the action of reading the file by the user is recorded by using a transaction voucher; thresholds need to be set for internal files, thresholds need not be set for public files, and a blockchain can be maintained by using hardware equipment outside a company, while reading of files by clients outside the company is not for acquisition of tokens but for reading of the files, and accordingly, hardware resources paid by the clients can be used for reliably modifying the blockchain by company components.
Operating software of the user: due to the fact that complex background running logic is involved and the realization principle that a user is aware of the logic is avoided, the user needs to read, modify and delete the file through specific software, the user can read, modify and delete the file without sensing, and the running logic of the software is as follows:
the software is displayed to the user according to the files stored in the file storage equipment, and the user can select and read the files;
after a user selects a file, software traces all historical versions in a modification block chain for the user to select;
when a user selects a file to read, if the file has the requirement of authority (token), the user is required to input personal wallet information to pay, the file address of the file returns the token with a corresponding amount according to a set logic, a program correspondingly opens the file, and modified contents are covered in a stacking manner according to the selection of a historical version, so that the finally presented contents are consistent with the contents of the historical version selected by the user; and for the file without the authority requirement, the program directly opens the content of the document.
The file content displayed by the program can be modified and stored locally by a user, if the modified file needs to be stored in the distributed file management system, the record of the block chain needs to be modified, specifically, the record form of the block chain is as follows:
when a user opens a file, software occupies a part of resources of computing hardware and is used for obtaining token rewards from maintenance of a block chain for the user, the wallet address of the user can continuously obtain the token rewards in the process of reading the file and modifying the file by the user, the token rewards can be consumed when the user executes an online storage instruction on the file, consumed operation means that the user needs to transfer accounts for the file address of the file by using the token in the wallet of the user, and thus a transaction voucher is formed and is used for proving identity information of the user; a modifier of the file (identity information of a user), the modified content of the file and the number of times of modification of the file form a group of data to be recorded by the block, compared with the storage of the whole file, the data volume of the modified content is relatively small, and the excessive bandwidth of a modified block chain can be avoided being occupied; similarly, deletion of a file is also a modification in nature and can be implemented based on similar logic; if the user does not relate to the operation of transferring the token in the reading process, according to the file management requirement in the company, if the reader of the file needs to generate information record, the token can be sent to the wallet address of the user through the file in a reverse mode, and then the user needs to return the token to form a complete logic chain, so that the balance of the token is ensured.
Maintenance of block chains: in the embodiment of the invention, block chains in two directions of a file block chain and a modification block chain are used, wherein the file block chain is used for recording files, the modification block chain is used for related information related to reading and modification of the files, maintenance of the file block chain can be carried out by using computers in companies, the number of the computers is generally required to be more than 13, the storage content of each computer is substantially the same due to distributed storage of data, according to research statistics on the scale and the data volume of the companies in the market, for the non-image film and television industry, the average total active data in a company group with the scale of 10 to 15 people is about 270GB in 3 years, each computer is provided with a mechanical hard disk with 1T, the distributed storage of the data can be well completed, the maintenance of the file block chain is not much due to the increase of the number of the files and does not relate to the situation of computational competition, the performance of computer consumption is low; similarly, the same method can be adopted for maintaining the modified block chain, and particularly for companies needing to provide files to the outside, more users can be introduced to participate in maintaining the modified block chain by the distribution of free files and by using the resources of the free files instead of a token reward mechanism, so that a reasonable consensus algorithm is generated. Compared with the prior art, the modified blockchain has higher security, and the file blockchain also has higher security because the file blockchain is a storage entity with a non-blockchain.
In summary, for the user, the whole distributed file management method and system mainly depend on the execution of software, so the embodiment of the present invention expands the software as a content, and the distributed file management method and system of the embodiment of the present invention are explained in an integrated manner.
Specifically, fig. 1 shows a flowchart of a distributed file management method according to an embodiment of the present invention, where the method includes:
s101: displaying a list of all files;
the file comprises an original file and a historical version, the original file is stored in a file storage device, the historical version comprises a corresponding modification record, the modification record comprises modification content, and the modification record is stored in a modification block chain; accordingly, the file itself is composed of the original file stored in the storage device with the modification records of the corresponding history version superimposed.
The original file is stored in the storage device and also stored in a file block chain, the file block chain is subjected to distributed storage records by a plurality of computers inside a company, and the modification records are also stored through the modification block chain.
S102: receiving a target file viewing instruction from a user;
the user selects the files in the storage device according to the requirement, and correspondingly, the content selected by the user is the original file and a specific historical version corresponding to the original file.
S103: judging whether the target file has the authority requirement or not according to the preset rule of the target file;
the authorization requirements of the document need to be embodied by tokens, in which tokens corresponding to user authorization can be pre-stored, for the wallet addresses owned by employees within the company.
S104: if the target file has the authority requirement, popping up a user wallet information input box for the user to input wallet information and automatically finishing the authority verification operation;
specifically, in the embodiment of the invention, the authority verification operation is relatively automatic, after the user inputs wallet information, software transfers a certain number of tokens in the user wallet to the file address of a file (the file address is substantially the wallet address of the file) according to the authority requirement, and the target file returns the received tokens in a transfer mode according to a preset rule, so that the stability of the tokens of the user is ensured, and the authority is verified in the complete process. The process is silent and the software does not make special reminders to the authorized users.
If the number of the tokens in the user wallet is insufficient, the user is indicated to have insufficient authority, and the user needs to be reminded.
S105: after the authority verification operation is passed, displaying the target file and occupying resources in a background to maintain and modify a block chain;
the display of the target file comprises reading of the target original file and superposition of modification records;
specifically, firstly, reading a target original file;
finding out corresponding target modification records according to the historical version selected by the user, tracing forwards in a modification block chain by using the block where the target modification records are located until all the modification records of the target file before the target modification records are found, and sequentially overlapping the modification records on the target original file according to the sequence of the modification times until the target modification records are completely overlapped.
In the process of file reading by a user, resources need to be occupied in the background to maintain and modify the block chain, and for the user in a company, the benefit of the maintaining and modifying block chain can be used for subsequent file saving instructions and other applications; for a user outside the company, the behavior of maintaining the modified blockchain can be used for assisting the company to maintain the modified blockchain, the user obtains the reading right of the file and contributes to the maintenance of the modified blockchain by providing resources, and for the company, the behavior can variably encourage the user outside the company to maintain the modified blockchain. The user outside the company can upgrade the identity through the accumulation of tokens, and the embodiment can refer to the forum membership system in the prior art.
Meanwhile, in order to define the in-company employees and the out-company users, the minimum value of the token ownership quantity of the in-company employees for reflecting the authority should be higher than the maximum value of the token ownership quantity of the users outside the company.
S106: receiving a file saving instruction from a user;
specifically, the file saving instruction of the user refers to an instruction that the user wants to save a file in the distributed management system. Similarly, in order to record the user characteristics, the recording is realized by transferring from the user wallet address to the file address, and if the storage of the file also requires the user authority, the number of the transferred tokens can be adjusted in a targeted manner.
Specifically, according to a preset rule of a target file, transferring tokens with a number corresponding to a wallet address in the wallet information to a file address of the file to form a third transfer record, wherein the third transfer record is used for proving identity information of a modified user, and the modified record and the third transfer record are recorded in the modified block chain.
The change of the token of the file address is very easy to trace, the token on the file address can be traced by triggering and tracing the transaction information from the file address side, and correspondingly, the number of the token in the file does not have direct use significance, but the identity of the other party of the transaction is found through the transaction information achieved in the change of the token.
It should be noted that the amount of tokens to be transferred for saving the file may be related to the income of the user during the use of the software, and by this embodiment, the amount of tokens added by the user may approach zero. In addition, for the users with the authority requirements, the authority verification can be realized by adopting a mutual transfer mode of the user wallet address and the file address (after the user wallet address transfers to the file address, the file address transfers to the wallet user address).
S107: saving the modification record of the file;
and transferring the tokens with the number corresponding to the wallet address in the wallet information to the file address of the file to form a third transfer record according to a preset rule of a target file, wherein the third transfer record is used for proving identity information of a modified user, and the modified record and the third transfer record are recorded in the modified block chain.
Specifically, the embodiment of the present invention defines the modification record, where the modification record includes three items of content, namely modification times, modification content, and modification user, where the modification times refer to the current sequence of the modification times, and in the foregoing description of the source tracing process of the modification record, the modification records can be increased orderly on the basis of the target modification record; the block chain has a sorting function, and the modification times data in the modification records are mainly convenient for software to process; if the modified user is recorded through the transfer certificate in the step S106; the modified content is the modification of the file compared to the target modified record.
In combination with the foregoing description, the data included in the modified block chain mainly includes a modification record (number of modifications, modified content, modified user), a first transfer record and a second transfer record, where the modified user in the modification record is reflected by a third transfer record.
FIG. 2 is a diagram illustrating a distributed file management system architecture according to an embodiment of the present invention. Correspondingly, the invention also provides a distributed file management system, which is used for realizing the distributed file management method and comprises the following steps:
a file storage device: used for storing the target file;
a user computer: for maintaining the modified blockchain.
For a hardware carrier for realizing the distributed file management method, only file storage equipment and user computers are essentially needed, the number of the user computers can be multiple, the user computers depend on the internet, the user computers maintain the modified block chain together, and related software processes all belong to the content of program design.
To sum up, the embodiment of the present invention provides a distributed file management method and system, which construct a related modified block chain for modification of a file, record modified contents of the file and a modification operator of the file by using the modified block chain, and rely on the hardware of a company on the maintenance basis of the modified block chain, so that external users can be attracted to participate in maintenance by using the file free in a targeted manner, thereby improving the enthusiasm of the user for maintaining the modified block chain in a variable manner and realizing the continuity of the modified block chain. The distributed file management method and the distributed file management system can be used for carrying out non-tampering recording on the modification of the file and a modification operator, so that the modification condition of the file in the life cycle can be effectively tracked.
The foregoing describes in detail a distributed file management method and system provided by an embodiment of the present invention, and a specific example is applied in the description to explain the principle and the implementation of the present invention, and the description of the foregoing embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (9)

1. A distributed file management method, comprising:
displaying a list of all files, wherein the files comprise an original file and a historical version, the original file is stored in a file storage device, the historical version comprises a corresponding modification record, the modification record comprises modification content, and the modification record is stored in a modification block chain;
receiving a target file viewing instruction from a user, wherein the target file viewing instruction comprises a target original file and a target historical version selected by the user;
judging whether the target file has the authority requirement or not according to the preset rule of the target file;
if the target file has the authority requirement, popping up a user wallet information input box for the user to input wallet information and automatically finish authority verification operation, wherein the authority verification operation transfers tokens with the number corresponding to the wallet address in the wallet information to the file address of the file to form a first transfer record according to the authority requirement, the file address transfers the tokens with the corresponding number to the wallet address to form a second transfer record, and the first transfer record and the second transfer record are recorded in the modification block chain;
after the authority verification operation is passed, displaying a target file and occupying resources in a background to maintain a modification block chain, wherein the displaying of the target file comprises the steps of obtaining a target original file and superposing all modification records corresponding to the target historical version from the modification block chain on the target original file, and a token of the maintenance modification block chain is rewarded and sent to the wallet address;
receiving a target file saving instruction from a user;
and storing an amendment record of the target file, transferring the tokens with the number corresponding to the wallet address in the wallet information to the file address of the file to form a third transfer record according to a preset rule of the target file, wherein the third transfer record is used for proving identity information of an amendment user, and the amendment record and the third transfer record are recorded in the amendment block chain.
2. The distributed file management method of claim 1 wherein the original file is also saved in a file block chain.
3. The distributed file management method of claim 2 wherein the file blockchain is maintained based on a user computer.
4. The distributed file management method of claim 1, wherein if the permission verification operation fails, a reminder that the permission verification operation fails is displayed.
5. The distributed file management method of claim 1 wherein the modification record further includes data of the number of modifications.
6. The distributed file management method of claim 1 wherein said obtaining the target original file and overlaying all modification records corresponding to the target historical version from a modification block chain on the target original file comprises:
reading a target original file;
finding out corresponding target modification records according to the historical version selected by the user, tracing forwards in a modification block chain by using the block where the target modification records are located until all the modification records of the target file before the target modification records are found, and sequentially overlapping the modification records on the target original file according to the sequence of the modification times until the target modification records are completely overlapped.
7. The distributed file management method of claim 1 wherein the modified blockchain is maintained based on a user computer.
8. The distributed file management method of claim 1, wherein the wallet address is pre-stored with a number of tokens corresponding to user rights.
9. A distributed file management system for implementing the distributed file management method according to any one of claims 1 to 8, comprising:
a file storage device: used for storing the target file;
a user computer: for maintaining the modified blockchain.
CN202210755633.8A 2022-06-30 2022-06-30 Distributed file management method and system Active CN114880291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210755633.8A CN114880291B (en) 2022-06-30 2022-06-30 Distributed file management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210755633.8A CN114880291B (en) 2022-06-30 2022-06-30 Distributed file management method and system

Publications (2)

Publication Number Publication Date
CN114880291A true CN114880291A (en) 2022-08-09
CN114880291B CN114880291B (en) 2022-09-09

Family

ID=82683383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210755633.8A Active CN114880291B (en) 2022-06-30 2022-06-30 Distributed file management method and system

Country Status (1)

Country Link
CN (1) CN114880291B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117422058A (en) * 2023-12-18 2024-01-19 佳瑛科技有限公司 Visual graphic report generation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109242461A (en) * 2018-08-01 2019-01-18 点点客信息技术股份有限公司 Block chain digital asset method of payment based on cell-phone number
US20200134221A1 (en) * 2018-10-25 2020-04-30 Toshiba Tec Kabushiki Kaisha System and method for blockchain document access and distribution control
US20210319436A1 (en) * 2018-04-24 2021-10-14 Duvon Corporation Autonomous exchange via entrusted ledger wallet administration tool
CN113723951A (en) * 2020-05-26 2021-11-30 北京三快在线科技有限公司 Rights and interests transfer system based on block chain
CN113947394A (en) * 2021-09-30 2022-01-18 西安理工大学 Block chain-based fair payment method for deletable duplicate data in cloud storage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210319436A1 (en) * 2018-04-24 2021-10-14 Duvon Corporation Autonomous exchange via entrusted ledger wallet administration tool
CN109242461A (en) * 2018-08-01 2019-01-18 点点客信息技术股份有限公司 Block chain digital asset method of payment based on cell-phone number
US20200134221A1 (en) * 2018-10-25 2020-04-30 Toshiba Tec Kabushiki Kaisha System and method for blockchain document access and distribution control
CN113723951A (en) * 2020-05-26 2021-11-30 北京三快在线科技有限公司 Rights and interests transfer system based on block chain
CN113947394A (en) * 2021-09-30 2022-01-18 西安理工大学 Block chain-based fair payment method for deletable duplicate data in cloud storage

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHIHCHENG HUNG ET AL.: "An efficient multi-signature wallet in blockchain using bloom filter", 《SAC "21: PROCEEDINGS OF THE 36TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING》 *
孙国梓等: "区块链交易安全问题研究", 《南京邮电大学学报(自然科学版)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117422058A (en) * 2023-12-18 2024-01-19 佳瑛科技有限公司 Visual graphic report generation method
CN117422058B (en) * 2023-12-18 2024-03-12 佳瑛科技有限公司 Visual graphic report generation method

Also Published As

Publication number Publication date
CN114880291B (en) 2022-09-09

Similar Documents

Publication Publication Date Title
US20230153453A1 (en) Proof-of-approval distributed ledger
US11651217B2 (en) Architectures, systems and methods having segregated secure and public functions
US11907916B2 (en) Digital securitization, obfuscation, policy and commerce of event tickets
Ertemel Implications of blockchain technology on marketing
JP2023184749A (en) Method of distributing block chain-registered digital asset, and autonomous computation agent
EP3779815A1 (en) Rights and interests distribution method and device and electronic device
US11093650B2 (en) Blockchain-based copyright distribution
US20230004970A1 (en) Distributed Ledgers with Ledger Entries Containing Redactable Payloads
US20220391887A1 (en) Systems and Methods for Maintenance of NFT Assets
US20230070586A1 (en) Methods for Evolution of Tokenized Artwork, Content Evolution Techniques, Non-Fungible Token Peeling, User-Specific Evolution Spawning and Peeling, and Graphical User Interface for Complex Token Development and Simulation
US20230086644A1 (en) Cryptographically Enabling Characteristic Assignment to Identities with Tokens, Token Validity Assessments and State Capture Processes
US20210192473A1 (en) Cryptographically secure booster packs in a blockchain
US20230100422A1 (en) Systems and Methods for Transaction Management in NFT-Directed Environments
CN114880291B (en) Distributed file management method and system
Meth Blockchain in libraries
CN110033367A (en) Based on the contract record method and device of block chain, electronic equipment
US20230129900A1 (en) Systems and Methods for Protecting Against Token-Based Malicious Scripts
US20240062169A1 (en) Nonfungible token path synthesis with social sharing
US20230011621A1 (en) Artifact Origination and Content Tokenization
Schonbaum Decentraland NFT (LAND) Market Efficiency & Responsiveness to Events
Tormen Blockchain for decision makers: A systematic guide to using blockchain for improving your business
KR20190128100A (en) Coin trading system through transactions and services And That way
US20230117399A1 (en) Systems and Methods for Assessing Content Similarity in NFT-Directed Environments
US20230298064A1 (en) Systems and methods for facilitating redemption of unique digital asset utility
JP2024014784A (en) Information processing system, information processing method, and program for tokenizing real assets in digital space

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