CN111767263B - Working platform file storage method and system - Google Patents

Working platform file storage method and system Download PDF

Info

Publication number
CN111767263B
CN111767263B CN202010633824.8A CN202010633824A CN111767263B CN 111767263 B CN111767263 B CN 111767263B CN 202010633824 A CN202010633824 A CN 202010633824A CN 111767263 B CN111767263 B CN 111767263B
Authority
CN
China
Prior art keywords
file
target file
cluster
target
files
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010633824.8A
Other languages
Chinese (zh)
Other versions
CN111767263A (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.)
Wuhan Hollow Technology Co ltd
Original Assignee
Wuhan Hollow 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 Wuhan Hollow Technology Co ltd filed Critical Wuhan Hollow Technology Co ltd
Priority to CN202010633824.8A priority Critical patent/CN111767263B/en
Publication of CN111767263A publication Critical patent/CN111767263A/en
Application granted granted Critical
Publication of CN111767263B publication Critical patent/CN111767263B/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/18File system types
    • G06F16/182Distributed file systems
    • G06F16/184Distributed file systems implemented as replicated file system

Abstract

The invention discloses a working platform file storage method and a working platform file storage system, wherein the working platform file storage method comprises the steps of establishing a copy folder on a cloud server; receiving a storage request of a target file, analyzing the attribute of the target file, and confirming the level of the target file; storing the target file in a folder with a corresponding grade according to the grade of the target file, copying the target file at the same time, and pasting the target file to a copy folder; and sorting the files in the copy folder, and associating the target file with a superior file cluster and an inferior file cluster corresponding to the target file. Therefore, files can be integrated by using the copy folder on the basis of ensuring the ordered storage of the files, the files do not need to be searched step by step when being searched, and the files can be conveniently searched by means of association setting.

Description

Working platform file storage method and system
Technical Field
The invention relates to the field of computers, in particular to a working platform file storage method and a working platform file storage system.
Background
The network working platform is a product generated by the development of the internet technology, and is an internet platform for providing various work management related services in a crowdsourcing mode. The packet sender issues work task requirements to a work platform, the platform decomposes the tasks, searches matched packet receivers from a platform talent library according to the skill requirements of each subtask, and distributes the subtasks to the proper packet receivers; the packet receiving party starts working after receiving the assigned subtasks, and submits working results to the platform after the subtasks are completed; and the packet sender and the packet receiver receive the task delivery result and examine the task delivery result. When the package sending party issues the task, the task cost is managed on the platform, and after the task is delivered and checked, the platform and the package receiving party settle accounts.
At present, a storage method for files of a working platform is similar to a method for storing files of a hard disk, in order to achieve classification and induction, a general project is firstly established on a cloud server, sub-projects are established on the basis of the general project, then more detailed sub-projects are further established on the basis of the sub-projects, and files of different levels are stored under the projects of different levels, so that the files can be stored well and orderly, but the files need to be searched step by step when being looked up, and the file query efficiency is low.
Disclosure of Invention
The invention aims to provide a method and a system for storing a working platform file, which aim to solve the problems.
In order to achieve the purpose, the invention provides the following technical scheme:
a working platform file storage method comprises the following steps:
establishing a copy folder on a cloud server;
receiving a storage request of a target file, analyzing the attribute of the target file, and confirming the level of the target file;
storing the target file in a folder with a corresponding grade according to the grade of the target file, copying the target file at the same time, and pasting the target file to a copy folder;
the files in the duplicate folders are sorted, and the target files are associated with an upper file cluster and a lower file cluster corresponding to the target files, wherein the upper file cluster is formed by a plurality of files at the upper level of the target files, and the lower file cluster is formed by a plurality of files at the lower level of the target files.
In a further aspect: the sorting the files in the copy folder and associating the target file with the corresponding upper-level file cluster and lower-level file cluster comprises:
determining a superior file cluster and a subordinate file cluster corresponding to the target file according to the attribute of the target file;
when the target file exists in both the upper file cluster and the lower file cluster, the target file is stored in the storage space where the corresponding upper file cluster is located, when the target file only exists in the upper file cluster, the target file is stored in the storage space where the upper file cluster is located, and when the target file only exists in the lower file cluster, the target file is stored in the storage space where the lower file cluster is located.
In a further aspect: in the storage mode, files of the copy folder below a preset level are set to be in a hidden state, and in the reference mode, files of the copy folder below the preset level are restored to be in a visible state.
In a further aspect: the preset series is an integer greater than or equal to one.
A work platform file storage system comprising:
the creating module is used for creating a copy folder on the cloud server;
the rating module is used for receiving a storage request of a target file, analyzing the attribute of the target file and confirming the grade of the target file;
the backup module is used for storing the target file in a folder with a corresponding grade according to the grade of the target file, copying the target file at the same time and pasting the target file to a copy folder;
and the sorting module is used for sorting the files in the copy folder and associating the target file with a superior file cluster and a subordinate file cluster corresponding to the target file, wherein the superior file cluster is a cluster formed by a plurality of files at the superior level of the target file, and the subordinate file cluster is a cluster formed by a plurality of files at the subordinate level of the target file.
In a further aspect: the collation module includes:
the confirming unit is used for confirming a superior file cluster and a subordinate file cluster corresponding to the target file according to the attribute of the target file;
and the association unit is used for storing the target file in a storage space where the corresponding upper file cluster is located when the target file exists in both the upper file cluster and the lower file cluster, storing the target file in the storage space where the upper file cluster is located when the target file only exists in the upper file cluster, and storing the target file in the storage space where the lower file cluster is located when the target file only exists in the lower file cluster.
In a further aspect: the system further comprises:
and the hiding module is used for setting the files of the copy folder below a preset level number to be in a hidden state in a storage mode, and restoring the files of the copy folder below the preset level number to be in a visible state in a reference mode, wherein the preset level number is an integer greater than or equal to one.
Compared with the prior art, the invention has the following beneficial effects:
according to the invention, a copy folder is established on a cloud server; receiving a storage request of a target file, analyzing the attribute of the target file, and confirming the level of the target file; storing the target file in a folder with a corresponding grade according to the grade of the target file, copying the target file at the same time, and pasting the target file to a copy folder; and sorting the files in the copy folder, and associating the target file with a corresponding upper-level file cluster and a corresponding lower-level file cluster. Therefore, files can be integrated by using the copy folder on the basis of ensuring the ordered storage of the files, the files do not need to be searched step by step when being searched, and the files can be conveniently searched by means of association setting.
Drawings
Fig. 1 is a schematic flow chart of a work platform file storage method.
Fig. 2 is a schematic structural diagram of a file storage method for a working platform.
Detailed Description
The examples are given only for illustrating the present invention and are not intended to limit the scope of the present invention. Any obvious modifications or variations can be made to the present invention without departing from the spirit or scope of the present invention.
Example 1
Referring to fig. 1, in an embodiment of the present invention, a method for storing a work platform file includes the following steps:
and S10, establishing a copy folder on the cloud server.
S20, receiving a storage request of a target file, analyzing the attribute of the target file, and confirming the level of the target file.
For example, upon receiving a storage request for a file a, the attribute of the file a is analyzed to confirm the level of the file a, which is present with respect to the already stored files, and assuming that there are an upper file-file B and a lower file-file C of the file a, the file a belongs to the lower file for the file B and the file a belongs to the upper file for the file C.
And S30, storing the target file in a folder of a corresponding grade according to the grade of the target file, copying the target file at the same time, and pasting the target file to a copy folder.
The first half of the step is similar to the conventional storage method in that the target file is stored in the folder at the corresponding level according to the level of the target file, and details are not repeated here.
S40, sorting the files in the copy folder, and associating the target file with a higher file cluster and a lower file cluster corresponding to the target file, where the higher file cluster is a cluster formed by a plurality of files on a higher level of the target file, and the lower file cluster is a cluster formed by a plurality of files on a lower level of the target file.
In the step of sorting the files in the copy folder and associating the target file with the corresponding upper-level file cluster and lower-level file cluster, detailed description is performed in this embodiment, which is specifically as follows:
s401, determining a superior file cluster and an inferior file cluster corresponding to the target file according to the attribute of the target file;
s402, when the target file exists in the upper file cluster and the lower file cluster at the same time, storing the target file in the storage space of the corresponding upper file cluster, when the target file only exists in the upper file cluster, storing the target file in the storage space of the upper file cluster, and when the target file only exists in the lower file cluster, storing the target file in the storage space of the lower file cluster.
By the mode, the self attribute of the target file can be fully utilized, so that the stored target file is more in accordance with the logic requirement, and the target file is more convenient to search.
Further, the method in this embodiment further includes:
and S50, in the storage mode, setting the files of the copy folder below a preset level as a hidden state, and in the reference mode, restoring the files of the copy folder below the preset level to a visible state, so that the content of the copy folder in a normal state is more concise.
The preset series is an integer greater than or equal to one.
Example 2
Referring to fig. 2, in an embodiment of the present invention, a working platform file storage system is designed based on the method described in embodiment 1, and specifically, the system includes:
the creating module is used for creating a copy folder on the cloud server;
the system comprises a rating module, a storage module and a display module, wherein the rating module is used for receiving a storage request of a target file, analyzing the attribute of the target file and confirming the grade of the target file;
the backup module is used for storing the target file in a folder with a corresponding grade according to the grade of the target file, copying the target file at the same time and pasting the target file to a copy folder;
and the sorting module is used for sorting the files in the copy folder and associating the target file with a superior file cluster and a subordinate file cluster corresponding to the target file, wherein the superior file cluster is a cluster formed by a plurality of files at the superior level of the target file, and the subordinate file cluster is a cluster formed by a plurality of files at the subordinate level of the target file.
Further, the sorting module comprises:
the confirming unit is used for confirming a superior file cluster and a subordinate file cluster corresponding to the target file according to the attribute of the target file;
and the association unit is used for storing the target file in a storage space where the corresponding upper file cluster is located when the target file exists in both the upper file cluster and the lower file cluster, storing the target file in the storage space where the upper file cluster is located when the target file only exists in the upper file cluster, and storing the target file in the storage space where the lower file cluster is located when the target file only exists in the lower file cluster.
Further, the system further comprises:
and the hiding module is used for setting the files of the copy folder below a preset level number to be in a hidden state in a storage mode, and restoring the files of the copy folder below the preset level number to be in a visible state in a reference mode, wherein the preset level number is an integer greater than or equal to one.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (3)

1. A working platform file storage method is characterized by comprising the following steps:
establishing a copy folder on a cloud server;
receiving a storage request of a target file, analyzing the attribute of the target file, and confirming the level of the target file;
storing the target file in a folder with a corresponding grade according to the grade of the target file, copying the target file at the same time, and pasting the target file to a copy folder;
sorting files in a copy folder, and associating the target file with a higher-level file cluster and a lower-level file cluster corresponding to the target file, wherein the higher-level file cluster is formed by a plurality of files at the upper level of the target file, and the lower-level file cluster is formed by a plurality of files at the lower level of the target file; the sorting the files in the copy folder and associating the target file with the corresponding superior file cluster and the inferior file cluster comprises:
determining a superior file cluster and a subordinate file cluster corresponding to the target file according to the attribute of the target file;
when the target file exists in both the upper file cluster and the lower file cluster, the target file is stored in the storage space where the corresponding upper file cluster is located, when the target file only exists in the upper file cluster, the target file is stored in the storage space where the upper file cluster is located, and when the target file only exists in the lower file cluster, the target file is stored in the storage space where the lower file cluster is located.
2. The work platform file storage method according to claim 1, further comprising:
in the storage mode, files of the copy folder below a preset level are set to be in a hidden state, and in the reference mode, files of the copy folder below the preset level are restored to be in a visible state; the preset series is an integer greater than or equal to one.
3. A work platform file storage system, comprising:
the creating module is used for creating a copy folder on the cloud server;
the rating module is used for receiving a storage request of a target file, analyzing the attribute of the target file and confirming the grade of the target file;
the backup module is used for storing the target file in a folder with a corresponding grade according to the grade of the target file, copying the target file at the same time and pasting the target file to a copy folder;
the sorting module is used for sorting the files in the copy folder and associating the target file with a superior file cluster and a subordinate file cluster corresponding to the target file, wherein the superior file cluster is a cluster formed by a plurality of files at the superior level of the target file, and the subordinate file cluster is a cluster formed by a plurality of files at the subordinate level of the target file; the arrangement module comprises:
the confirming unit is used for confirming a superior file cluster and a subordinate file cluster corresponding to the target file according to the attribute of the target file;
the association unit is used for storing the target file in a storage space where the corresponding upper file cluster is located when the target file exists in both the upper file cluster and the lower file cluster, storing the target file in the storage space where the upper file cluster is located when the target file only exists in the upper file cluster, and storing the target file in the storage space where the lower file cluster is located when the target file only exists in the lower file cluster;
and the hiding module is used for setting the files of the copy folder below a preset level number to be in a hidden state in a storage mode, and restoring the files of the copy folder below the preset level number to be in a visible state in a reference mode, wherein the preset level number is an integer greater than or equal to one.
CN202010633824.8A 2020-07-04 2020-07-04 Working platform file storage method and system Active CN111767263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010633824.8A CN111767263B (en) 2020-07-04 2020-07-04 Working platform file storage method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010633824.8A CN111767263B (en) 2020-07-04 2020-07-04 Working platform file storage method and system

Publications (2)

Publication Number Publication Date
CN111767263A CN111767263A (en) 2020-10-13
CN111767263B true CN111767263B (en) 2022-08-30

Family

ID=72723610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010633824.8A Active CN111767263B (en) 2020-07-04 2020-07-04 Working platform file storage method and system

Country Status (1)

Country Link
CN (1) CN111767263B (en)

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7685126B2 (en) * 2001-08-03 2010-03-23 Isilon Systems, Inc. System and methods for providing a distributed file system utilizing metadata to track information about data stored throughout the system
US20050010616A1 (en) * 2003-07-09 2005-01-13 Burks David P. System and method for restoring files
JP4730715B2 (en) * 2009-03-27 2011-07-20 富士ゼロックス株式会社 Information processing apparatus, electronic file management apparatus, electronic file management system, and electronic file management program
JP5749486B2 (en) * 2010-12-17 2015-07-15 任天堂株式会社 Program, information processing apparatus, information processing system, and information processing method
CN102932550A (en) * 2012-10-26 2013-02-13 合肥移瑞通信技术有限公司 Method and system for backing up short messages on mobile phone to an SD card
CN103077214B (en) * 2012-12-28 2016-08-24 华为技术有限公司 File memory method and device
CN103235792A (en) * 2013-03-29 2013-08-07 东莞宇龙通信科技有限公司 Method and device for operating file
CN103177112B (en) * 2013-04-02 2017-06-30 浪潮电子信息产业股份有限公司 A kind of backup browsing file system
CN105338073A (en) * 2015-10-20 2016-02-17 浪潮集团有限公司 File directory processing method, server and system
CN106202325A (en) * 2016-07-01 2016-12-07 北京金山安全软件有限公司 File processing method and device based on social software and mobile terminal
CN106302135A (en) * 2016-10-14 2017-01-04 深圳市金立通信设备有限公司 The method of a kind of mail arrangement and terminal
US10642878B2 (en) * 2017-01-06 2020-05-05 Oracle International Corporation File system hierarchies and functionality with cloud object storage
CN107944010B (en) * 2017-12-08 2020-11-17 新浪网技术(中国)有限公司 Method and device for reading and writing files in distributed file system
CN111049891A (en) * 2019-12-05 2020-04-21 浩云科技股份有限公司 Method for uploading and downloading cascade files in centralized storage

Also Published As

Publication number Publication date
CN111767263A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
CN103379129B (en) A kind of method of data synchronization, server and distributed system
CN102932415B (en) Method and device for storing mirror image document
CN107464151B (en) Order data processing method and device for high-concurrency service
CN106997557B (en) Order information acquisition method and device
CN105530272A (en) Method and device for application data synchronization
CN105045917A (en) Example-based distributed data recovery method and device
CN106202524A (en) Data base and point meter apparatus and method
CN110188100A (en) Data processing method, device and computer storage medium
CN103246653A (en) Data processing method and device
CN106649602A (en) Way, device and server of processing business object data
CN106055706A (en) Cache resource storage method and device
US20210034574A1 (en) Systems and methods for verifying performance of a modification request in a database system
US8463799B2 (en) System and method for consolidating search engine results
CN104461736B (en) Resource allocation and searching method, resource allocation and search system and Cloud Server
CN111767263B (en) Working platform file storage method and system
CN106095511A (en) A kind of server updating method and apparatus
US9280387B2 (en) Systems and methods for assigning code lines to clusters with storage and other constraints
CN105243078A (en) File resource distribution method, system and apparatus
CN105512223A (en) User data statistical method and system
CN108810143A (en) A kind of method, system and device of client load equilibrium mount virtual IP
CN112035760B (en) Task allocation method and computer equipment
CN114329369A (en) Authority management method and device, electronic equipment and computer readable medium
CN109525649B (en) Data processing method and device for zookeeper client
CN113704251A (en) Method and device for layout of home page of distributed storage database all-in-one machine
CN114117192A (en) Object query method, device, server 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
GR01 Patent grant
GR01 Patent grant