CN107357864A - A kind of document handling method and terminal - Google Patents

A kind of document handling method and terminal Download PDF

Info

Publication number
CN107357864A
CN107357864A CN201710526645.2A CN201710526645A CN107357864A CN 107357864 A CN107357864 A CN 107357864A CN 201710526645 A CN201710526645 A CN 201710526645A CN 107357864 A CN107357864 A CN 107357864A
Authority
CN
China
Prior art keywords
clouds
file
terminal
memory space
predetermined
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.)
Granted
Application number
CN201710526645.2A
Other languages
Chinese (zh)
Other versions
CN107357864B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710526645.2A priority Critical patent/CN107357864B/en
Publication of CN107357864A publication Critical patent/CN107357864A/en
Application granted granted Critical
Publication of CN107357864B publication Critical patent/CN107357864B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1824Distributed file systems implemented using Network-attached Storage [NAS] architecture
    • G06F16/183Provision of network file services by network file servers, e.g. by using NFS, CIFS

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of document handling method, including:The file identification operated is detected in the file identification of terminal loads, based on terminal document or high in the clouds file corresponding to the file identification lookup operated;The operation for the high in the clouds file is received, the high in the clouds file stored using the predetermined memory space of the terminal responds the operation;Detect and meet synchronous condition, by the high in the clouds file synchronization stored in the predetermined memory space to the high in the clouds;The high in the clouds file of the predetermined memory space storage is controlled based on predetermined space condition.The invention also discloses a kind of terminal.

Description

A kind of document handling method and terminal
Technical field
The present invention relates to the communication technology, more particularly to a kind of document handling method and terminal.
Background technology
The development of internet particularly mobile Internet so that the number amount and type of the file stored in terminal increasingly increase It is more, higher requirement is proposed to the memory space of terminal, the memory space of terminal is referred to as user's performance bottleneck used in everyday.
High in the clouds storage independently of terminal storage file, can effectively solve the bottleneck of terminal local memory space, still, will File solely stores beyond the clouds, the problem of efficiency of management is low be present, the memory space for terminal local, the text with high in the clouds The synchronization of part operation is efficiently managed, and there is no effective solution.
The content of the invention
What the technical scheme of the embodiment of the present invention was realized in:
The embodiment of the present invention provides a kind of document handling method, including:Detect and grasped in the file identification of terminal loads The file identification of work, based on terminal document or high in the clouds file corresponding to the file identification lookup operated;
The operation for the high in the clouds file is received, the high in the clouds text stored using the predetermined memory space of the terminal Part responds the operation;
Detect and meet synchronous condition, the high in the clouds file stored in the predetermined memory space is synchronized to the cloud End;
The high in the clouds file of the predetermined memory space storage is controlled based on predetermined space condition.
In such scheme, terminal document corresponding to the lookup or high in the clouds file, including:
When the type of file corresponding to the mark operated is terminal document, according to the mark in the terminal Terminal document corresponding to middle lookup;
When the type of file corresponding to the mark operated is high in the clouds file, described in the terminal makes a reservation for deposit Store up high in the clouds file corresponding to spatial lookup;
When not finding, from high in the clouds file corresponding to the acquisition of the high in the clouds and store to the predetermined storage of the terminal Space.
In such scheme, it is described obtained from the high in the clouds corresponding to high in the clouds file and store described predetermined to the terminal Memory space, including:
Do not find and when the high in the clouds is unsatisfactory for the scheduled operation condition of the execution operation for the high in the clouds file When, from high in the clouds file corresponding to the acquisition of the high in the clouds and store to the predetermined memory space of the terminal;
Wherein, the scheduled operation condition includes at least one of:Support to hold for the high in the clouds file in the high in the clouds The row operation;The delay that the high in the clouds performs the operation for the high in the clouds is less than delay threshold value.
In such scheme, methods described also includes:
Do not find and when the high in the clouds meets the scheduled operation condition for the execution operation of the high in the clouds file, The operation is sent to the high in the clouds, the operation is performed for the high in the clouds file for the high in the clouds.It is described in such scheme Detect and meet synchronous condition, including:
Detect and meet at least one following synchronous condition:
Receive the operational order for synchronizing the predetermined memory space and the high in the clouds;
High in the clouds file in the memory space beyond predetermined quantity does not receive operation in the given time;
Synchronous timing time reaches.
In such scheme, the high in the clouds file that the predetermined memory space storage is controlled based on predetermined space condition, bag Include:
Detect whether to meet at least one following predetermined space condition:The remaining space ratio of the predetermined memory space is low In proportion threshold value;The remaining space of the predetermined memory space is less than capacity-threshold;
When not meeting, the file in the predetermined memory space is deleted according to predetermined factors, wherein, the predetermined factors bag Include at least one of:
Operating frequency, file size, operating time.
The embodiment of the present invention also provides a kind of terminal, including:
Processor, for detecting the file identification operated in the file identification of the terminal loads, based on the quilt Terminal document or high in the clouds file corresponding to the file identification lookup of operation;
Transceiver, for receiving the operation for the high in the clouds file, stored using the predetermined memory space of the terminal The high in the clouds file respond the operation;
The processor, is additionally operable to detect and meets synchronous condition, by the high in the clouds stored in the predetermined memory space text Part is synchronized to the high in the clouds;
The high in the clouds file of the predetermined memory space storage is controlled based on predetermined space condition.
In such scheme, the processor, specifically for when the type of file corresponding to the mark operated is eventually When holding file, the terminal document according to corresponding to the mark is searched in the terminal;
When the type of file corresponding to the mark operated is high in the clouds file, described in the terminal makes a reservation for deposit Store up high in the clouds file corresponding to spatial lookup;
When not finding, from high in the clouds file corresponding to the acquisition of the high in the clouds and store to the predetermined storage of the terminal Space.
In such scheme, the processor, specifically for not finding and when the high in the clouds is unsatisfactory for being directed to the high in the clouds During the scheduled operation condition of the execution operation of file, from high in the clouds file corresponding to the acquisition of the high in the clouds and store to the terminal The predetermined memory space;
Wherein, the scheduled operation condition includes at least one of:Support to hold for the high in the clouds file in the high in the clouds The row operation;The delay that the high in the clouds performs the operation for the high in the clouds is less than delay threshold value.
In such scheme, the processor, it is additionally operable to not find and when the high in the clouds meets to be directed to the high in the clouds file Execution operation scheduled operation condition when, send the operation to the high in the clouds, the high in the clouds file be directed to for the high in the clouds Perform the operation.
In such scheme, the processor, meet at least one following synchronous condition specifically for detecting:
Receive the operational order for synchronizing the predetermined memory space and the high in the clouds;
High in the clouds file in the memory space beyond predetermined quantity does not receive operation in the given time;
Synchronous timing time reaches.
In such scheme, the processor, specifically for detecting whether to meet at least one following predetermined space condition:Institute The remaining space ratio for stating predetermined memory space is less than proportion threshold value;The remaining space of the predetermined memory space is less than spatial threshold Value;
When not meeting, the file in the predetermined memory space is deleted according to predetermined factors, wherein, the predetermined factors bag Include at least one of:
Operating frequency, file size, operating time.
In the embodiment of the present invention, terminal is first to terminal document information and high in the clouds file by way of load document mark Information is merged, and the file identification includes the mark of local file mark high in the clouds file, due to terminal only load document mark Know, without obtaining file content, therefore save local disk space;Terminal is receiving the operation for the high in the clouds file When, the high in the clouds file stored using the predetermined memory space of the terminal responds the operation, as stored to terminal-pair High in the clouds file is modified, and detect meet synchronous condition when, the high in the clouds file that will be stored in the predetermined memory space Synchronize to the high in the clouds;Also, the high in the clouds by controlling the predetermined memory space to store based on predetermined space condition is literary Part, while realizing the management to the predetermined memory space of terminal, it can ensure that high in the clouds file is not lost..
Brief description of the drawings
Fig. 1 is the network architecture schematic diagram in the embodiment of the present invention;
Fig. 2 is a kind of handling process schematic diagram of one document handling method of the embodiment of the present invention;
Fig. 3 is a kind of part schematic flow sheet of two document handling method of the embodiment of the present invention;
Fig. 4 is a kind of part schematic flow sheet of three document handling method of the embodiment of the present invention;
Fig. 5 is a kind of part schematic flow sheet of four document handling method of the embodiment of the present invention;
Fig. 6 is a kind of part schematic flow sheet of five document handling method of the embodiment of the present invention;
Fig. 7 is a kind of part schematic flow sheet of six document handling method of the embodiment of the present invention;
Fig. 8 is the part schematic flow sheet of July 1st kind document handling method of the embodiment of the present invention;
Fig. 9 is the part schematic flow sheet of Aug. 1st kind document handling method of the embodiment of the present invention;
Figure 10 is the composition structural representation of terminal of the embodiment of the present invention
Embodiment
Before the present embodiment is introduced, the involved network architecture is first introduced in the embodiment of the present invention, referring to Fig. 1, Fig. 1 is the network architecture schematic diagram for realizing the embodiment of the present invention;The present embodiment is related to two method, apparatus, respectively server 1 and end End 2;Wherein, to store the equipment of high in the clouds file, terminal 2 includes server 1:Hardware layer 21, operating system layer 22, network interface 23rd, Program Manager 24 and Dropbox client 25;Each composition structure of terminal is illustrated respectively below;
Hardware layer 21, including following structure:
Processor 10, it may be possible to a kind of IC chip, there is the disposal ability of signal.In implementation process, this hair Each step for the document handling method that bright embodiment provides can by the integrated logic circuit of the hardware in processor 111 or The instruction of software form is completed.Above-mentioned processor 111 can be general processor, digital signal processor (DSP, Digital Signal Processor), either other PLDs, discrete gate or transistor logic, discrete hardware group Part etc..
Transceiver 20, various forms of sensors are can be provided as, the operation of user can be received.
Hardware layer can also include:Memory 30, can be provided as various forms of nonvolatile memories, such as can be with It is read-only storage (ROM, Read Only Memory), programmable read only memory (PROM, Programmable Read- Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only ) etc. Memory it is used to store various types of data, such as local file data, high in the clouds file data.
Operating system layer 22, it is each for realizing comprising various system programs, such as ccf layer, core library layer, driving layer etc. The task of kind of basic business and processing based on hardware layer 11, be not excluded in the embodiment of the present invention be using any type of operation System, including such as Android system of the operating system based on linux kernel, can also include iOS system and class Unix system;In this reality Apply in example, operating system layer 22 is used to obtain high in the clouds fileinfo from server 1, and the high in the clouds fileinfo of acquisition is synchronized to Program Manager 24.
Network interface 23, for the communication with server 1 by wired or wireless way, network interface 113 can access Wireless network based on communication standard, evolution or combinations thereof such as WiFi, 2G, 3G, 4G and 4G.
Program Manager 24, for obtaining high in the clouds fileinfo and terminal document information, and receiving based on high in the clouds text During the operation of part, program corresponding to the high in the clouds file is activated, the high in the clouds file is carried out using program corresponding to the high in the clouds file After modification, operating system layer 22 is synchronized to.
Dropbox client 25, high in the clouds fileinfo can be obtained from server 2, and acquired high in the clouds fileinfo is sent out Deliver to the application program of Program Manager 24.
In implementation process, Dropbox client 25 obtains high in the clouds fileinfo from server 2 by network interface 23 and obtained Your fileinfo of terminal is taken, and acquired fileinfo is sent to Program Manager 24.Operating system layer 22 is from server 2 High in the clouds file data is downloaded, and the high in the clouds fileinfo that download is obtained is sent to Program Manager 24.Program Manager 24 is right The high in the clouds fileinfo and terminal document information that Dropbox client 25 is sent are collected, merged, and obtain listed files;This document File identification is only stored with list, is not stored with file data.
When the file identification in listed files is triggered, file corresponding to the file identification that terminal judges to be triggered is eventually Hold file or high in the clouds file;It is identical to the processing procedure of terminal document and the processing procedure of prior art if terminal document; If high in the clouds file, then high in the clouds file is handled according to the processing procedure of following embodiments.
The present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings.It is it should be appreciated that described herein Specific embodiment only to explain the present invention, be not intended to limit the present invention.
Embodiment one
The handling process schematic diagram of one a kind of document handling method of the embodiment of the present invention, as shown in Fig. 2 methods described application In terminal, comprise the following steps:
Step S101, the file identification that is operated is detected in the file identification of terminal loads, operated based on described Terminal document or high in the clouds file corresponding to file identification lookup;
Here, terminal needs load document information, the fileinfo first to include:File identification, file size, files classes The information such as type;The file identification:Including terminal document mark and high in the clouds file identification.Wherein, terminal document refer to store to The file of terminal local, high in the clouds file refer to the file for storing to the file of server and being stored in terminal predetermined memory space.
Here, the operation to file identification includes double-clicking file identification, clicks file identification etc..
Accordingly, it is appreciated that based on terminal document or high in the clouds file corresponding to the file identification lookup operated For terminal searches respective file based on the file identification operated in the caching of terminal or in server.
Step S102, the operation for the high in the clouds file is received, stored using the predetermined memory space of the terminal The high in the clouds file respond the operation;
Specifically, the operation for the high in the clouds file includes:Modification, renewal to the high in the clouds file etc..
Step S103, detects and meets synchronous condition, by the high in the clouds file synchronization stored in the predetermined memory space extremely The high in the clouds;
Here, the synchronous condition includes at least one of:Receive the predetermined memory space and the high in the clouds High in the clouds file in the operational order that synchronizes, the memory space beyond predetermined quantity does not receive behaviour in the given time Make, synchronous timing time reaches.
Wherein, the operational order predetermined memory space and the high in the clouds synchronized, can be that terminal user exists Operation of the high in the clouds file synchronization by terminal storage of the predetermined memory space triggering to high in the clouds.Exceed in the memory space The high in the clouds file of predetermined quantity does not receive operation in the given time, refers to the cloud for exceeding predetermined quantity in the memory space Hold file in the given time, be not received by any trigger action.The synchronous timing time reaches, and refers to set in advance Put the synchronizing cycle of the high in the clouds file synchronization of terminal storage to high in the clouds, synchronous timing time is determined further according to synchronizing cycle; When the timing time of synchronization reaches, by the high in the clouds file synchronization stored in the predetermined memory space to the high in the clouds
Step S104, the high in the clouds file of the predetermined memory space storage is controlled based on predetermined space condition;
Specifically, terminal controls the high in the clouds file of the predetermined memory space storage, Ke Yili based on predetermined space condition Solve as under given conditions, the high in the clouds file stored to the predetermined memory space of terminal is deleted.
Embodiment two
Referring to Fig. 3, its partial process view for the document handling method of the embodiment of the present invention two.The method of the present embodiment Similar to the method shown in Fig. 1, its difference is, step S101 comprises the following steps:
Step S210, judge the type of file corresponding to the file identification that is operated;It is corresponding in the file identification operated The type of file when being terminal document, perform step S211;It is cloud in the type of file corresponding to the file identification operated When holding file, step S212 is performed.
Here, the terminal document refers to the file for being stored in terminal local.
Step S211, the terminal document according to corresponding to the mark is searched in the terminal.
Step S212, according to high in the clouds file corresponding to predetermined memory space lookup of the mark in the terminal;
Here, the predetermined memory space can be the caching in terminal.
Step S213, when step S211 and step S212 does not find corresponding terminal document or high in the clouds file, from The high in the clouds obtains high in the clouds file corresponding to the mark, and stores to the predetermined memory space of the terminal.
Embodiment three
Referring to Fig. 4, its partial process view for the document handling method of the embodiment of the present invention three.The method of the present embodiment Similar to the method shown in Fig. 3, its difference is, step S213 comprises the following steps:
Step S310, judges whether the high in the clouds meets the scheduled operation bar of the execution operation for the high in the clouds file Part;Judged result is when being, to perform step S311;When judged result is no, step S312 is performed;
Wherein, the scheduled operation condition is included at least one:Support to hold for the high in the clouds file in the high in the clouds The delay that the row operation, the high in the clouds perform the operation for the high in the clouds is less than delay threshold value.
Here, the operation that the high in the clouds file performs can be modification high in the clouds file, can also be to high in the clouds file its He operates;When not supporting the modification to high in the clouds file in the high in the clouds, judge that high in the clouds is unsatisfactory for scheduled operation condition.The high in the clouds The delay of the operation is performed, refers to that high in the clouds responds the time of the operation;The delay that the operation is responded in the high in the clouds is big When threshold value is postponed, judge that high in the clouds is unsatisfactory for scheduled operation condition.
Step S311, the operation is sent to the high in the clouds, the behaviour is performed for the high in the clouds file for the high in the clouds Make;
Specifically, terminal sends the operation by communication interface to high in the clouds, so that the high in the clouds is based on the operation pair The high in the clouds file performs the operation.
Step S312, from high in the clouds file corresponding to the acquisition of the high in the clouds and store to the predetermined storage sky of the terminal Between;
Specifically, terminal obtains high in the clouds corresponding with file identification file from the high in the clouds, and the high in the clouds is literary Part is stored to the predetermined memory space of terminal.
Here, the predetermined memory space of the terminal can be the caching of terminal.
Example IV
Referring to Fig. 5, its partial process view for the document handling method of the embodiment of the present invention four.The method of the present embodiment Similar to the method shown in Fig. 1, its difference is, step S104 comprises the following steps:
Whether step S410, terminal detection predetermined memory space meet predetermined space condition, obtain testing result;Detecting As a result it is when being, to terminate flow;When testing result is no, step S411 is performed;
Here, the predetermined space condition includes at least one of:The remaining space ratio of the predetermined memory space Remaining space less than proportion threshold value, the predetermined memory space is less than capacity-threshold.
Step S411, terminal delete the file in the predetermined memory space according to predetermined factors;
Specifically, terminal is when the remaining space ratio for detecting the predetermined memory space is higher than default proportion threshold value, Delete the file of the predetermined memory space;Or terminal is less than capacity-threshold in the remaining space for detecting the predetermined memory space When, delete the file of the predetermined memory space.
Wherein, the predetermined memory space refers to the caching of terminal;Accordingly, file, energy are deleted in the caching of terminal Enough save the local storage space of terminal, additionally it is possible to ensure still to be stored with this document in high in the clouds;That is, in the sheet of terminal High in the clouds file is deleted in ground caching, the loss of high in the clouds file can't be caused.
Here, the predetermined factors include at least one of:Operating frequency, file size, operating time.
Embodiment five
Referring to Fig. 6, its partial process view for the document handling method of the embodiment of the present invention five.The method of the present embodiment Similar to the method shown in Fig. 5, its difference is, step S411 comprises the following steps:
Step S510, the file in terminal predetermined memory space is ranked up according to operating frequency, obtains ranking results;
Specifically, terminal carries out ascending order arrangement according to operating frequency to the file in terminal predetermined memory space or descending is arranged Row.
Wherein, operating frequency refers to the operation time in preset time range to the file in the predetermined memory space Number.
Step S511, the file in the predetermined memory space is deleted according to ranking results;
Specifically, when the ranking results are to be arranged according to the ascending order of the operating frequency of file, terminal is from the sequence As a result first file starts to delete, until the file in the predetermined memory space meets predetermined space condition.Described Ranking results are that terminal is since last file of the ranking results when being arranged according to the descending of the operating frequency of file Delete, until the file in the predetermined memory space meets predetermined space condition.
Embodiment six
Referring to Fig. 7, its partial process view for the document handling method of the embodiment of the present invention six.The method of the present embodiment Similar to the method shown in Fig. 5, its difference is, step S411 comprises the following steps:
Step S610, the file in terminal predetermined memory space is ranked up according to file size, obtains ranking results;
Specifically, terminal carries out ascending order arrangement according to file size to the file in terminal predetermined memory space or descending is arranged Row.
Wherein, file size refers to the size of data to the file in the predetermined memory space.
Step S611, the file in the predetermined memory space is deleted according to ranking results;
Specifically, when the ranking results are to be arranged according to the ascending order of file size, terminal is from the ranking results First file starts to delete, until the file in the predetermined memory space meets predetermined space condition.In the sequence knot Fruit is that terminal is deleted since last file of the ranking results, until institute when being arranged according to the descending of file size State the file in predetermined memory space and meet predetermined space condition.
Embodiment seven
Referring to Fig. 8, its partial process view for the document handling method of the embodiment of the present invention seven.The method of the present embodiment Similar to the method shown in Fig. 5, its difference is, step S411 comprises the following steps:
Step S710, the file in terminal predetermined memory space is ranked up according to the operating time, obtains ranking results;
Specifically, terminal is carried out according to the recent operating time of file to the file in terminal predetermined memory space Ascending order arranges or descending arrangement.
Step S711, the file in the predetermined memory space is deleted according to ranking results;
Specifically, when the ranking results are to be arranged according to the ascending order of operating time, terminal is from the ranking results Last file starts to delete, until the file in the predetermined memory space meets predetermined space condition.In the sequence As a result it is that terminal is deleted since first file of the ranking results, until institute when being arranged according to the descending of file size State the file in predetermined memory space and meet predetermined space condition.
Embodiment eight
So that operation is stored in the word document in high in the clouds as an example, the processing stream of Aug. 1st kind document handling method of the embodiment of the present invention Journey schematic diagram, as shown in figure 9, comprising the following steps:
Step S810, terminal establish listed files;
Specifically, listed files can be established by the Program Manager in terminal or file is established by the system program of terminal List or the plug-in unit by being installed on terminal establish listed files or the application call browser core by being installed on terminal JavaScript is performed to establish listed files.
Here, listed files comprises at least file identification;File size, file attribute, file type etc. can also be included Information.The file identification includes:Terminal document identifies and high in the clouds file identification;Wherein, terminal document refers to be stored in terminal Local file;High in the clouds file refers to the file for being stored in high in the clouds and the file being stored in terminal buffers.
So that the Program Manager of terminal establishes listed files as an example, the process that terminal obtains high in the clouds file identification is:Dropbox Client obtains high in the clouds file identification from high in the clouds and obtains terminal document mark from terminal, by the high in the clouds file identification hair of acquisition Deliver to the Program Manager of terminal.
Step S811, terminal receive first operation of the user for entitled 1 word document of high in the clouds storage;
Specifically, first operation can be corresponding file identification in listed files described in user click.
Here, file type corresponding to the file identification can also be identified in the listed files, it is such as described File corresponding to file identification is high in the clouds file, or the high in the clouds file of local synchronization;Wherein, the high in the clouds file of local synchronization is The file being synchronized to from high in the clouds in terminal buffers.
Entitled 1 word document is to store to the high in the clouds file in high in the clouds in the embodiment of the present invention.
Step S812, terminal obtains this document from high in the clouds, and this document is stored to the caching of terminal.
Step S813, terminal receive and respond second operation of the user for this document;
Here, second operation is that user double-clicks corresponding file identification in the listed files, and this document is entered Row modification.
Step S813, terminal store amended this document in local cache.
Amended this document is uploaded to high in the clouds by step S814, terminal.
Step S815, when receiving terminal display interface prompting inadequate buffer space, delete the part or complete in caching Portion's file.
Embodiment nine
To realize above-mentioned document handling method, the embodiment of the present invention nine also provides a kind of terminal, the composition knot of the terminal Structure schematic diagram, as shown in Figure 10, including:Processor 10 and transceiver 20;Wherein,
The processor 10, for detecting the file identification operated in the file identification of the terminal loads, it is based on Terminal document or high in the clouds file corresponding to the file identification lookup operated;
The transceiver 20, the operation of the high in the clouds file is directed to for receiving, utilizes the predetermined storage of the terminal The high in the clouds file of space storage responds the operation;
The processor 10, is additionally operable to detect and meets synchronous condition, the high in the clouds that will be stored in the predetermined memory space File synchronization is to the high in the clouds;
The high in the clouds file of the predetermined memory space storage is controlled based on predetermined space condition.
In a preferred embodiment, the processor 10, specifically for when literary corresponding to the file identification operated When the type of part is terminal document, the terminal document according to corresponding to the mark is searched in the terminal;
When the type of file corresponding to the file identification operated is high in the clouds file, according to the mark described High in the clouds file corresponding to the predetermined memory space lookup of terminal;
When not finding, obtain high in the clouds file corresponding to the mark from the high in the clouds and store to described in the terminal Predetermined memory space.
In a preferred embodiment, the processor 10, specifically for not finding and when the high in the clouds is unsatisfactory for being directed to During the scheduled operation condition of the execution operation of the high in the clouds file, from high in the clouds file corresponding to the acquisition of the high in the clouds and store to institute State the predetermined memory space of terminal;
Wherein, the scheduled operation condition includes at least one of:Support to hold for the high in the clouds file in the high in the clouds The row operation;The delay that the high in the clouds performs the operation for the high in the clouds is less than delay threshold value.
In a preferred embodiment, the processor 10, it is additionally operable to not find and when the high in the clouds meets for described During the scheduled operation condition of the execution operation of high in the clouds file, the operation is sent to the high in the clouds, for the high in the clouds for described High in the clouds file performs the operation.
In a preferred embodiment, the processor 10, at least one following synchronous condition is met specifically for detecting:
Receive the operational order for synchronizing the predetermined memory space and the high in the clouds;
High in the clouds file in the memory space beyond predetermined quantity does not receive operation in the given time;
Synchronous timing time reaches.
In a preferred embodiment, the processor, specifically for detecting whether to meet following predetermined space condition at least One of:The remaining space ratio of the predetermined memory space is less than proportion threshold value;The remaining space of the predetermined memory space is low In capacity-threshold;
When not meeting, the file in the predetermined memory space is deleted according to predetermined factors, wherein, the predetermined factors bag Include at least one of:
Operating frequency, file size, operating time.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
Or if the above-mentioned integrated unit of the present invention is realized in the form of software function module and is used as independent product Sale in use, can also be stored in a computer read/write memory medium.Based on such understanding, the present invention is implemented The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product, The computer software product is stored in a storage medium, including some instructions are causing a computer equipment (can be with It is personal computer, server or network equipment etc.) perform all or part of each embodiment methods described of the present invention. And foregoing storage medium includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (12)

  1. A kind of 1. document handling method, it is characterised in that including:
    The file identification operated is detected in the file identification of terminal loads, based on the file identification lookup pair operated The terminal document or high in the clouds file answered;
    The operation for the high in the clouds file is received, the high in the clouds file stored using the predetermined memory space of the terminal Respond the operation;
    Detect and meet synchronous condition, by the high in the clouds file synchronization stored in the predetermined memory space to the high in the clouds;
    The high in the clouds file of the predetermined memory space storage is controlled based on predetermined space condition.
  2. 2. according to the method for claim 1, it is characterised in that terminal document corresponding to the lookup or high in the clouds file, bag Include:
    When the type of file corresponding to the file identification operated is terminal document, according to the mark in the terminal Terminal document corresponding to middle lookup;
    When the type of file corresponding to the file identification operated is high in the clouds file, according to the mark in the terminal The predetermined memory space search corresponding to high in the clouds file;
    When not finding, obtain high in the clouds file corresponding to the mark from the high in the clouds and store described predetermined to the terminal Memory space.
  3. 3. according to the method for claim 2, it is characterised in that it is described obtained from the high in the clouds corresponding to high in the clouds file and deposit Store up to the predetermined memory space of the terminal, including:
    Do not find and when the high in the clouds is unsatisfactory for the scheduled operation condition for the execution operation of the high in the clouds file, from High in the clouds file corresponding to the high in the clouds acquisition is simultaneously stored to the predetermined memory space of the terminal;
    Wherein, the scheduled operation condition includes at least one of:Support to perform institute for the high in the clouds file in the high in the clouds State operation;The delay that the high in the clouds performs the operation for the high in the clouds is less than delay threshold value.
  4. 4. according to the method for claim 3, it is characterised in that methods described also includes:
    Do not find and when the high in the clouds meets the scheduled operation condition for the execution operation of the high in the clouds file, to institute State high in the clouds and send the operation, the operation is performed for the high in the clouds file for the high in the clouds.
  5. 5. according to the method for claim 1, it is characterised in that described detect meets synchronous condition, including:
    Detect and meet at least one following synchronous condition:
    Receive the operational order for synchronizing the predetermined memory space and the high in the clouds;
    High in the clouds file in the memory space beyond predetermined quantity does not receive operation in the given time;
    Synchronous timing time reaches.
  6. 6. according to the method for claim 1, it is characterised in that described that the predetermined storage is controlled based on predetermined space condition The high in the clouds file of space storage, including:
    Detect whether to meet at least one following predetermined space condition:The remaining space ratio of the predetermined memory space be less than than Example threshold value;The remaining space of the predetermined memory space is less than capacity-threshold;
    When not meeting, the file in the predetermined memory space is deleted according to predetermined factors, wherein, the predetermined factors include with It is at least one lower:
    Operating frequency, file size, operating time.
  7. A kind of 7. terminal, it is characterised in that including:
    Processor, for detecting the file identification operated in the file identification of the terminal loads, operated based on described File identification search corresponding to terminal document or high in the clouds file;
    Transceiver, the operation of the high in the clouds file is directed to for receiving, is stored using the predetermined memory space of the terminal The high in the clouds file responds the operation;
    The processor, is additionally operable to detect and meets synchronous condition, and the high in the clouds file stored in the predetermined memory space is same Walk to the high in the clouds;
    The high in the clouds file of the predetermined memory space storage is controlled based on predetermined space condition.
  8. 8. according to the terminal described in right 7, it is characterised in that the processor, specifically for when the files-designated operated When the type of file corresponding to knowledge is terminal document, the terminal document according to corresponding to the mark is searched in the terminal;
    When the type of file corresponding to the file identification operated is high in the clouds file, according to the mark in the terminal The predetermined memory space search corresponding to high in the clouds file;
    When not finding, obtain high in the clouds file corresponding to the mark from the high in the clouds and store described predetermined to the terminal Memory space.
  9. 9. terminal according to claim 8, it is characterised in that the processor, specifically for not finding and when described When high in the clouds is unsatisfactory for the scheduled operation condition for the execution operation of the high in the clouds file, from high in the clouds corresponding to the acquisition of the high in the clouds File is simultaneously stored to the predetermined memory space of the terminal;
    Wherein, the scheduled operation condition includes at least one of:Support to perform institute for the high in the clouds file in the high in the clouds State operation;The delay that the high in the clouds performs the operation for the high in the clouds is less than delay threshold value.
  10. 10. terminal according to claim 9, it is characterised in that the processor, be additionally operable to not find and when described When high in the clouds meets the scheduled operation condition for the execution operation of the high in the clouds file, the operation is sent to the high in the clouds, is supplied The high in the clouds performs the operation for the high in the clouds file.
  11. 11. terminal according to claim 7, it is characterised in that the processor, specifically for detect meet it is as follows At least one step condition:
    Receive the operational order for synchronizing the predetermined memory space and the high in the clouds;
    High in the clouds file in the memory space beyond predetermined quantity does not receive operation in the given time;
    Synchronous timing time reaches.
  12. 12. terminal according to claim 7, it is characterised in that the processor, specifically for detecting whether that satisfaction is following At least one predetermined space condition:The remaining space ratio of the predetermined memory space is less than proportion threshold value;The predetermined storage The remaining space in space is less than capacity-threshold;
    When not meeting, the file in the predetermined memory space is deleted according to predetermined factors, wherein, the predetermined factors include with It is at least one lower:
    Operating frequency, file size, operating time.
CN201710526645.2A 2017-06-30 2017-06-30 File processing method and terminal Active CN107357864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710526645.2A CN107357864B (en) 2017-06-30 2017-06-30 File processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710526645.2A CN107357864B (en) 2017-06-30 2017-06-30 File processing method and terminal

Publications (2)

Publication Number Publication Date
CN107357864A true CN107357864A (en) 2017-11-17
CN107357864B CN107357864B (en) 2021-02-19

Family

ID=60274171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710526645.2A Active CN107357864B (en) 2017-06-30 2017-06-30 File processing method and terminal

Country Status (1)

Country Link
CN (1) CN107357864B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362546A (en) * 2019-07-22 2019-10-22 网易(杭州)网络有限公司 Acquisition methods, device and the document conversion system of convert file

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854392A (en) * 2010-05-20 2010-10-06 清华大学 Personal data management method based on cloud computing environment
CN102014158A (en) * 2010-11-29 2011-04-13 北京兴宇中科科技开发股份有限公司 Cloud storage service client high-efficiency fine-granularity data caching system and method
CN102497426A (en) * 2011-12-13 2012-06-13 方正国际软件有限公司 Wireless cloud storage card
CN102811260A (en) * 2012-08-10 2012-12-05 清华大学 File cloud synchronizing system and method
CN103002048A (en) * 2012-12-20 2013-03-27 北京奇虎科技有限公司 System and method for achieving file synchronous storage
CN103064637A (en) * 2012-12-24 2013-04-24 珠海金山办公软件有限公司 Network disk cache synchronizing method and system
CN103067466A (en) * 2012-12-20 2013-04-24 北京奇虎科技有限公司 Client-side and method capable of achieving synchronic file storage
US20140047070A1 (en) * 2012-08-10 2014-02-13 Hon Hai Precision Industry Co., Ltd. Cloud comuting device and method for storing data files in cloud servers
CN103605798A (en) * 2013-12-05 2014-02-26 上海够快网络科技有限公司 Method for directly operating file stored at cloud end
CN104519078A (en) * 2013-09-26 2015-04-15 中国电信股份有限公司 A method and a device for realizing cloud storage
CN106021327A (en) * 2016-05-06 2016-10-12 南开大学 A method for constructing a network disk system supporting simultaneous reading and writing of multiple users
WO2016192327A1 (en) * 2015-06-04 2016-12-08 上海斐讯数据通信技术有限公司 Network-based file cloud synchronization method
CN106445414A (en) * 2016-09-20 2017-02-22 广州视源电子科技股份有限公司 Available memory space extension method and available memory space extension system of terminal equipment
CN106557269A (en) * 2015-09-29 2017-04-05 中兴通讯股份有限公司 The method and apparatus of storage cloud disk resource
CN106570084A (en) * 2016-10-19 2017-04-19 捷开通讯(深圳)有限公司 Mobile terminal with storage function and management method of storage space of terminal

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854392A (en) * 2010-05-20 2010-10-06 清华大学 Personal data management method based on cloud computing environment
CN102014158A (en) * 2010-11-29 2011-04-13 北京兴宇中科科技开发股份有限公司 Cloud storage service client high-efficiency fine-granularity data caching system and method
CN102497426A (en) * 2011-12-13 2012-06-13 方正国际软件有限公司 Wireless cloud storage card
CN102811260A (en) * 2012-08-10 2012-12-05 清华大学 File cloud synchronizing system and method
US20140047070A1 (en) * 2012-08-10 2014-02-13 Hon Hai Precision Industry Co., Ltd. Cloud comuting device and method for storing data files in cloud servers
CN103067466A (en) * 2012-12-20 2013-04-24 北京奇虎科技有限公司 Client-side and method capable of achieving synchronic file storage
CN103002048A (en) * 2012-12-20 2013-03-27 北京奇虎科技有限公司 System and method for achieving file synchronous storage
CN103064637A (en) * 2012-12-24 2013-04-24 珠海金山办公软件有限公司 Network disk cache synchronizing method and system
CN104519078A (en) * 2013-09-26 2015-04-15 中国电信股份有限公司 A method and a device for realizing cloud storage
CN103605798A (en) * 2013-12-05 2014-02-26 上海够快网络科技有限公司 Method for directly operating file stored at cloud end
WO2016192327A1 (en) * 2015-06-04 2016-12-08 上海斐讯数据通信技术有限公司 Network-based file cloud synchronization method
CN106557269A (en) * 2015-09-29 2017-04-05 中兴通讯股份有限公司 The method and apparatus of storage cloud disk resource
CN106021327A (en) * 2016-05-06 2016-10-12 南开大学 A method for constructing a network disk system supporting simultaneous reading and writing of multiple users
CN106445414A (en) * 2016-09-20 2017-02-22 广州视源电子科技股份有限公司 Available memory space extension method and available memory space extension system of terminal equipment
CN106570084A (en) * 2016-10-19 2017-04-19 捷开通讯(深圳)有限公司 Mobile terminal with storage function and management method of storage space of terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362546A (en) * 2019-07-22 2019-10-22 网易(杭州)网络有限公司 Acquisition methods, device and the document conversion system of convert file

Also Published As

Publication number Publication date
CN107357864B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN106886570B (en) Page processing method and device
CN106201661B (en) Method and apparatus for elastic telescopic cluster virtual machine
EP3647949B1 (en) Application program processing method, device and storage medium
Lu et al. Fast service migration method based on virtual machine technology for MEC
CN106557384A (en) Based on the data processing method of Linux, device and system
CN106354606B (en) Application exception processing method and processing device
CN104679651B (en) A kind of automated testing method and execute node
CN104484482B (en) The info web update method and system of the network platform
CN108595234A (en) Five application page switching method, device and equipment
CN106406995A (en) Application page task switching method and device and mobile terminal
CN106817391A (en) Document breakpoint transmission method and apparatus
CN104796351B (en) The method for down loading and device of a kind of network data
JP2018528634A (en) Method and device for previewing moving image and method and device for displaying expression package
CN107463657A (en) File operation method and terminal
CN105302702B (en) The detection method and device of terminal capabilities
CN109558143A (en) The method and device of application deployment in a kind of cluster
CN115114359A (en) User data processing method and device
CN107357864A (en) A kind of document handling method and terminal
US20160277477A1 (en) Information processing apparatus, terminal device, information processing method, and non-transitory computer readable recording medium
CN104572981B (en) A kind of Webpage method for caching and processing and mobile terminal device
CN103501247A (en) Method and device for processing high concurrency request
CN101925051B (en) A kind of mobile terminal and method for down loading thereof
CN106850707A (en) Method, apparatus and system that material batch is uploaded
US20160254940A9 (en) Apparatus and method for a thin form-factor technology for use in handheld smart phone and tablet devices
WO2017076027A1 (en) Wallpaper processing method and apparatus

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