CN116756100A - File management method, management device, equipment and medium - Google Patents

File management method, management device, equipment and medium Download PDF

Info

Publication number
CN116756100A
CN116756100A CN202310664051.3A CN202310664051A CN116756100A CN 116756100 A CN116756100 A CN 116756100A CN 202310664051 A CN202310664051 A CN 202310664051A CN 116756100 A CN116756100 A CN 116756100A
Authority
CN
China
Prior art keywords
file
management
user
url link
cloud storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310664051.3A
Other languages
Chinese (zh)
Inventor
方启龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yici Netlink Hangzhou Technology Co ltd
Original Assignee
Yici Netlink Hangzhou 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 Yici Netlink Hangzhou Technology Co ltd filed Critical Yici Netlink Hangzhou Technology Co ltd
Priority to CN202310664051.3A priority Critical patent/CN116756100A/en
Publication of CN116756100A publication Critical patent/CN116756100A/en
Pending legal-status Critical Current

Links

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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (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 application discloses a file management method, a management device, equipment and a medium, which relate to file management technology of data storage equipment, wherein the management method comprises the steps of responding to an operation instruction of a user on a file, generating a URL link corresponding to the file in cloud storage equipment and simultaneously recording metadata of the file; in the file management interface, the URL link is displayed as a management object for replacing the file; the files are stored in different readable storage media. According to the method, the file data on a plurality of different readable storage media are aggregated into the cloud storage device, the integrity and the reliability of the file data can be kept in a file link mode, and meanwhile, the access speed and the response speed of the file are ensured; memory space is also saved.

Description

File management method, management device, equipment and medium
Technical Field
The present application relates to the field of file management technologies of data storage devices, and in particular, to a file management method, a management apparatus, a device, and a medium.
Background
In the digital age, the need for data storage has increased. Conventional storage methods, such as storage devices including hard disks and U-disks, have some limitations, although they meet the data storage requirements to some extent. These limitations include storage space limitations, vulnerability and susceptibility to loss. Compared with the traditional storage mode, the cloud storage service is a network-based storage mode. The method can realize the functions of infinite expansion, backup, synchronization and the like of the data, and has the advantages of high reliability, high safety and the like. Thus, more and more people begin to select cloud storage as their preferred storage.
However, to upload file data on different media devices to the cloud, it is necessary to manage files on each device separately. This requires that the local device first aggregate files and then upload the aggregated files to the cloud. This process is very cumbersome, takes up time and takes up a lot of memory space.
There are some cloud storage services, such as Dropbox, google Drive, and hundred degree cloud disk, which provide file synchronization and backup functions. The user can upload the file to the cloud end, and then access and download the file from other devices, so that the file synchronization across the devices is realized. However, this approach requires that the file data on each device be uploaded to the cloud, which is time and traffic consuming and also creates a waste of storage space.
In addition, some mobile device management tools, such as iTunes and phone assistants, provide functionality to back up phone data to a PC. However, this backup approach still requires full backup of data on the handset to the PC and does not support synchronization and backup across devices.
In summary, the disadvantages of the prior art in managing personal file data include the following:
1) The storage space is insufficient: the limited storage space available for various devices by individuals limits the number and size of files stored.
2) File sharing is inconvenient: files are stored on different devices and need to be shared through transmission or copying, and problems of version confusion or loss are prone to occur.
3) The management is inconvenient: files of different devices need to be classified and managed, but lack a unified way of management and querying.
Therefore, a more efficient method is needed to aggregate files on different media devices into a personal cloud storage service, simplify the file management process, improve the efficiency, and save the use of storage space.
Disclosure of Invention
The present application aims to solve one of the technical problems in the related art to a certain extent. Therefore, the application provides a file management method, a management device, equipment and a medium, which have the advantages of saving storage space and convenient management and inquiry.
In order to achieve the above object, the first aspect of the present application adopts the following technical scheme:
a file management method comprising: responding to an operation instruction of a user on the file, creating a copy of the file in the cloud storage equipment and simultaneously recording metadata of the file;
in the file management interface, the copy is displayed as a management object in place of the file.
The present application further preferably further comprises: responding to an operation instruction of a user on the file, creating a copy of the file in the cloud storage equipment and simultaneously recording metadata of the file;
in the file management interface, the copy is displayed as a management object in place of the file.
Compared with the existing cloud storage equipment, when the files in different media are managed, all the files need to be backed up with the cloud storage equipment, and a lot of storage space is occupied; according to the scheme, the URL link corresponding to the file is created in the cloud storage device and is displayed as the management object for replacing the file, so that the storage space of the cloud storage device can be greatly saved, and particularly for video files with larger file volumes, files on all media of a user can be uniformly managed through one cloud storage device, and the user data management cost is saved.
The present application further preferably further comprises: responding to an operation instruction of a user on the management object, and executing corresponding management operation on the copy and the URL link;
the management operation includes at least one of reading, editing, modifying, viewing, renaming, moving, deleting, pruning, copying, pasting, sharing, downloading, compressing, ordering, or searching.
The present application further preferably further comprises: and adding a plurality of labels to the management object according to the metadata and preset rules.
The present application further preferably further comprises: in response to a user operation, a new tag is created and added for the management object.
The present application further preferably further includes, before the step of generating a URL link corresponding to the file in the cloud storage device and simultaneously recording metadata of the file: judging the source of the file;
when the file is from web, responding to the operation instruction of the user on the file on the web, acquiring the URL link of the file by executing the following steps:
acquiring an HTML source code of a resource page where a file is located;
analyzing the HTML source code;
and acquiring the URL link of the file on the resource page.
It is further preferable that when the file originates from the web, metadata of the file is acquired through extraction of URL links of the acquired file in response to an operation instruction of the user on the file on the web.
It is further preferred that the different readable storage medium comprises a hard disk drive, a solid state drive, a removable storage medium, an optical disc.
In addition, the application also provides a file management device, which comprises:
the receiving unit is used for receiving an operation instruction sent by a user through the interaction equipment;
a storage unit for storing URL link data corresponding to the file and metadata data recording the file; the method comprises the steps of,
and the sending unit is used for sending the data of the management object to the interactive equipment of the user so as to be displayed in the file management interface.
The file management device provided by the application is similar to the beneficial effect reasoning process of the file management method, and is not repeated here.
The application also provides a computer device, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the file management method when executing the computer program.
Meanwhile, the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the file management method of any one of the above.
These features and advantages of the present application will be disclosed in more detail in the following detailed description and the accompanying drawings. The best mode or means of the present application will be described in detail with reference to the accompanying drawings, but is not limited to the technical scheme of the present application. In addition, these features, elements, and components are shown in plural in each of the following and drawings, and are labeled with different symbols or numerals for convenience of description, but each denote a component of the same or similar construction or function.
Drawings
The application is further described below with reference to the accompanying drawings:
FIG. 1 is a schematic diagram of URL link creation and access of files in a cloud storage device according to the present application.
Fig. 2 is a schematic diagram of update management of URL links of files in a cloud storage device according to the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The examples in the embodiments are intended to illustrate the present application and are not to be construed as limiting the present application.
Reference in the specification to "one embodiment" or "an example" means that a particular feature, structure, or characteristic described in connection with the embodiment itself can be included in at least one embodiment of the present patent disclosure. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment.
Referring to fig. 1 and 2, an embodiment of the present application provides a file management method, which manages files stored on different readable storage media by means of a cloud storage device.
The cloud storage device herein may be a private cloud storage device, a public cloud storage device, or a hybrid cloud storage device. The selection is carried out according to the actual situation, and the selection is not limited.
The readable storage medium includes, but is not limited to, a hard disk drive, a solid state drive, a removable storage medium, an optical disk, and the like, which are independent data storage media, such as a usb disk, a removable hard disk, or a data storage medium disposed in a device, such as a data storage card on a cellular phone or a digital camera, and a hard disk drive in a web server.
The files herein include, without limitation, various types of documents, pictures, videos, executable files, installation files, and many common source files, scripts, engineering files, auxiliary files, and the like.
Before managing files on different readable storage media, a connection is first established between the readable storage media and the cloud storage device, so that the files to be managed or related information about the files can be transmitted. Data interfaces such as an Ethernet interface, a USB interface, a SATA interface, a fiber channel interface, a Thunderbolt interface and the like are arranged on the cloud storage device. For different cloud storage devices and different readable storage media, the connection mode between the different cloud storage devices and the different readable storage media may be selected according to practical situations. For example, the USB flash disk is directly inserted into an interface of the private cloud storage device; or connecting the USB flash disk or the mobile hard disk with the personal PC, and then connecting the personal PC with the private cloud storage device through the local area network or establishing connection with the public cloud storage device through the Internet.
After connection is established, a user can issue an operation instruction through the interactive equipment or the window, and all files to be managed are uploaded to the cloud storage equipment so as to uniformly manage the files later; the user can set corresponding execution modes in advance for different connection types or connection rules to operate, for example, a designated U disk is inserted, and all files on the U disk are directly backed up (or URL links are generated for videos), so that the method has the advantages that the execution modes are simply and conveniently set in advance, and the operation on interactive equipment or windows is not needed after connection.
When aggregating files from different readable storage media on a cloud storage device, a user may optionally create copies for the files or generate URL links for the files on the cloud storage device to replace the files according to actual needs. For example, for files with smaller file volumes, such as documents, photos, etc., the user may choose to create a copy for the file; for a file with larger volume such as a video, a user can select a generated URL link to replace the file, and a specific operation instruction is selected by the user without limitation.
It should be noted that, the interactive device of the user may be a personal computer, such as a PC or a notebook computer, or may be a personal mobile terminal, such as a mobile phone, a tablet, a smart watch, or other devices with interactive functions and a visual display interface.
In addition to the visual display interface described above, the interactive device may also have the functionality of data storage or the ability to connect to other readable storage media or devices with readable storage media via an extensible interface.
The interactive device and the cloud storage device can be connected in a wireless manner through local area network establishment, internet, bluetooth, cellular network and the like, and can also be connected in a wired manner through data lines, network cables and the like. The specific situation is selected according to the type of the equipment and the data transmission requirement, and is not limited.
In addition, the interactive device may be a single device as described above, or may be a touch screen integrated on a private cloud storage device, where the touch screen provides a file management interface for a user to interactively operate. The private cloud storage device can directly access resources on the web by deploying the virtual machine, namely the private cloud storage device is also an interactive device.
In response to an operation instruction of a user on a file, creating a copy of the file in the cloud storage device and simultaneously recording metadata of the file, or generating a URL link corresponding to the file in the cloud storage device and simultaneously recording metadata of the file. Metadata here includes, but is not limited to, name, type, size, creation time, modification time, upload time, file digest and tag, device origin, and the like.
In a file management interface displayed on the interactive apparatus, the copy and the URL link are displayed together as management objects in place of the file, so that the user performs management operations. Specifically, the copy is displayed in the same icon as the file, and the URL link is displayed in the form of a file shortcut.
The user can select a copy or a URL link in the file management interface displayed on the interactive device to issue an operation instruction, and the cloud storage device responds to the operation instruction of the user on the management object to execute corresponding management operation on the copy and the URL link.
The management operation includes at least one of reading, editing, modifying, viewing, renaming, moving, deleting, pruning, copying, pasting, sharing, downloading, compressing, ordering, or searching.
For the copy of the file, the management operation can be executed; for URL linking of a file, when executing the management operation, it is required to determine whether a storage medium storing the file is in a connection state with the cloud storage device, if the storage medium and the cloud storage device are in a connection state, all the management operations can be implemented, and if the storage medium and the cloud storage device are in a non-connection state, only part of the management operations can be implemented.
It should be noted that, in the connected state, the validity of the URL link of the file is detected before the URL link of the file is managed, if the URL link is changed, the URL link needs to be redirected, and if the URL link is not changed, the file is accessed according to the URL link, and the specific workflow is shown in fig. 2.
In order to facilitate unified management of all files, adding a plurality of labels to a management object according to metadata of the files and preset rules; alternatively, in response to a user operation, a new tag is created and added for the management object. It should be noted that in the prior art of file tag management, the difference in this scheme is that URL links and copies of files can be managed as management objects at the same time, and tags are added for management.
Therefore, a user can label each file, and the files can be conveniently searched and screened. When a user needs to access a file, the user only needs to search the cloud storage device for a corresponding file link or label and access the file through the file link. The cloud storage device searches the device where the file is located according to the file link, and can transmit the file to the device of the user.
In some exemplary embodiments, the file originates from a web page, which is stored in a storage device of the web server, and the user connects the web server and the cloud storage device simultaneously through a PC or a mobile phone and issues an operation of gathering the file on the web server to the cloud storage device. At this time, before the step of generating the URL link corresponding to the file in the cloud storage device and simultaneously recording the metadata of the file, it further includes: judging the source of the file;
when the file is from web, responding to the operation instruction of the user on the file on the web, acquiring the URL link of the file by executing the following steps:
and determining the target website and the file resource page to be extracted. Knowledge of the web page structure and URL rules of the web site is required, and the URL format of the video page that needs to be automatically extracted is determined. The web page structure and the URL rules of the web site can be analyzed and acquired in advance, and the web page structure and the URL rules of different web sites are different. The method is mainly aimed at videos disclosed on the Internet, so that a user can conveniently manage personal resources (files), and a large amount of storage space can be saved.
And acquiring the HTML source code of the resource page where the file is located, writing an automatic extraction program by using Python, and acquiring the HTML source code of the target video page by using a Requests library or other network libraries.
The HTML source code is parsed. Specifically, the HTML source code may be parsed using a beautfulso library or other HTML parsing library.
And acquiring the URL link of the file on the resource page. In the parsed HTML source code, a regular or XPath expression may be written to locate the video link based on characteristics of the video link, such as specific characters in the URL, the location of the video link, etc.
To increase speed, techniques such as multithreading or asynchronous IO may be used to increase crawling speed.
At the same time, metadata of the file on the web is acquired through extraction of the URL link of the acquired file.
Obtaining HTML source code for the target web page, for example, using a Requests library or other web library; analyzing the HTML source code by using a BeautiffulSoup library or other HTML analysis library to find file links needing to acquire metadata; for common file types such as pictures, audio, video, etc., a relational library or tool may be used to extract metadata. For example, for a picture file, a library such as Pillow, exifRead may be used to extract metadata; and finally, writing the extracted metadata into an output file (CSV file or JSON file) and storing the extracted metadata on cloud storage equipment.
According to the embodiment, the file data on a plurality of different readable storage media are aggregated into the cloud storage device, and for the file link mode, the integrity and the reliability of the file data can be kept, and meanwhile, the access speed and the response speed of the file are ensured.
And meanwhile, the label system is used for efficiently managing the files. The tagging system is capable of automatically adding multiple tags to a file, thereby enabling the file to be quickly and accurately retrieved and categorized. The label system has the characteristics of easy use, high efficiency, flexibility and the like.
In addition, the management mode of file link can support the management of file data on a plurality of different (readable) storage media, including USB flash disk, hard disk, PC, mobile phone and other devices. Cross-device management needs to solve the problem of collaboration between different devices, ensuring that file data can be freely transferred and synchronized between different devices (storage media).
The application realizes efficient file management and access in a file link management mode, can quickly and accurately search and sort files, and ensures the access speed and response speed of the files. Meanwhile, there is a demand for reducing waste of storage space and maximally utilizing storage resources.
The embodiment also provides a file management device, which comprises a receiving unit, a storage unit and a sending unit. The receiving unit is used for receiving an operation instruction sent by a user through the interaction equipment; a storage unit for storing URL link data corresponding to the file and metadata data recording the file; and the sending unit is used for sending the data of the management object to the interactive equipment of the user so as to display and operate in the file management interface.
Meanwhile, the embodiment also provides a computer device, which comprises a memory and a processor, wherein the memory stores a computer program, and the computer program when executed by the processor causes the processor to execute the steps of the file management method. The steps of the file management method may be the steps in the memory analysis method of each of the above embodiments.
The present embodiment also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the file management method described above.
Those skilled in the art will appreciate that implementing all or part of the processes in the methods of the embodiments described above may be accomplished by computer programs to instruct related hardware. Accordingly, the computer program may be stored in a non-volatile computer readable storage medium, which when executed, performs the method of any of the above embodiments. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The above is only a specific embodiment of the present application, but the scope of the present application is not limited thereto, and it should be understood by those skilled in the art that the present application includes but is not limited to the accompanying drawings and the description of the above specific embodiment. Any modifications which do not depart from the functional and structural principles of the present application are intended to be included within the scope of the appended claims.

Claims (10)

1. A method of file management comprising:
responding to an operation instruction of a user on a file, generating a URL link corresponding to the file in cloud storage equipment and simultaneously recording metadata of the file;
in the file management interface, the URL link is displayed as a management object for replacing the file;
the files are stored in different readable storage media.
2. The file management method according to claim 1, further comprising:
responding to an operation instruction of a user on the file, creating a copy of the file in the cloud storage equipment and simultaneously recording metadata of the file;
in the file management interface, the copy is displayed as a management object in place of the file.
3. The file management method according to claim 2, further comprising:
responding to an operation instruction of a user on the management object, and executing corresponding management operation on the copy and the URL link;
the management operation includes at least one of reading, editing, modifying, viewing, renaming, moving, deleting, pruning, copying, pasting, sharing, downloading, compressing, ordering, or searching.
4. A file management method according to any one of claims 1 to 3, further comprising:
adding a plurality of labels to the management object according to metadata and preset rules; or,
in response to a user operation, a new tag is created and added for the management object.
5. The file management method according to claim 1, further comprising, before the step of generating a URL link corresponding to the file in the cloud storage device while recording metadata of the file: judging the source of the file;
when the file is from web, responding to the operation instruction of the user on the file on the web, acquiring the URL link of the file by executing the following steps:
acquiring an HTML source code of a resource page where a file is located;
analyzing the HTML source code;
and acquiring the URL link of the file on the resource page.
6. The file management method according to claim 5, wherein when the file is derived from the web, metadata of the file is acquired by extracting URL links of the acquired file in response to an operation instruction of the file on the web by a user.
7. The file management method according to claim 1, wherein said different readable storage medium comprises a hard disk drive, a solid state drive, a removable storage medium, or an optical disk.
8. A document management apparatus, comprising:
the receiving unit is used for receiving an operation instruction sent by a user through the interaction equipment;
a storage unit for storing URL link data corresponding to the file and metadata data recording the file; the method comprises the steps of,
and the sending unit is used for sending the data of the management object to the interactive equipment of the user so as to display and operate in the file management interface.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the file management method of any of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the file management method of any of claims 1 to 7.
CN202310664051.3A 2023-06-06 2023-06-06 File management method, management device, equipment and medium Pending CN116756100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310664051.3A CN116756100A (en) 2023-06-06 2023-06-06 File management method, management device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310664051.3A CN116756100A (en) 2023-06-06 2023-06-06 File management method, management device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116756100A true CN116756100A (en) 2023-09-15

Family

ID=87955765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310664051.3A Pending CN116756100A (en) 2023-06-06 2023-06-06 File management method, management device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116756100A (en)

Similar Documents

Publication Publication Date Title
US11741057B2 (en) Unified data object management system and the method
US10803016B2 (en) Predictive models of file access patterns by application and file type
US20210185122A1 (en) Synchronized content library
CA2894649C (en) Systems and methods for automatic synchronization of recently modified data
CN102184177A (en) Method and system for previewing file
US11847204B2 (en) Systems and methods for cloud-based management of digital forensic evidence
CN104160397A (en) Location independent files
US20130325932A1 (en) Electronic device and method for storing distributed documents
US12099886B2 (en) Techniques for performing clipboard-to-file paste operations
CN105160018A (en) Method, device and system for image copy/paste
CN102945277A (en) Image file retrieval method and image file retrieval device
US20160149991A1 (en) Bulk upload of collaborative documents to an online document management system
KR101659147B1 (en) Information processing apparatus, and control method therefor
CN103870482B (en) Search system and method
US20160147788A1 (en) Pre-synchronization analysis between local documents and an online document management system
JP6131648B2 (en) DATA MANAGEMENT SYSTEM, INFORMATION SYSTEM, DATA MANAGEMENT METHOD, INFORMATION SYSTEM CONTROL METHOD, PROGRAM FOR THE METHOD, AND RECORDING MEDIUM CONTAINING THE PROGRAM
CN116756100A (en) File management method, management device, equipment and medium
EP2819028A2 (en) Content management system
KR101471522B1 (en) System for providing personal information based on generation and consumption of content
CN112905164B (en) Project code processing method and device
EP2336911A1 (en) Efficient change tracking of transcoded copies
CN104978339A (en) File processing method and equipment, and network system
CN111522780B (en) Method and terminal for recording information of file creator
US20230064537A1 (en) System and method for implementing automated harvesting of scanned contracts
KR20230148649A (en) Method for integrated management of personal data

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