CN114416657A - File management method, device, terminal and storage medium - Google Patents
File management method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN114416657A CN114416657A CN202111636172.4A CN202111636172A CN114416657A CN 114416657 A CN114416657 A CN 114416657A CN 202111636172 A CN202111636172 A CN 202111636172A CN 114416657 A CN114416657 A CN 114416657A
- Authority
- CN
- China
- Prior art keywords
- folder
- content
- file
- name
- management method
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/162—Delete operations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/172—Caching, prefetching or hoarding of files
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明实施例公开了一种文件管理方法、装置、终端及存储介质,该方法包括判断指定文件夹是否发生修改;若发生修改,则基于修改后的指定文件夹的内容层级信息对预设的内容表进行更新;所述内容层级信息包括:父文件夹名称、子文件夹所处的层级和名称、子文件所处的层级和名称;基于更新后的所述内容表对预设的结构表进行更新。通过两个表来维护文件夹内容,更方便了对文件内容的查询,也确保了文件数据的一致性。
The embodiment of the present invention discloses a file management method, device, terminal and storage medium. The method includes judging whether a specified folder is modified; if modified, based on the modified content level information of the specified folder, a preset The content table is updated; the content level information includes: the name of the parent folder, the level and name of the sub-folder, the level and name of the sub-file; based on the updated content table, the preset structure table to update. The contents of the folders are maintained through two tables, which facilitates the query of the contents of the files and ensures the consistency of the file data.
Description
技术领域technical field
本发明涉及计算机领域,尤其涉及一种文件管理方法、装置、终端及存储介质。The present invention relates to the field of computers, and in particular, to a file management method, device, terminal and storage medium.
背景技术Background technique
新开发的编辑器需要进行文件的存储,并开展相关增删改查等操作。而文件组织结构及相关管理逻辑,会影响到读写速度、存储内容的稳定、以及安全性,进而影响到基于文件内容的后续逻辑。The newly developed editor needs to store files, and carry out operations such as additions, deletions, and changes. The file organization structure and related management logic will affect the read and write speed, the stability of the stored content, and the security, and then affect the subsequent logic based on the file content.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请提供了一种文件管理方法,包括:In view of this, the present application provides a file management method, including:
判断指定文件夹是否发生修改;Determine whether the specified folder has been modified;
若发生修改,则基于修改后的指定文件夹的内容层级信息对预设的内容表进行更新;所述内容层级信息包括:父文件夹名称、子文件夹所处的层级和名称、子文件所处的层级和名称;If a modification occurs, the preset content table is updated based on the modified content level information of the specified folder; the content level information includes: the name of the parent folder, the level and name of the subfolder, the location of the subfile. the level and name of the location;
基于更新后的所述内容表对预设的结构表进行更新。The preset structure table is updated based on the updated content table.
进一步的,还包括:当获取到初始的所述指定文件夹时,基于初始的所述指定文件夹的内容层级信息生成初始的所述内容表,并基于初始的所述内容表生成初始的所述结构表。Further, it also includes: when the initial specified folder is obtained, generating the initial content table based on the content level information of the initial specified folder, and generating the initial all content table based on the initial content table. Describe the structure table.
进一步的,所述修改包括:删除;Further, the modification includes: deletion;
当进行所述删除操作时,所述更新,包括:When the deletion operation is performed, the update includes:
在所述内容表中确定所述指定文件夹中被删除部分的名称所对应的最高层级的子文件夹;determining, in the content table, the subfolder of the highest level corresponding to the name of the deleted part in the specified folder;
将所述最高层的子文件夹中相关附属的信息全部删除。Delete all related and attached information in the subfolder of the highest level.
进一步的,所述修改包括:重命名,当进行所述重命名操作时,所述更新包括:Further, the modification includes: renaming, and when the renaming operation is performed, the update includes:
将已有的内容表复制,得到新内容表;确定重命名的文件或文件夹;基于确定的文件或文件夹在所述新内容表中的位置;将确定的位置的内容修改为重命名后的名称;删除已有的内容表。Copy the existing table of contents to obtain a new table of contents; determine the renamed file or folder; based on the position of the determined file or folder in the new table of contents; modify the content of the determined position to be after the renaming name; delete an existing table of contents.
进一步的,所述修改包括:拷贝;Further, the modification includes: copying;
当进行所述拷贝操作时,所述更新包括:在所述内容表中确定所述指定文件夹中被拷贝的文件,并依次将所述被拷贝的文件夹的所有子文件夹和子文件信息拷贝到指定位置,并修改拷贝后的文件夹名字。When the copy operation is performed, the updating includes: determining the copied files in the specified folder in the content table, and sequentially copying all subfolders and subfile information of the copied folder Go to the specified location and modify the copied folder name.
进一步的,还包括:Further, it also includes:
当进行查找操作时,通过目标文件的名字在所述内容表中找到对应的文件,并根据所述目标文件父节点信息依次递归,获得所述目标文件的存储路径,将所述路径返回给用户。When the search operation is performed, the corresponding file is found in the content table by the name of the target file, and recursively according to the parent node information of the target file, the storage path of the target file is obtained, and the path is returned to the user .
进一步的,还包括:Further, it also includes:
当需要进行加载时,将所需要加载的文件信息存储为预设格式的文件;When loading is required, the file information to be loaded is stored as a file in a preset format;
并将所述文件的内容对应存入所述内容表和结构表中。and correspondingly store the content of the file into the content table and the structure table.
进一步的,本申请还提供一种文件管理装置,包括:Further, the present application also provides a file management device, comprising:
判断模块,用于判断指定文件夹是否发生修改;The judgment module is used to judge whether the specified folder has been modified;
修改模块,用于若发生修改,则基于修改后的指定文件夹的内容层级信息对预设的内容表进行更新;所述内容层级信息包括:父文件夹名称、子文件夹所处的层级和名称、子文件所处的层级和名称;The modification module is used to update the preset content table based on the content level information of the modified specified folder if a modification occurs; the content level information includes: the name of the parent folder, the level where the subfolder is located, and name, level and name of the subfile;
同步模块,用于基于更新后的所述内容表对预设的结构表进行更新。The synchronization module is configured to update the preset structure table based on the updated content table.
进一步的,本申请还提供一种计算机终端,包括处理器和存储器,所述存储器存储有计算机程序,所述计算机程序在所述处理器上运行时执行上述实施例中任一项所述的文件管理方法。Further, the present application also provides a computer terminal, including a processor and a memory, the memory stores a computer program, and the computer program executes the file described in any one of the above embodiments when running on the processor management method.
进一步的,本申请还提供一种可读存储介质,其存储有计算机程序,所述计算机程序在处理器上运行时执行上述实施例中任一项所述的文件管理方法。Further, the present application also provides a readable storage medium, which stores a computer program, and when the computer program runs on a processor, executes the file management method described in any one of the foregoing embodiments.
本申请实施例提供了一种文件管理方法,该方法包括判断指定文件夹是否发生修改;若发生修改,则基于修改后的指定文件夹的内容层级信息对预设的内容表进行更新;所述内容层级信息包括:父文件夹名称、子文件夹所处的层级和名称、子文件所处的层级和名称;基于更新后的所述内容表对预设的结构表进行更新。通过两个结构不同的表来维护文件夹内容,通过内容表更容易进行查询,结构表保证保存了文件夹的结构,同时通过两个表的同步,也确保了文件数据的一致性和正确性。An embodiment of the present application provides a file management method, the method includes judging whether a modification occurs in a specified folder; if modification occurs, updating a preset content table based on the content level information of the modified specified folder; the The content level information includes: the name of the parent folder, the level and name of the sub-folder, the level and name of the sub-file; the preset structure table is updated based on the updated content table. The content of the folder is maintained through two tables with different structures. It is easier to query through the content table. The structure table ensures that the structure of the folder is saved. At the same time, the synchronization of the two tables also ensures the consistency and correctness of the file data. .
附图说明Description of drawings
为了更清楚地说明本发明的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对本发明保护范围的限定。在各个附图中,类似的构成部分采用类似的编号。In order to illustrate the technical solutions of the present invention more clearly, the accompanying drawings required in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention, and therefore should not be It is regarded as the limitation of the protection scope of the present invention. In the various figures, similar components are numbered similarly.
图1示出了本申请实施例中一种文件管理方法流程示意图;FIG. 1 shows a schematic flowchart of a file management method in an embodiment of the present application;
图2示出了本申请实施例中结构表的结构示意图;2 shows a schematic structural diagram of a structure table in an embodiment of the present application;
图3示出了本申请实施例中内容层级信息表的结构示意图;3 shows a schematic structural diagram of a content level information table in an embodiment of the present application;
图4示出了本申请实施例中一种文件管理装置示意图。FIG. 4 shows a schematic diagram of a file management apparatus in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments.
通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The components of the embodiments of the invention generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present invention.
在下文中,可在本发明的各种实施例中使用的术语“包括”、“具有”及其同源词仅意在表示特定特征、数字、步骤、操作、元件、组件或前述项的组合,并且不应被理解为首先排除一个或更多个其它特征、数字、步骤、操作、元件、组件或前述项的组合的存在或增加一个或更多个特征、数字、步骤、操作、元件、组件或前述项的组合的可能性。Hereinafter, the terms "comprising", "having" and their cognates, which may be used in various embodiments of the present invention, are only intended to denote particular features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the presence of or adding one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing or the possibility of a combination of the foregoing.
此外,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性,本文中的术语“文件信息”泛指文件夹内存储的关系的信息以及被存储文件的信息。In addition, the terms "first", "second", "third", etc. are only used for distinguishing descriptions, and cannot be understood as indicating or implying relative importance. The term "file information" herein generally refers to the files stored in the folder. relationship information and information about the stored file.
除非另有限定,否则在这里使用的所有术语(包括技术术语和科学术语)具有与本发明的各种实施例所属领域普通技术人员通常理解的含义相同的含义。所述术语(诸如在一般使用的词典中限定的术语)将被解释为具有与在相关技术领域中的语境含义相同的含义并且将不被解释为具有理想化的含义或过于正式的含义,除非在本发明的各种实施例中被清楚地限定。Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of this invention belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized or overly formal meaning, unless explicitly defined in the various embodiments of the present invention.
接下来以具体实施例来说明本发明的技术方案。Next, the technical solutions of the present invention are described with specific embodiments.
实施例1Example 1
具体而言,如图1中的流程示意图所示,本方案包括以下步骤:Specifically, as shown in the schematic flowchart in Figure 1, this solution includes the following steps:
步骤S100,判断指定文件夹是否发生修改;Step S100, judging whether the specified folder is modified;
本实施例中,编辑器会需要对读取的文件进行存储管理,而为了管理这些存储的文件,还会针对这些文件夹做两个表,一个表叫内容表,如图2所示,该表中针对每一个文件夹和文件夹中的文件进行信息存储,该表中,每一个代表文件夹的数据结构保存了该文件夹的ID、名称、父文件夹索引、所存储的文件夹以及存储在文件夹内的文件。其中,每个文件夹以自己的名称作为关键字进行保存,在该内容表中,每一个文件夹的数据结构之间都没有包含关系,只是被单纯的列举出来,并在数据结构中记载了其父文件夹及该文件夹中所存储的子文件夹。In this embodiment, the editor needs to perform storage management on the read files, and in order to manage these stored files, it also makes two tables for these folders, one table is called the content table, as shown in FIG. 2 , the In the table, information is stored for each folder and the files in the folder. In the table, each data structure representing a folder saves the ID, name, parent folder index, stored folder and Files stored in folders. Among them, each folder is saved with its own name as a key. In the content table, there is no inclusion relationship between the data structures of each folder, but is simply enumerated and recorded in the data structure. Its parent folder and the subfolders stored in that folder.
另一个表为结构表,是在内容表的基础上,将其中的数据整理成树形结构,具体如图3所示图中表示了第一文件夹中包含两个子文件夹,分别是第二文件夹和第三文件夹,其中第二文件夹存了三个子文件,第三文件夹存了一个子文件。The other table is the structure table, which organizes the data into a tree structure on the basis of the content table. Specifically, as shown in Figure 3, the figure shows that the first folder contains two subfolders, the second one is the second one. Folder and third folder, the second folder saves three sub-files, and the third folder saves one sub-file.
结构表通过层次和结构展现在编辑器的界面上,使得用户可以直观的知道文件之间的存储关系。而内容表不会展现在界面上。The structure table is displayed on the interface of the editor through hierarchy and structure, so that users can intuitively know the storage relationship between files. The table of contents will not be displayed on the interface.
当一开始还没有文件夹和文件存在时,上述两个表中都没有内容,当初始化第一个文件夹时,则将该文件夹的信息存入内容表中,然后再将内容表中的数据进行树形化存入结构表。When there is no folder or file at the beginning, there is no content in the above two tables. When the first folder is initialized, the information of the folder is stored in the content table, and then the information in the content table is stored in the content table. The data is tree-shaped and stored in the structure table.
而判断指定文件夹是否发生修改,则是将当前文件夹的内容和记载的内容表进行比对,若是发现有某个文件夹内的数据信息和内容表内的不同,则判定文件夹发生了修改操作。To judge whether the specified folder has been modified, it is to compare the content of the current folder with the recorded content table. If it is found that the data information in a certain folder is different from that in the content table, it is determined that the folder has occurred. Modify operation.
步骤S200,若发生修改,则基于修改后的指定文件夹的内容层级信息对预设的内容表进行更新;所述内容层级信息包括:父文件夹名称、子文件夹所处的层级和名称、子文件所处的层级和名称。Step S200, if a modification occurs, update the preset content table based on the content level information of the modified designated folder; the content level information includes: the name of the parent folder, the level and name of the subfolder, The level and name of the subfile.
当发生修改操作后,则需要对上述内容表进行更新,具体而言,该修改操作包括添加、删除、拷贝和重命名。当发生相应的修改操作后,会根据这些相应的操作来改变内容表中的记载的数据。When a modification operation occurs, the above content table needs to be updated. Specifically, the modification operation includes addition, deletion, copying and renaming. When corresponding modification operations occur, the data recorded in the content table will be changed according to these corresponding operations.
具体而言,当进行删除操作是,首先会通过要删除的文件夹的名称在内容表中找到该指定文件夹,然后根据指定文件夹内的信息,从子文件和子文件夹开始依次删除,即根据指定文件夹中记载的子文件和子文件夹的名称,找到这些子文件和子文件夹,然后重复上述操作,直到文件夹内没有子文件夹或子文件,然后开始依序往上删除。等到将指定文件夹的内容都删除了,再删除指定文件夹,如果该文件夹有父文件夹,则从父文件夹中将该文件夹的信息删除,如此就是完成了执行删除操作时,对内容表的更新。Specifically, when the deletion operation is performed, the specified folder will be found in the content table through the name of the folder to be deleted, and then the sub-files and sub-folders will be deleted in sequence according to the information in the specified folder, that is, According to the names of sub-files and sub-folders recorded in the specified folder, find these sub-files and sub-folders, and then repeat the above operations until there are no sub-folders or sub-files in the folder, and then start to delete them in order. Wait until the contents of the specified folder are deleted, and then delete the specified folder. If the folder has a parent folder, the information of the folder will be deleted from the parent folder. Update of table of contents.
当进行重命名操作时,先将已有的内容表复制,得到新内容表,这样原来的内容表可以作为新内容表的索引;然后在新内容表中确定重命名的文件或文件夹;基于确定的文件或文件夹在所述新内容表中的位置;将确定的位置的内容修改为重命名后的名称;删除已有的内容表。When performing a renaming operation, first copy the existing content table to obtain a new content table, so that the original content table can be used as an index of the new content table; then determine the renamed file or folder in the new content table; based on Determine the location of the file or folder in the new content table; modify the content of the determined location to the renamed name; delete the existing content table.
当进行拷贝操作时,拷贝的文件夹具有自己的名字,而在这之前,需要通过需要拷贝的指定文件夹的名字在内容表内找到该指定文件夹,找到后,依次将该文件夹内所有的子文件夹和子文件拷贝到指定位置,一般来讲,拷贝后的文件为了和原文件区分,都会再执行一次重命名操作,在此不再赘述文件ID依序递增。When the copy operation is performed, the copied folder has its own name, and before that, the specified folder needs to be found in the content table through the name of the specified folder to be copied. The subfolders and subfiles of the file are copied to the specified location. Generally speaking, in order to distinguish the copied file from the original file, a renaming operation will be performed again, and the file ID will be incremented in sequence.
当进行添加操作时,类似于初始化文件夹操作,添加新的文件夹后在内容表中为该文件夹保存相应的ID、名称、父文件夹索引、子文件夹以及子文件的数据,将这些数据保存在内容表中。When adding an operation, it is similar to the initializing folder operation. After adding a new folder, the corresponding ID, name, parent folder index, subfolder and subfile data are saved for the folder in the content table. The data is saved in the table of contents.
步骤S300,基于更新后的所述内容表对预设的结构表进行更新。Step S300, updating the preset structure table based on the updated content table.
内容表在更新之后,根据其中的结构对数据进行整理成树形结构,然后将整理后的结构保存至结构表中,完成结构表和内容表的数据统一。After the content table is updated, the data is sorted into a tree structure according to the structure therein, and the sorted structure is then saved in the structure table to complete the data unification of the structure table and the content table.
进一步的,除了上述的修改操作外,还会存在查询和加载操作。Further, in addition to the above modification operations, there are also query and load operations.
具体而言,当进行查找操作时,通过查询时输入的关键字在内容表中查询,一般来讲查询的关键字都是文件名,而内容表中每个文件夹安之间没有层级关系,所以很容易查到指定文件夹,并且根据该文件夹中的父文件夹信息依次递归,就可以获得该目标文件的存储位置,实现快速查找的过程。Specifically, when performing a search operation, the content table is queried by the keywords entered during the query. Generally speaking, the query keywords are file names, and there is no hierarchical relationship between each folder in the content table, so It is easy to find the specified folder, and recursively according to the parent folder information in the folder, the storage location of the target file can be obtained, and the process of fast search can be realized.
当用户打开编辑器,开始加载文件时,此时会将存储好的文件信息读取为预设的文件格式,比如json文件格式,然后将该文件内容保存到内容表和结构表中,以此来保证文件数据的一致性。When the user opens the editor and starts to load the file, the stored file information will be read into a preset file format, such as json file format, and then the file content will be saved to the content table and structure table, so as to To ensure the consistency of file data.
本申请实施例通过设立内容表和结构表,使得保证了文件夹数据的统一,并且内容表结构简单,每个文件中存储了父节文件夹的信息以外,文件夹之间没有包含关系,便于程序内部的查询增删操作,结构表中除了各个文件夹的内容数据外,还以树形结构保存了文件夹之间的相互包含关系,使得用户根据结构表可以清晰的了解文件存储结构,进而进行后续的操作编辑。By establishing a content table and a structure table in the embodiment of the present application, the unification of folder data is ensured, and the structure of the content table is simple. Except for the information of the parent section folder stored in each file, there is no inclusion relationship between the folders, which is convenient for In addition to the content data of each folder, the structure table also saves the mutual inclusion relationship between folders in a tree structure for query addition and deletion operations inside the program, so that users can clearly understand the file storage structure according to the structure table, and then carry out Subsequent actions edit.
实施例2Example 2
本申请的实施例还提供了一种文件管理装置,如图4所示,该装置包括判断模块10,修改模块20和同步模块30。The embodiment of the present application also provides a file management device, as shown in FIG. 4 , the device includes a
判断模块10,用于判断指定文件夹是否发生修改。The judging
修改模块20,用于若发生修改,则基于修改后的指定文件夹的内容层级信息对预设的内容表进行更新;所述内容层级信息包括:父文件夹、子文件夹及子文件。The
同步模块30,用于基于更新后的所述内容表对预设的结构表进行更新。The
进一步的,本申请还提供一种计算机终端,包括处理器和存储器,所述存储器存储有计算机程序,所述计算机程序在所述处理器上运行时执行上述实施例中任一项所述的文件管理方法。Further, the present application also provides a computer terminal, including a processor and a memory, the memory stores a computer program, and the computer program executes the file described in any one of the above embodiments when running on the processor management method.
进一步的,本申请还提供一种可读存储介质,其存储有计算机程序,所述计算机程序在处理器上运行时执行上述实施例中任一项所述的文件管理方法。Further, the present application also provides a readable storage medium, which stores a computer program, and when the computer program runs on a processor, executes the file management method described in any one of the foregoing embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和结构图显示了根据本发明的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,结构图和/或流程图中的每个方框、以及结构图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may also be implemented in other manners. The apparatus embodiments described above are only schematic, for example, the flowcharts and structural diagrams in the accompanying drawings show possible implementation architectures and functions of apparatuses, methods and computer program products according to various embodiments of the present invention and operation. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function(s) executable instructions. It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flow diagrams, and combinations of blocks in the block diagrams and/or flow diagrams, can be implemented using dedicated hardware-based systems that perform the specified functions or actions. be implemented, or may be implemented in a combination of special purpose hardware and computer instructions.
另外,在本发明各个实施例中的各功能模块或单元可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或更多个模块集成形成一个独立的部分。In addition, each functional module or unit in each embodiment of the present invention may be integrated to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是智能手机、个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111636172.4A CN114416657A (en) | 2021-12-29 | 2021-12-29 | File management method, device, terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111636172.4A CN114416657A (en) | 2021-12-29 | 2021-12-29 | File management method, device, terminal and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114416657A true CN114416657A (en) | 2022-04-29 |
Family
ID=81268705
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111636172.4A Pending CN114416657A (en) | 2021-12-29 | 2021-12-29 | File management method, device, terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114416657A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1906615A (en) * | 2004-01-30 | 2007-01-31 | 金善权 | Method of collecting and searching for access route of information resource on internet and computer readable medium stored thereon program for implementing the same |
| US20080177775A1 (en) * | 2005-08-31 | 2008-07-24 | Sony Corporation | File Processing Apparatus, File Processing Method, Program and Recording Medium |
| CN106598785A (en) * | 2016-12-16 | 2017-04-26 | 广东美晨通讯有限公司 | File system backup and restoration method and device |
| CN108573014A (en) * | 2017-12-19 | 2018-09-25 | 北京金山云网络技术有限公司 | A file synchronization method, device, electronic equipment and readable storage medium |
| CN111417938A (en) * | 2017-12-28 | 2020-07-14 | 卓普网盘股份有限公司 | Updating a local tree for client synchronization services |
-
2021
- 2021-12-29 CN CN202111636172.4A patent/CN114416657A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1906615A (en) * | 2004-01-30 | 2007-01-31 | 金善权 | Method of collecting and searching for access route of information resource on internet and computer readable medium stored thereon program for implementing the same |
| US20080177775A1 (en) * | 2005-08-31 | 2008-07-24 | Sony Corporation | File Processing Apparatus, File Processing Method, Program and Recording Medium |
| CN106598785A (en) * | 2016-12-16 | 2017-04-26 | 广东美晨通讯有限公司 | File system backup and restoration method and device |
| CN108573014A (en) * | 2017-12-19 | 2018-09-25 | 北京金山云网络技术有限公司 | A file synchronization method, device, electronic equipment and readable storage medium |
| CN111417938A (en) * | 2017-12-28 | 2020-07-14 | 卓普网盘股份有限公司 | Updating a local tree for client synchronization services |
Non-Patent Citations (1)
| Title |
|---|
| 胡昌平,查梦娟: "科研人员学术信息资源云存储服务应用安全障碍分析与对策", 情报理论与实践, vol. 43, no. 1, 25 February 2020 (2020-02-25) * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4255373B2 (en) | Management and synchronization application for network file systems | |
| US20070276848A1 (en) | Apparatus and method for managing data | |
| CN108470040B (en) | A storage method and device for unstructured data | |
| JP2017504924A (en) | Content-based organization of the file system | |
| CN111045860B (en) | Improved conflict resolution within synchronized composite part-based digital assets | |
| US20090254585A1 (en) | Method for Associating Administrative Policies with User-Definable Groups of Files | |
| CN114625696B (en) | File recovery method and device, electronic equipment and storage medium | |
| KR20060112177A (en) | System and method for managing data using static lists | |
| CN111104377A (en) | File management method, electronic device and computer-readable storage medium | |
| CN113590543A (en) | Method, apparatus and computer program product for information processing | |
| JP2005302038A (en) | Method and system for renaming consecutive key in b-tree | |
| US12001481B2 (en) | Graph-organized file system | |
| US7769719B2 (en) | File system dump/restore by node numbering | |
| CN116737659A (en) | File system metadata management method, terminal equipment and computer storage media | |
| CN113342741B (en) | Snapshot implementation method and device, electronic equipment and computer readable storage medium | |
| EP4508548A1 (en) | Implementing graph search with in-structure metadata of a graph-organized file system | |
| US20070156778A1 (en) | File indexer | |
| US9367573B1 (en) | Methods and apparatus for archiving system having enhanced processing efficiency | |
| US9361210B2 (en) | Capturing domain validations and domain element initializations | |
| CN114416657A (en) | File management method, device, terminal and storage medium | |
| WO2014187216A1 (en) | Method and device for database structure object processing | |
| CN113282551B (en) | Data processing method, system and equipment | |
| US12499089B2 (en) | Directory tree delete as a supported file system operation | |
| CN111949309A (en) | Method and device for pulling IDL file, computer equipment and storage medium | |
| CN114564449B (en) | Data query method, device, equipment and storage 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 |
