CN106445414B - Terminal device free memory extended method and system - Google Patents

Terminal device free memory extended method and system Download PDF

Info

Publication number
CN106445414B
CN106445414B CN201610836421.7A CN201610836421A CN106445414B CN 106445414 B CN106445414 B CN 106445414B CN 201610836421 A CN201610836421 A CN 201610836421A CN 106445414 B CN106445414 B CN 106445414B
Authority
CN
China
Prior art keywords
file
storage space
local storage
stored
backed
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
CN201610836421.7A
Other languages
Chinese (zh)
Other versions
CN106445414A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201610836421.7A priority Critical patent/CN106445414B/en
Publication of CN106445414A publication Critical patent/CN106445414A/en
Application granted granted Critical
Publication of CN106445414B publication Critical patent/CN106445414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of terminal device free memory extended method and systems, after receiving file to be stored, obtain the residual capacity of local storage space.If the residual capacity of local storage space is less than the size of file to be stored, the file for having backed up to cloud device is then subjected to delete processing until then file to be stored is stored in local storage space by the residual capacity of local storage space less than the size of file to be stored.The backed up in synchronization and delete operation of file can be carried out in different periods, it can ensure that file has backed up and directly carried out file delete operation when an insufficient storage space exists, to store received file to be stored in time, the rate of release of local storage space is greatly improved, improves storage convenience.

Description

Terminal device free memory extended method and system
Technical field
The present invention relates to technical field of data storage, more particularly to a kind of terminal device free memory extended method And system.
Background technique
Cloud storage refers to through functions such as cluster application, grid or distributed file systems, will be a large amount of each in network The different types of storage equipment of kind gathers collaborative work by application software, and common data storage and the business of externally providing is visited Ask a system of function.It sends data to cloud device to be stored, terminal device memory space can be well solved Insufficient problem.
Traditional terminal device memory expanding method is to detect the surplus of local storage space when terminal device is online Whether complementary space is lower than preset value;If so, data to the cloud storage space in duplication local storage space is stored, delete Fall the data being replicated in local storage space to save terminal device memory space, then stores the file newly received. Due to needing first to back up file in the case of the on-line connection, and has to wait for backup and complete the storage that just can be carried out new file, tradition Terminal device memory expanding method have the shortcomings that store convenience it is low.
Summary of the invention
Based on this, it is necessary in view of the above-mentioned problems, provide it is a kind of can be improved storage convenience terminal device can with storage Extend Methods of Spatial Distribution and system.
A kind of terminal device free memory extended method, comprising the following steps:
After receiving file to be stored, the residual capacity of local storage space is obtained;
Whether the residual capacity for detecting the local storage space is greater than the size of the file to be stored;
If it is not, the file synchronization information prestored in the local storage space is then obtained, according to the file synchronization information The file progress delete processing for having backed up to cloud device in the local storage space is obtained, and returns to described of the detection Whether the residual capacity of ground memory space is greater than the step of size of the file to be stored;
If so, the file to be stored is stored in the local storage space.
A kind of terminal device free memory expansion system, comprising:
Capacity check module, for after receiving file to be stored, obtaining the residual capacity of local storage space;
Whether file detection module, the residual capacity for detecting the local storage space are greater than the file to be stored Size;
File removing module is less than or equal to the file to be stored for the residual capacity in the local storage space Size when, obtain the file synchronization information prestored in the local storage space, according to the file synchronization information obtain institute The file progress delete processing for having backed up to cloud device in local storage space is stated, and controls the file storage detection module Whether the residual capacity for detecting the local storage space again is greater than the size of the file to be stored;
File storage module is greater than the size of the file to be stored for the residual capacity in the local storage space When, the file to be stored is stored in the local storage space.
Above-mentioned terminal device free memory extended method and system obtain local after receiving file to be stored The residual capacity of memory space.Whether the residual capacity of detection local storage space is greater than the size of file to be stored, if it is not, then The file synchronization information prestored in local storage space is obtained, is obtained in local storage space and has been backed up according to file synchronization information File to cloud device carries out delete processing, and the residual capacity for detecting local storage space again whether be greater than it is described wait deposit Store up the size of file;If so, file to be stored is stored in local storage space.After receiving file to be stored, If the residual capacity of local storage space is less than or equal to the size of file to be stored, the file of cloud device will have been backed up to Delete processing is carried out until then the residual capacity of local storage space deposits file to be stored greater than the size of file to be stored Storage solves the problems, such as that terminal device local storage space is insufficient in local storage space.The backed up in synchronization of file and deletion behaviour Make to carry out in different periods, can ensure that file has backed up and directly carried out file delete operation when an insufficient storage space exists, with Just received file to be stored is stored in time, the rate of release of local storage space is greatly improved, and improves storage convenience.
Detailed description of the invention
Fig. 1 is the flow chart of terminal device free memory extended method in an embodiment;
Fig. 2 is the flow chart of terminal device free memory extended method in another embodiment;
Fig. 3 is the flow chart of terminal device free memory extended method in another embodiment;
Fig. 4 is the structure chart of terminal device free memory expansion system in an embodiment;
Fig. 5 is the structure chart of terminal device free memory expansion system in another embodiment;
Fig. 6 is the structure chart of terminal device free memory expansion system in another embodiment.
Specific embodiment
In one embodiment, a kind of terminal device free memory extended method, as shown in Figure 1, including following step It is rapid:
Step S110: after receiving file to be stored, the residual capacity of local storage space is obtained.
File to be stored refers to the file for needing to be stored in terminal device, can specifically include video file, audio text Part, photo etc..Terminal device refers to memory space and the terminal device that can be connected to External memory equipment, such as mobile phone, flat Plate apparatus such as computer.Local storage space refers to the memory space of terminal device.After receiving file to be stored, obtains terminal and set The residual capacity of standby local storage space.
Step S120: whether the residual capacity for detecting local storage space is greater than the size of file to be stored.
After acquiring the residual capacity of local storage space, judge whether residual capacity is greater than file to be stored Size.If it is not, then illustrating local storage space deficiency, step S130 is carried out;If so, illustrate local storage space abundance, into Row step S140.
Step S130: obtaining the file synchronization information prestored in local storage space, obtains this according to file synchronization information The file that cloud device has been backed up in ground memory space carries out delete processing.
File synchronization information is used to identify in local storage space the information of storage file, specifically may include whether to back up To cloud device, and backup to the information such as which cloud device.Cloud device can be the cloud storage service of service provider's offer Device is also possible to other storage equipment such as computer.
Terminal device is specifically communicatively coupled with cloud device in a wired or wireless manner, such as passes through USB The modes such as (Universal Serial Bus, universal serial bus), serial ports, wifi, bluetooth, wired network connect cloud device, The quantity of cloud device can be one or more.When the file in local storage space is sent to cloud device by terminal device After synchronizing backup, file synchronization information is generated in local storage space, to identify the backed up in synchronization state of file.
Delete processing is carried out to the file for having backed up to cloud device in local storage space according to file synchronization information Mode is not unique, can be and deletes the file for partially having backed up to cloud device, is also possible to back up to all File to cloud device is deleted.Cloud device has been backed up to obtaining in local storage space according to file synchronization information File carry out delete processing after return step S120, again detect local storage space residual capacity whether be greater than wait store The size of file.
In one embodiment, it is obtained in local storage space in step S130 according to file synchronization information and has backed up to cloud The file of end equipment carries out delete processing, including step 132 is to step 136.
Step 132: obtaining the file for having backed up to cloud device in local storage space according to file synchronization information, obtain File is backed up.Since file synchronization information identifies the backed up in synchronization state of file, can directly be obtained according to file synchronization information The file that cloud device has been backed up into local storage space, has been backed up file.
Step 134: obtaining the frequency of use for respectively having backed up file.Terminal device is accessing to having backed up file every time It is recorded and stored in local storage space in use, can all generate access.It can be straight according to the access of local storage space record Connect the frequency of use for having been backed up file.
Step 136: delete processing is carried out to the corresponding file that backed up according to frequency of use.According to frequency of use to standby The mode that part file carries out delete processing is not unique, in the present embodiment, step 136 include: according to frequency of use from low to high It is ranked up to file has been backed up, and deletes the backup file of preceding predetermined number after sequence.The specific value of predetermined number It is not unique, it can be adjusted according to the actual situation.Directly the file of backup for using minimum frequency is deleted, guarantees to deposit Be placed on local storage space is all most common file.
It is appreciated that in other embodiments, step 136 is also possible to be less than preset frequency threshold to frequency of use It has backed up file and has carried out delete processing.The specific value of frequency threshold is not unique.
Step S140: file to be stored is stored in local storage space.
It, can be directly by text to be stored after the residual capacity for detecting local storage space is greater than the size of file to be stored Part is stored in local storage space.
It is explained for using mobile phone as terminal device, user is taken pictures or recorded a video using mobile phone.It is clapping During taking the photograph, when size of the residual capacity lower than file to be stored for detecting local storage space, it is automatically deleted synchronized To the file of cloud device, local storage space is discharged to ensure space abundance.User totally can not feel memory space inadequate The case where, shooting process will not be interrupted, and will not miss the picture for wishing to record.
Above-mentioned terminal device free memory extended method, after receiving file to be stored, if sky is locally stored Between residual capacity be less than or equal to file to be stored size, then will back up to cloud device file carry out delete processing Until the residual capacity of local storage space is greater than the size of file to be stored, then file to be stored is stored in and is locally stored In space, solve the problems, such as that terminal device local storage space is insufficient.The backed up in synchronization and delete operation of file are in different periods It carries out, can ensure that file has backed up and directly carried out file delete operation when an insufficient storage space exists, be connect to store in time The rate of release of local storage space is greatly improved in the file to be stored of receipts, improves storage convenience.
Since the backed up in synchronization and delete operation of file are carried out in different periods, do not need first to back up before deletion, terminal is set It is standby to carry out delete operation in the state of offline, it is ensured that operation ease.In addition, when terminal device is mobile phone, together Walk back-up job can progress when having wifi, can also save mobile data traffic.
In one embodiment, as shown in Fig. 2, after step S140, terminal device free memory extended method is also It may include step S150 and step S160.
Step S150: whether the residual capacity for detecting local storage space is greater than preset capacity threshold;
The specific value of capacity threshold is not unique, can be adjusted according to the actual situation.It is stored by file to be stored After in local storage space, whether the residual capacity for detecting local storage space is greater than capacity threshold;If so, explanation is deposited Local storage space is still sufficient after entering file to be stored, and file storage terminates;If it is not, then carrying out step S160.
Step S160: the file synchronization information prestored in local storage space is obtained again, and according to the text obtained again Part synchronizing information carries out delete processing to the file for having backed up to cloud device in local storage space.
If the residual capacity of local storage space is less than or equal to capacity threshold, file synchronization information is obtained again to this The file that cloud device has been backed up in ground memory space carries out delete processing.It equally can be to frequency of use less than preset The file of backup of frequency threshold is deleted, or is ranked up from low to high to having backed up file according to frequency of use, and Delete the backup file of preceding predetermined number after sorting.The file that cloud device has been backed up in local storage space carries out Whether return step S150 after delete processing, the residual capacity for detecting local storage space again are greater than preset capacity threshold Value.
In the present embodiment, after storing file to be stored, hold if the residual capacity of local storage space is less than or equal to Threshold value is measured, then delete processing also is carried out to the file for having backed up to cloud device in local storage space, to ensure to be locally stored The residual capacity in space is sufficient, prepares for next file storage operations, further improves storage operation ease.
In addition, in one embodiment, as shown in figure 3, after step S140, terminal device free memory extension side Method may also include step S170 and step S180.
Step S170: whether detection terminal device is online.Specifically whether detectable terminal device can be with cloud Equipment is communicated, if so, thinking that terminal device is online, carries out step S180;If it is not, then can return to step S170 detects whether terminal device is online again.
Step S180: by the file to be stored being stored in local storage space be synchronized to cloud device carry out backup deposit Storage, and generate corresponding file synchronization information and be stored in local storage space.
After detecting that terminal device is online, the text to be stored that will also be stored in local storage space Part is sent to cloud device and synchronizes backup, specifically can be by file to be stored be synchronized to one or more cloud devices into Row backup storage.
It is appreciated that in one embodiment, terminal device free memory extended method can include step simultaneously S110 to step S180, step S170 and step S180 can be before step S150, be also possible to after the step s 150.
In one embodiment, a kind of terminal device free memory expansion system, as shown in figure 4, including that capacity is examined Survey module 110, file detection module 120, file removing module 130 and file storage module 140.
Capacity check module 110 is used for after receiving file to be stored, obtains the residual capacity of local storage space.
File to be stored refers to the file for needing to be stored in terminal device, and terminal device refers to memory space and can The terminal device being connected to External memory equipment, local storage space refer to the memory space of terminal device.It is receiving wait store After file, the residual capacity of terminal device local storage space is obtained.
Whether the residual capacity that file detection module 120 is used to detect local storage space is greater than the big of file to be stored It is small.
After acquiring the residual capacity of local storage space, judge whether residual capacity is greater than file to be stored Size.If it is not, then illustrating local storage space deficiency;If so, illustrating local storage space abundance.
File removing module 130 is used to be less than or equal to the size of file to be stored in the residual capacity of local storage space When, the file synchronization information prestored in local storage space is obtained, is obtained in local storage space according to file synchronization information The file for backing up to cloud device carries out delete processing, and controls file storage detection module 120 and detect sky is locally stored again Between residual capacity whether be greater than the size of file to be stored.
File synchronization information is used to identify in local storage space the information of storage file.Cloud device can be service The cloud storage service device that quotient provides is also possible to other storage equipment such as computer.Terminal device specifically can be wired or wireless Mode is communicatively coupled with cloud device, and the quantity of cloud device can be one or more.
Delete processing is carried out to the file for having backed up to cloud device in local storage space according to file synchronization information Mode is not unique, can be and deletes the file for partially having backed up to cloud device, is also possible to back up to all File to cloud device is deleted.Cloud device has been backed up to obtaining in local storage space according to file synchronization information File carry out delete processing after, control file storage detection module 120 detects the residual capacity of local storage space again is The no size greater than file to be stored.
In one embodiment, file removing module 130 includes information acquisition unit, file obtaining unit, frequency acquisition Unit and file delete unit.
Information acquisition unit is used for when the residual capacity of local storage space is less than or equal to the size of file to be stored, Obtain the file synchronization information prestored in local storage space.
File obtaining unit, which is used to be obtained in local storage space according to file synchronization information, has backed up to cloud device File has been backed up file.Since file synchronization information identifies the backed up in synchronization state of file, according to file synchronization information The file for having backed up to cloud device in local storage space can be directly obtained, file has been backed up.
Frequency acquisition unit is used to obtain the frequency of use for respectively having backed up file.Terminal device is every time to having backed up file It accesses and is recorded and stored in local storage space in use, can all generate access.According to the access of local storage space Record can directly obtain the frequency of use for having backed up file.
File deletes unit and is used to carry out delete processing to the corresponding file that backed up according to frequency of use.According to use frequency Rate is not unique to the mode for having backed up file progress delete processing, and in the present embodiment, file deletes unit according to frequency of use It is ranked up from low to high to having backed up file, and deletes the backup file of preceding predetermined number after sequence.The tool of predetermined number Body value is not unique, and can be adjusted according to the actual situation.Directly the file of backup for using minimum frequency is deleted It removes, what local storage space was stored in guarantee is all most common file.
It is appreciated that in other embodiments, file deletes unit and is also possible to be less than preset frequency to frequency of use The file of backup of threshold value carries out delete processing.The specific value of frequency threshold is not unique.
File storage module 140 is used for when the residual capacity of local storage space is greater than the size of file to be stored, will File to be stored is stored in local storage space.
It, can be directly by text to be stored after the residual capacity for detecting local storage space is greater than the size of file to be stored Part is stored in local storage space.
Above-mentioned terminal device free memory expansion system, after receiving file to be stored, if sky is locally stored Between residual capacity be less than or equal to file to be stored size, then will back up to cloud device file carry out delete processing Until the residual capacity of local storage space is greater than the size of file to be stored, then file to be stored is stored in and is locally stored In space, solve the problems, such as that terminal device local storage space is insufficient.The backed up in synchronization and delete operation of file are in different periods It carries out, can ensure that file has backed up and directly carried out file delete operation when an insufficient storage space exists, be connect to store in time The rate of release of local storage space is greatly improved in the file to be stored of receipts, improves storage convenience.
In one embodiment, as shown in figure 5, terminal device free memory expansion system may also include capacity judgement Module 150 and document processing module 160.
File to be stored for being stored in local storage space by capacity determination module 150 in file storage module 140 Later, whether the residual capacity for detecting local storage space is greater than preset capacity threshold.
The specific value of capacity threshold is not unique, can be adjusted according to the actual situation.It is stored by file to be stored After in local storage space, whether the residual capacity for detecting local storage space is greater than capacity threshold;If so, explanation is deposited Local storage space is still sufficient after entering file to be stored, and file storage terminates.
Document processing module 160 is used for when the residual capacity of local storage space is less than or equal to capacity threshold, again The file synchronization information in local storage space is obtained, and according to the file synchronization information obtained again in local storage space The file for having backed up to cloud device carries out delete processing, and control capability judgment module 150 detects local storage space again Residual capacity whether be greater than preset capacity threshold.
If the residual capacity of local storage space is less than or equal to capacity threshold, file synchronization information is obtained again to this The file that cloud device has been backed up in ground memory space carries out delete processing.It equally can be to frequency of use less than preset The file of backup of frequency threshold is deleted, or is ranked up from low to high to having backed up file according to frequency of use, and Delete the backup file of preceding predetermined number after sorting.The file that cloud device has been backed up in local storage space carries out After delete processing, it is preset whether the residual capacity that control capability judgment module 150 detects local storage space again is greater than Capacity threshold.
In the present embodiment, after storing file to be stored, hold if the residual capacity of local storage space is less than or equal to Threshold value is measured, then delete processing also is carried out to the file for having backed up to cloud device in local storage space, to ensure to be locally stored The residual capacity in space is sufficient, prepares for next file storage operations, further improves storage operation ease.
In addition, in one embodiment, as shown in fig. 6, terminal device free memory expansion system may also include text Part backup module 170.
File to be stored for being stored in local storage space by file backup module 170 in file storage module 140 Later, whether detection terminal device is online;If so, the file to be stored that will be stored in local storage space It is synchronized to cloud device to make a backup store, and generates corresponding file synchronization information and be stored in local storage space.
After detecting that terminal device is online, the text to be stored that will also be stored in local storage space Part is sent to cloud device and synchronizes backup, specifically can be by file to be stored be synchronized to one or more cloud devices into Row backup storage.
It is appreciated that in one embodiment, terminal device free memory expansion system can include that capacity is examined simultaneously Survey module 110, file detection module 120, file removing module 130, file storage module 140, capacity determination module 150, text Part processing module 160 and file backup module 170.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (8)

1. a kind of terminal device free memory extended method, which comprises the following steps:
After receiving file to be stored, the residual capacity of local storage space is obtained;
Whether the residual capacity for detecting the local storage space is greater than the size of the file to be stored;
If it is not, then obtaining the file synchronization information prestored in the local storage space, obtained according to the file synchronization information The file that cloud device has been backed up in the local storage space carries out being automatically deleted processing, and returns to described of the detection Whether the residual capacity of ground memory space is greater than the step of size of the file to be stored;
If so, the file to be stored is stored in the local storage space;
It is further comprising the steps of after the step file to be stored being stored in the local storage space:
Whether the residual capacity for detecting the local storage space is greater than preset capacity threshold;
If so, the storage of the file to be stored terminates;
If it is not, then obtaining the file synchronization information in the local storage space again, and according to the file synchronization obtained again Information carries out delete processing to the file for having backed up to cloud device in the local storage space, and returns described in the detection The step of whether residual capacity of local storage space is greater than preset capacity threshold.
2. terminal device free memory extended method according to claim 1, which is characterized in that described according to File synchronization information, which obtains, have been backed up to the file of cloud device and carries out being automatically deleted processing in the local storage space, wrapped It includes:
The file for having backed up to cloud device in the local storage space is obtained according to the file synchronization information, is obtained standby Part file;
Obtain each frequency of use for having backed up file;
The corresponding file that backed up is carried out being automatically deleted processing according to the frequency of use.
3. terminal device free memory extended method according to claim 2, which is characterized in that described according to Frequency of use carries out being automatically deleted processing to the corresponding file that backed up, comprising: according to frequency of use from low to high to having backed up File is ranked up, and is automatically deleted the backup file of preceding predetermined number after sequence.
4. terminal device free memory extended method according to claim 1, which is characterized in that it is described will it is described to Storage file is stored in after the step in the local storage space, further comprising the steps of:
Whether detection terminal device is online;
It is deposited if so, the file to be stored being stored in the local storage space is synchronized to cloud device and carries out backup Storage, and generate corresponding file synchronization information and be stored in the local storage space.
5. a kind of terminal device free memory expansion system characterized by comprising
Capacity check module, for after receiving file to be stored, obtaining the residual capacity of local storage space;
Whether file detection module, the residual capacity for detecting the local storage space are greater than the big of the file to be stored It is small;
File removing module is less than or equal to the big of the file to be stored for the residual capacity in the local storage space Hour, the file synchronization information prestored in the local storage space is obtained, obtains described according to the file synchronization information The file that cloud device has been backed up in ground memory space carries out being automatically deleted processing, and controls the file storage detection module Whether the residual capacity for detecting the local storage space again is greater than the size of the file to be stored;
File storage module, when being greater than the size of the file to be stored for the residual capacity in the local storage space, The file to be stored is stored in the local storage space;
Capacity determination module, for the file to be stored to be stored in the local storage space in the file storage module In after, whether the residual capacity for detecting the local storage space is greater than preset capacity threshold;
Document processing module, when being less than or equal to the capacity threshold for the residual capacity in the local storage space, then The secondary file synchronization information obtained in the local storage space, and according to the file synchronization information obtained again to the local The file that cloud device has been backed up in memory space carries out delete processing, and controls the capacity determination module and detect institute again Whether the residual capacity for stating local storage space is greater than preset capacity threshold.
6. terminal device free memory expansion system according to claim 5, which is characterized in that the file is deleted Module includes:
Information acquisition unit is less than or equal to the big of the file to be stored for the residual capacity in the local storage space Hour, the file synchronization information prestored in local storage space is obtained,
File obtaining unit has backed up to cloud in the local storage space and has set for being obtained according to the file synchronization information Standby file, has been backed up file;
Frequency acquisition unit, for obtaining each frequency of use for having backed up file;
File deletes unit, for carrying out being automatically deleted processing to the corresponding file that backed up according to the frequency of use.
7. terminal device free memory expansion system according to claim 6, which is characterized in that the file is deleted Unit is ranked up to having backed up file from low to high according to frequency of use, and is automatically deleted the standby of preceding predetermined number after sequence Part file.
8. terminal device free memory expansion system according to claim 5, which is characterized in that further include:
File backup module, for the file to be stored to be stored in the local storage space in the file storage module In after, detection terminal device whether be online;If so, by be stored in the local storage space wait deposit Storage file synchronization to cloud device makes a backup store, and generates corresponding file synchronization information and be stored in and described sky is locally stored Between in.
CN201610836421.7A 2016-09-20 2016-09-20 Terminal device free memory extended method and system Active CN106445414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610836421.7A CN106445414B (en) 2016-09-20 2016-09-20 Terminal device free memory extended method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610836421.7A CN106445414B (en) 2016-09-20 2016-09-20 Terminal device free memory extended method and system

Publications (2)

Publication Number Publication Date
CN106445414A CN106445414A (en) 2017-02-22
CN106445414B true CN106445414B (en) 2019-09-03

Family

ID=58166507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610836421.7A Active CN106445414B (en) 2016-09-20 2016-09-20 Terminal device free memory extended method and system

Country Status (1)

Country Link
CN (1) CN106445414B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357864B (en) * 2017-06-30 2021-02-19 联想(北京)有限公司 File processing method and terminal
CN107465835A (en) * 2017-09-08 2017-12-12 济南浚达信息技术有限公司 A kind of Android mobile phone short message automated back-up and method for cleaning
CN108063818B (en) * 2017-12-18 2021-05-14 深圳市中科明望通信软件有限公司 Data downloading method, device, terminal and computer readable storage medium
CN108184223A (en) * 2017-12-28 2018-06-19 上海传英信息技术有限公司 A kind of data transfering method and data transferring system based on Bluetooth communication
CN108508349A (en) * 2018-03-16 2018-09-07 广州视源电子科技股份有限公司 Board stored response testing method, system, storage medium and computer equipment
CN112181277B (en) * 2019-07-03 2022-10-04 浙江宇视科技有限公司 Data storage space management method and device, storage medium and electronic equipment
CN112181630A (en) * 2019-07-05 2021-01-05 银河水滴科技(北京)有限公司 Data storage method, data storage equipment and computer readable storage medium
CN111444045A (en) * 2020-04-15 2020-07-24 厦门快商通科技股份有限公司 Backup method, device and equipment for voiceprint data
CN116304257B (en) * 2023-05-19 2023-08-08 天云融创数据科技(北京)有限公司 Classified storage method and system based on big data
CN117194348B (en) * 2023-11-02 2024-03-26 深圳市领存技术有限公司 Household file storage system, method, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761176A (en) * 2004-10-11 2006-04-19 中兴通讯股份有限公司 Method for implementing lossless addition and detetion in virtual cascading recovery process
CN1874563A (en) * 2006-06-15 2006-12-06 中山大学 Handset program, file management system and method
CN102495880A (en) * 2011-12-05 2012-06-13 北京新媒传信科技有限公司 Method and device for synchronizing file
CN103605800A (en) * 2013-12-06 2014-02-26 贝壳网际(北京)安全技术有限公司 File processing method and file processing system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166621B (en) * 2014-08-12 2018-12-14 联想(北京)有限公司 A kind of data processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761176A (en) * 2004-10-11 2006-04-19 中兴通讯股份有限公司 Method for implementing lossless addition and detetion in virtual cascading recovery process
CN1874563A (en) * 2006-06-15 2006-12-06 中山大学 Handset program, file management system and method
CN102495880A (en) * 2011-12-05 2012-06-13 北京新媒传信科技有限公司 Method and device for synchronizing file
CN103605800A (en) * 2013-12-06 2014-02-26 贝壳网际(北京)安全技术有限公司 File processing method and file processing system

Also Published As

Publication number Publication date
CN106445414A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106445414B (en) Terminal device free memory extended method and system
CN106357811B (en) A kind of delet method of Backup Data, apparatus and system
CN105187464B (en) Method of data synchronization, apparatus and system in a kind of distributed memory system
CN106502840B (en) A kind of data back up method, apparatus and system
CN105376277B (en) A kind of method of data synchronization and device
CN104737135B (en) The information processing terminal and synchronisation control means
CN107885804A (en) Database synchronization method, application server and computer-readable recording medium
CN109299157B (en) Data export method and device for distributed big single table
CN105138276B (en) Data storage method and data storage system
CN105068856A (en) Mirror image snapshooting based on virtual machine backup system and backup method
CN110941393A (en) Logical volume management-based LV supply method, device, equipment and medium
CN103167134A (en) Infinite storage system and method of mobile phone
CN103383698B (en) The method of data deletion and mobile terminal thereof
CN104348859B (en) File synchronisation method, device, server, terminal and system
CN105554143A (en) High-availability cache server and data processing method and system thereof
CN105468989A (en) Cloud storage quota management method based on Linux kernel monitoring
CN105554121A (en) Method and system for realizing load equalization of distributed cache system
CN103220352A (en) Terminal, server, file storage system and file storage method
CN103973727B (en) Method of data synchronization and device
CN104182182B (en) Intelligent terminal and data backup method thereof
CN105989139A (en) Affair synchronization method and equipment
CN104834749A (en) File synchronization method and synchronization system for mobile terminal and PC terminal
US11252121B2 (en) Message sending method and terminal device
CN102739446A (en) Method and device for selecting network time protocol (NTP) servers
CN105471955A (en) Writing method of distributed file system, client device and distributed file system

Legal Events

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