CN105930436A - File recovery method and device for mobile terminal equipment - Google Patents
File recovery method and device for mobile terminal equipment Download PDFInfo
- Publication number
- CN105930436A CN105930436A CN201610245463.3A CN201610245463A CN105930436A CN 105930436 A CN105930436 A CN 105930436A CN 201610245463 A CN201610245463 A CN 201610245463A CN 105930436 A CN105930436 A CN 105930436A
- Authority
- CN
- China
- Prior art keywords
- file destination
- mobile terminal
- file
- user
- terminal device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
Abstract
Embodiments of the invention provide a file recovery method and device for mobile terminal equipment. The method comprises the following steps: in response to a deletion operation, for a target file, of a user, recording storage path information of the target file, and moving the target file into a preset storage area of a built-in storage component of the mobile terminal equipment; in response to a restoration operation, for the target file, of the user, acquiring the recorded storage path information of the target file, and moving the target file from the preset storage area to a storage position corresponding to the storage path information. By adopting the file recovery method and device, the deleted files can be restored, so that the important information of the users is prevented from loss and the user experience is improved.
Description
Technical field
The present invention relates to computer technology, particularly relate to a kind of file for mobile terminal device and return
Receiving method and device.
Background technology
Along with the development of terminal technology, user's usage amount of mobile terminal device (such as mobile phone)
Increasing.Along with the appearance of intelligent operating system, people are browsed by mobile terminal device, locate
Reason and storage file, substantially increase work efficiency.
Currently, due to the continuous expansion of the scope of business of people, the demand of handset capability is got over by people
Come the highest.People often use mobile phone to be managed the file of oneself, as carry out Document Editing,
File transmission or file deletion etc..If user will be stored in deleting such as the file such as photo in mobile phone,
Then mobile phone can be by this document complete deletion from mobile phone.
But, mobile terminal device based on above-mentioned processing mode, if user deletes certain literary composition by mistake
Part, then cannot recover this document, causes the important information of user to be lost, and then reduces Consumer's Experience.
Summary of the invention
It is an object of the invention to, it is provided that a kind of file recovery method for mobile terminal device with
And realize the device of the method, so that deleted file to be reduced, it is to avoid the important letter of user
Breath is lost, thus improves Consumer's Experience.
According to an aspect of the present invention, it is provided that a kind of file recovery method for mobile terminal device.
Described method includes, in response to user's deletion action to file destination, records described file destination
Store path information, and described file destination is moved to the built-in memory unit of mobile terminal device
Territory, preset memory areas in;In response to user's restoring operation to described file destination, obtain record
The store path information of described file destination, and by described file destination from described preset memory areas
Territory moves to the storage position that described store path information is corresponding.
Preferably, described method also includes: when described file destination moves to described preset memory areas
When storage duration behind territory reaches scheduled duration, by described file destination from described mobile terminal device
Middle deletion.
Preferably, described method also includes: in response to user to the institute in territory, described preset memory areas
State the deletion action of file destination, described file destination is deleted from described mobile terminal device.
Preferably, described method also includes: if the residual memory space in territory, described preset memory areas
Less than predetermined memory space threshold value, then the file of storage in territory, described preset memory areas is deleted.
Preferably, described file destination is cloud synchronous documents, described in response to user to file destination
Deletion action after, described method also includes: send described file destination to cloud server
Deletion record message;Receive from described cloud server and successfully delete the notice of described file destination and disappear
Breath.
Preferably, described file destination is cloud synchronous documents, described in response to user to described target
After the restoring operation of file, described method also includes: send described target literary composition to cloud server
The reduction record message of part;The logical of the described file destination that unerases is received from described cloud server
Know message.
According to a further aspect in the invention, it is provided that a kind of file for mobile terminal device reclaims dress
Put.Described device includes: the first deletion action respond module, for civilian to target in response to user
The deletion action of part, records the store path information of described file destination, and by described file destination
Move in the territory, preset memory areas of the built-in memory unit of mobile terminal device;Restoring operation response mould
Block, in response to user's restoring operation to described file destination, obtaining the described target of record
The store path information of file, and described file destination is moved to institute from territory, described preset memory areas
State the storage position that store path information is corresponding.
Preferably, described device also includes: file removing module, for moving when described file destination
Move the storage duration behind territory, described preset memory areas when reaching scheduled duration, by described file destination
Delete from described mobile terminal device.
Preferably, described device also includes: the second deletion action respond module, in response to
The family deletion action to the described file destination in territory, described preset memory areas, by described file destination
Delete from described mobile terminal device.
Preferably, described device also includes: memory space release module, if for described preset
The residual memory space of memory area is less than predetermined memory space threshold value, then by described preset storage
In region, the file of storage is deleted.
Preferably, described file destination is cloud synchronous documents, and described device also includes: deletion record
Sending module, for sending the deletion record message of described file destination to cloud server;Delete
Notice receiver module, successfully deletes the logical of described file destination for receiving from described cloud server
Know message.
Preferably, described file destination is cloud synchronous documents, and described device also includes: reduction record
Sending module, for sending the reduction record message of described file destination to cloud server;Reduction
Notice receiver module, for receiving the logical of the described file destination that unerases from described cloud server
Know message.
The file recovery method for mobile terminal device provided according to embodiments of the present invention and device,
By in response to user's deletion action to file destination, the store path information of record object file,
And file destination is moved in the territory, preset memory areas of the built-in memory unit of mobile terminal device,
When user carries out restoring operation to file destination, obtain the store path information of the file destination of record,
And move to from territory, preset memory areas the storage position that store path information is corresponding, enter by file destination
And so that deleted file is reduced, it is to avoid the important information of user is lost, thus improves
Consumer's Experience.
Accompanying drawing explanation
Fig. 1 illustrates the file recovery method for mobile terminal device of according to embodiments of the present invention
Flow chart;
Fig. 2 illustrates returning of the operating system with mobile terminal device of according to embodiments of the present invention one
Receive the interface schematic diagram at station;
Fig. 3 illustrate according to embodiments of the present invention one there is returning of application program in mobile terminal device
Receive station schematic diagram;
Fig. 4 illustrates the file recovery method for mobile terminal device of according to embodiments of the present invention two
Flow chart;
Fig. 5 illustrates the file retracting device for mobile terminal device of according to embodiments of the present invention three
Logic diagram;
Fig. 6 illustrates the hardware architecture diagram of the mobile terminal device of according to embodiments of the present invention four.
Detailed description of the invention
The inventive concept of this programme is, by response to user's deletion action to file destination, note
The store path information of record file destination, and file destination is moved in recycle bin, user couple
When file destination carries out restoring operation, file destination is moved to from recycle bin store path information
Corresponding storage position, and then so that deleted file is reduced, it is to avoid the important letter of user
Breath is lost, thus improves Consumer's Experience.
Describe the exemplary embodiment of the present invention below in conjunction with the accompanying drawings in detail.
Embodiment one
Fig. 1 illustrates the file recovery method for mobile terminal device of according to embodiments of the present invention
Flow chart.Described method is performed by the computer system including device as shown in Figure 5.
With reference to Fig. 1, in step s 110, user's deletion action to file destination detected.
Wherein, file destination can be any file, such as text, video file, audio frequency literary composition
The file such as part or picture.In the present embodiment one, file destination can be that mobile terminal device is synchronized to
The file of cloud server, it is also possible to in mobile terminal device, do not set up with cloud server
The file of backup.Mobile terminal device includes but not limited to mobile phone, panel computer etc..
Specifically, user can create or download certain type of file (i.e. file destination), when
After user makes to be finished described file destination, in order to save the memory space of mobile terminal device, user
Can be deleted by described file destination, specifically, user opens file destination by mobile terminal device
The page at place, user can grow the preview icon by described file destination, and mobile terminal device is in institute
Stating the position display choice box that the preview icon of file destination is corresponding, user can be corresponding by clicking on
The file that the mode record user of choice box selects, after having selected, can click on delete button,
Mobile terminal device detection user's clicking operation to described delete button, i.e. detects that user is to mesh
The deletion action of mark file.
Such as, if file destination is video file, in user has watched in this video file
Rong Shi, can grow by the preview icon of this video file, and mobile terminal device is at this video file
The side display choice box of preview icon, user can click on this choice box, and mobile terminal device can
With by this video files of mode record such as " to hooking " or " round dots ", then, user can click on and work as
Delete button in the front page, mobile terminal device detects user's deletion action to video file.
In the step s 120, in response to user's deletion action to file destination, described target is recorded
The store path information of file, and described file destination is moved to the built-in storage of mobile terminal device
In the territory, preset memory areas of parts.
Wherein, memory unit includes but not limited to flash memory Flash, embedded multi-media card EMMC
(Embedded Multi Media Card) or secure digital SD (Secure Digital) storage card
Deng.
Specifically, if generally user deletes certain file in mobile terminal device, then this document will
Meeting complete deletion from mobile terminal device, therefore, user is using the process of mobile terminal device
In, the deletion action for file can be very careful, needs while it is true, user further encounters sometimes
Reusing the situation of deleted file, now, user can only download this document again, from
And cause the wasting of resources, increase burden for user.To this end, the embodiment of the present invention can move
Terminal unit arranges recycle bin function, can be write accordingly by such as the programming languages such as JAVA
Program code, and by the operating system of this program code write mobile terminal device, so that moving
Terminal unit possesses recycle bin function.Wherein, recycle bin can be as mobile terminal operating system
System-level recycle bin, for store user delete various files, as shown in Figure 2;Recycle bin
Can be the special recycle bin of some application program, such as picture (or photograph album) recycle bin etc., can
As shown in Figure 3.The memory area that recycle bin is corresponding can be the built-in memory unit of mobile terminal device
Territory, partial memory area, i.e. can the built-in memory unit of mobile terminal device memory area (as
32GB etc.) in divide a part of memory area (such as 2GB etc.) for storing the literary composition in recycle bin
Part.
When mobile terminal device detects user to the deletion action of file destination, mobile terminal sets
The standby currently stored routing information obtaining described file destination, and by this store path information and described
The information corresponding record such as the mark of file destination are in reclaiming list, wherein, reclaim list and can deposit
Store up in memory area (the i.e. preset storage of the built-in memory unit of mobile terminal device corresponding to recycle bin
Region), store path information is specifically such as Card1/DAUM/TV etc., and wherein, Card1 represents and deposits
Storage component names, DAUM and TV represents corresponding Folder Name respectively.
Generally, the file of user can be stored in preset the depositing of the built-in memory unit of mobile terminal device
In the memory area that storage area is overseas, or it is stored in the external memory unit of mobile terminal device.Move
Described file destination can be moved to the pre-of the built-in memory unit of mobile terminal device by dynamic terminal unit
Put in memory area, so that the storage position that user is before described file destination is deleted cannot
Find described file destination, and described file destination can only be found in recycle bin.
Additionally, user can continue to delete described file destination in recycle bin, so that described target
File is thoroughly deleted from mobile terminal device, or, user can also be by the file in recycle bin
Reduction, concrete process may refer to following step S130 and step S140.
In step s 130, user's restoring operation to file destination is detected.
Specifically, after user deletes certain file (i.e. file destination), if moved follow-up use
Find during terminal unit to need to be continuing with file destination, then user can arrive above-mentioned movement
File destination is found in the territory, preset memory areas (i.e. recycle bin) of the built-in memory unit of terminal unit,
File destination is carried out also by the relevant mutual item (such as reduction button) provided by mobile terminal device
Former, mobile terminal device can detect that user's restoring operation to file destination.
In step S140, in response to user's restoring operation to described file destination, obtain record
The store path information of described file destination, and by described file destination from described preset memory areas
Territory moves to the storage position that described store path information is corresponding.
Specifically, when mobile terminal device detects user to the restoring operation of file destination, can
To find store path information (the i.e. file destination of described file destination from above-mentioned recovery list
It is deleted the position at front place), it is then possible to from territory, described preset memory areas (i.e. recycle bin)
The described file destination of middle extraction, and it is corresponding that described file destination moves to described store path information
Storage position.Example based on above-mentioned steps S120, if storage routing information is
Card1/DAUM/TV, then can move to Card1/DAUM/TV from recycle bin by file destination
Store path under.
The file recovery method for mobile terminal device that the embodiment of the present invention provides, by response
In user's deletion action to file destination, the store path information of record object file, and by mesh
Mark file moves in the territory, preset memory areas of the built-in memory unit of mobile terminal device, user couple
When file destination carries out restoring operation, obtain the store path information of the file destination of record, and will
File destination moves to the storage position that store path information is corresponding from territory, preset memory areas, and then with
Deleted file is reduced, it is to avoid the important information of user is lost, thus improves user
Experience.
Embodiment two
Fig. 4 illustrates the file recovery method for mobile terminal device of according to embodiments of the present invention two
Flow chart, described embodiment is to be that mobile terminal device is synchronized to cloud server to file destination
The situation of file illustrate, accordingly, file destination is cloud synchronous documents.
With reference to Fig. 4, in step S410, user's deletion action to file destination detected.
In the step s 420, in response to user's deletion action to file destination, described target is recorded
The store path information of file, and described file destination is moved to the built-in storage of mobile terminal device
In the territory, preset memory areas of parts.
Wherein, the step content of above-mentioned steps S410 and step S420 respectively with above-described embodiment one
In step S110 identical with the step content of step S120, do not repeat them here.
Additionally, if the user determine that described file destination need not be used again, then can be by described
File destination complete deletion, to discharge the memory space of mobile terminal device, specifically can include following
Content: in response to user's deletion action to the described file destination in territory, described preset memory areas,
Described file destination is deleted from described mobile terminal device.
Specifically, if user needs complete deletion file destination, then can open recycle bin, return
Receive in station and find file destination, it is then possible to click on the delete button that mobile terminal device provides,
Mobile terminal device extracts file destination from territory, described preset memory areas, and by file destination from shifting
Dynamic terminal unit is deleted, thus mobile terminal device will no longer store file destination.
Furthermore, it is contemplated that territory, preset memory areas has certain memory space, it is thus possible to there will be
The feelings that cannot store deleted file in territory, preset memory areas again are caused due to memory space inadequate
Condition, specifically can include herein below: if the residual memory space in territory, described preset memory areas is less than
Predetermined memory space threshold value, then delete the file of storage in territory, described preset memory areas.
Wherein, memory space threshold value can determine according to the storage size in territory, preset memory areas,
Such as, if the memory space in territory, preset memory areas is 2GB, then memory space threshold value can be
20MB etc..
Specifically, mobile terminal device can timing or with subscribe detection cycle detection described in preset
The residual memory space of memory area, if residual memory space is less than predetermined memory space threshold value,
Then the file of storage in territory, described preset memory areas can be deleted, in order to user can delete follow-up
The file removed moves in territory, preset memory areas.
In all non-threatening conditions, if mobile terminal device is in territory, preset memory areas (i.e. recycle bin)
During the file that storage user deletes, detect and territory, preset memory areas cannot store what user deleted again
File, the most also can delete the file of storage in territory, described preset memory areas.
If the file deleted in view of user be saved in for a long time in mobile terminal device can make mobile
The free memory of terminal unit is more and more less, and the performance of mobile terminal device can be caused to reduce,
To this end, the file storing certain time length in recycle bin can be deleted, to improve mobile terminal
The free memory of equipment, specifically can include herein below: when described file destination moves to
When storage duration behind territory, described preset memory areas reaches scheduled duration, by described file destination from institute
State in mobile terminal device and delete.
Wherein, scheduled duration can set according to practical situation, concrete such as 30 days or 60 days etc..
In step S430, send the deletion record message of described file destination to cloud server.
Specifically, it is contemplated that file destination is cloud synchronous documents, mobile terminal device and cloud service
Device includes this file destination simultaneously.Mobile terminal device is previously provided with synchronous documents time
Between or time interval.User in mobile terminal device during delete target file, mobile terminal device
In addition to performing the process of above-mentioned steps S410 and step S420, it is also possible to by user's delete target
The relevant information record of file operation, obtains deletion record message.Arrive movement set in advance
Terminal unit is when the time of cloud server synchronous documents, and mobile terminal device can be by this deletion
Record message is sent to cloud server.
Cloud server can also arrange cloud recycle bin, and corresponding recovery is set for cloud recycle bin
Memory area.Specifically, cloud server can be that described file destination arranges recovery labelling, with
Represent that file destination is deleted, meanwhile, the store path letter at described file destination place can be recorded
Breath, and can be mobile by the information (such as preview icon and file destination title etc.) of described file destination
In predetermined recovery memory area, now, user cannot be corresponding in above-mentioned store path information
File destination is found in storage position.
In step S440, receive from described cloud server and successfully delete the logical of described file destination
Know message.
Additionally, for the memory space saving cloud server, arrange if described file destination
Reclaim the labelling duration after labelling and reach scheduled duration (such as 60 days etc.), then by described file destination
Delete from described cloud server.Certainly, user can also actively delete target file, accordingly
Process can actively delete the process of file destination in mobile terminal device with user same or similar,
Do not repeat them here.
In step S450, user's restoring operation to file destination detected.
In step S460, in response to user's restoring operation to described file destination, obtain record
The store path information of described file destination, and by described file destination from described preset memory areas
Territory moves to the storage position that described store path information is corresponding.
Wherein, the step content of above-mentioned steps S450 and step S460 respectively with above-described embodiment one
In step S130 identical with the step content of step S140, do not repeat them here.
In step S470, send the reduction record message of described file destination to cloud server.
Specifically, user reduce in mobile terminal device file destination time, mobile terminal device removes
Perform outside the process of above-mentioned steps S450 and step S460, it is also possible to user reduced target literary composition
The relevant information record of part operation, obtains reduction record message.Set in advance mobile whole arriving
End equipment is when the time of cloud server synchronous documents, and this reduction can be remembered by mobile terminal device
Record message is sent to cloud server.
Cloud server can cancel the recovery labelling of described file destination, now, obtains record
The store path information at described file destination place, and by the information of described file destination (such as preview
Icon and file destination title etc.) to move to store path information from described recovery memory area corresponding
Storage position.
In step S480, receive the logical of the described file destination that unerases from described cloud server
Know message.
Additionally, during for embodiment two, however it is not limited to strict implement above-mentioned process step, use
Family can also be by server side delete target file beyond the clouds, then, set in advance arriving
Mobile terminal device is when the time of cloud server synchronous documents, and cloud server can will be deleted
The deletion record message of file destination is sent to mobile terminal device, and this locality deleted by mobile terminal device
File destination in recycle bin.It addition, user can also have been reduced by server side beyond the clouds
The file destination deleted, then, arrives mobile terminal device set in advance to cloud server
During time of synchronous documents, cloud server can will reduce the reduction note of deleted file destination
Record message be sent to mobile terminal device, mobile terminal device unerase this locality file destination (as
Really user by recycle bin file destination delete, then can from cloud server downloading object file,
And be stored in mobile terminal device).
The file recovery method for mobile terminal device that the embodiment of the present invention provides, on the one hand,
By in response to user's deletion action to file destination, the store path information of record object file,
And file destination is moved in recycle bin, meanwhile, generate deletion record message, taking with high in the clouds
When business device synchronizes, deletion record message is sent to cloud server, so that cloud server is deleted
File destination, such that it is able to carry out management by synchronization to mobile terminal device and cloud server;Another
Aspect, when user carries out restoring operation to file destination, by file destination from territory, preset memory areas
Move to the storage position that store path information is corresponding, simultaneously by literary composition deleted in cloud server
Part reduces, it is to avoid the important information of user is lost, thus improves Consumer's Experience.
Embodiment three
Based on identical technology design, Fig. 5 illustrate according to embodiments of the present invention three for mobile eventually
The logic diagram of the file retracting device of end equipment.With reference to Fig. 5, described device includes the first deletion
Operation respond module 510 and restoring operation respond module 520.Wherein, the first deletion action response
Module 510 is connected with restoring operation respond module 520.
First deletion action respond module 510 in response to user's deletion action to file destination,
Record the store path information of described file destination, and described file destination is moved to mobile terminal
In the territory, preset memory areas of the built-in memory unit of equipment.
Restoring operation respond module 520 in response to user's restoring operation to described file destination,
Obtain the store path information of the described file destination of record, and by described file destination from described pre-
Put memory area and move to the storage position that described store path information is corresponding.
Further, described device also includes: file removing module, for when described file destination
Move to the storage duration behind territory, described preset memory areas when reaching scheduled duration, by described target literary composition
Part is deleted from described mobile terminal device.
Further, described device also includes: the second deletion action respond module, in response to
User's deletion action to the described file destination in territory, described preset memory areas, by described target literary composition
Part is deleted from described mobile terminal device.
Further, described device also includes: memory space release module, if for described pre-
Put the residual memory space of memory area less than predetermined memory space threshold value, then preset deposit described
In storage area territory, the file of storage is deleted.
Further, described file destination is cloud synchronous documents, and described device also includes: delete note
Record sending module, for sending the deletion record message of described file destination to cloud server;Delete
Except notice receiver module, successfully delete described file destination for receiving from described cloud server
Notification message.
Further, described file destination is cloud synchronous documents, and described device also includes: reduction note
Record sending module, for sending the reduction record message of described file destination to cloud server;Also
Former notice receiver module, for receiving, from described cloud server, the described file destination that unerases
Notification message.
The file retracting device for mobile terminal device that the embodiment of the present invention provides, by response
In user's deletion action to file destination, the store path information of record object file, and by mesh
Mark file moves in the territory, preset memory areas of the built-in memory unit of mobile terminal device, user couple
When file destination carries out restoring operation, obtain the store path information of the file destination of record, and will
File destination moves to the storage position that store path information is corresponding from territory, preset memory areas, and then with
Deleted file is reduced, it is to avoid the important information of user is lost, thus improves user
Experience.
Further, in the embodiment of the present invention, on the one hand, by response to user to file destination
Deletion action, the store path information of record object file, and file destination is moved to reclaim
In standing, meanwhile, deletion record message is generated, when Tong Bu with cloud server, by deletion record
Message is sent to cloud server, so that cloud server delete target file, such that it is able to shifting
Dynamic terminal unit and cloud server carry out management by synchronization;On the other hand, user to file destination
When carrying out restoring operation, file destination is moved to store path information corresponding from territory, preset memory areas
Storage position, file deleted in cloud server is reduced, it is to avoid user's simultaneously
Important information is lost, thus improves Consumer's Experience.
Embodiment four
Based on identical technology design, the embodiment of the present invention additionally provides a kind of mobile terminal device,
Its hardware architecture diagram is as shown in Figure 6.
Described mobile terminal device includes processor 610, memorizer 620, transceiver 630 and bus
640.Wherein, processor 610, memorizer 620, transceiver 630 are communicated by bus 640.
This processor 610 is in response to user's deletion action to file destination, recording described mesh
The store path information of mark file, and described file destination is moved to that mobile terminal device is built-in to be deposited
In the territory, preset memory areas of reservoir 620;
This processor 610 is additionally operable to, in response to user's restoring operation to described file destination, obtain
The store path information of described file destination of record, and described file destination preset is deposited from described
Storage area territory moves to the storage position that described store path information is corresponding.
In the optional embodiment of one, processor 610 is additionally operable to when described file destination moves
When storage duration behind territory, described preset memory areas reaches scheduled duration, by described file destination from
Described mobile terminal device is deleted.
In the optional embodiment of one, processor 610 is additionally operable in response to user described pre-
Put the deletion action of described file destination in memory area, by described file destination from described movement
Terminal unit is deleted.
In the optional embodiment of one, if processor 610 is additionally operable to described preset memory areas
The residual memory space in territory is less than predetermined memory space threshold value, then by territory, described preset memory areas
The file of storage is deleted.
In the optional embodiment of one, transceiver 630 is described for sending to cloud server
The deletion record message of file destination, and receive from described cloud server and successfully delete described target
The notification message of file.
In the optional embodiment of one, transceiver 630 is additionally operable to send institute to cloud server
State the reduction record message of file destination, and receive, from described cloud server, the described mesh that unerases
The notification message of mark file.
Should be understood that the mobile terminal device provided according to embodiments of the present invention can realize Fig. 1 and Fig. 4
In the corresponding flow process of each method, for sake of simplicity, do not repeat them here, said method embodiment
In associated description be also applied for the present embodiment.
The embodiment of the present invention provide mobile terminal device, by response to user to file destination
Deletion action, the store path information of record object file, and file destination is moved to mobile whole
In the territory, preset memory areas of the built-in memory unit of end equipment, user, file destination is carried out reduction and grasp
When making, obtain the store path information of the file destination of record, and by file destination from preset storage
Region moves to the storage position that store path information is corresponding, and then so that deleted file is carried out
Reduction, it is to avoid the important information of user is lost, thus improves Consumer's Experience.
Further, in the embodiment of the present invention, on the one hand, by response to user to file destination
Deletion action, the store path information of record object file, and file destination is moved to reclaim
In standing, meanwhile, deletion record message is generated, when Tong Bu with cloud server, by deletion record
Message is sent to cloud server, so that cloud server delete target file, such that it is able to shifting
Dynamic terminal unit and cloud server carry out management by synchronization;On the other hand, user to file destination
When carrying out restoring operation, file destination is moved to store path information corresponding from territory, preset memory areas
Storage position, file deleted in cloud server is reduced, it is to avoid user's simultaneously
Important information is lost, thus improves Consumer's Experience.
Additionally, the embodiment of the present invention additionally provides a kind of computer program, this computer program includes
Computer-readable code, when this computer-readable code runs on the mobile terminal device, causes
Mobile terminal device perform in aforesaid plurality of embodiment of the method any one for mobile terminal device
File recovery method.
Further, the embodiment of the present invention additionally provides a kind of computer-readable medium, wherein stores
The computer program stated.
It may be noted that according to the needs implemented, each step/parts described in this application can be torn open
It is divided into more multi-step/parts, it is possible to by two or more step/parts or the part of step/parts
Step/parts that operational group synthesis is new, to realize the purpose of the present invention.
Above-mentioned the method according to the invention can realize in hardware, firmware, or is implemented as depositing
Store up the software in record medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optic disk)
Or computer code, or be implemented through original storage that network downloads at remotely record medium or
In nonvolatile machine readable media and the computer code in local recording medium will be stored in, from
And method described here can be stored in use general purpose computer, application specific processor or able to programme
Or the such software processes on the record medium of specialized hardware (such as ASIC or FPGA).Can
To understand, computer, processor, microprocessor controller or programmable hardware include storing or
Receive software or the storage assembly (such as, RAM, ROM, flash memory etc.) of computer code, when
When described software or computer code are by computer, processor or hardware access and execution, it is achieved
This processing method described.Additionally, when general purpose computer accesses for realizing the process being shown in which
Code time, general purpose computer is converted to for performing the process being shown in which by the execution of code
Special-purpose computer.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not
Be confined to this, any those familiar with the art in the technical scope that the invention discloses,
Change can be readily occurred in or replace, all should contain within protection scope of the present invention.Therefore, originally
The protection domain of invention should be as the criterion with described scope of the claims.
Claims (12)
1. the file recovery method for mobile terminal device, it is characterised in that described method
Including:
In response to user's deletion action to file destination, record the store path of described file destination
Information, and described file destination is moved to the preset storage of the built-in memory unit of mobile terminal device
In region;
In response to user's restoring operation to described file destination, obtain the described file destination of record
Store path information, and by described file destination from territory, described preset memory areas move to described in deposit
The storage position that storage routing information is corresponding.
Method the most according to claim 1, it is characterised in that described method also includes:
Storage duration after described file destination moves to territory, described preset memory areas reaches pre-timing
Time long, described file destination is deleted from described mobile terminal device.
Method the most according to claim 1, it is characterised in that described method also includes:
In response to user's deletion action to the described file destination in territory, described preset memory areas, will
Described file destination is deleted from described mobile terminal device.
Method the most according to claim 1, it is characterised in that described method also includes:
If the residual memory space in territory, described preset memory areas is less than predetermined memory space threshold value,
Then the file of storage in territory, described preset memory areas is deleted.
Method the most according to claim 1, it is characterised in that described file destination is that cloud is same
Step file, after the described deletion action in response to user to file destination, described method also includes:
The deletion record message of described file destination is sent to cloud server;
The notification message successfully deleting described file destination is received from described cloud server.
Method the most according to claim 5, it is characterised in that described file destination is that cloud is same
Step file, after the described restoring operation in response to user to described file destination, described method is also
Including:
The reduction record message of described file destination is sent to cloud server;
The notification message of the described file destination that unerases is received from described cloud server.
7. the file retracting device for mobile terminal device, it is characterised in that described device
Including:
First deletion action respond module, in response to user's deletion action to file destination,
Record the store path information of described file destination, and described file destination is moved to mobile terminal
In the territory, preset memory areas of the built-in memory unit of equipment;
Restoring operation respond module, in response to user's restoring operation to described file destination,
Obtain the store path information of the described file destination of record, and by described file destination from described pre-
Put memory area and move to the storage position that described store path information is corresponding.
Device the most according to claim 7, it is characterised in that described device also includes:
File removing module, for after described file destination moves to territory, described preset memory areas
When storage duration reaches scheduled duration, described file destination is deleted from described mobile terminal device.
Device the most according to claim 7, it is characterised in that described device also includes:
Second deletion action respond module, is used in response to user in territory, described preset memory areas
The deletion action of described file destination, deletes described file destination from described mobile terminal device.
Device the most according to claim 7, it is characterised in that described device also includes:
Memory space release module, if the residual memory space for territory, described preset memory areas is little
In predetermined memory space threshold value, then the file of storage in territory, described preset memory areas is deleted.
11. devices according to claim 7, it is characterised in that described file destination is cloud
Synchronous documents, described device also includes:
Deletion record sending module, for sending the deletion note of described file destination to cloud server
Record message;
Delete notice receiver module, successfully delete described target for receiving from described cloud server
The notification message of file.
12. devices according to claim 11, it is characterised in that described file destination is cloud
Synchronous documents, described device also includes:
Reduction record sending module, for sending the reduction note of described file destination to cloud server
Record message;
Reduction notice receiver module, for receiving, from described cloud server, the described target that unerases
The notification message of file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610245463.3A CN105930436A (en) | 2016-04-19 | 2016-04-19 | File recovery method and device for mobile terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610245463.3A CN105930436A (en) | 2016-04-19 | 2016-04-19 | File recovery method and device for mobile terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105930436A true CN105930436A (en) | 2016-09-07 |
Family
ID=56839197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610245463.3A Pending CN105930436A (en) | 2016-04-19 | 2016-04-19 | File recovery method and device for mobile terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105930436A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407411A (en) * | 2016-09-22 | 2017-02-15 | 上海传英信息技术有限公司 | A user terminal and a file restoring method |
CN106598777A (en) * | 2016-11-11 | 2017-04-26 | 捷开通讯(深圳)有限公司 | Method and system used for saving and recovering deleted file, and mobile equipment |
CN106682484A (en) * | 2016-11-23 | 2017-05-17 | 张伟彬 | File safety protection method of mobile terminal |
CN106776061A (en) * | 2016-11-29 | 2017-05-31 | 深圳天珑无线科技有限公司 | A kind of method and terminal for deleting terminal document |
CN106802957A (en) * | 2017-01-19 | 2017-06-06 | 广东欧珀移动通信有限公司 | File management method, device and terminal device |
CN106844464A (en) * | 2016-12-21 | 2017-06-13 | 北京奇虎科技有限公司 | Mobile terminal and its file lift a ban method and apparatus |
CN106897397A (en) * | 2017-02-06 | 2017-06-27 | 广东欧珀移动通信有限公司 | Associated with processing method, device and computer equipment |
CN107402846A (en) * | 2017-07-24 | 2017-11-28 | 广州三星通信技术研究有限公司 | Document handling method and device |
CN107766005A (en) * | 2017-11-02 | 2018-03-06 | 深圳天珑无线科技有限公司 | E-file processing method, device and electric terminal |
CN108228100A (en) * | 2017-12-27 | 2018-06-29 | 郑州云海信息技术有限公司 | A kind of data safety processing method and system based on mass storage system (MSS) |
CN108897639A (en) * | 2018-06-05 | 2018-11-27 | Oppo广东移动通信有限公司 | Document handling method and device |
WO2018227791A1 (en) * | 2017-06-16 | 2018-12-20 | 华为技术有限公司 | File processing method and mobile terminal |
CN109359091A (en) * | 2018-09-26 | 2019-02-19 | Oppo广东移动通信有限公司 | File management method, device, terminal and computer readable storage medium |
CN109739815A (en) * | 2019-01-10 | 2019-05-10 | 北京达佳互联信息技术有限公司 | Document handling method, system, device, equipment and storage medium |
CN111708736A (en) * | 2020-05-21 | 2020-09-25 | 四川虹美智能科技有限公司 | Data file processing method and android system file management device |
CN111949615A (en) * | 2020-08-25 | 2020-11-17 | 深圳市广通软件有限公司 | Method and system for processing file against mistaken deletion |
-
2016
- 2016-04-19 CN CN201610245463.3A patent/CN105930436A/en active Pending
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407411A (en) * | 2016-09-22 | 2017-02-15 | 上海传英信息技术有限公司 | A user terminal and a file restoring method |
CN106598777A (en) * | 2016-11-11 | 2017-04-26 | 捷开通讯(深圳)有限公司 | Method and system used for saving and recovering deleted file, and mobile equipment |
CN106682484A (en) * | 2016-11-23 | 2017-05-17 | 张伟彬 | File safety protection method of mobile terminal |
CN106776061A (en) * | 2016-11-29 | 2017-05-31 | 深圳天珑无线科技有限公司 | A kind of method and terminal for deleting terminal document |
CN106844464B (en) * | 2016-12-21 | 2020-01-07 | 北京安云世纪科技有限公司 | Mobile terminal and file forbidding method and device thereof |
CN106844464A (en) * | 2016-12-21 | 2017-06-13 | 北京奇虎科技有限公司 | Mobile terminal and its file lift a ban method and apparatus |
CN106802957A (en) * | 2017-01-19 | 2017-06-06 | 广东欧珀移动通信有限公司 | File management method, device and terminal device |
CN106897397A (en) * | 2017-02-06 | 2017-06-27 | 广东欧珀移动通信有限公司 | Associated with processing method, device and computer equipment |
WO2018227791A1 (en) * | 2017-06-16 | 2018-12-20 | 华为技术有限公司 | File processing method and mobile terminal |
CN109690519A (en) * | 2017-06-16 | 2019-04-26 | 华为技术有限公司 | A kind of document handling method and mobile terminal |
US11868314B2 (en) | 2017-06-16 | 2024-01-09 | Huawei Technologies Co., Ltd. | File processing method and mobile terminal |
US11468008B2 (en) | 2017-06-16 | 2022-10-11 | Huawei Technologies Co., Ltd. | File processing method and mobile terminal |
CN107402846A (en) * | 2017-07-24 | 2017-11-28 | 广州三星通信技术研究有限公司 | Document handling method and device |
CN107402846B (en) * | 2017-07-24 | 2021-02-26 | 广州三星通信技术研究有限公司 | File processing method and device |
CN107766005A (en) * | 2017-11-02 | 2018-03-06 | 深圳天珑无线科技有限公司 | E-file processing method, device and electric terminal |
CN107766005B (en) * | 2017-11-02 | 2020-07-17 | 普道(上海)信息科技有限公司 | Electronic file processing method and device and electronic terminal |
CN108228100A (en) * | 2017-12-27 | 2018-06-29 | 郑州云海信息技术有限公司 | A kind of data safety processing method and system based on mass storage system (MSS) |
CN108897639A (en) * | 2018-06-05 | 2018-11-27 | Oppo广东移动通信有限公司 | Document handling method and device |
CN108897639B (en) * | 2018-06-05 | 2020-08-25 | Oppo广东移动通信有限公司 | File processing method and device |
CN109359091A (en) * | 2018-09-26 | 2019-02-19 | Oppo广东移动通信有限公司 | File management method, device, terminal and computer readable storage medium |
CN109359091B (en) * | 2018-09-26 | 2021-03-26 | Oppo广东移动通信有限公司 | File management method, device, terminal and computer readable storage medium |
CN109739815A (en) * | 2019-01-10 | 2019-05-10 | 北京达佳互联信息技术有限公司 | Document handling method, system, device, equipment and storage medium |
CN111708736A (en) * | 2020-05-21 | 2020-09-25 | 四川虹美智能科技有限公司 | Data file processing method and android system file management device |
CN111949615A (en) * | 2020-08-25 | 2020-11-17 | 深圳市广通软件有限公司 | Method and system for processing file against mistaken deletion |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105930436A (en) | File recovery method and device for mobile terminal equipment | |
KR100711136B1 (en) | Method and system for centralized copy/paste functionality | |
CN103473277B (en) | The Snapshot Method and device of file system | |
CN101287190A (en) | Restoring method for data in mobile phone | |
CN105550068A (en) | Misoperation withdrawing method and system | |
CN103440079A (en) | Restoration method for operation interface and communication terminal | |
CN101370212A (en) | Data processing method and apparatus | |
CN106802957A (en) | File management method, device and terminal device | |
CN103383698B (en) | The method of data deletion and mobile terminal thereof | |
CN103037005B (en) | The file synchronisation method of online storage service and device | |
CN106354884A (en) | Data object deleting method and device based on distributed file system | |
CN104636026A (en) | File saving method and device and mobile terminal | |
CN103249009B (en) | A kind of method, system and mobile terminal of Transmit message | |
CN101640717A (en) | Short message management system and method | |
CN105843903A (en) | File management method and terminal | |
CN104834749A (en) | File synchronization method and synchronization system for mobile terminal and PC terminal | |
CN103179153A (en) | Mobile terminal and mobile terminal data backup method based on cloud server | |
CN107402846B (en) | File processing method and device | |
CN104123129A (en) | Method and device for quickly selecting file | |
CN104166720A (en) | Data recycling method of intelligent terminal device and intelligent terminal device | |
CN110413577A (en) | Data-erasure method, device, electronic equipment and computer readable storage medium | |
CN105791556A (en) | Method for quickly releasing storage space of mobile terminal | |
CN105912420A (en) | Data backup method and device | |
CN105138502A (en) | Method for recognizing copy objects and collecting data | |
CN104991934A (en) | Directory deletion method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160907 |
|
WD01 | Invention patent application deemed withdrawn after publication |