CN108874891B - Method for facilitating reading of family cloud disk files - Google Patents

Method for facilitating reading of family cloud disk files Download PDF

Info

Publication number
CN108874891B
CN108874891B CN201810486146.XA CN201810486146A CN108874891B CN 108874891 B CN108874891 B CN 108874891B CN 201810486146 A CN201810486146 A CN 201810486146A CN 108874891 B CN108874891 B CN 108874891B
Authority
CN
China
Prior art keywords
file
identification
identification value
folder
cloud disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810486146.XA
Other languages
Chinese (zh)
Other versions
CN108874891A (en
Inventor
林美珊
施连云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Digital Fujian Cloud Computing Operation Co ltd
Original Assignee
Fujian Digital Fujian Cloud Computing Operation 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 Fujian Digital Fujian Cloud Computing Operation Co ltd filed Critical Fujian Digital Fujian Cloud Computing Operation Co ltd
Priority to CN201810486146.XA priority Critical patent/CN108874891B/en
Publication of CN108874891A publication Critical patent/CN108874891A/en
Application granted granted Critical
Publication of CN108874891B publication Critical patent/CN108874891B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method for facilitating reading of family cloud disk files, which comprises the steps of presetting a plurality of first identification values, wherein the identification values correspond to a plurality of files in a family cloud disk one by one, when the first files are read, adding one to the first identification value corresponding to the first files, recording the reading time of the files, dividing the reading time by a first time threshold value to obtain a first value, and rounding the first value downwards to obtain a second value; adding the second value to the first identification value corresponding to the first file, and if the first identification value corresponding to the first file is larger than a preset first identification threshold value, storing the first file in a preset first folder; and sorting each file in the first folder according to the descending order of the identification value corresponding to each file in the first folder so as to read the files in the family cloud disk. The method is convenient for reading the file again, improves the searching efficiency when the user reads the same file again, and saves precious time of the user.

Description

Method for facilitating reading of family cloud disk files
Technical Field
The invention relates to the technical field of cloud ends, in particular to a method convenient for reading family cloud disk files.
Background
With the development of scientific technology, the cloud (cloud disk) technology is developed rapidly, so that uploading, downloading, using, managing, backing up and the like of files are greatly facilitated for users, the cloud storage system has a very prominent advantage, meanwhile, in order to meet the requirements of family members, the family cloud comes along with the operation, and family storage provides services such as information storage, reading, downloading and the like for family users. The user can upload common type files including installation packages, Word documents, PPT, EXCEL, pictures, video files, audio files, compressed files and the like to a family storage shared space, namely, the common type files are stored in a family cloud. However, when a user needs to read a certain file in the home cloud disk again, the searching is difficult, the efficiency is low, a large amount of time is wasted on searching the file by the user, and the reading of the file in the home cloud disk is inconvenient.
Disclosure of Invention
In view of the above, the present invention provides a method for facilitating reading of a cloud disk file in a home.
In order to achieve the purpose, the invention adopts the technical scheme that:
the invention provides a method for facilitating reading of a family cloud disk file, which comprises the following steps:
s1: presetting a plurality of first identification values, wherein the first identification values correspond to a plurality of files in a family cloud disk one by one, and the initial values of the first identification values are all zero;
s2: when instruction information for browsing a first file is received, enabling a first identification value corresponding to the first file to be added by one, and recording the browsing time of the first file to obtain first time;
s3: dividing the first time by a preset first time threshold value to obtain a first value; rounding the first value downwards to obtain a second value; enabling a first identification value corresponding to the first file to be added with the second value;
s4: if the first identification value corresponding to the first file is larger than a preset first identification threshold value, storing the first file in a preset first folder;
s5: and sorting each file in the first folder according to the descending order of the identification value corresponding to each file in the first folder so as to read the files in the family cloud disk.
The beneficial effects of the above technical scheme are:
the invention provides a method for facilitating reading of family cloud disk files, which comprises the steps of presetting a plurality of first identification values, wherein the identification values correspond to a plurality of files in a family cloud disk one by one, when the first files are read, adding one to the first identification value corresponding to the first files, recording the reading time of the files, dividing the reading time by a first time threshold value to obtain a first value, and rounding the first value downwards to obtain a second value; adding the second value to the first identification value corresponding to the first file, and if the first identification value corresponding to the first file is larger than a preset first identification threshold value, storing the first file in a preset first folder; and sorting each file in the first folder according to the descending order of the identification value corresponding to each file in the first folder so as to read the files in the family cloud disk. By the method, the file is recorded according to the reading times and the reading time of the file, so that the file can be read again conveniently, the searching efficiency of the user reading the same file again is improved, and the precious time of the user is saved.
Drawings
Fig. 1 is a schematic diagram illustrating main steps of a method for facilitating browsing of a home cloud disk file according to the present invention.
Detailed Description
The invention is further described below with reference to the following figures and specific examples:
as shown in fig. 1, the method for facilitating reading of a home cloud disk file provided by the present invention includes the following steps:
s1: presetting a plurality of first identification values, wherein the first identification values correspond to a plurality of files in a family cloud disk one by one, and the initial values of the first identification values are all zero;
s2: when instruction information for browsing a first file is received, enabling a first identification value corresponding to the first file to be added by one, and recording the browsing time of the first file to obtain first time;
s3: dividing the first time by a preset first time threshold value to obtain a first value; rounding the first value downwards to obtain a second value; enabling a first identification value corresponding to the first file to be added with the second value;
s4: if the first identification value corresponding to the first file is larger than a preset first identification threshold value, storing the first file in a preset first folder;
s5: and sorting each file in the first folder according to the descending order of the identification value corresponding to each file in the first folder so as to read the files in the family cloud disk.
From the above description, the present invention provides a method for facilitating reading of a home cloud disk file, by presetting a plurality of first identification values, where the plurality of identification values correspond to a plurality of files in the home cloud disk one to one, when reading a first file, making the first identification value corresponding to the first file self-increment one, and simultaneously recording the reading time of the file, dividing the reading time by a first time threshold to obtain a first value, and rounding down the first value to obtain a second value; adding the second value to the first identification value corresponding to the first file, and if the first identification value corresponding to the first file is larger than a preset first identification threshold value, storing the first file in a preset first folder; and sorting each file in the first folder according to the descending order of the identification value corresponding to each file in the first folder so as to read the files in the family cloud disk. By the method, the file is recorded according to the reading times and the reading time of the file, so that the file can be read again conveniently, the searching efficiency of the user reading the same file again is improved, and the precious time of the user is saved.
Further, the method for facilitating viewing of a home cloud disk file according to claim 1, wherein the step S3 further includes:
and when receiving instruction information for downloading a first file, enabling a first identification value corresponding to the first file to be reduced by one.
As can be seen from the above description, in the prior art, if a user downloads a file, the file will appear in a folder that is convenient for searching, but in the actual use process, since the user has downloaded the file, the probability of reading the file in the cloud disk is greatly reduced, so that the identification value corresponding to the file is reduced by one.
Further, the step S5 is followed by:
and monitoring the identification value corresponding to each file in the first folder in real time, and deleting the file in the first folder if the identification value corresponding to one file is smaller than the first identification threshold.
As can be seen from the above description, by the above method, the files that are not frequently viewed can be dynamically deleted from the first folder, so that the user can conveniently view the frequently viewed files in the first folder.
Further, the step S1 is followed by:
and if the instruction information for browsing the first file is not received within the preset second time, the first identification value corresponding to the first file is reduced by one, and if the first identification value is smaller than zero, the first identification value is zero.
As can be seen from the above description, the first identification value is always not less than zero, which prevents a user from reading a file in the first folder after a long time without reading the file.
Further, the step S5 is specifically;
acquiring an identification value corresponding to each file in the first folder in real time;
and sequencing each file in the first folder according to the descending order of the size of the identification value corresponding to each file so as to read the files in the family cloud disk.
From the above description, it can be known that by the above method, the order of the files to be viewed in the first folder can be updated in real time, and the user can conveniently view the files.
Further, the S4 specifically includes:
and if the first identification value corresponding to the first file is larger than a preset first identification threshold value, generating a first shortcut corresponding to the first file, and storing the first shortcut in a preset first folder.
From the above description, according to the method, the file does not need to be stored in the first folder, and only the corresponding shortcut needs to be stored, so that the storage space of the home cloud disk is reduced, and the user can conveniently read the file.
Further, the S5 specifically includes:
acquiring an identification value of a file corresponding to each shortcut in the first folder in real time;
associating the shortcut of each file in the first folder with the corresponding identification value of the file;
and sorting the shortcut of each file in the first folder according to the descending order of the identification value corresponding to the shortcut of each file in the first folder, so as to read the files in the family cloud disk.
From the above description, by the above method, the shortcut of each file in the first folder can be sorted in real time, so that the user can conveniently read the corresponding file.
Further, the method for facilitating reading of the home cloud disk file further includes:
when a second file is uploaded to the family cloud disk, presetting a second identification value, wherein the initial value of the second identification value is zero;
and associating the second file with a second identification value.
From the above description, it can be known that, by the above method, whether the newly uploaded file is included in the first folder convenient to view can be realized.
Further, the method for facilitating reading of the home cloud disk file further includes:
and when receiving instruction information corresponding to deletion of a third file, deleting the identification value corresponding to the third file.
From the above description, when a file is deleted, the corresponding identification value is deleted at the same time, that is, the fast viewing function of the file is ended, and the system automatically deletes the related information of the file in the first folder.
Further, steps S2 to S5 are performed in real time.
From the above description, it can be known that, by the above method, the files in the first folder that are convenient to view can be dynamically adjusted, and the viewing efficiency of the user is improved.
Some preferred embodiments or application examples are listed below to help those skilled in the art to better understand the technical content of the present invention and the technical contribution of the present invention with respect to the prior art:
first preferred embodiment (or first application embodiment):
the invention provides a method for facilitating reading of a family cloud disk file, which comprises the following steps:
s1: presetting a plurality of first identification values, wherein the first identification values correspond to a plurality of files in a family cloud disk one by one, and the initial values of the first identification values are all zero;
s2: when instruction information for browsing a first file is received, enabling a first identification value corresponding to the first file to be added by one, and recording the browsing time of the first file to obtain first time;
s3: dividing the first time by a preset first time threshold value to obtain a first value; rounding the first value downwards to obtain a second value; enabling a first identification value corresponding to the first file to be added with the second value;
wherein the first time threshold is 10-30 seconds; preferably, the first time threshold is 20 seconds; in practical application, if the reading time is 62 seconds, dividing 62 by 20 to obtain 3.1, rounding down to 3.1 to obtain 3, wherein the second value is 3, and then adding 3 to the first identification value corresponding to the first file information in the identification file, namely the first identification value = first identification value + 3;
s4: when instruction information for downloading a first file is received, enabling a first identification value corresponding to the first file to be reduced by one;
s5: if the instruction information for browsing the first file is not received within the preset second time, enabling a first identification value corresponding to the first file to be reduced by one, and if the first identification value is smaller than zero, enabling the first identification value to be zero;
wherein the second time is 1-7 days; preferably, the second time period is 1 day;
s6: when a second file is uploaded to the family cloud disk, presetting a second identification value, wherein the initial value of the second identification value is zero; associating the second file with a second identification value;
s7: when instruction information corresponding to deletion of a third file is received, deleting an identification value corresponding to the third file;
s8: if the first identification value corresponding to the first file is larger than a preset first identification threshold value, storing the first file in a preset first folder;
wherein the first identification threshold is 5-8; preferably, the first identification threshold is 6;
s9: sorting each file in the first folder according to the descending order of the identification value corresponding to each file in the first folder so as to read the files in the family cloud disk;
specifically, the step S9 is;
acquiring an identification value corresponding to each file in the first folder in real time;
sequencing each file in the first folder according to the descending order of the identification value corresponding to each file so as to read the files in the family cloud disk;
s10: monitoring an identification value corresponding to each file in the first folder in real time, and deleting the file in the first folder if the identification value corresponding to one file is smaller than a first identification threshold value;
s11: steps S2-S10 are repeatedly performed.
Preferred embodiment two (or application embodiment two):
the second embodiment differs from the first embodiment in that steps S8 and S9 in the first embodiment are replaced with:
if the first identification value corresponding to the first file is larger than a preset first identification threshold value, generating a first shortcut corresponding to the first file, and storing the first shortcut in a preset first folder;
acquiring an identification value of a file corresponding to each shortcut in the first folder in real time;
associating the shortcut of each file in the first folder with the corresponding identification value of the file;
sorting the shortcut of each file in the first folder according to the descending order of the identification value corresponding to the shortcut of each file in the first folder, so as to read the files in the family cloud disk;
the shortcut is a link for opening a corresponding file.
The present invention has been described with reference to the above embodiments and the accompanying drawings, however, the above embodiments are only examples for carrying out the present invention. It should be noted that the disclosed embodiments do not limit the scope of the invention. Rather, modifications and equivalent arrangements included within the spirit and scope of the claims are included within the scope of the invention.

Claims (10)

1. A method for facilitating reading of family cloud disk files is characterized by comprising the following steps:
s1: presetting a plurality of first identification values, wherein the first identification values correspond to a plurality of files in a family cloud disk one by one, and the initial values of the first identification values are all zero;
s2: when instruction information for browsing a first file is received, enabling a first identification value corresponding to the first file to be added by one, and recording the browsing time of the first file to obtain first time;
s3: dividing the first time by a preset first time threshold value to obtain a first value; rounding the first value downwards to obtain a second value; enabling a first identification value corresponding to the first file to be added with the second value;
s4: if the first identification value corresponding to the first file is larger than a preset first identification threshold value, storing the first file in a preset first folder;
s5: and sorting each file in the first folder according to the descending order of the identification value corresponding to each file in the first folder so as to read the files in the family cloud disk.
2. The method for facilitating home cloud disk file viewing of claim 1, wherein the step S3 is followed by:
and when receiving instruction information for downloading a first file, enabling a first identification value corresponding to the first file to be reduced by one.
3. The method for facilitating home cloud disk file viewing of claim 2, wherein the step S5 is followed by:
and monitoring the identification value corresponding to each file in the first folder in real time, and deleting the file in the first folder if the identification value corresponding to one file is smaller than the first identification threshold.
4. The method for facilitating home cloud disk file viewing of claim 1, wherein the step S1 is followed by:
and if the instruction information for browsing the first file is not received within the preset second time, the first identification value corresponding to the first file is reduced by one, and if the first identification value is smaller than zero, the first identification value is zero.
5. The method for facilitating home cloud disk file viewing according to claim 2 or 4, wherein the step S5 is specifically;
acquiring an identification value corresponding to each file in the first folder in real time;
and sequencing each file in the first folder according to the descending order of the size of the identification value corresponding to each file so as to read the files in the family cloud disk.
6. The method for facilitating browsing of a home cloud disk file according to claim 1, wherein the S4 is specifically:
and if the first identification value corresponding to the first file is larger than a preset first identification threshold value, generating a first shortcut corresponding to the first file, and storing the first shortcut in a preset first folder.
7. The method for facilitating browsing of a home cloud disk file according to claim 6, wherein the S5 is specifically:
acquiring an identification value of a file corresponding to each shortcut in the first folder in real time;
associating the shortcut of each file in the first folder with the corresponding identification value of the file;
and sorting the shortcut of each file in the first folder according to the descending order of the identification value corresponding to the shortcut of each file in the first folder, so as to read the files in the family cloud disk.
8. The method for facilitating home cloud disk file viewing according to claim 1, further comprising:
when a second file is uploaded to the family cloud disk, presetting a second identification value, wherein the initial value of the second identification value is zero;
and associating the second file with a second identification value.
9. The method for facilitating home cloud disk file viewing according to claim 1, further comprising:
and when receiving instruction information corresponding to deletion of a third file, deleting the identification value corresponding to the third file.
10. The method for facilitating home cloud disc file viewing of claim 1, wherein steps S2 to S5 are performed in real time.
CN201810486146.XA 2018-05-21 2018-05-21 Method for facilitating reading of family cloud disk files Active CN108874891B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810486146.XA CN108874891B (en) 2018-05-21 2018-05-21 Method for facilitating reading of family cloud disk files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810486146.XA CN108874891B (en) 2018-05-21 2018-05-21 Method for facilitating reading of family cloud disk files

Publications (2)

Publication Number Publication Date
CN108874891A CN108874891A (en) 2018-11-23
CN108874891B true CN108874891B (en) 2021-03-30

Family

ID=64332967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810486146.XA Active CN108874891B (en) 2018-05-21 2018-05-21 Method for facilitating reading of family cloud disk files

Country Status (1)

Country Link
CN (1) CN108874891B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908961A (en) * 2019-11-15 2020-03-24 天津联想协同科技有限公司 File processing method, electronic device and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5878410A (en) * 1996-09-13 1999-03-02 Microsoft Corporation File system sort order indexes
CN103198116A (en) * 2013-03-29 2013-07-10 东莞宇龙通信科技有限公司 Method and system for displaying folder covers and pictures in folders
CN103714076A (en) * 2012-09-29 2014-04-09 联想(北京)有限公司 Electronic device and file browsing method
CN104537082A (en) * 2014-12-30 2015-04-22 广州视源电子科技股份有限公司 File sorting display method and device
CN106777214A (en) * 2016-12-24 2017-05-31 滁州昭阳电信通讯设备科技有限公司 The method and mobile terminal of a kind of album picture sequence
CN106775229A (en) * 2016-12-08 2017-05-31 广东小天才科技有限公司 Desktop icon operation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5878410A (en) * 1996-09-13 1999-03-02 Microsoft Corporation File system sort order indexes
CN103714076A (en) * 2012-09-29 2014-04-09 联想(北京)有限公司 Electronic device and file browsing method
CN103198116A (en) * 2013-03-29 2013-07-10 东莞宇龙通信科技有限公司 Method and system for displaying folder covers and pictures in folders
CN104537082A (en) * 2014-12-30 2015-04-22 广州视源电子科技股份有限公司 File sorting display method and device
CN106775229A (en) * 2016-12-08 2017-05-31 广东小天才科技有限公司 Desktop icon operation method and device
CN106777214A (en) * 2016-12-24 2017-05-31 滁州昭阳电信通讯设备科技有限公司 The method and mobile terminal of a kind of album picture sequence

Also Published As

Publication number Publication date
CN108874891A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN102906751B (en) A kind of method of data storage, data query and device
CN107911461B (en) Object processing method in cloud storage system, storage server and cloud storage system
CN107045531A (en) A kind of system and method for optimization HDFS small documents access
US11625412B2 (en) Storing data items and identifying stored data items
CN103778202A (en) Enterprise electronic document managing server side and system
CN101252756B (en) Method for leading in and out address book information of mobile terminal
CN104090862A (en) Network disk multi-type file online preview method based on Linux+Ngnix+Mysql+PHP (LNMP)
CN109284262A (en) A kind of business-electronic document management server-side and system
CN102523301A (en) Method for caching data on client in cloud storage
US20180203636A1 (en) Likelihood of access based object storage in a cloud environment
Agrawal et al. Mobile data sync in a blink
CN108874891B (en) Method for facilitating reading of family cloud disk files
CN105308589A (en) Compacting data based on data content
CN110019056B (en) Container metadata separation for cloud layer
CN104717242A (en) Method of editing shared file by multiple users, server and user side
CN107193961B (en) Information recording method and apparatus
WO2021259197A1 (en) File processing method and apparatus, storage medium, and terminal
CN113645499A (en) Video editing method based on cloud
CN112632266A (en) Data writing method and device, computer equipment and readable storage medium
CN105224561B (en) Cache storage method and device based on paging file
CN106411975B (en) Data output method and device and computer readable storage medium
CN105205069B (en) Cache opening method and device based on paging file
CN108874892B (en) Method and terminal for different family members to conveniently look up family cloud disk files
US10037148B2 (en) Facilitating reverse reading of sequentially stored, variable-length data
CN113377711B (en) Data processing method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant