CN115827564A - File storage method, system, storage medium and computer equipment - Google Patents

File storage method, system, storage medium and computer equipment Download PDF

Info

Publication number
CN115827564A
CN115827564A CN202111096931.2A CN202111096931A CN115827564A CN 115827564 A CN115827564 A CN 115827564A CN 202111096931 A CN202111096931 A CN 202111096931A CN 115827564 A CN115827564 A CN 115827564A
Authority
CN
China
Prior art keywords
file
storage
target file
information
target
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
CN202111096931.2A
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.)
Qiku Software Shenzhen Co Ltd
Original Assignee
Qiku Software Shenzhen 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 Qiku Software Shenzhen Co Ltd filed Critical Qiku Software Shenzhen Co Ltd
Priority to CN202111096931.2A priority Critical patent/CN115827564A/en
Publication of CN115827564A publication Critical patent/CN115827564A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a file storage method, which comprises the steps of acquiring file information of a target file to be downloaded when a downloading request is monitored; downloading the target file according to the file information, and synchronously uploading the target file to a cloud disk server; based on a file query request initiated to the cloud disk server, obtaining storage information of the target file fed back by the cloud disk server, and generating a file snapshot corresponding to the target file according to the storage information; and summarizing and displaying the file snapshots. The invention also provides a file storage system, a storage medium and computer equipment. Therefore, the method and the device can solve the problem that the storage position selection is complicated when the user downloads the file, provide the file snapshot to facilitate the file query, and improve the management experience of the downloaded file.

Description

File storage method, system, storage medium and computer equipment
Technical Field
The present invention relates to the field of file processing technologies, and in particular, to a file storage method, a file storage system, a file storage medium, and a computer device.
Background
With the popularization of mobile intelligent devices, people gradually become accustomed to downloading and storing files by using the mobile intelligent devices; in particular, some social software also provides file sharing functionality; however, the files are generally stored in the default storage location when the user downloads the files, and meanwhile, if the corresponding files are damaged in the local storage, the related files do not exist any more.
The file downloading method in the prior art is used for improving the resource utilization rate of a storage server, so that the efficiency of downloading files from a cloud storage system is improved, the problem that the path of a local file is intelligently and reasonably selected and the downloading history is searched when a user uses an intelligent terminal is solved only by solving the resource utilization rate of the server side. In addition, according to the method for identifying and storing the file to be downloaded and quickly searching the downloaded file after downloading the file in the prior art, when a user downloads the file by using the mobile terminal, the file can be identified and classified and then downloaded, and the file can be named by voice, so that the user can quickly search the downloaded file.
As can be seen, the conventional method has many problems in practical use, and therefore, needs to be improved.
Disclosure of Invention
In view of the above-mentioned drawbacks, the present invention provides a file storage method, system, storage medium and computer device thereof, which can solve the problem of complicated storage location selection when a user downloads a file, provide a file snapshot to facilitate file query, and improve the management experience of downloading the file.
In order to achieve the above object, the present invention provides a file storage method, comprising the steps of:
when a downloading request is monitored, file information of a target file to be downloaded is acquired;
downloading the target file according to the file information, and synchronously uploading the target file to a cloud disk server;
based on a file query request initiated to the cloud disk server, obtaining storage information of the target file fed back by the cloud disk server, and generating a file snapshot corresponding to the target file according to the storage information;
and summarizing and displaying the file snapshots.
Optionally, the step of downloading the target file according to the file information specifically includes:
carrying out segmented downloading division according to the file information, and analyzing and determining a storage path of the target file;
and downloading the target file to a local storage according to the segmented downloading division of the target file and the storage path.
Optionally, the step of downloading the target file to a local storage according to the segmentation download partition of the target file and the storage path includes:
and downloading the target file from a pre-constructed P2P (Point to Point) file distribution network node according to the segmentation downloading division of the target file and the storage path.
Optionally, the step of synchronously uploading the target file to the cloud disk server specifically includes:
and responding to a file uploading request initiated to the cloud disk server, and synchronously uploading the target file to the cloud disk server.
Optionally, the step of obtaining, based on a file query request initiated to the cloud disk server, storage information of the target file fed back by the cloud disk server, and generating a file snapshot corresponding to the target file according to the storage information specifically includes:
when the target file is detected to be uploaded completely, the file query request is sent to the cloud disk server;
obtaining the storage information fed back by the cloud disk server based on the file query request;
generating the file snapshot corresponding to the target file according to the storage information and a preset snapshot template; the file snapshot comprises a download link of the target file at the cloud disk server.
Optionally, the step of acquiring the file information of the target file to be downloaded when the download request is monitored specifically includes:
when the download request is monitored through a download monitoring plug-in, file information of the target file to be downloaded is acquired; wherein the file information includes a file size and a file type.
Optionally, the step of performing a summary display on the file snapshots specifically includes:
and summarizing and classifying the file snapshots, and displaying the file snapshots based on query requests of users.
There is also provided a file storage system comprising:
the download monitoring unit is used for acquiring the file information of the target file to be downloaded when monitoring the download request;
the downloading and uploading unit is used for downloading the target file according to the file information and synchronously uploading the target file to the cloud disk server;
the file snapshot unit is used for acquiring the storage information of the target file fed back by the cloud disk server based on a file query request initiated to the cloud disk server, and generating a file snapshot corresponding to the target file according to the storage information;
and the snapshot management unit is used for summarizing and displaying the file snapshots.
In addition, a storage medium and a computer device are provided, the storage medium storing a computer program for executing the file storage method.
The computer device comprises a storage medium, a processor and a computer program stored on the storage medium and capable of running on the processor, wherein the processor realizes the file storage method when executing the computer program.
According to the file storage method and the file storage system, when a downloading request is monitored, file information of a file to be downloaded is captured, a target file is downloaded according to the file information, and the downloaded target file is synchronously uploaded to a cloud disk server; after uploading, initiating a file query request to the cloud disk server to acquire storage information of the target file fed back by the cloud disk server, and further generating a file snapshot corresponding to the target file according to the storage information; and finally, summarizing and displaying the file snapshots. When the file is downloaded, the file is synchronously uploaded to the cloud disk server, and then a file snapshot is generated according to the storage information returned from the cloud disk server; based on the query management of the file snapshot, the corresponding target file can be conveniently and quickly obtained from the cloud disk server. The invention solves the problem of complicated storage position selection when the user downloads the file, provides the file snapshot to facilitate the inquiry of the file and improves the management experience of the downloaded file.
Drawings
FIG. 1 is a flowchart illustrating steps of a file storage method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating optional steps of a file storage method for downloading and uploading a target file according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating optional steps of a file storage method for generating a file snapshot according to an embodiment of the present invention;
FIG. 4 is a block diagram illustrating a file storage system according to an embodiment of the present invention;
fig. 5 is a schematic block diagram illustrating an alternative structure of the downloading and uploading unit of the file storage system according to an embodiment of the present invention;
fig. 6 is a schematic block diagram illustrating an alternative structure of the file snapshot unit of the file storage system according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a specific application of the file snapshot in the file storage system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that references in the specification to "one embodiment," "an example embodiment," etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not intended to refer to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to effect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described.
Additionally, where certain terms are used throughout the description and following claims to refer to particular components or elements, those of ordinary skill in the art will understand that manufacturers may refer to the same component or element by different terms or terms. This specification and the claims that follow do not intend to distinguish between components or features that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. In addition, the term "connected" as used herein includes any direct and indirect electrical connection. Indirect electrical connection means include connection by other means.
Fig. 1 illustrates a file storage method provided by an embodiment of the present invention, which may be applied to a smart mobile terminal or a personal computer, where the smart mobile terminal includes, but is not limited to, a smart phone or a tablet computer; the method comprises the following steps:
s101: and when the downloading request is monitored, acquiring the file information of the target file to be downloaded. Specifically, in the embodiment, a smart phone is taken as an example, and when a download request generated by the smart phone is monitored, file information of a target file to be downloaded is further captured; wherein the file information is detail information associated with the download request.
Optionally, step S101 specifically includes: when the download request is monitored through a download monitoring plug-in, file information of the target file to be downloaded is acquired; wherein the file information includes a file size and a file type. Specifically, the download monitoring plug-in is a basic service component in an operating system of the smart phone; the download monitoring plug-in is built in the operating system to start working following system startup. The downloading request can be generated from file sharing on social software, file downloading of a browser webpage, application downloading and the like; that is, the target file of the embodiment may be derived from file sharing of a WeChat application or a nailing application, file downloading of an application store or a downloading application, or even from file downloading in a browser webpage, and the like. In this embodiment, if the occurrence of a related download event is monitored through the download monitoring plug-in, the file size and the file type of the target file to be downloaded in the download event are obtained.
S102: and downloading the target file according to the file information, and synchronously uploading the target file to a cloud disk server. That is, in this embodiment, after downloading the target file to the local, the target file is uploaded to the cloud disk server, and the cloud disk server needs to establish a communication connection with the intelligent mobile terminal of the user in advance, that is, the user needs to register a login account of the cloud disk server in advance. Therefore, the target file requested to be downloaded by the user is synchronously stored on the local terminal and the cloud disk server.
S103: and acquiring storage information of the target file fed back by the cloud disk server based on a file query request initiated to the cloud disk server, and generating a file snapshot corresponding to the target file according to the storage information. Specifically, a file query request is initiated by an intelligent mobile terminal of a user and is sent to a cloud disk server; the cloud disk server side acquires storage information related to the target file according to the received file query request; and generating a file snapshot corresponding to the target file through the storage information, wherein the file snapshot presents associated storage information of the target file on the cloud disk server. That is, the target file is locally stored on the intelligent mobile terminal of this embodiment, and a file snapshot associated with the target file on the cloud disk server is also stored. Optionally, the storage information includes domain name information or IP information of the cloud disk server, port information, a file service cluster number, and an access path; the access path is a download link of the target file on the cloud disk server, and the file service cluster number is a code identification of the target file on a network node of the cloud disk server; according to the method and the device, the related target file can be quickly inquired and positioned from the cloud disk server through the domain name information or the IP information fed back by the cloud disk server, the port information, the file service cluster number and the access path.
In one embodiment, a user can select to delete a locally stored target file according to actual requirements; for example, a user can set that a locally stored target file is automatically deleted after a certain time, but a file snapshot corresponding to the target file is permanently reserved, and when the user needs to take the target file, the user can quickly acquire the target file from a cloud server through the file snapshot.
S104: and summarizing and displaying the file snapshots. In specific implementation, the generated file snapshots are summarized and displayed according to a form convenient for a user to read, so that related target files can be searched and searched when needed.
Optionally, step S104 specifically includes: and summarizing and classifying the file snapshots, and displaying the file snapshots based on query requests of users. In specific implementation, the file snapshots may be sorted and summarized according to file dates or file types, and stored in a specific storage area. When a query request of a user is received, the file snapshot is displayed on the display area according to the file date or the file type, so that the user can conveniently search for the target file.
Referring to fig. 2, in an alternative embodiment, step S102 specifically includes:
s1021: and carrying out segmented downloading and dividing according to the file information, and analyzing and determining a storage path of the target file. The embodiment specifically performs the segmentation downloading and division according to the file size in the file information; for example, if the file size of the target file is 1G (gigabytes), it may be segmented into 10 segments 102.4M (megabytes). The storage path is a storage path pre-downloaded by the user for the target file, for example, the user may select whether the local storage location is an internal storage location or an external storage location.
S1022: and downloading the target file to a local storage according to the segmented downloading division of the target file and the storage path. And downloading the target file to the intelligent mobile terminal of the user from a providing terminal (such as a service terminal of application software) of the target file through analyzing the segmentation downloading division and the storage path of the target file. The target file is divided into a plurality of downloading targets in a smaller memory from a single downloading target by adopting segmented downloading division, so that the downloading efficiency is improved. For example, the present embodiment may adopt a multithread downloading technique, which makes full use of the advantages of multithread, and initiates a downloading request through multiple threads in the same time period, so as to divide the data to be downloaded into multiple parts, where each thread is only responsible for downloading one of the parts, and then assembles the downloaded data into a complete data file, thereby greatly improving the downloading efficiency.
Optionally, step S1022 specifically includes: and downloading the target file from a pre-constructed P2P file distribution network node according to the segmented downloading division and storage path of the target file. That is, in this embodiment, a temporary virtual P2P file distribution network node needs to be established between file sharing members in advance, and peer-to-peer communication can be achieved before each client on the P2P file distribution network node; specifically, after file information related to the target file is acquired, the intelligent mobile terminal of the user is linked to a temporary P2P file distribution network node established between friends or groups, and then the target file is downloaded from the P2P file distribution network node according to the segment download division and the storage path of the target file.
Step S102 further includes:
s1023: and responding to a file uploading request initiated to the cloud disk server, and synchronously uploading the target file to the cloud disk server. In specific implementation, if the local downloading of the target file is completed, the intelligent mobile terminal of the user is connected to the cloud disk server and generates a corresponding file uploading request according to the target file, and the cloud disk server uploads the target file from the intelligent mobile terminal to the cloud disk server according to the received file uploading request.
Referring to fig. 3, in an alternative embodiment, step S103 specifically includes:
s1031: and when the target file is detected to be uploaded completely, initiating the file query request to the cloud disk server. Specifically, the intelligent mobile terminal of the user initiates the file query request to the cloud disk server.
S1032: and obtaining the storage information fed back by the cloud disk server based on the file query request. After receiving the file query request, the cloud disk server queries relevant information of a target file corresponding to the file query request, such as domain name information or IP information, and information such as port information, a file service cluster number and an access path.
S1033: generating the file snapshot corresponding to the target file according to the storage information and a preset snapshot template; the file snapshot comprises a download link of the target file at the cloud disk server. Fig. 7 is a schematic diagram illustrating a specific style of the file snapshot according to the present invention, that is, storage information associated with a target file is recorded on the file snapshot and includes a download link of the target file at a cloud disk server; specifically, the download link is an access path of the target file on the cloud disk server; the user can access or download the target file from the cloud disk server by clicking the download link on the file snapshot. Optionally, related information such as an access path of the target file stored locally is also recorded on the file snapshot.
Fig. 4 shows a file storage system 100 according to an embodiment of the present invention, which includes a download monitoring unit 10, a download and upload unit 20, a file snapshot unit 30, and a snapshot management unit 40, where:
the download monitoring unit 10 is configured to obtain file information of a target file to be downloaded when monitoring a download request; the downloading and uploading unit 20 is configured to download the target file according to the file information, and synchronously upload the target file to the cloud disk server; the file snapshot unit 30 is configured to obtain, based on a file query request initiated to the cloud disk server, storage information of the target file fed back by the cloud disk server, and generate a file snapshot corresponding to the target file according to the storage information; and the snapshot management unit 40 is configured to perform a summary presentation on the file snapshots.
Optionally, the storage information includes domain name information or IP information of the cloud disk server, port information, a file service cluster number, and an access path.
Referring to fig. 5, in an alternative embodiment, the download and upload unit 20 includes an analysis subunit 21 and a download subunit 22, where:
the analysis subunit 21 is configured to perform segmented downloading and division according to the file information, and analyze and determine a storage path of the target file; the download subunit 22 is configured to download the target file to a local storage according to the segment download partition of the target file and the storage path. Optionally, the downloading subcell 22 is specifically configured to: and downloading the target file from a pre-constructed P2P file distribution network node according to the subsection downloading division of the target file and the storage path.
Optionally, the downloading and uploading unit 20 further includes an uploading subunit 23, configured to respond to a file uploading request initiated by the cloud disk server, and synchronously upload the target file to the cloud disk server.
Referring to fig. 6, in an optional embodiment, the file snapshot unit 30 specifically includes a snapshot request subunit 31, an information obtaining subunit 32, and a snapshot generating subunit 33, where:
the snapshot request subunit 31 is configured to initiate the file query request to the cloud disk server when it is detected that the target file is completely uploaded; the information obtaining subunit 32 is configured to obtain the storage information fed back by the cloud disk server based on the file query request; the snapshot generating subunit 33 is configured to generate the file snapshot corresponding to the target file according to the storage information and a preset snapshot template; the file snapshot comprises a download link of the target file at the cloud disk server.
In an embodiment, the download monitoring unit 10 is specifically configured to: when the download request is monitored through a download monitoring plug-in, file information of the target file to be downloaded is acquired; wherein the file information includes a file size and a file type.
In an embodiment, the snapshot managing unit 40 is specifically configured to: and summarizing and classifying the file snapshots, and displaying the file snapshots based on query requests of users.
The present invention also provides a storage medium for storing a computer program of the file storage method as described in fig. 1 to 4. Such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or aspects in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on fixed or removable storage media and/or transmitted via a data stream over a broadcast or other signal-bearing medium and/or stored on a storage medium of a computer device operating in accordance with the program instructions. Here, an embodiment according to the present application includes a computer device of the file storage system as shown in fig. 5, the computer device preferably includes a storage medium for storing a computer program and a processor for executing the computer program, wherein when the computer program is executed by the processor, the computer device is triggered to execute the method and/or the technical solution according to the foregoing embodiments.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, as an Application Specific Integrated Circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software programs of the present application may be executed by a processor to implement the above steps or functions. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Further, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
The method according to the invention can be implemented on a computer as a computer-implemented method, or in dedicated hardware, or in a combination of both. Executable code for the method according to the invention or parts thereof may be stored on a computer program product. Examples of computer program products include memory devices, optical storage devices, integrated circuits, servers, online software, and so forth. Preferably, the computer program product comprises non-transitory program code means stored on a computer readable medium for performing the method according to the invention when said program product is executed on a computer.
In a preferred embodiment, the computer program comprises computer program code means adapted to perform all the steps of the method according to the invention when the computer program is run on a computer. Preferably, the computer program is embodied on a computer readable medium.
In summary, according to the file storage method and the system thereof of the present invention, when a download request is monitored, file information of a file to be downloaded is captured, and then a target file is downloaded according to the file information, and the downloaded target file is simultaneously uploaded to a cloud disk server; after uploading, initiating a file query request to the cloud disk server to acquire storage information of the target file fed back by the cloud disk server, and further generating a file snapshot corresponding to the target file according to the storage information; and finally, summarizing and displaying the file snapshots. When the file is downloaded, the file is synchronously uploaded to the cloud disk server, and then a file snapshot is generated according to the storage information returned from the cloud disk server; based on the query management of the file snapshot, the corresponding target file can be conveniently and quickly obtained from the cloud disk server. The method and the device solve the problem of complicated storage position selection when the user file is downloaded, provide file snapshot for conveniently inquiring the file, and improve the management experience of the downloaded file.
The present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof, and it should be understood that various changes and modifications can be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
The invention also provides A1 and a file storage method, which comprises the following steps:
when a downloading request is monitored, file information of a target file to be downloaded is acquired;
downloading the target file according to the file information, and synchronously uploading the target file to a cloud disk server;
based on a file query request initiated to the cloud disk server, obtaining storage information of the target file fed back by the cloud disk server, and generating a file snapshot corresponding to the target file according to the storage information;
and summarizing and displaying the file snapshots.
A2, according to the file storage method of A1, the step of downloading the target file according to the file information specifically includes:
carrying out segmented downloading division according to the file information, and analyzing and determining a storage path of the target file;
and downloading the target file to a local storage according to the segmented downloading division of the target file and the storage path.
A3, according to the file storage method of A2, the step of downloading the target file to a local storage according to the segmentation download division of the target file and the storage path comprises:
and downloading the target file from a pre-constructed P2P file distribution network node according to the segmented downloading division of the target file and the storage path.
A4, according to the file storage method of A1 or A2, the step of synchronously uploading the target file to the cloud disk server specifically includes:
and responding to a file uploading request initiated to the cloud disk server, and synchronously uploading the target file to the cloud disk server.
A5, according to the file storage method described in A1, the step of obtaining the storage information of the target file fed back by the cloud disk server based on the file query request initiated to the cloud disk server, and generating the file snapshot corresponding to the target file according to the storage information specifically includes:
when the target file is detected to be uploaded completely, the file query request is sent to the cloud disk server;
obtaining the storage information fed back by the cloud disk server based on the file query request;
generating the file snapshot corresponding to the target file according to the storage information and a preset snapshot template; the file snapshot comprises a download link of the target file at the cloud disk server.
According to the file storage method of A1, the step of acquiring the file information of the target file to be downloaded when the download request is monitored specifically includes:
when the download request is monitored through a download monitoring plug-in, file information of the target file to be downloaded is acquired; wherein the file information includes a file size and a file type.
According to the file storage method of the A1, the step of summarizing and displaying the file snapshots specifically includes:
and summarizing and classifying the file snapshots, and displaying the file snapshots based on query requests of users.
A8, according to the file storage method of A1, the storage information includes domain name information or IP information of the cloud disk server, port information, a file service cluster number and an access path.
Also provided are B9, a file storage system, comprising:
the download monitoring unit is used for acquiring the file information of the target file to be downloaded when monitoring the download request;
the downloading and uploading unit is used for downloading the target file according to the file information and synchronously uploading the target file to the cloud disk server;
the file snapshot unit is used for acquiring the storage information of the target file fed back by the cloud disk server based on a file query request initiated to the cloud disk server, and generating a file snapshot corresponding to the target file according to the storage information;
and the snapshot management unit is used for summarizing and displaying the file snapshots.
B10, according to the file storage system of B9, the downloading and uploading unit includes:
the analysis subunit is used for carrying out segmented downloading and division according to the file information and analyzing and determining a storage path of the target file;
and the downloading subunit is used for downloading the target file to a local storage according to the segmented downloading division of the target file and the storage path.
B11, according to the file storage system of B10, the downloading subunit is specifically configured to:
and downloading the target file from a pre-constructed P2P file distribution network node according to the subsection downloading division of the target file and the storage path.
B12, according to the file storage system of B9 or B10, the downloading and uploading unit further comprises:
and the uploading subunit is used for responding to a file uploading request initiated by the cloud disk server and synchronously uploading the target file to the cloud disk server.
B13, according to the file storage system described in B9, the file snapshot unit specifically includes:
a snapshot request subunit, configured to initiate the file query request to the cloud disk server when it is detected that the target file is completely uploaded;
the information acquisition subunit is used for acquiring the storage information fed back by the cloud disk server based on the file query request;
a snapshot generating subunit, configured to generate the file snapshot corresponding to the target file according to the storage information and a preset snapshot template; the file snapshot comprises a download link of the target file at the cloud disk server.
B14, according to the file storage system of B9, the download monitoring unit is specifically configured to:
when the download request is monitored through a download monitoring plug-in, file information of the target file to be downloaded is acquired; wherein the file information includes a file size and a file type.
B15, according to the file storage system described in B9, the snapshot management unit is specifically configured to:
and summarizing and classifying the file snapshots, and displaying the file snapshots based on query requests of users.
And B16, according to the file storage system of B9, the storage information includes domain name information or IP information, port information, a file service cluster number and an access path of the cloud disk server.
C17, a storage medium storing a computer program for executing the file storing method of any one of A1 to A8 is also provided.
Also provided are a D18, a computer device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, the processor implementing the file storage method of any one of A1 to A8 when executing the computer program.

Claims (10)

1. A file storage method, comprising the steps of:
when a downloading request is monitored, file information of a target file to be downloaded is acquired;
downloading the target file according to the file information, and synchronously uploading the target file to a cloud disk server;
based on a file query request initiated to the cloud disk server, obtaining storage information of the target file fed back by the cloud disk server, and generating a file snapshot corresponding to the target file according to the storage information;
and summarizing and displaying the file snapshots.
2. The method for storing files according to claim 1, wherein the step of downloading the object file according to the file information specifically comprises:
carrying out segmented downloading division according to the file information, and analyzing and determining a storage path of the target file;
and downloading the target file to a local storage according to the segmented downloading division of the target file and the storage path.
3. The method of claim 2, wherein the step of downloading the target file to a local storage according to the segmentation download partition of the target file and the storage path comprises:
and downloading the target file from a pre-constructed P2P file distribution network node according to the segmented downloading division of the target file and the storage path.
4. The file storage method according to claim 1 or 2, wherein the step of synchronously uploading the target file to the cloud disk server specifically comprises:
and responding to a file uploading request initiated to the cloud disk server, and synchronously uploading the target file to the cloud disk server.
5. The method according to claim 1, wherein the step of obtaining storage information of the target file fed back by the cloud disk server based on a file query request initiated to the cloud disk server, and generating a file snapshot corresponding to the target file according to the storage information specifically includes:
when the target file is detected to be uploaded completely, the file query request is sent to the cloud disk server;
obtaining the storage information fed back by the cloud disk server based on the file query request;
generating the file snapshot corresponding to the target file according to the storage information and a preset snapshot template; the file snapshot comprises a download link of the target file at the cloud disk server.
6. The file storage method according to claim 1, wherein the step of acquiring the file information of the target file to be downloaded while monitoring the download request specifically comprises:
when the download request is monitored through a download monitoring plug-in, file information of the target file to be downloaded is acquired; wherein the file information includes a file size and a file type.
7. The file storage method according to claim 1, wherein the step of collectively displaying the file snapshots specifically comprises:
and summarizing and classifying the file snapshots, and displaying the file snapshots based on query requests of users.
8. A file storage system, comprising:
the download monitoring unit is used for acquiring the file information of the target file to be downloaded when monitoring the download request;
the downloading and uploading unit is used for downloading the target file according to the file information and synchronously uploading the target file to the cloud disk server;
the file snapshot unit is used for acquiring the storage information of the target file fed back by the cloud disk server based on a file query request initiated to the cloud disk server, and generating a file snapshot corresponding to the target file according to the storage information;
and the snapshot management unit is used for summarizing and displaying the file snapshots.
9. A storage medium characterized by storing a computer program for executing the file storage method of any one of claims 1 to 7.
10. A computer device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the file storage method according to any one of claims 1 to 7 when executing the computer program.
CN202111096931.2A 2021-09-17 2021-09-17 File storage method, system, storage medium and computer equipment Pending CN115827564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111096931.2A CN115827564A (en) 2021-09-17 2021-09-17 File storage method, system, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111096931.2A CN115827564A (en) 2021-09-17 2021-09-17 File storage method, system, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN115827564A true CN115827564A (en) 2023-03-21

Family

ID=85515338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111096931.2A Pending CN115827564A (en) 2021-09-17 2021-09-17 File storage method, system, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN115827564A (en)

Similar Documents

Publication Publication Date Title
US11366686B1 (en) Managing user data in a multitenant deployment
US10180891B2 (en) Monitoring processes running on a platform as a service architecture
AU2014384636B2 (en) Systems and methods for ephemeral eventing
EP2717564B1 (en) Method, device and system for realizing video retrieval
US9311664B2 (en) Systems and methods for automatically collection of performance data in a multi-tenant database system environment
GB2554515A (en) Providing relevant video scenes in response to a video search query
CN109739815B (en) File processing method, system, device, equipment and storage medium
US11276240B1 (en) Precise plane detection and placement of virtual objects in an augmented reality environment
EP3031216A1 (en) Dynamic collection analysis and reporting of telemetry data
WO2016026389A1 (en) Method for creating context-aware application and user terminal
EP4068118A1 (en) Information pushing system, method and apparatus, device and storage medium
US11210198B2 (en) Distributed web page performance monitoring methods and systems
US10984444B2 (en) Systems and methods for generating intelligent account reconfiguration offers
CN110737634A (en) Log searching method, client, server and computer readable storage medium
US10311160B2 (en) Cloud search analytics
CN112364051B (en) Data query method and device
US11544219B2 (en) Data migration management and migration metric prediction
CN109189813B (en) Data sharing method and device
CN115827564A (en) File storage method, system, storage medium and computer equipment
CN112764988A (en) Data segmentation acquisition method and device
CN109960695B (en) Management method and device for database in cloud computing system
US9158825B1 (en) Search validity in data backup systems
CN112860567A (en) Buried point identification method and device, computer equipment and storage medium
WO2017016248A1 (en) Data output method and apparatus
CN114301709B (en) Message processing method and device, storage medium and computing equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication