Computer abnormal shutdown screen recording/software/program abnormal stop/Android mobile phone/data loss recovery solution

foreword

       Today, I encountered a problem when recording the screen of the virtual machine. The program stopped abnormally during the screen recording process, resulting in the loss of file data....... After thinking hard for a long time, I came up with a solution, which cannot be said to be the best, but But it is called the best.

Table of contents

foreword

train of thought

Common Operating System Features  

How to retrieve the file? <——The focus here

basic knowledge

Cache directory search method (system general)

        Windows

        Android

Cache file search method (system general)

        1. Enter C:\Windows\Temp to sort by modification date to find the most recent files

         2. Retrieve with file search tools (Lightning Search Everything, etc.)   

Example of lost data recovery steps  <——emphasis here

environment

data recovery process

file analysis 

Test file availability

 Test results --> here you can successfully retrieve the lost screen recording data

at last

Record


train of thought

Common Operating System Features  

      Android (Android Operating System)
      ArmonyOS (Hongmeng Operating System) 
      Linux (Open Source Operating System) 
      IOS (Apple Mobile Operating System) 
      MacOS (Apple Computer Operating System) 
      Windwos (Microsoft Desktop Operating System)

Note: All data are files

        When the system works, data interaction is required, and a large amount of data is converted into files. Most of the time, a large number of data files are not

If needed, it will also occupy storage space (for example, when a browser watches a video, it will generate a data file)

So there is a cache (Cache)--->As the name suggests, it is deleted when it is used up.   The design purpose is to interact with the program when it is running, and it will be destroyed when it is used up.

This does not take up space. Therefore, most programs will use the cache directory to store files when they work, so where is the cache directory ?

How to retrieve the file? <——The focus here

                Enter the program cache directory --> sort by modification (find the matching files) --> rename the required format --> test file availability --> export (copy) the file

basic knowledge

Cache directory search method (system general)

        Windows

1. The program data cache directory of Windows system    C:\Users\Administrator\AppData\Local\Temp

2. Windows system common temporary data cache area (executable program exe decompression tool)  C:\Windows\Temp

Note: Administrator ( here is your account alias or Chinese name ) Temporary: Destroyed when used up

        Android

 1. Android system software cache directory    Android/data/package name/cache   

Note: data must be the data in the root directory. The current system needs the system file manager or root permission to enter the data

For actual combat, you can refer to this article of mine  (MIUI) Recover Lost Recordings on Xiaomi Phones_Heart_to_Yang's Blog

Cache file search method (system general)

        The cache file is generally a file with a tmp suffix ( tmp temporary data file flag )  

        1. Enter C:\Windows\Temp to sort by modification date to find the most recent files

         2. Retrieve with file search tools (Lightning Search Everything, etc.)   

Example of lost data recovery steps

        Just give an example of one type of software. Different software may have different directories, or different file formats, or may not be in the cache working mode, and it is more likely that the file is encrypted. These cases are different, but the principle of retrieval is the same.

environment

My screen recording software is FSCapturev and the format of the screen recording is wmv

Do normal video recording and then simply shut down the computer to simulate data loss 

data recovery process

        The following is the result of suddenly shutting down and restarting to enter the program cache directory during video recording and sorting by modification date

file analysis 

        It can be found that the time of the video I recorded is correct, and I found a file of FSC Recording.tmp, and the size of the tmp file below is 0. It is obvious that the file starting with FSC is the beginning of the name of the recording software and Recording is the current one. The meaning of recording means that it is this file, so it must not work at this point.

Test file availability

        This step is very simple to convert the tmp file into the video format (wmv) I need, by directly renaming it to the suffix .wmv

The reason for the feasibility is: the file FSC Recording.tmp is the wmv source data generated by the software recording (this involves the software working mode)

Choose a favorite video player to test the Windows Media Player I use (must be able to decode = support playing this video format)

 Test results --> here you can successfully retrieve the lost screen recording data

at last

You are welcome to add your own solutions. You can point out any problems described in this article, and we will learn and make progress together!

Record

2 hours of blog writing

Guess you like

Origin blog.csdn.net/qq_41095608/article/details/126132441