CN111885175B - Method and system for downloading network disk directory file - Google Patents
Method and system for downloading network disk directory file Download PDFInfo
- Publication number
- CN111885175B CN111885175B CN202010732250.XA CN202010732250A CN111885175B CN 111885175 B CN111885175 B CN 111885175B CN 202010732250 A CN202010732250 A CN 202010732250A CN 111885175 B CN111885175 B CN 111885175B
- Authority
- CN
- China
- Prior art keywords
- file
- network disk
- memory
- directory
- downloading
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method and a system for downloading a network disk directory file, and relates to the technical field of network disks. The network disk directory file downloading method comprises the following steps: and associating the memory serial number value of the local directory with the network disk account, reading the network disk file in the network disk directory, determining the file ID, creating a memory link file with the same name in the local directory according to the network disk file attribute, wherein the memory link file comprises the memory serial number value and the file ID, and downloading the memory link file according to the memory link file information. In the invention, the memory link file is generated by the association of the memory serial number value to the network disk account number, so that the network disk can be quickly and safely logged in to download the network disk directory file, the file and the directory can be conveniently and locally moved, browsed and searched, and the convenience is greatly improved.
Description
Technical Field
The invention relates to the technical field of network disks, in particular to a method and a system for downloading a network disk directory file.
Background
Currently, the network disk data downloading generally browses network disk files from the network disk and adopts a direct downloading mode. However, with the rapid increase of the number of the network disks, one person may have a plurality of network disks, and the file management of the network disks becomes a very troublesome problem, and each network disk login needs to input an account number, a password and the like, so that the network disk is not beneficial to quickly browsing and searching files locally. However, it is impossible to download many times of network disk directory files in the local storage space to browse and search files locally.
The improved method synchronizes the directories under the network disk by triggering a download mechanism. Only the directory currently under the location is synchronized and the empty files and subdirectories of the same name are automatically created under the directory. When a user accesses a certain file or sub-directory under the directory, the downloading of the file content or the same-name blank files and sub-directories in the sub-directory is automatically triggered. The method can reduce the time of the first login synchronization of the user and the storage pressure of locally keeping the same data copy. However, the same-name blank file created by the method is only suitable for the internal operation of the network disk client because the same-name blank file cannot acquire the related linked network disk file, and the corresponding network disk file cannot be accessed when the same-name blank file is freely moved on a terminal browser away from the network disk client.
Aiming at the defects of the network disk directory file downloading method, a method and a system for downloading the network disk directory file, which can rapidly, quickly and safely log in, can realize free mobile search and browse of the local directory and is convenient, are urgently needed.
Disclosure of Invention
In order to overcome the defects that the prior art cannot realize quick, quick and safe login of a network disk, cannot realize free mobile search of network disk files in a local directory, cannot realize active downloading of specified files, and is poor in convenience, the invention provides a method and a system for downloading network disk directory files, which are used for solving the problems in the background art.
In order to realize the purpose, the invention is realized by the following technical scheme: a network disk directory file downloading method synchronizes the downloading of a network disk directory to a local directory and acquires the attribute information of each file stored in the network disk directory, comprising the following steps:
associating the memory serial number value of the local directory to a network disk file server to designate a network disk account;
reading a network disk file in a network disk directory and determining a file ID;
and creating a homonymous memory link file in the local directory according to the attributes of the network disk file, wherein the memory link file comprises a memory serial number value and a file ID, and the homonymous memory link file name consists of a network disk file name containing a suffix and a memory link file suffix.
As a further scheme of the invention: the memory serial number value is a value of the memory serial number after MD5 operation.
As a further scheme of the invention: and the attribute modification time of the memory link file is consistent with the modification time of the corresponding network disk directory homonymous file.
As a further scheme of the invention: the same-name memory link file name consists of a network disk file name containing a suffix name, a network disk file size and a memory link file suffix. This allows the size of the network disk file to be mapped into the local directory file.
On the other hand, a method for downloading a network disk directory file comprises the following steps:
extracting file information from the memory link file, wherein the file information comprises a memory serial number value and a file ID;
judging, namely identifying whether the memory serial number value of the local directory is matched with the memory serial number value of the memory link file;
and if the judging step is matched, executing the downloading operation on the file ID according to the file information.
As a further scheme of the invention: the memory serial number value is a value of the memory serial number after MD5 operation.
In another aspect, a system for downloading a network disk directory file includes: a client device, a network disk file server; the client device is connected with the network disk file server through a network;
the client device realizes the functions of accessing the network disk login file and generating the memory link file.
The network disk file server realizes the functions of network disk account management and network file storage.
As a further scheme of the invention: the network disk directory file downloading system further comprises: and the external storage equipment is electrically connected with the client device, so that the function of storing the local directory file by the external storage equipment is realized.
The client device includes: the device comprises a network disk login file access module, a memory link file generation module and a host module;
the network disk login file access module realizes the functions of network disk login, network disk file browsing, downloading and modification.
The memory link file generation module realizes the functions of reading and identifying the memory serial number and generating the memory link file according to the network disk file, the sharing parameter and the memory serial number value.
The host module realizes the functions of host processing, power supply, external memory connection and the like.
As a further scheme of the invention: the memory serial number value is a value of the memory serial number after MD5 operation.
The invention provides a method and a system for downloading a network disk directory file. The method has the following beneficial effects:
in the invention: the invention creates the memory link file with the same name as the network disk file in the local directory, so the file and the directory can be conveniently moved, browsed and searched in the local, and the rapid and safe login of the network disk is realized by adopting the memory serial number value of the local directory to the network disk account number, so the appointed network disk file can be actively downloaded from the memory link file in the local directory, and the convenience is greatly improved.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a flow chart of the present invention;
FIG. 3 is a block diagram of the system of the present invention;
FIG. 4 is a system block diagram of a client device according to the present invention.
Detailed Description
The invention will be further illustrated with reference to the following examples and drawings:
the embodiment of the invention discloses a method for downloading network disk directory files, which refers to fig. 1, synchronizes the downloading of the network disk directory to a local directory, and acquires the attribute information of each file stored in the network disk directory, and comprises the following steps:
step S11, associating the memory serial number value of the local directory to a network disk file server to designate a network disk account;
step S12, reading the network disk file in the network disk directory and determining the file ID;
and S13, creating a homonym memory link file in the local directory according to the attributes of the network disk file, wherein the memory link file comprises a memory serial number value and a file ID, and the homonym memory link file comprises a network disk file name with a suffix and a memory link file suffix.
As a further scheme of the invention: the memory serial number value is a value of the memory serial number after MD5 operation.
As a further scheme of the invention: and the attribute modification time of the memory link file is consistent with the modification time of the corresponding network disk directory homonymous file.
As a further scheme of the invention: the same-name memory link file name consists of a network disk file name containing a suffix name, a network disk file size and a memory link file suffix. This allows the size of the network disk file to be mapped into the local directory file.
On the other hand, referring to fig. 2, a method for downloading a network disk directory file includes the following steps:
step S21, extracting file information including a memory serial number value and a file ID from the memory link file;
step S22, judging whether the memory serial number value of the local directory is matched with the memory serial number value of the memory link file or not;
and S23, if the judgment step is matched, executing the downloading operation on the file ID according to the file information.
As a further scheme of the invention: the memory serial number value is a value of the memory serial number after MD5 operation.
In another aspect, referring to fig. 3, a system for downloading a network disk directory file includes: a client device 101, a network disk file server 102; the connection between the client device 101 and the network disk file server 102 is network connection;
the client apparatus 101 realizes functions of accessing a network disk login file and generating a memory link file.
The network disk file server 102 realizes the functions of network disk account management and network file storage.
As a further scheme of the invention: the network disk directory file downloading system further comprises: and the external storage equipment is electrically connected with the client device 101, so that the function of storing the local directory file by the external storage equipment is realized.
Referring to fig. 4, the client apparatus 101 includes: a network disk login file access module 1011, a memory link file generation module 1012 and a host module 1013;
the network disk login file access module 1011 realizes the functions of network disk login, network disk file browsing, downloading and modification.
The memory link file generation module 1012 realizes the functions of reading and identifying the memory serial number and generating the memory link file according to the network disk file, the sharing parameter and the memory serial number value.
The host module 1013 implements functions of host processing, power supply, connection to an external memory, and the like.
As a further scheme of the invention: the memory serial number value is a value of the memory serial number after MD5 operation.
In the invention, because the local directory is created with the memory link file with the same name as the network disk file, the file and directory can be conveniently moved, browsed and searched locally, and because the local quick and safe login of the network disk is realized by adopting the memory serial number value of the local directory to the network disk account number, the appointed network disk file can be actively downloaded from any memory link file in the local directory, and the convenience is greatly improved. All this makes it possible to operate the network disk locally offline, it is possible to operate the local file and the network disk file in a mixed manner, and the user only needs to associate the memory serial number value of the user with the network disk account and allow the method and the system of the present invention.
The above is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, many variations and modifications can be made without departing from the inventive concept of the present invention, which falls into the protection scope of the present invention.
Claims (9)
1. A method for downloading a network disk directory file, which is used for a client device, comprises the following steps:
downloading and synchronizing a network disk directory of a network disk account number specified by a network disk file server into a local directory, and acquiring attribute information of each network disk file stored in the network disk directory;
associating the memory serial number value of the local directory with the network disk file server specified network disk account;
reading the network disk file in the network disk directory and determining a file ID;
and creating a homonym memory link file in the local directory according to the attribute information of the network disk file, wherein the memory link file comprises the memory serial number value and the file ID, the homonym memory link file name consists of a network disk file name containing a suffix name and a memory link file suffix, and the memory link file is used for downloading the network disk file from the memory link file in the local directory.
2. The method for downloading the network disk directory file according to claim 1, wherein: the memory serial number value is a value obtained by performing MD5 operation on the memory serial number.
3. The method for downloading the network disk directory file according to claim 1, wherein: and the attribute modification time of the memory link file is consistent with the modification time of the corresponding network disk directory homonymous file.
4. The method for downloading the network disk directory file according to claim 1, wherein: the same-name memory link file name consists of a network disk file name containing a suffix name, the size of the network disk file and the memory link file suffix.
5. The method for downloading the network disk directory file according to claim 1, further comprising:
extracting file information from the memory link file, wherein the file information comprises a memory serial number value and a file ID;
a judging step: identifying whether the memory sequence number value of the local directory matches the memory sequence number value of the memory link file;
and if the judging step is matched, executing the downloading operation on the file ID according to the file information.
6. The method for downloading the network disk directory file according to claim 5, wherein: the memory serial number value is a value of the memory serial number after MD5 operation.
7. A network disk directory file download system, comprising: a client device, a network disk file server; the client device and the network disk file server are connected through a network;
the client device realizes the network disk directory file downloading method according to any one of claims 1 to 6 and comprises functions of network disk login file access and memory link file generation;
the network disk file server realizes the functions of network disk account management and network file storage.
8. The system according to claim 7, further comprising: and the external storage equipment is electrically connected with the client device to realize the function of storing the local directory file by the external storage equipment.
9. The system according to claim 7, wherein the client device comprises: the device comprises a network disk login file access module, a memory link file generation module and a host module;
the network disk login file access module realizes the functions of network disk login, network disk file browsing, downloading and modification;
the memory link file generation module is used for reading and identifying a memory serial number and generating a memory link file according to the network disk file, the sharing parameters and the memory serial number value;
the host module realizes the functions of host processing, power supply and external memory connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010732250.XA CN111885175B (en) | 2020-07-27 | 2020-07-27 | Method and system for downloading network disk directory file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010732250.XA CN111885175B (en) | 2020-07-27 | 2020-07-27 | Method and system for downloading network disk directory file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111885175A CN111885175A (en) | 2020-11-03 |
CN111885175B true CN111885175B (en) | 2023-04-07 |
Family
ID=73200683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010732250.XA Active CN111885175B (en) | 2020-07-27 | 2020-07-27 | Method and system for downloading network disk directory file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111885175B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104184838A (en) * | 2014-09-15 | 2014-12-03 | 云南电网公司普洱供电局 | Directory synchronization method based on triggering downloading |
CN105204964A (en) * | 2015-09-28 | 2015-12-30 | 北京奇虎科技有限公司 | Data backup method and device based on cloud disk |
CN105930233A (en) * | 2016-05-19 | 2016-09-07 | 北京春鸿企业管理咨询有限公司 | Method and system for automatically backing up data of specified public cloud account |
CN106776980A (en) * | 2016-12-06 | 2017-05-31 | 上海爱数信息技术股份有限公司 | A kind of document synchronization method and system, document-synchronization client |
CN107995157A (en) * | 2017-10-23 | 2018-05-04 | 北京春鸿科技有限公司 | A kind of photo distribution method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016036288A1 (en) * | 2014-09-02 | 2016-03-10 | Telefonaktiebolaget L M Ericsson (Publ) | A method, cloud synchronization function means and file system for handling files and directories in a cloud storage service |
-
2020
- 2020-07-27 CN CN202010732250.XA patent/CN111885175B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104184838A (en) * | 2014-09-15 | 2014-12-03 | 云南电网公司普洱供电局 | Directory synchronization method based on triggering downloading |
CN105204964A (en) * | 2015-09-28 | 2015-12-30 | 北京奇虎科技有限公司 | Data backup method and device based on cloud disk |
CN105930233A (en) * | 2016-05-19 | 2016-09-07 | 北京春鸿企业管理咨询有限公司 | Method and system for automatically backing up data of specified public cloud account |
CN106776980A (en) * | 2016-12-06 | 2017-05-31 | 上海爱数信息技术股份有限公司 | A kind of document synchronization method and system, document-synchronization client |
CN107995157A (en) * | 2017-10-23 | 2018-05-04 | 北京春鸿科技有限公司 | A kind of photo distribution method and system |
Also Published As
Publication number | Publication date |
---|---|
CN111885175A (en) | 2020-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11892978B2 (en) | Suggesting content items to be accessed by a user | |
JP6431114B2 (en) | Multi-user search system used in a method for personal search | |
US20140365451A1 (en) | Method and system for cleaning up files on a device | |
JP4921152B2 (en) | Search method, system, program storage device | |
US20150302111A1 (en) | Method and Apparatus for Constructing File System in Key-Value Storage System, and Electronic Device | |
US9367530B2 (en) | Distributed document co-authoring and processing | |
CA2660224C (en) | Managing media files from multiple sources | |
US9697258B2 (en) | Supporting enhanced content searches in an online content-management system | |
US20140236905A1 (en) | Method and system for scanning files of a device by using cloud computing | |
US20120192064A1 (en) | Distributed document processing and management | |
US8959062B2 (en) | Data storage device with duplicate elimination function and control device for creating search index for the data storage device | |
US20150007167A1 (en) | Systems and methods for facilitating installation of software applications | |
US20150169207A1 (en) | Systems and methods for generating personalized account reconfiguration interfaces | |
US9870422B2 (en) | Natural language search | |
US8442961B2 (en) | Method, system and computer programming for maintaining bookmarks up-to date | |
CN111885175B (en) | Method and system for downloading network disk directory file | |
CN116069729B (en) | Intelligent document packaging method, system and medium | |
KR101666064B1 (en) | Apparatus for managing data by using url information in a distributed file system and method thereof | |
CN110020260B (en) | Label generation and retrieval method and system | |
JP2004145520A5 (en) | ||
CN114153797A (en) | Distributed object storage and retrieval method and device based on Ceph | |
US10776314B2 (en) | Electronic apparatus and method for temporarily storing data thereof | |
KR101790594B1 (en) | Method for managing attribute information of file and computing device using the same | |
TWI498759B (en) | Multimedia device and method for managing index | |
TW502179B (en) | Data accessing system and method |
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 |