File recovery method and device for mobile terminal equipment

A mobile terminal and recycling method technology, applied in the computer field, can solve problems such as loss of important user information, unrecoverable, reduced user experience, etc., to achieve the effect of improving user experience and avoiding loss

Inactive Publication Date: 2016-09-07
LETV HLDG BEIJING CO LTD +1
0 Cites 23 Cited by

AI-Extracted Technical Summary

Problems solved by technology

[0004] However, based on the above-mentioned mobile terminal equipment, if the user deletes a file by mistake, the fil...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Method used

The inventive idea of ​​this program is, by responding to the delete operation of user to target file, record the storage path information of target file, and target file is moved in recycle bin, when user carries out restore operation to target fil...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

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.

Application Domain

Technology Topic

Image

  • File recovery method and device for mobile terminal equipment
  • File recovery method and device for mobile terminal equipment
  • File recovery method and device for mobile terminal equipment

Examples

  • Experimental program(4)

Example Embodiment

[0027] Example one
[0028] figure 1 It shows a flowchart of a file recovery method for a mobile terminal device according to the first embodiment of the present invention. By including Figure 5 The computer system of the device shown executes the method.
[0029] Reference figure 1 , In step S110, it is detected that the user deletes the target file.
[0030] Among them, the target file can be any file, such as a text file, a video file, an audio file, or a picture file. In the first embodiment, the target file may be a file synchronized to the cloud server by the mobile terminal device, or may be a file in the mobile terminal device that has not been backed up with the cloud server. Mobile terminal devices include but are not limited to mobile phones, tablet computers, etc.
[0031] Specifically, the user can create or download a certain type of file (ie, target file). After the user finishes using the target file, in order to save the storage space of the mobile terminal device, the user can delete the target file, specifically, The user opens the page where the target file is located through the mobile terminal device, the user can long press the preview icon of the target file, the mobile terminal device displays a selection box at the position corresponding to the preview icon of the target file, and the user can click on the corresponding selection box The file selected by the user is recorded in the method. After the selection is completed, the delete button can be clicked, and the mobile terminal device detects the user's click operation on the delete button, that is, detects the user's deletion of the target file.
[0032] For example, if the target file is a video file, when the user finishes watching the content in the video file, he can press and hold the preview icon of the video file. The mobile terminal device displays a selection box on the side of the preview icon of the video file, and the user can Click the selection box, the mobile terminal device can record the video file by means of "check" or "dot", and then the user can click the delete button on the current page, and the mobile terminal device detects the user's deletion of the video file .
[0033] In step S120, in response to the user's deletion operation of the target file, the storage path information of the target file is recorded, and the target file is moved to a preset storage area of ​​the built-in storage component of the mobile terminal device.
[0034] Among them, the storage components include but are not limited to flash memory, Embedded Multi Media Card (EMMC), or Secure Digital (Secure Digital) memory card, etc.
[0035] Specifically, usually if a user deletes a file in a mobile terminal device, the file will be completely deleted from the mobile terminal device. Therefore, the user will be very cautious in deleting files when using the mobile terminal device. In this way, the user sometimes encounters the need to reuse the deleted file. At this time, the user can only download the file again, which causes a waste of resources and increases the burden on the user. For this reason, in the embodiment of the present invention, a recycle bin function can be set in the mobile terminal device, and the corresponding program code can be written in a programming language such as JAVA, and the program code can be written into the operating system of the mobile terminal device to make the mobile terminal The terminal equipment has a recycle bin function. Among them, the recycle bin can be a system-level recycle bin used as a mobile terminal operating system to store various files deleted by users, such as figure 2 As shown; the recycle bin can be a dedicated recycle bin for a certain application, such as a picture (or album) recycle bin, etc., such as image 3 Shown. The storage area corresponding to the recycle bin can be part of the storage area of ​​the built-in storage component of the mobile terminal device, that is, a part of the storage area (such as 2GB, etc.) can be divided into the storage area (such as 32GB, etc.) of the built-in storage component of the mobile terminal device for storage and recycling Files in the station.
[0036] When the mobile terminal device detects that the user deletes the target file, the mobile terminal device obtains the current storage path information of the target file, and records the storage path information and the target file identification and other information in the recovery list correspondingly , Where the recycling list can be stored in the storage area corresponding to the recycling bin (ie, the preset storage area of ​​the built-in storage component of the mobile terminal device), and the storage path information is specifically Card1/DAUM/TV, etc., where Card1 represents the storage component name, DAUM And TV respectively represent the corresponding folder name.
[0037] Generally, the user's file can be stored in a storage area outside the preset storage area of ​​the built-in storage component of the mobile terminal device, or stored in the external storage component of the mobile terminal device. The mobile terminal device can move the target file to the preset storage area of ​​the built-in storage component of the mobile terminal device, so that the user cannot find the target file at the storage location before the target file is deleted, but can only recycle it. The target file is found in the station.
[0038] In addition, the user can continue to delete the target file in the recycle bin, so that the target file is completely deleted from the mobile terminal device, or the user can also restore the file in the recycle bin. For specific processing, refer to the following step S130 And step S140.
[0039] In step S130, the user's restore operation of the target file is detected.
[0040] Specifically, after the user deletes a file (ie the target file), if it is found that the target file needs to be used in the subsequent use of the mobile terminal device, the user can go to the preset storage area of ​​the built-in storage component of the mobile terminal device (ie, recycle The target file is found in the station), and the target file is restored through related interactive items (such as a restore button) provided by the mobile terminal device. The mobile terminal device can detect the user's restore operation of the target file.
[0041] In step S140, in response to the user's restore operation of the target file, obtain the recorded storage path information of the target file, and move the target file from the preset storage area to the corresponding storage path information. Storage location.
[0042] Specifically, when the mobile terminal device detects the user's restore operation of the target file, the storage path information of the target file (that is, the location before the target file was deleted) can be found from the aforementioned recovery list, and then it can be retrieved from Extract the target file from the preset storage area (ie, recycle bin), and move the target file to a storage location corresponding to the storage path information. Based on the example of step S120 above, if the storage path information is Card1/DAUM/TV, the target file can be moved from the recycle bin to the storage path of Card1/DAUM/TV.
[0043] The file recovery method for mobile terminal equipment provided by the embodiment of the present invention records the storage path information of the target file in response to the user's deletion operation of the target file, and moves the target file to the preset of the built-in storage component of the mobile terminal device In the storage area, when the user restores the target file, the storage path information of the recorded target file is obtained, and the target file is moved from the preset storage area to the storage location corresponding to the storage path information, and then the deleted file Perform restoration to avoid loss of important user information, thereby improving user experience.

Example Embodiment

[0044] Example two
[0045] Figure 4 Shows a flow chart of a file recovery method for a mobile terminal device according to the second embodiment of the present invention. The embodiment describes the case where the target file is a file synchronized by the mobile terminal device to the cloud server. Correspondingly, the target file That is, cloud sync files.
[0046] Reference Figure 4 In step S410, the user's deletion operation on the target file is detected.
[0047] In step S420, in response to the user's deletion operation of the target file, record the storage path information of the target file, and move the target file to the preset storage area of ​​the built-in storage component of the mobile terminal device.
[0048] Wherein, the content of the steps of step S410 and step S420 are the same as the content of steps of step S110 and step S120 in the first embodiment, and will not be repeated here.
[0049] In addition, if the user determines that the target file does not need to be used again, the target file can be completely deleted to release the storage space of the mobile terminal device, which may specifically include the following: in response to the user's request to the preset storage area The deletion operation of the target file deletes the target file from the mobile terminal device.
[0050] Specifically, if the user needs to delete the target file completely, he can open the recycle bin, find the target file in the recycle bin, and then click the delete button provided by the mobile terminal device, and the mobile terminal device extracts from the preset storage area The target file is deleted from the mobile terminal device, so that the target file is no longer stored in the mobile terminal device.
[0051] In addition, considering that the preset storage area has a certain amount of storage space, there may be situations in which deleted files can no longer be stored in the preset storage area due to insufficient storage space, which may specifically include the following: If the remaining storage space of the storage area is less than the predetermined storage space threshold, the files stored in the preset storage area are deleted.
[0052] The storage space threshold may be determined according to the storage space size of the preset storage area. For example, if the storage space of the preset storage area is 2GB, the storage space threshold may be 20MB.
[0053] Specifically, the mobile terminal device can detect the remaining storage space of the preset storage area regularly or at a predetermined detection period, and if the remaining storage space is less than a predetermined storage space threshold, it can save files stored in the preset storage area Delete, so that the user can move subsequent deleted files to the preset storage area.
[0054] In addition to the above situations, if the mobile terminal device stores the files deleted by the user in the preset storage area (ie, the recycle bin), and detects that the preset storage area can no longer store the files deleted by the user, it can also set the preset The files stored in the storage area are deleted.
[0055] Considering that files deleted by users, if they are stored in mobile terminal devices for a long time, the available storage space of mobile terminal devices will become smaller and smaller, and the performance of mobile terminal devices will decrease. Therefore, you can store them in the recycle bin for a long period of time. To increase the available storage space of the mobile terminal device, it may specifically include the following content: when the storage period of the target file after moving to the preset storage area reaches a predetermined period of time, remove the target file from the Delete from the mobile terminal device.
[0056] Among them, the predetermined duration can be set according to actual conditions, such as 30 days or 60 days.
[0057] In step S430, a delete record message of the target file is sent to the cloud server.
[0058] Specifically, considering that the target file is a cloud synchronization file, the mobile terminal device and the cloud server simultaneously contain the target file. The time or time interval for synchronizing files is preset in the mobile terminal device. When the user deletes the target file in the mobile terminal device, the mobile terminal device may not only perform the above-mentioned processing of step S410 and step S420, but also record information related to the operation of deleting the target file by the user to obtain a deletion record message. When the preset time for the mobile terminal device to synchronize files with the cloud server is reached, the mobile terminal device may send the delete record message to the cloud server.
[0059] A cloud recycle bin can also be set in the cloud server, and a corresponding recycling storage area can be set for the cloud recycle bin. Specifically, the cloud server can set a recycling mark for the target file to indicate that the target file is deleted. At the same time, it can record the storage path information where the target file is located, and can record the target file information (such as preview icon and The target file name, etc.) is moved to a predetermined recovery storage area. At this time, the user cannot find the target file in the storage location corresponding to the storage path information.
[0060] In step S440, a notification message of successfully deleting the target file is received from the cloud server.
[0061] In addition, in order to save the storage space of the cloud server, if the mark duration after setting the recycling mark for the target file reaches a predetermined duration (such as 60 days, etc.), the target file is deleted from the cloud server. Of course, the user can also actively delete the target file, and the corresponding processing can be the same or similar to the processing of the user actively deleting the target file in the mobile terminal device, and will not be repeated here.
[0062] In step S450, the user's restore operation of the target file is detected.
[0063] In step S460, in response to the user's restore operation of the target file, obtain the recorded storage path information of the target file, and move the target file from the preset storage area to the corresponding storage path information. Storage location.
[0064] Wherein, the content of steps S450 and step S460 are the same as the content of steps S130 and S140 in the first embodiment, and will not be repeated here.
[0065] In step S470, a restoration record message of the target file is sent to the cloud server.
[0066] Specifically, when the user restores the target file in the mobile terminal device, the mobile terminal device may not only perform the processing of step S450 and step S460, but also record information related to the user's operation of restoring the target file to obtain a restoration record message. When the preset time for the mobile terminal device to synchronize files with the cloud server is reached, the mobile terminal device may send the restoration record message to the cloud server.
[0067] The cloud server can cancel the recovery mark of the target file. At this time, the recorded storage path information of the target file is obtained, and the information of the target file (such as preview icon and target file name, etc.) is recovered from the recovery The storage area is moved to the storage location corresponding to the storage path information.
[0068] In step S480, a notification message for canceling the deletion of the target file is received from the cloud server.
[0069] In addition, for the case of the second embodiment, it is not limited to strictly performing the above processing steps. The user can also delete the target file on the cloud server side, and then, when the preset time for the mobile terminal device to synchronize the file with the cloud server is reached, The cloud server may send a delete record message for deleting the target file to the mobile terminal device, and the mobile terminal device deletes the local target file to the recycle bin. In addition, the user can restore the deleted target file on the cloud server side, and then, when the preset time for the mobile terminal device to synchronize the file with the cloud server, the cloud server can restore the restoration record of the deleted target file The message is sent to the mobile terminal device, and the mobile terminal device cancels the deletion of the local target file (if the user has deleted the target file in the recycle bin, the target file can be downloaded from the cloud server and stored in the mobile terminal device).
[0070] The file recovery method for mobile terminal equipment provided by the embodiment of the present invention, on the one hand, records the storage path information of the target file in response to the user's deletion operation of the target file, and moves the target file to the recycle bin. At the same time, Generate a delete record message, and send the delete record message to the cloud server when synchronizing with the cloud server, so that the cloud server deletes the target file, so that the mobile terminal device and the cloud server can be synchronized and managed; on the other hand, when the user checks the target When the file is restored, the target file is moved from the preset storage area to the storage location corresponding to the storage path information, and the deleted file in the cloud server is restored at the same time to avoid the loss of important user information, thereby improving user experience.

Example Embodiment

[0071] Example three
[0072] Based on the same technical idea, Figure 5 It shows a logical block diagram of a file recovery apparatus for mobile terminal equipment according to the third embodiment of the present invention. Reference Figure 5 , The device includes a first delete operation response module 510 and a restore operation response module 520. Among them, the first delete operation response module 510 is connected to the restore operation response module 520.
[0073] The first delete operation response module 510 is configured to record the storage path information of the target file in response to the user's delete operation of the target file, and move the target file to the preset storage area of ​​the built-in storage component of the mobile terminal device.
[0074] The restore operation response module 520 is configured to obtain the recorded storage path information of the target file in response to the user's restore operation on the target file, and move the target file from the preset storage area to the storage path The storage location of the information.
[0075] Further, the device further includes: a file deletion module, configured to delete the target file from the mobile terminal device when the storage duration after the target file is moved to the preset storage area reaches a predetermined duration .
[0076] Further, the device further includes: a second delete operation response module, configured to remove the target file from the mobile terminal device in response to the user's delete operation on the target file in the preset storage area delete.
[0077] Further, the device further includes a storage space release module, configured to delete files stored in the preset storage area if the remaining storage space of the preset storage area is less than a predetermined storage space threshold.
[0078] Further, the target file is a cloud synchronization file, and the device further includes: a deletion record sending module, configured to send a deletion record message of the target file to a cloud server; and a deletion notification receiving module, configured to send from the cloud server Receive a notification message that the target file is successfully deleted.
[0079] Further, the target file is a cloud synchronization file, and the device further includes: a restoration record sending module, configured to send a restoration record message of the target file to a cloud server; and a restoration notification receiving module, configured to send from the cloud server Receive a notification message to cancel the deletion of the target file.
[0080] The file recovery device for mobile terminal equipment provided by the embodiment of the present invention records the storage path information of the target file in response to the user's deletion operation of the target file, and moves the target file to the preset of the built-in storage component of the mobile terminal device In the storage area, when the user restores the target file, the storage path information of the recorded target file is obtained, and the target file is moved from the preset storage area to the storage location corresponding to the storage path information, and then the deleted file Perform restoration to avoid loss of important user information, thereby improving user experience.
[0081] Further, in the embodiment of the present invention, on the one hand, by responding to the user's deletion operation on the target file, the storage path information of the target file is recorded, and the target file is moved to the recycle bin, and at the same time, a delete record message is generated, and When the cloud server synchronizes, it sends a delete record message to the cloud server so that the cloud server deletes the target file, so that the mobile terminal device and the cloud server can be synchronized and managed; on the other hand, when the user restores the target file, the The target file is moved from the preset storage area to the storage location corresponding to the storage path information, and the deleted files in the cloud server are restored at the same time to avoid the loss of important user information, thereby improving user experience.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Similar technology patents

Classification and recommendation of technical efficacy words

  • Avoid loss
  • Improve user experience

Apparatus and method for video-on-demand playlist

ActiveUS20090150941A1Reduced session set-up timeImprove user experienceTelevision system detailsColor television detailsProgram segmentVideo server
Owner:TIME WARNER CABLE ENTERPRISES LLC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products