WO2020010584A1 - 一种终端恢复出厂设置时的数据恢复方法及终端 - Google Patents
一种终端恢复出厂设置时的数据恢复方法及终端 Download PDFInfo
- Publication number
- WO2020010584A1 WO2020010584A1 PCT/CN2018/095487 CN2018095487W WO2020010584A1 WO 2020010584 A1 WO2020010584 A1 WO 2020010584A1 CN 2018095487 W CN2018095487 W CN 2018095487W WO 2020010584 A1 WO2020010584 A1 WO 2020010584A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- terminal
- storage space
- restored
- recovered
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0647—Migration mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0604—Improving or facilitating administration, e.g. storage management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/068—Hybrid storage device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
- G06F11/1451—Management of the data involved in backup or backup restore by selection of backup contents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1456—Hardware arrangements for backup
Definitions
- This application relates to the field of terminals, and in particular, to a data recovery method and a terminal when the terminal restores factory settings.
- Terminals such as mobile phones are generally provided with a function of restoring factory settings (recovery, also known as one-click recovery or resetting the mobile phone).
- This function specifically refers to restoring the phone to the state it was in when the phone was shipped from the factory. After restoring the factory settings, all existing phone settings, stored and installed applications, and data in the application will be cleared and returned to the original settings at the factory. status.
- the present application provides a data recovery method and a terminal when the terminal is restored to the factory settings, which can quickly and safely restore the data that the user wishes to keep in the mobile phone after restoring the factory settings, and improve the data stability and security in the terminal.
- the present application provides a data recovery method when a terminal restores factory settings, including: in response to a user's first input of turning on the factory reset function, the terminal displays at least one candidate data; the terminal receives the user from the candidate data Select the second input of the data to be restored; the terminal backs up the selected data to be restored to the target storage space, which is a storage space that will not be formatted when restoring the factory settings; then, perform the operation of restoring the factory settings on the terminal After that, the data to be restored may be restored from the target storage space to an initial storage path of the data to be restored, where the initial storage path is a storage directory where the data to be restored is located before restoring factory settings.
- the terminal can retain the data to be restored that the user does not want to be cleared while restoring the factory settings.
- the above-mentioned backup and recovery process of the data to be restored is completed by using the storage resources in the terminal. Therefore, during the entire process of restoring the factory settings, the terminal can ensure the security of the data to be restored without resorting to external storage devices. And stability.
- the candidate data includes at least one of a contact, a short message, a picture, a video, a call history, music, and an application.
- the method before the terminal backs up the data to be restored to the target storage space, the method further includes: if the size of the data to be restored is less than the size of the first remaining space, the terminal determines that the target storage space is RAM Unoccupied storage space, the first remaining space is unoccupied storage space in the terminal's RAM; or, if the size of the data to be recovered is less than the size of the second remaining space, the terminal determines that the target storage space is ROM Unoccupied storage space, the second remaining space is unoccupied storage space in the ROM of the terminal; or, if the size of the data to be recovered is larger than the size of the first remaining space and larger than the size of the second remaining space, And is smaller than the sum of the first remaining space size and the second remaining space size, the terminal determines that the target storage space includes unoccupied space in ROM and unoccupied storage space in the RAM. That is, the target storage space used by the terminal to back up the data to be restored when restoring the factory settings is dynamically determined according to the size of the data to be restored
- the method further includes: the terminal marks the data to be recovered.
- the terminal may record the initial storage path of the data to be restored in a preset backup list. In this way, the terminal can learn which data is selected by the user and needs to be backed up to be restored by reading the backup list.
- the terminal backing up the data to be restored to the target storage space includes: the terminal acquires the data to be restored according to an initial storage path recorded in the backup list, and copies the data to be restored to the target storage.
- the method further includes: the terminal compares the size of the data to be recovered with the unoccupied storage in the target storage space. The size of the space; if the size of the data to be recovered is greater than the size of the unoccupied storage space in the target storage space, the terminal prompts the user to cancel some of the data to be recovered.
- the method before the terminal backs up the data to be restored to the target storage space, the method further includes: the terminal determines that the size of the data to be restored is not greater than the size of the unoccupied storage space in the target storage space.
- the method before the terminal backs up the data to be restored to the target storage space, the method further includes: the terminal creates a new partition in the ROM of the terminal according to the size of the data to be restored, and the new partition is used as the target storage. Space; wherein the terminal backs up the data to be restored to the target storage space, including: the terminal backs up the data to be restored from the original storage space to the new partition.
- the new partition includes unoccupied storage space in the data partition in the ROM. Then, before the terminal creates a new partition in the ROM of the terminal according to the size of the data to be restored, the method further includes: the terminal deletes data in the data partition except the data to be restored.
- the terminal stores the correspondence between the data to be restored in the target storage space and the data to be restored under the initial storage path; wherein the terminal restores the data to be restored from the target storage space
- the initial storage path to the data to be recovered includes: the terminal recovering the data to be recovered from the target storage space to the original storage path of the data to be recovered according to the correspondence relationship.
- the method further includes: the terminal displaying the foregoing list of data to be restored; the terminal obtaining a third input of the user, the third input being used to extract from the list of data to be restored Selecting the data to be restored; where the terminal restores the data to be restored from the target storage space to an initial storage path of the data to be restored includes: the terminal restores the data selected by the third input to the data selected by the third input Under the initial storage path, thereby improving the friendliness of human-computer interaction when the phone is restored to factory settings.
- the present application provides a terminal, including an acquisition unit, a display unit, a backup unit, an execution unit, and a recovery unit, wherein the display unit is configured to: display at least one Candidate data; the obtaining unit is configured to receive a second input of the data selected by the user from the candidate data to be restored; the backup unit is configured to: back up the to-be-restored data to a target storage space when the target storage space is restored to factory settings Storage space that will not be formatted; the execution unit is used to: perform the operation of restoring factory settings; the recovery unit is used to: restore the data to be restored from the target storage space to the initial storage path of the data to be restored, the initial The storage path is the storage directory where the data to be restored is located before the factory settings are restored.
- the display unit is configured to: display at least one Candidate data
- the obtaining unit is configured to receive a second input of the data selected by the user from the candidate data to be restored
- the backup unit is configured to: back up the to-be-restore
- the backup unit is further configured to: if the size of the data to be restored is smaller than the size of the first remaining space, determine that the target storage space is an unoccupied storage space in the RAM, and The remaining space is the unoccupied storage space in the RAM of the terminal; or if the size of the data to be recovered is less than the size of the second remaining space, it is determined that the target storage space is the unoccupied storage space in the ROM, and the second remaining The space is the unoccupied storage space in the ROM of the terminal; or if the size of the data to be recovered is larger than the size of the first remaining space and larger than the size of the second remaining space, and smaller than the first remaining space and the second remaining space The sum of the sizes determines that the target storage space includes unoccupied space in the ROM and unoccupied storage space in the RAM.
- the execution unit is further configured to: mark the data to be restored. For example, the initial storage path of the data to be restored is recorded in a preset backup list
- the foregoing backup unit is specifically configured to: obtain the data to be restored according to an initial storage path recorded in the backup list, and copy the data to be restored to the target storage space.
- the execution unit is further configured to: compare the size of the data to be restored with the size of the unoccupied storage space in the target storage space; if the size of the data to be restored is larger than the target storage space The amount of unoccupied storage space, the user is prompted to cancel some of the data to be recovered.
- the execution unit is further configured to: create a new partition in the ROM of the terminal according to the size of the data to be restored, and use the new partition as the target storage space;
- the backup unit is specifically configured to: The data to be recovered is backed up from the original storage space to the new partition.
- the new partition includes unoccupied storage space in the data partition in the ROM, and the execution unit is further configured to delete data in the data partition other than the data to be recovered.
- the terminal stores a correspondence relationship between the data to be restored in the target storage space and the data to be restored under the initial storage path; the above-mentioned restoration unit is specifically configured to: The data to be restored is restored from the target storage space to an initial storage path of the data to be restored.
- the display unit is further configured to display the list of data to be restored;
- the acquisition unit is further configured to obtain a third input of the user, and the third input is used to select a third input from the list of data to be restored.
- the recovery unit is specifically configured to recover the data selected by the third input to an initial storage path of the data selected by the third input.
- the present application provides a terminal including: a touch screen, one or more processors, a memory, and one or more programs; wherein the processor is coupled to the memory, and the one or more programs are stored in the memory
- the processor executes one or more programs stored in the memory, so that the terminal executes any one of the data recovery methods when the terminal is restored to factory settings.
- the present application provides a computer storage medium including computer instructions, and when the computer instructions are run on a terminal, the terminal executes the data recovery method when the terminal restores factory settings according to any one of the foregoing.
- the present application provides a computer program product that, when the computer program product runs on a computer, causes the computer to execute the data recovery method when the terminal restores factory settings according to any one of the above.
- the terminals described in the second and third aspects provided above, the computer storage medium described in the fourth aspect, and the computer program product described in the fifth aspect are all used to execute the corresponding ones provided above.
- Method therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above, which will not be repeated here.
- FIG. 1 is a first schematic structural diagram of a terminal according to an embodiment of the present application.
- FIG. 2 is a schematic structural diagram of an internal memory in a terminal according to an embodiment of the present application.
- FIG. 3 is a schematic structural diagram of an operating system in a terminal according to an embodiment of the present application.
- FIG. 4 is a flowchart of a data recovery method when a terminal restores factory settings according to an embodiment of the present application
- FIG. 5 is a first schematic scenario scenario of a data recovery method when a terminal restores factory settings according to an embodiment of the present application
- FIG. 6 is a second schematic scenario diagram of a data recovery method when a terminal restores factory settings according to an embodiment of the present application
- FIG. 7 is a third scenario scenario of a data recovery method when a terminal restores factory settings according to an embodiment of the present application.
- FIG. 8 is a scenario diagram 4 of a data recovery method when a terminal restores factory settings according to an embodiment of the present application
- FIG. 9 is a scenario diagram V of a data recovery method when a terminal restores factory settings according to an embodiment of the present application.
- FIG. 10 is a sixth schematic scenario diagram of a data recovery method when a terminal restores factory settings according to an embodiment of the present application.
- 11 is a scenario diagram VII of a data recovery method when a terminal restores factory settings according to an embodiment of the present application
- FIG. 12 is a schematic diagram VIII of a data recovery method when a terminal restores factory settings according to an embodiment of the present application
- FIG. 13 is a second schematic structural diagram of a terminal according to an embodiment of the present application.
- FIG. 14 is a third schematic structural diagram of a terminal according to an embodiment of the present application.
- the terminal may be a mobile phone, a tablet, a desktop, a laptop, a laptop, an Ultra-mobile Personal Computer (UMPC), a handheld computer, a netbook, or a Personal Digital Assistant (Personal Digital Assistant, PDA), wearable electronic devices, virtual reality devices, and the like, the specific form of the terminal is not particularly limited in the embodiments of the present application.
- UMPC Ultra-mobile Personal Computer
- PDA Personal Digital Assistant
- FIG. 1 is a structural block diagram of a terminal 100 according to an embodiment of the present invention.
- the terminal 100 may include a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a radio frequency module 150, a communication module 160, and an audio module.
- a processor 110 an external memory interface 120, an internal memory 121, a USB interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a radio frequency module 150, a communication module 160, and an audio module.
- speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display 194, and SIM card interface 195 may be included in the terminal 100.
- the sensor module can include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and an ambient light sensor. 180L, bone conduction sensor, etc.
- the touch sensor 180K, the microphone 170C, the antenna 1, the antenna 2, the radio frequency module 150, and the communication module 160 can be used as input devices of the terminal 100 to receive information input by a user or other devices.
- the speaker 170A, the receiver 170B, the display screen 194, and the like described above can be used as output devices of the terminal 100 to output information input by the user or information provided to the user and various menus of the terminal 100.
- the structure illustrated in the embodiment of the present invention does not limit the terminal 100. It can include more or fewer parts than shown, or some parts can be combined, or some parts can be split, or different parts can be arranged.
- the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units.
- the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image, signal processor, ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural-network processing unit (NPU) Wait.
- AP application processor
- modem processor graphics processing unit
- GPU graphics processing unit
- image signal processor image signal processor
- ISP image signal processor
- DSP digital signal processor
- NPU neural-network processing unit
- different processing units can be independent devices or integrated in the same processor.
- the controller may be a decision maker who directs the various components of the terminal 100 to coordinate work according to the instructions. It is the nerve center and command center of the terminal 100.
- the controller generates operation control signals according to the instruction operation code and timing signals, and completes the control of fetching and executing the instructions.
- the processor 110 may further include a memory for storing instructions and data.
- the memory in the processor is a cache memory. You can save instructions or data that the processor has just used or recycled. If the processor needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses, reducing processor waiting time, thus improving system efficiency.
- the processor 110 may include an interface.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit (inter-integrated circuit, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transceiver (universal asynchronous receiver / transmitter (UART) interface, mobile industry processor interface (MIPI), general-purpose input / output (GPIO) interface, subscriber identity module (SIM) interface, And / or a universal serial bus (universal serial bus, USB) interface.
- I2C integrated circuit
- I2S integrated circuit
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transceiver
- MIPI mobile industry processor interface
- GPIO general-purpose input / output
- SIM subscriber identity module
- USB universal serial bus
- the I2C interface is a two-way synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
- the processor may include multiple sets of I2C buses.
- the processor can be coupled to touch sensors, chargers, flashes, cameras, etc. through different I2C bus interfaces.
- the processor may couple the touch sensor through the I2C interface, so that the processor and the touch sensor communicate through the I2C bus interface to implement the touch function of the terminal 100.
- the I2S interface can be used for audio communication.
- the processor may include multiple sets of I2S buses.
- the processor can be coupled with the audio module through the I2S bus to achieve communication between the processor and the audio module.
- the audio module can pass audio signals to the communication module through the I2S interface, so as to implement the function of receiving calls through a Bluetooth headset.
- the PCM interface can also be used for audio communications, sampling, quantizing, and encoding analog signals.
- the audio module and the communication module may be coupled through a PCM bus interface.
- the audio module may also pass audio signals to the communication module through the PCM interface, so as to implement the function of receiving calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication, and the sampling rates of the two interfaces are different.
- the UART interface is a universal serial data bus for asynchronous communication. This bus is a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
- a UART interface is typically used to connect the processor and the communication module 160.
- the processor communicates with the Bluetooth module through a UART interface to implement the Bluetooth function.
- the audio module can transmit audio signals to the communication module through the UART interface to implement the function of playing music through a Bluetooth headset.
- the MIPI interface can be used to connect processors with peripheral devices such as displays and cameras.
- the MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), and the like.
- the processor and the camera communicate through a CSI interface to implement a shooting function of the terminal 100.
- the processor and the display screen communicate through a DSI interface to implement a display function of the terminal 100.
- the GPIO interface can be configured by software.
- the GPIO interface can be configured as a control signal or as a data signal.
- the GPIO interface may be used to connect the processor with a camera, a display screen, a communication module, an audio module, a sensor, and the like.
- GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
- the USB interface 130 may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
- the USB interface can be used to connect a charger to charge the terminal 100, and can also be used to transfer data between the terminal 100 and a peripheral device. It can also be used to connect headphones and play audio through headphones. It can also be used to connect other electronic devices, such as AR devices.
- the interface connection relationship between the modules illustrated in the embodiments of the present invention is only a schematic description, and does not constitute a limitation on the structure of the terminal 100.
- the terminal 100 may use different interface connection modes or a combination of multiple interface connection modes in the embodiments of the present invention.
- the charging management module 140 is configured to receive a charging input from a charger.
- the charger may be a wireless charger or a wired charger.
- the charging management module may receive a charging input of a wired charger through a USB interface.
- the charging management module may receive a wireless charging input through a wireless charging coil of the terminal 100. While the charging management module is charging the battery, it can also supply power to the terminal device through the power management module 141.
- the power management module 141 is used to connect the battery 142, the charge management module 140 and the processor 110.
- the power management module receives inputs from the battery and / or charge management module, and supplies power to a processor, an internal memory, an external memory, a display screen, a camera, and a communication module.
- the power management module can also be used to monitor battery capacity, battery cycle times, battery health (leakage, impedance) and other parameters.
- the power management module 141 may also be disposed in the processor 110.
- the power management module 141 and the charge management module may also be provided in the same device.
- the wireless communication function of the terminal 100 may be implemented by the antenna module 1, the antenna module 2 radio frequency module 150, the communication module 160, a modem, and a baseband processor.
- the antenna 1 and the antenna 2 are used for transmitting and receiving electromagnetic wave signals.
- Each antenna in the terminal 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, a cellular network antenna can be multiplexed into a wireless LAN diversity antenna. In some embodiments, the antenna may be used in conjunction with a tuning switch.
- the radio frequency module 150 may provide a communication processing module applied to the terminal 100 and including a wireless communication solution such as 2G / 3G / 4G / 5G. It may include at least one filter, switch, power amplifier, Low Noise Amplifier (LNA), and the like.
- the radio frequency module receives electromagnetic waves from the antenna 1, and processes the received electromagnetic waves by filtering, amplifying, etc., and transmitting them to the modem for demodulation.
- the radio frequency module can also amplify the signal modulated by the modem and turn it into electromagnetic wave radiation through the antenna 1.
- at least part of the functional modules of the radio frequency module 150 may be disposed in the processor 150.
- at least part of the functional modules of the radio frequency module 150 may be provided in the same device as at least part of the modules of the processor 110.
- the modem may include a modulator and a demodulator.
- the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
- the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
- the application processor outputs sound signals through audio equipment (not limited to speakers, receivers, etc.), or displays images or videos through a display screen.
- the modem may be a separate device.
- the modem may be independent of the processor and disposed in the same device as the radio frequency module or other functional modules.
- the communication module 160 can provide wireless LAN (wireless local area networks, WLAN), Bluetooth (Bluetooth, BT), global navigation satellite system (GNSS), frequency modulation (FM) applied to the terminal 100.
- a communication processing module of a wireless communication solution such as near field communication (NFC), infrared technology (infrared, IR).
- the communication module 160 may be one or more devices that integrate at least one communication processing module.
- the communication module receives electromagnetic waves through the antenna 2, frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor.
- the communication module 160 may also receive a signal to be transmitted from the processor, frequency-modulate it, amplify it, and turn it into electromagnetic wave radiation through the antenna 2.
- the antenna 1 of the terminal 100 is coupled to a radio frequency module, and the antenna 2 is coupled to a communication module. It enables the terminal 100 to communicate with the network and other devices through wireless communication technology.
- the wireless communication technology may include a global mobile communication system (GSM), a general packet radio service (GPRS), a code division multiple access (CDMA), and broadband.
- GSM global mobile communication system
- GPRS general packet radio service
- CDMA code division multiple access
- WCDMA Code division multiple access
- TD-SCDMA time-division code division multiple access
- LTE long-term evolution
- BT GNSS
- WLAN NFC
- FM FM
- IR technology IR
- the GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidou navigation navigation system (BDS), and a quasi-zenith satellite system (quasi -zenith satellite system (QZSS)) and / or satellite-based augmentation systems (SBAS).
- GPS global positioning system
- GLONASS global navigation satellite system
- BDS Bertdou navigation navigation system
- QZSS quasi-zenith satellite system
- SBAS satellite-based augmentation systems
- the terminal 100 implements a display function through a GPU, a display screen 194, and an application processor.
- the GPU is a microprocessor for image processing, which connects the display and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
- the display screen 194 is used to display images, videos, and the like.
- the display includes a display panel.
- the display panel can use LCD (liquid crystal display), OLED (organic light-emitting diode), active matrix organic light emitting diode or active matrix organic light emitting diode emitting diodes, AMOLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (QLED), etc.
- the terminal 100 may include one or N display screens, where N is a positive integer greater than 1.
- the terminal 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen, and an application processor.
- ISP is used to process data from camera feedback. For example, when taking a picture, the shutter is opened, and the light is transmitted to the light receiving element of the camera through the lens. The light signal is converted into an electrical signal, and the light receiving element of the camera passes the electrical signal to the ISP for processing and converts the image to the naked eye. ISP can also optimize the image's noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, an ISP may be provided in the camera 193.
- the camera 193 is used to capture still images or videos.
- An object generates an optical image through a lens and projects it onto a photosensitive element.
- the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to convert it into a digital image signal.
- the ISP outputs digital image signals to the DSP for processing.
- DSP converts digital image signals into image signals in standard RGB, YUV and other formats.
- the terminal 100 may include one or N cameras, where N is a positive integer greater than 1.
- Digital signal processors are used to process digital signals. In addition to digital image signals, other digital signals can also be processed. For example, when the terminal 100 selects at a frequency point, the digital signal processor is used to perform a Fourier transform on the frequency point energy and the like.
- Video codecs are used to compress or decompress digital video.
- the terminal 100 may support one or more codecs. In this way, the terminal 100 can play or record videos in multiple encoding formats, such as: MPEG1, MPEG2, MPEG3, MPEG4, and so on.
- the NPU is a neural-network (NN) computing processor.
- NN neural-network
- applications such as intelligent cognition of the terminal 100 can be implemented, such as: image recognition, face recognition, speech recognition, text understanding, and the like.
- the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to realize the expansion of the storage capacity of the terminal 100.
- the external memory card communicates with the processor through an external memory interface to implement a data storage function. For example, save music, videos and other files on an external memory card.
- the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
- the processor 110 executes various functional applications and data processing of the terminal 100 by executing instructions stored in the internal memory 121.
- the memory 121 may include a program storage area and a data storage area.
- the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.) and the like.
- the storage data area may store data (such as audio data, phone book, etc.) created during the use of the terminal 100.
- the memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, other volatile solid-state storage devices, a universal flash memory (universal flash memory, UFS), etc. .
- a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, other volatile solid-state storage devices, a universal flash memory (universal flash memory, UFS), etc.
- the internal memory 121 may specifically include a RAM (random access memory) and a ROM (read-only memory).
- RAM random access memory
- ROM read-only memory
- RAM random access memory
- main memory main memory
- It can be read and written at any time, and it is very fast. It is usually used as a temporary data storage medium for the operating system or other running programs.
- the data stored in ROM can be easily read out, unlike RAM, which can be rewritten quickly and easily.
- the data stored in ROM is relatively stable and will not change after power failure; its structure is simpler and easier to read, so it is often used to store various fixed programs and data.
- RAM and ROM can include one or more partitions.
- the ROM may include a system partition (such as a System partition, a Recovery partition), a program partition (such as a Data partition), and a storage partition (such as an SDCard partition).
- the system partition can be used to store the operating system (such as the Android system), restore the backup system and resources such as swap space and hardware underlying space;
- the program partition is used to store third-party APPs installed on the terminal.
- the terminal can create a Data directory in the Data partition. For example, if there is an APP package named weixin.com, a directory named weixin.com can be created in the Data partition.
- the application data generated by the APP running can be stored in a directory named weixin.com, and the APP can only operate the data in this directory, not the directories of other APPs; storage
- the partition is equivalent to the "mobile hard disk” identified after the mobile phone is connected to the PC. This part of the space can be freely controlled by the user and can store data such as data packages, music, pictures, and videos of large games.
- the terminal 100 can also dynamically create new partitions in RAM or ROM. For example, if the 2G space in the 4G ROM is not occupied, the terminal 100 may create a partition named "aaa" in the 2G space. Of course, the terminal 100 can also dynamically destroy the new partition created before, and the data in the partition is also destroyed after the new partition is destroyed.
- one or more partitions in the ROM of the terminal 100 are generally formatted.
- the terminal 100 may format the Data partition in the ROM and delete all files and folders in the Data partition, so that all applications installed in the Data partition and the data in each application are cleared, thereby destroying the terminal. 100 returns to the state it was in at the time of shipment.
- the terminal 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, and an application processor. Such as music playback, recording, etc.
- the audio module is used to convert digital audio information into an analog audio signal output, and is also used to convert an analog audio input into a digital audio signal.
- the audio module can also be used to encode and decode audio signals.
- the audio module may be disposed in the processor 110, or some functional modules of the audio module may be disposed in the processor 110.
- the speaker 170A also called a "horn" is used to convert audio electrical signals into sound signals.
- the terminal 100 can listen to music through a speaker, or listen to a hands-free call.
- the receiver 170B also referred to as a "handset" is used to convert audio electrical signals into sound signals.
- the terminal 100 answers a call or a voice message, it can answer the voice by placing the receiver close to the human ear.
- the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
- the user can make a sound through the mouth close to the microphone, and input the sound signal into the microphone.
- the terminal 100 may be provided with at least one microphone.
- the terminal 100 may be provided with two microphones, in addition to collecting sound signals, it may also implement a noise reduction function.
- the terminal 100 may further be provided with three, four, or more microphones to collect sound signals, reduce noise, and also identify sound sources, and implement directional recording functions.
- the headset interface 170D is used to connect a wired headset.
- the headphone interface can be a USB interface or a 3.5mm open mobile terminal platform (OMTP) standard interface, and the American Cellular Telecommunications Industry Association (United States of America, CTIA) standard interface.
- OMTP open mobile terminal platform
- CTIA American Cellular Telecommunications Industry Association
- the pressure sensor 180A is used to sense a pressure signal, and can convert the pressure signal into an electrical signal.
- the pressure sensor may be disposed on the display screen.
- the capacitive pressure sensor may be at least two parallel plates having a conductive material. When a force is applied to the pressure sensor, the capacitance between the electrodes changes.
- the terminal 100 determines the intensity of the pressure according to the change in capacitance.
- the terminal 100 detects the intensity of the touch operation according to a pressure sensor.
- the terminal 100 may also calculate a touched position according to a detection signal of the pressure sensor.
- touch operations acting on the same touch position but different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity lower than the first pressure threshold is applied to the short message application icon, an instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to the short message application icon, an instruction for creating a short message is executed.
- the gyro sensor 180B may be used to determine a movement posture of the terminal 100.
- the angular velocity of the terminal 100 about three axes may be determined by a gyro sensor.
- a gyroscope sensor can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor detects the angle of the terminal 100 to shake, and calculates the distance to be compensated by the lens module according to the angle, so that the lens can offset the shake of the terminal 100 through the backward movement to achieve image stabilization.
- the gyroscope sensor can also be used for navigation and somatosensory game scenes.
- the barometric pressure sensor 180C is used to measure air pressure.
- the terminal 100 calculates an altitude based on the air pressure value measured by the air pressure sensor to assist in positioning and navigation.
- the magnetic sensor 180D includes a Hall sensor.
- the terminal 100 can detect the opening and closing of the flip leather case by using a magnetic sensor.
- the terminal 100 may detect the opening and closing of the flip according to a magnetic sensor. Further, according to the opened and closed state of the holster or the opened and closed state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
- the acceleration sensor 180E can detect the magnitude of the acceleration of the terminal 100 in various directions (generally three axes).
- the magnitude and direction of gravity can be detected when the terminal 100 is stationary. It can also be used to identify the posture of the terminal, and is used in applications such as switching between horizontal and vertical screens, and pedometers.
- the terminal 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the terminal 100 may use a distance sensor to measure distances to achieve fast focusing.
- the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
- the light emitting diode may be an infrared light emitting diode. Infrared light is emitted outward through a light emitting diode.
- the terminal 100 may use a proximity light sensor to detect that the user is holding the terminal 100 close to the ear to talk, so as to automatically turn off the screen to save power.
- the proximity light sensor can also be used in holster mode, and the pocket mode automatically unlocks and locks the screen.
- the ambient light sensor 180L is used to sense ambient light brightness.
- the terminal 100 can adaptively adjust the brightness of the display screen according to the perceived ambient light brightness.
- the ambient light sensor can also be used to automatically adjust white balance when taking pictures.
- the ambient light sensor can also cooperate with the proximity light sensor to detect whether the terminal 100 is in a pocket to prevent accidental touch.
- the fingerprint sensor 180H is used to collect fingerprints.
- the terminal 100 may use the collected fingerprint characteristics to realize fingerprint unlocking, access application lock, fingerprint photographing, fingerprint answering incoming calls, and the like.
- the temperature sensor 180J is used to detect the temperature.
- the terminal 100 executes a temperature processing strategy using the temperature detected by the temperature sensor. For example, when the temperature reported by the temperature sensor exceeds a threshold, the terminal 100 executes reducing the performance of a processor located near the temperature sensor in order to reduce power consumption and implement thermal protection.
- the touch sensor 180K is also called “touch panel”. Can be set on the display. Used to detect touch operations on or near it. The detected touch operation can be passed to the application processor to determine the type of touch event and provide corresponding visual output through the display screen.
- the bone conduction sensor 180M can acquire vibration signals.
- the bone conduction sensor may acquire a vibration signal of a human voice oscillating bone mass.
- Bone conduction sensors can also touch the human pulse and receive blood pressure beating signals.
- a bone conduction sensor may also be provided in the headset.
- the audio module 170 may analyze a voice signal based on a vibration signal of a oscillating bone mass obtained by the bone conduction sensor to implement a voice function.
- the application processor may analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor, and implement a heart rate detection function.
- the keys 190 include a power-on key, a volume key, and the like.
- the keys can be mechanical keys. It can also be a touch button.
- the terminal 100 receives key input, and generates key signal inputs related to user settings and function control of the terminal 100.
- the motor 191 may generate a vibration prompt.
- the motor can be used for incoming vibration alert and touch vibration feedback.
- the touch operation applied to different applications can correspond to different vibration feedback effects.
- Touch operations on different areas of the display can also correspond to different vibration feedback effects.
- Different application scenarios for example: time reminder, receiving information, alarm clock, game, etc.
- Touch vibration feedback effect can also support customization.
- the indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, etc.
- the SIM card interface 195 is used to connect to a subscriber identity module (SIM).
- SIM subscriber identity module
- the SIM card can be contacted and separated from the terminal 100 by inserting or removing the SIM card interface.
- the terminal 100 may support one or N SIM card interfaces, and N is a positive integer greater than 1.
- the SIM card interface can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple SIM cards can be inserted into the same SIM card interface at the same time. The types of the multiple cards may be the same or different.
- the SIM card interface can also be compatible with different types of SIM cards.
- the SIM card interface is also compatible with external memory cards.
- the terminal 100 interacts with the network through a SIM card to implement functions such as calling and data communication.
- the terminal 100 uses an eSIM, that is, an embedded SIM card.
- the eSIM card can be embedded in the terminal 100 and cannot be separated from the terminal 100.
- the software system of the terminal 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
- the Android system with a layered architecture is taken as an example to exemplify the software structure of the terminal 100.
- the layered architecture divides the software into several layers, each of which has a clear role and division of labor. Layers communicate with each other through interfaces.
- the Android system is divided into four layers, which are an application layer, an application framework layer, an Android runtime and a system library, and a kernel layer from top to bottom.
- the application layer can include a series of application packages.
- the application package can include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, and other applications.
- a system-level application generally means that the application has system-level permissions and can access various system resources.
- Ordinary-level applications generally refer to: the application has ordinary permissions, may not be able to obtain some system resources, or needs user authorization to obtain some system resources.
- System-level applications can be pre-installed applications in the phone.
- Ordinary-level applications can be pre-installed applications in the phone, or can be installed by subsequent users.
- the application framework layer provides an application programming interface (API) and a programming framework for applications at the application layer.
- API application programming interface
- the application framework layer includes some predefined functions.
- the application framework layer may include an activity manager, a window manager, a content provider, a view system, a resource manager, a notification manager, and the like, which are not limited in the embodiment of the present application.
- Activity Manager Used to manage the life cycle of each application. Applications usually run in the operating system as an Activity. For each Activity, there will be an application record (ActivityRecord) corresponding to it in the Activity Manager, and this ActivityRecord records the state of the Activity of the application. The activity manager can use this ActivityRecord as an identifier to schedule the application's Activity process.
- ActivityRecord Used to manage the life cycle of each application. Applications usually run in the operating system as an Activity. For each Activity, there will be an application record (ActivityRecord) corresponding to it in the Activity Manager, and this ActivityRecord records the state of the Activity of the application. The activity manager can use this ActivityRecord as an identifier to schedule the application's Activity process.
- Window manager used to manage graphical user interface (GUI) resources used on the screen, which can be specifically used to: obtain the size of the display screen, create and destroy windows, show and hide windows, layout of windows, focus Management, as well as input methods and wallpaper management.
- GUI graphical user interface
- Content providers are used to store and retrieve data and make it accessible to applications.
- the data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, and so on.
- the view system includes visual controls, such as controls that display text, and controls that display pictures.
- the view system can be used to build applications.
- the display interface can consist of one or more views.
- the display interface including the SMS notification icon may include a view displaying text and a view displaying pictures.
- the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
- the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages that can disappear automatically after a short stay without user interaction.
- the notification manager is used to inform the download completion, message reminder, etc.
- the notification manager can also be a notification that appears in the status bar at the top of the system as a chart or scroll bar text, such as a notification from an application running in the background, or a notification that appears on the screen in the form of a dialog window.
- the status bar prompts text messages, emits a tone, the terminal vibrates, and the indicator flashes.
- Android Runtime includes core libraries and virtual machines.
- Android runtime is responsible for the scheduling and management of the Android system.
- the core library contains two parts: one is the functional functions that the Java language needs to call, and the other is the Android core library.
- the application layer and the application framework layer run in a virtual machine.
- the virtual machine executes the java files of the application layer and the application framework layer as binary files. Virtual machines are used to perform object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
- the system library may include multiple functional modules. For example: surface manager (media manager), media library (Media library), OpenGL ES, SGL, etc.
- the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
- the media library supports a variety of commonly used audio and video formats for playback and recording, as well as still image files.
- the media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
- OpenGL ES is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
- SGL is a drawing engine for 2D drawing.
- the kernel layer is the layer between hardware and software.
- the kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
- Application data generated by each application in the application layer at runtime can be saved to the corresponding directory or folder in the ROM.
- a mobile phone housekeeper app for managing applications and files in the terminal can be installed in the application layer.
- the mobile phone butler app is generally provided with functions such as "one-click restore” or "reset phone” to restore the terminal's factory settings.
- the factory reset function of the terminal is actually a standard flashing protocol defined by android.
- the terminal can start up and enter the recovery mode.
- recovery mode the terminal can execute related programs in the recovery partition in ROM, such as the recovery program.
- the recovery program Through the recovery program, the terminal can complete operations such as clearing data and installing flash packages.
- the terminal may prompt the user to select the data to be restored, such as photos, videos, Contacts and applications.
- the data to be restored selected by the user is actually stored in the data partition of the ROM.
- the terminal can first back up the data to be restored to storage other than the data partition. Space (may be referred to as a target storage space in this application).
- the data to be restored may be backed up to the RAM of the terminal, or the data to be restored may be backed up to other partitions of the ROM.
- the terminal may enter the recovery mode described above, and format the data in the data partition by executing the corresponding recovery program, so that the terminal is restored to the state at the time of shipment.
- the terminal After the terminal formats the data in the data partition, the user can be prompted to restore the backed up data to be restored to the data partition, so that the phone can retain the data such as applications that the user does not want to be cleared while restoring the factory settings.
- the above-mentioned backup and recovery process of the data to be restored is completed by using the storage resources in the terminal. Therefore, during the entire process of restoring the factory settings, the terminal can ensure the security of the data to be restored without resorting to external storage devices. And stability.
- the terminal restores the backed up data to be restored to the data partition
- the terminal can delete the data to be restored in the target storage space to prevent the data to be restored from occupying storage resources during subsequent normal use of the terminal.
- FIG. 4 is a schematic flowchart of a data recovery method when a terminal restores factory settings according to an embodiment of the present application. As shown in FIG. 4, the data recovery method may include:
- the mobile phone receives the first input of the user to turn on the factory reset function.
- the user wants to restore the phone to the state it was in when it was sold at the factory, the user can enter the phone's settings interface or open the phone manager app to find the function option of restoring factory settings.
- an option 502 for restoring factory settings is set in the setting interface 501.
- the mobile phone detects that the user opens option 502, it means that the user has performed the first input to turn on the factory reset function.
- the mobile phone can continue to perform the following steps S402-S408 to complete the factory reset of the mobile phone and data backup before and after the factory reset. And resume operations.
- the mobile phone In response to the first input, displays a display interface including at least one candidate data.
- the above candidate data is generally stored in the ROM of the mobile phone.
- stored in the data partition of the ROM For example, videos downloaded by the user using the video application 1 are generally stored in a folder corresponding to the video application 1 in the data partition, and videos downloaded by the user using the video application 2 are generally stored in a folder corresponding to the video application 2 in the data partition. in.
- all data in the data partition will be formatted, causing user data loss.
- the mobile phone may jump to the display interface 601 containing candidate data to be backed up.
- the user may select the data to be restored that the user wishes to keep when restoring the factory settings in the display interface 601.
- the display interface 601 includes at least one candidate data such as a contact, a short message, a photo, a call history, music, and an application.
- an application as the candidate data may specifically include the application itself, and may also include the recorded data and stored files generated by the user during the use of the application, such as contact avatars, buffers, and downloaded pictures.
- the mobile phone can also display the size of the storage space occupied by each candidate data on the display interface 601.
- the mobile phone can further jump to the detailed interface of the candidate data. For example, after a user selects an application in the display interface 601, the mobile phone can display all the applications (for example, 15 applications) installed in the current mobile phone, so that the user can choose which applications to back up in order to avoid the factory settings of the mobile phone. After the corresponding application is lost.
- the applications for example, 15 applications
- the mobile phone can also query whether the candidate data is stored in the data partition of the ROM. If the candidate data is not stored, the data will not be lost after the mobile phone is restored to the factory settings. Therefore, the mobile phone can format the data in the ROM according to the existing process of restoring the factory settings.
- the mobile phone may display a display interface including at least one candidate data according to the method described in step S402.
- the mobile phone receives a second input in which the user selects data to be restored in the display interface.
- one or more candidate data selected by the user in the above display interface are data to be restored that need to be backed up and restored before and after the phone is restored to factory settings.
- the display interface 601 shown in FIG. 6 is still used as an example.
- step S403 if it is detected that the user clicks the three candidate data of the contact, information, and call history in the display interface 601, and the user clicks the confirmation button 602, then It means that the user has performed the above-mentioned second input.
- the mobile phone may determine the contacts, information, and call records stored in the ROM as the data to be restored to be backed up.
- the above-mentioned second input may also be a drag operation, a long-press operation, or a press operation, which is not limited in the embodiment of the present application.
- the mobile phone marks the data to be restored.
- the mobile phone After the mobile phone receives the above-mentioned second input, the mobile phone can mark the data to be restored selected by the user, so that the mobile phone can distinguish which data the user wants to keep when restoring the factory settings later.
- the mobile phone may create a backup list, and record the specific storage path of the data to be restored in the backup list.
- the data to be restored selected by the user includes application A and application B.
- the mobile phone may record the storage path “data / app / taobao.com” of the application A in the ROM in the backup list, and store the application B in the ROM.
- the storage path "data / app / weixin.com” is recorded in the backup list. In this way, the mobile phone can learn which data is selected by the user and needs to be backed up to be restored by reading the backup list.
- the mobile phone may add a corresponding identifier to the data to be restored selected by the user.
- a header file may be added to the file where the data to be restored is located, or an identification file may be added to the folder where the data to be restored is located.
- the mobile phone can learn which data is selected by the user and needs to be backed up to be restored by reading the above-mentioned header file or identification file.
- the target storage space may be any storage space in the mobile phone other than the data partition in the ROM.
- the target storage space may be RAM in the mobile phone, or the mobile phone may dynamically create a new partition as the target storage space.
- the phone performs the operation of restoring factory settings, the data in the target storage space will not be formatted.
- the operating mode of a mobile phone generally includes a normal mode, a safe mode, a bootloader mode, and a recovery mode.
- the mobile phone can automatically enter the recovery mode, or it can enter the recovery mode after the user manually confirms that the mobile phone is reset to factory settings.
- the mobile phone may pop up a dialog box 701 to prompt the user to confirm whether to perform the operation of restoring factory settings. If the user enters a confirmation to perform the operation of restoring factory settings, the mobile phone may Turn off automatically, and then enter recovery mode after turning on automatically.
- the mobile phone can first check whether the marked data to be recovered is stored in the mobile phone. For example, the mobile phone can read the backup list created in step S404. If the marked list of data to be restored is recorded in the backup list, it means that the data to be restored needs to be backed up before restoring the phone to the factory settings. Data to be recovered is lost. Otherwise, the phone can directly perform the factory reset operation.
- the mobile phone can also calculate the amount of space required to back up the data to be restored. Take the target storage space as the RAM of the mobile phone as an example. If the space required for the data to be recovered is less than or equal to the size of the available storage space in RAM, then as shown in Figure 8, after the mobile phone enters the recovery mode, it can jump to the interface 801 The interface 801 prompts the user that the data to be restored selected by the user is being backed up. At the same time, the mobile phone can read the data to be restored selected by the user according to the storage path recorded in the backup list, and then copy the data to be restored to the RAM to complete the backup.
- the mobile phone may first perform a memory cleaning operation to release as much RAM space as possible. If after performing the memory cleaning operation, the available storage space in the RAM still cannot meet the space required for the data to be recovered, the mobile phone may continue to stay in the above display interface 601. At this time, as shown in FIG. 9, the mobile phone may A prompt 901 is displayed on the display interface 601 to prompt the user that the current available backup space is insufficient, and the user needs to cancel some of the selected data to be restored.
- the user may cancel one or more of the data to be restored to be backed up selected in step S403 in the display interface 601 according to the prompt 901, until the available storage space size of the RAM can satisfy the space required by the user for the data to be restored after the update. size. Further, as shown in FIG. 8, when the mobile phone enters the recovery mode, the user can read the data to be restored finally updated by the user according to the storage path recorded in the backup list, and copy the data to be restored to the RAM to complete the backup.
- the mobile phone may copy the data to be restored in the data partition in the ROM to the tmp partition in the RAM.
- the tmp partition is generally used to store temporary files generated when the mobile phone is running. Copying the data to be restored to the tmp partition can prevent the mobile phone from occupying additional system resources when backing up the data to be restored, increasing the load of the phone in the recovery mode.
- the mobile phone may use the space required for the data to be restored, Create a new partition, such as the resume partition, in the free storage space of the ROM. At this time, the newly created resume partition is the target storage space.
- the ROM size of a mobile phone is 128G, and 80G of unused storage space is left in addition to the data partition, and the space required for the data to be recovered is 20G. Then, the mobile phone can create a 20G size resume partition in the remaining 80G storage space. Furthermore, the mobile phone can read the data to be restored according to the storage path recorded in the backup list, and copy the data to be restored to the newly created resume partition to complete the backup.
- the mobile phone can also open a new partition from the data partition as the target storage space.
- the size of the data partition in ROM is 90G, of which 30G is unoccupied storage space.
- the size of the data to be recovered selected by the user is 15G, then the mobile phone can create a 15G resume partition in the above-mentioned 30G unoccupied storage space for storing the above-mentioned data to be recovered.
- the size of the data partition changed from 90G to 75G after the new partition was created.
- the mobile phone may delete data in the data partition other than the data to be recovered, thereby releasing storage resources in the data partition.
- the mobile phone may create a resume partition in the data partition with a size that satisfies the size of the data to be restored to store the data to be restored.
- the mobile phone can also obtain a part of the storage resources from the data partition in ROM, and obtain a part of the storage resources (such as the unoccupied storage space of 5G) from other partitions (such as the system partition) in addition to the data partition, and then use this Two parts of the storage resource create a new resume partition.
- a part of the storage resources such as the unoccupied storage space of 5G
- other partitions such as the system partition
- the target storage space may include both the RAM in the mobile phone and the newly created resume partition.
- the mobile phone can back up a part of the data to be restored to the RAM, and back up another part of the data to be restored to the newly created resume partition.
- users can use the target storage space to back up as much data as possible to be restored.
- the mobile phone when the mobile phone copies the data to be restored in the above target storage space, it may also compress the data to be restored first to minimize the target storage space occupied by the data to be restored. Alternatively, the mobile phone may also encrypt the data to be restored first to improve the security of the mobile phone when copying the data to be restored.
- the mobile phone performs an operation of restoring factory settings.
- step S406 the mobile phone can follow the existing method of restoring factory settings and format the data partition in the ROM in the recovery mode. After formatting, the files and folders in the data partition are erased. In addition, in the recovery mode, the mobile phone can also restore the settings of the operating system to the initial default settings, so that the mobile phone is restored to the state when it was sold at the factory.
- a dialog box 1001 shown in FIG. 10 may be displayed to prompt the user to restore the data to be restored backed up before restoring the factory settings to the phone after restoring the factory settings. Then, if the user confirms to recover the data to be recovered, the mobile phone may read the data to be recovered from the target storage space and copy the data to be recovered to the data partition of the ROM.
- a correspondence relationship between the backed up data to be restored in the target storage space and the data to be restored in the data partition may be established.
- the mobile phone restores the original to-be-recovered data in the data partition, it can restore each backup to-be-recovered data to a corresponding position in the data partition according to the corresponding relationship.
- the data to be backed up named a under the original storage path A is stored in location B in the target storage space and renamed b, then the correspondence between "A ⁇ a" and "B ⁇ b" is recorded .
- the data with the name b at the position B in the target storage space can be restored to the original storage path A, and the name can be changed to a.
- the mobile phone may use the backup list created when backing up the data to be restored as the foregoing correspondence relationship.
- the name of the data to be restored and the storage structure within the data to be restored are not modified.
- a mobile phone backs up a folder named "weibo.com” in the "app” folder in the data partition, it still uses "weibo.com” as the name of the folder to copy the contents of the folder to the target storage. In space.
- the mobile phone can copy the folder "weibo.com” of Weibo APP and the folder “taobao.com” of Taobao APP to ROM according to the storage path recorded in the backup list.
- the folder named "app”. Of course, if there is no folder named “app” after the data partition is formatted, the phone can first create a folder named “app”, and then add the Weibo APP folder “weibo.com” and the Taobao APP ’s The folder “taobao.com” is copied to the newly created folder named "app” in the data partition. At this time, as shown in FIG.
- the restored Weibo APP and Taobao APP will be displayed on the desktop 1101 again. Since the data in the folders of Weibo APP and Taobao APP have not changed before and after the factory reset, the functions such as settings in the Weibo APP and Taobao APP have not changed, so that users can experience the changes To seamless operation experience.
- the foregoing correspondence relationship may also be a correspondence list newly created when the mobile phone backs up the data to be restored. For example, when a mobile phone backs up a file named 002 in the "aa” folder in the data partition, the file name is modified to 001 and stored in the target storage space. Then, the mobile phone may record in the above corresponding list that the file named "001" in the target storage space corresponds to the file named 002 in the "aa” folder in the data partition.
- the mobile phone when the mobile phone subsequently restores the data to be restored to the data partition, even if the name of the data to be restored is stored in the target storage space or the storage structure in the data to be restored is changed, the mobile phone can still use the corresponding storage list to restore the target storage space The data to be restored is restored to the data partition.
- a to-be-restored data list 1201 shown in FIG. 12 may be displayed.
- the to-be-restored data list 1201 includes one or more items of to-be-restored data selected by the user in step S403.
- the user may select from the list of data to be restored 1201 which data to be restored is restored to the mobile phone after restoring factory settings.
- the user can choose which data to back up specifically when data is to be restored, and which data to be restored when data is restored, thereby improving the friendliness of human-computer interaction when the phone is restored to factory settings.
- the data to be restored in the target storage space can also be automatically restored to the data partition.
- the mobile phone can copy the data to be recovered in the target storage space to the data partition in the recovery mode.
- the mobile phone may also exit the recovery mode and re-enter the normal mode, and in the normal mode, the data to be recovered in the target storage space is copied to the data partition, which is not limited in this embodiment of the present application.
- the mobile phone restores the data to be recovered in the target storage space to the data partition in the recovery mode, it can exit the recovery mode and enter the normal mode. For example, after the mobile phone receives the user's confirmation of restarting the mobile phone, it can automatically shut down and then enter the normal mode after automatically turning on the mobile phone. Since the mobile phone has recovered the data to be recovered from the target storage space to the data partition in the recovery mode, as shown in Figure 11, the Weibo APP and Taobao APP that were restored after the mobile phone entered normal mode will be displayed on the desktop 1101 again. .
- the mobile phone may also prompt the user to exit the recovery mode and enter the normal mode to restore the data to be restored backed up before restoring the factory settings to the mobile phone after restoring the factory settings.
- This embodiment of the present application does not place any restrictions on this.
- the mobile phone may delete the data to be restored stored in the target storage space to release the storage resources in the phone, and the phone is completely restored to the state at the time of factory sale.
- the mobile phone may display the pop-up box shown in FIG. 10 or FIG. 12 multiple times to prompt the user to restore the data to be restored. If the user refuses to restore the data to be restored multiple times (for example, 3 times in a row), the mobile phone may delete the data stored in the target storage space. Data to be recovered. Alternatively, the mobile phone may save the data to be restored stored in the target storage space for a certain period of time (for example, 3 days). If the user does not receive an operation to restore the data to be restored within 3 days, the mobile phone may delete the storage in the target storage space. Data to be recovered.
- the mobile phone deletes the data to be restored in the target storage space.
- step S408 after the mobile phone restores the data to be restored to the data partition of the ROM in the mobile phone again, the data to be restored stored in the target storage space can be deleted to prevent the data to be restored in the target storage space from occupying the system resources of the mobile phone. .
- the target storage space is a new partition (such as the resume partition) dynamically created by the mobile phone when backing up the data to be restored, the mobile phone can also destroy the new partition to prevent the new partition from occupying the system resources of the mobile phone.
- the resume partition is created by the mobile phone from the data partition of the ROM, after the mobile phone destroys the resume partition, the storage resources occupied by the resume partition can be merged with the current data partition, so that the data partition in the phone can be restored The state before the resume partition is created on the phone.
- the phone stores the data to be restored in the phone's RAM, the internal data will be automatically erased after the RAM is powered off. Therefore, when the phone exits the recovery mode and restarts the phone, the data to be restored in the RAM can be automatically deleted.
- the mobile phone can back up the data to be restored that the user needs to back up to the internal storage space of the phone before restoring the factory settings, and then restore the factory settings before Restore the data to be restored from the internal storage space.
- the entire data backup and data recovery process does not need to rely on external resources such as the Wi-Fi network environment, cloud server, etc., making the data more stable and secure during the backup and recovery process, and the user's operation when restoring the factory settings is simpler and more convenient.
- an embodiment of the present application discloses a terminal.
- the terminal is configured to implement the methods described in the foregoing method embodiments, and includes a display unit 1301 and an obtaining unit 1302. , Backup unit 1303, execution unit 1304, and recovery unit 1305.
- the display unit 1301 is used to support the terminal to execute the process S402 in FIG. 4;
- the obtaining unit 1302 is used to support the terminal to execute the processes S401 and S403 in FIG. 4;
- the backup unit 1303 is used to support the terminal to execute the process S405 in FIG. 4;
- the execution unit 1304 It is used to support the terminal to execute the processes S404, S406, and S408 in FIG. 4;
- the recovery unit 1305 is used to support the terminal to execute the process S407 in FIG.
- all relevant content of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
- the embodiments of the present application disclose a terminal including a processor, and a memory, an input device, and an output device connected to the processor.
- the input device and the output device may be integrated into one device.
- a touch-sensitive surface may be used as an input device
- a display screen may be used as an output device
- the touch-sensitive surface and the display screen may be integrated into a touch screen.
- the foregoing terminal may include: a touch screen 1401 including a touch-sensitive surface 1406 and a display screen 1407; one or more processors 1402; a memory 1403; and one or more application programs (not (Shown); and one or more computer programs 1404, each of which may be connected via one or more communication buses 1405.
- the one or more computer programs 1404 are stored in the memory 1403 and are configured to be executed by the one or more processors 1402.
- the one or more computer programs 1404 include instructions. 4 and the respective steps in the corresponding embodiments.
- Each functional unit in each of the embodiments of the present application may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit.
- the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
- the technical solution of the embodiments of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution may be embodied in the form of a software product.
- the computer software product is stored in a storage device.
- the medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to perform all or part of the steps of the method described in the embodiments of the present application.
- the foregoing storage medium includes: various types of media that can store program codes, such as a flash memory, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Telephone Function (AREA)
Abstract
Description
Claims (26)
- 一种终端恢复出厂设置时的数据恢复方法,其特征在于,包括:响应于用户打开恢复出厂设置功能的第一输入,所述终端显示至少一项候选数据;所述终端接收用户从所述候选数据中选中待恢复数据的第二输入;所述终端将所述待恢复数据备份至目标存储空间,所述目标存储空间为恢复出厂设置时不会被格式化的存储空间;所述终端执行恢复出厂设置的操作;所述终端将所述待恢复数据从所述目标存储空间恢复至所述待恢复数据的初始存储路径下,所述初始存储路径为所述待恢复数据在恢复出厂设置之前所在的存储目录。
- 根据权利要求1所述的数据恢复方法,其特征在于,所述候选数据包括联系人、短信、图片、视频、通话记录、音乐以及应用中的至少一项。
- 根据权利要求1或2所述的数据恢复方法,其特征在于,在所述终端将所述待恢复数据备份至目标存储空间之前,还包括:若所述待恢复数据的大小小于第一剩余空间的大小,则所述终端确定所述目标存储空间为随机存取存储器RAM中未被占用的存储空间,所述第一剩余空间为所述RAM中未被占用的存储空间;或若所述待恢复数据的大小小于第二剩余空间的大小,则所述终端确定所述目标存储空间为只读存储器ROM中未被占用的存储空间,所述第二剩余空间为所述ROM中未被占用的存储空间;或若所述待恢复数据的大小大于所述第一剩余空间的大小,且大于所述第二剩余空间的大小,且小于所述第一剩余空间大小和所述第二剩余空间大小之和,则所述终端确定所述目标存储空间包括所述ROM中未被占用的空间和所述RAM中未被占用的存储空间。
- 根据权利要求1-3中任一项所述的数据恢复方法,其特征在于,在所述终端接收用户从所述候选数据中选中待恢复数据的第二输入之后,还包括:所述终端对所述待恢复数据进行标记。
- 根据权利要求4所述的数据恢复方法,其特征在于,所述终端对所述待恢复数据进行标记,包括:所述终端将所述待恢复数据的初始存储路径记录在预设的备份清单中。
- 根据权利要求5所述的数据恢复方法,其特征在于,所述终端将所述待恢复数据备份至目标存储空间,包括:所述终端按照所述备份清单中记录的初始存储路径获取所述待恢复数据,并将所述待恢复数据拷贝至所述目标存储空间。
- 根据权利要求1-6中任一项所述的数据恢复方法,其特征在于,在所述终端接收用户从所述候选数据中选中待恢复数据的第二输入之后,还包括:所述终端比较所述待恢复数据的大小与所述目标存储空间中未被占用的存储空间的大小;若所述待恢复数据的大小大于所述目标存储空间中未被占用的存储空间的大小,则所述终端提示用户取消部分所述待恢复数据。
- 根据权利要求7所述的数据恢复方法,其特征在于,在所述终端将所述待恢复数 据备份至目标存储空间之前,还包括:所述终端确定所述待恢复数据的大小不大于所述目标存储空间中未被占用的存储空间的大小。
- 根据权利要求1-8中任一项所述的数据恢复方法,其特征在于,在所述终端将所述待恢复数据备份至目标存储空间之前,还包括:所述终端根据所述待恢复数据的大小在所述终端的ROM内创建新分区,所述新分区作为所述目标存储空间;其中,所述终端将所述待恢复数据备份至目标存储空间,包括:所述终端将所述待恢复数据从所述原始存储空间备份至所述新分区。
- 根据权利要求9所述的数据恢复方法,其特征在于,所述新分区包括所述ROM中数据分区内未被占用的存储空间。
- 根据权利要求10所述的数据恢复方法,其特征在于,在所述终端根据所述待恢复数据的大小在所述终端的ROM内创建新分区之前,还包括:所述终端删除所述数据分区内除所述待恢复数据之外的数据。
- 根据权利要求1-11中任一项所述的数据恢复方法,其特征在于,所述终端存储有所述目标存储空间中的待恢复数据与所述初始存储路径下的待恢复数据之间的对应关系;其中,所述终端将所述待恢复数据从所述目标存储空间恢复至所述待恢复数据的初始存储路径下,包括:所述终端根据所述对应关系,将所述待恢复数据从所述目标存储空间恢复至所述待恢复数据的初始存储路径下。
- 根据权利要求1-12中任一项所述的数据恢复方法,其特征在于,在所述终端执行恢复出厂设置的操作之后,还包括:所述终端展示所述待恢复数据列表;所述终端获取用户的第三输入,所述第三输入用于从所述待恢复数据列表中选择要恢复的数据;其中,所述终端将所述待恢复数据从所述目标存储空间恢复至所述待恢复数据的初始存储路径下,包括:所述终端将所述第三输入选择的数据恢复至所述第三输入选择的数据的初始存储路径下。
- 一种终端,其特征在于,包括处理器,以及与所述处理器相连的存储器、输入设备和输出设备,其中,所述输入设备,用于:接收用户打开恢复出厂设置功能的第一输入;所述输出设备,用于:根据所述第一输入显示至少一项候选数据;所述输入设备,还用于:接收用户从所述候选数据中选中待恢复数据的第二输入;所述处理器,用于:根据所述第二输入将所述待恢复数据备份至所述存储器的目标存储空间,所述目标存储空间为恢复出厂设置时不会被格式化的存储空间;执行恢复出厂设置的操作;以及将所述待恢复数据从所述目标存储空间恢复至所述待恢复数据的初始存储路径下,所述初始存储路径为所述待恢复数据在恢复出厂设置之前所在的存储目录。
- 根据权利要求14所述的终端,其特征在于,所述存储器包括随机存取存储器RAM 和只读存储器ROM,所述处理器,还用于:若所述待恢复数据的大小小于第一剩余空间的大小,则确定所述目标存储空间为所述RAM中未被占用的存储空间,所述第一剩余空间为所述RAM中未被占用的存储空间;或,若所述待恢复数据的大小小于第二剩余空间的大小,则确定所述目标存储空间为所述ROM中未被占用的存储空间,所述第二剩余空间为所述ROM中未被占用的存储空间;或,若所述待恢复数据的大小大于所述第一剩余空间的大小,且大于所述第二剩余空间的大小,且小于所述第一剩余空间大小和所述第二剩余空间大小之和,则确定所述目标存储空间包括所述ROM中未被占用的空间和所述RAM中未被占用的存储空间。
- 根据权利要求14或15所述的终端,其特征在于,所述处理器,还用于:对所述待恢复数据进行标记。
- 根据权利要求16所述的终端,其特征在于,所述处理器用于对所述待恢复数据进行标记,具体为:所述处理器用于:将所述待恢复数据的初始存储路径记录在预设的备份清单中。
- 根据权利要求17所述的终端,其特征在于,所述处理器用于将所述待恢复数据备份至目标存储空间,具体为:所述处理器用于:按照所述备份清单中记录的初始存储路径获取所述待恢复数据,并将所述待恢复数据拷贝至所述目标存储空间。
- 根据权利要求14-18中任一项所述的终端,其特征在于,所述处理器,还用于:比较所述待恢复数据的大小与所述目标存储空间中未被占用的存储空间的大小;所述输出设备,还用于:若所述待恢复数据的大小大于所述目标存储空间中未被占用的存储空间的大小,则提示用户取消部分所述待恢复数据。
- 根据权利要求14-19中任一项所述的终端,其特征在于,所述处理器,还用于:根据所述待恢复数据的大小在所述存储器的ROM内创建新分区,所述新分区作为所述目标存储空间;其中,所述处理器用于将所述待恢复数据备份至目标存储空间具体为:所述处理器用于将所述待恢复数据从所述原始存储空间备份至所述新分区。
- 根据权利要求20所述的终端,其特征在于,所述新分区包括所述ROM中数据分区内未被占用的存储空间,所述处理器,还用于:在所述根据所述待恢复数据的大小在所述终端的ROM内创建新分区之前,删除所述数据分区内除所述待恢复数据之外的数据。
- 根据权利要求14-21中任一项所述的终端,其特征在于,所述存储器中存储有所述目标存储空间中的待恢复数据与所述初始存储路径下的待恢复数据之间的对应关系;所述处理器用于将所述待恢复数据从所述目标存储空间恢复至所述待恢复数据的初始存储路径下,具体为:所述处理器用于:根据所述对应关系,将所述待恢复数据从所述目标存储空间恢复至所述待恢复数据的初始存储路径下。
- 根据权利要求14-21中任一项所述的终端,其特征在于,所述输出设备,还用于:展示所述待恢复数据列表;所述输入设备,还用于:获取用户的第三输入,所述第三输入用于从所述待恢复数据列表中选择要恢复的数据;其中,所述处理器用于将所述待恢复数据从所述目标存储空间恢复至所述待恢复数据的初始存储路径下,具体为:所述处理器用于:将所述第三输入选择的数据恢复至所述第三输入选择的数据的初始存储路径下。
- 一种终端,其特征在于,包括:触摸屏,其中,所述触摸屏包括触敏表面和显示器;一个或多个处理器;一个或多个存储器;以及一个或多个计算机程序,其中所述一个或多个计算机程序被存储在所述一个或多个存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述终端执行时,使得所述终端执行如权利要求1-13中任一项所述的一种终端恢复出厂设置时的数据恢复方法。
- 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令在终端上运行时,使得所述终端执行如权利要求1-13中任一项所述的一种终端恢复出厂设置时的数据恢复方法。
- 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在终端上运行时,使得所述终端执行如权利要求1-13中任一项所述的一种终端恢复出厂设置时的数据恢复方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/256,858 US20210149578A1 (en) | 2018-07-12 | 2018-07-12 | Data Restoration Method Used When Terminal Is Restored to Factory Settings, and Terminal |
CN201880075248.0A CN111373380A (zh) | 2018-07-12 | 2018-07-12 | 一种终端恢复出厂设置时的数据恢复方法及终端 |
BR112020026449-0A BR112020026449A2 (pt) | 2018-07-12 | 2018-07-12 | Método de restauração de dados, terminal, meio de armazenamento legível por computador e produto de programa de computador |
PCT/CN2018/095487 WO2020010584A1 (zh) | 2018-07-12 | 2018-07-12 | 一种终端恢复出厂设置时的数据恢复方法及终端 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/095487 WO2020010584A1 (zh) | 2018-07-12 | 2018-07-12 | 一种终端恢复出厂设置时的数据恢复方法及终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020010584A1 true WO2020010584A1 (zh) | 2020-01-16 |
Family
ID=69143005
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/095487 WO2020010584A1 (zh) | 2018-07-12 | 2018-07-12 | 一种终端恢复出厂设置时的数据恢复方法及终端 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20210149578A1 (zh) |
CN (1) | CN111373380A (zh) |
BR (1) | BR112020026449A2 (zh) |
WO (1) | WO2020010584A1 (zh) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111400091A (zh) * | 2020-03-06 | 2020-07-10 | Oppo(重庆)智能科技有限公司 | 恢复出厂设置方法、恢复出厂设置装置及移动终端 |
CN111475463A (zh) * | 2020-04-01 | 2020-07-31 | 中国人民解放军火箭军工程大学 | 一种gnss观测数据的数字化关系存储方法 |
CN112231147A (zh) * | 2020-10-22 | 2021-01-15 | 深圳市沃特沃德股份有限公司 | 恢复出厂的方法、装置和计算机设备 |
CN116775383A (zh) * | 2023-08-25 | 2023-09-19 | 北京紫光青藤微系统有限公司 | 恢复出厂设置的方法及装置、se芯片和存储介质 |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20210271572A1 (en) * | 2018-07-20 | 2021-09-02 | Huawei Technologies Co., Ltd. | Data Backup Method and Terminal |
KR20200014094A (ko) * | 2018-07-31 | 2020-02-10 | 삼성전자주식회사 | 팩토리 데이터 리셋 기능에 의해 제거된 어플리케이션을 복원하는 장치 및 방법 |
CN112596947B (zh) * | 2020-12-16 | 2023-12-26 | 深圳万兴软件有限公司 | 工程文件恢复方法、装置、计算机设备及存储介质 |
KR20220156171A (ko) * | 2021-05-18 | 2022-11-25 | 삼성전자주식회사 | 모바일 전자 장치의 부트로더 복구 방법 및 이를 수행하는 부트로더 복구 시스템 |
CN113434334A (zh) * | 2021-06-18 | 2021-09-24 | 宇龙计算机通信科技(深圳)有限公司 | 恢复设置方法、装置及存储介质 |
CN115002537B (zh) * | 2021-12-23 | 2023-06-16 | 荣耀终端有限公司 | 视频分享方法、电子设备、存储介质和程序产品 |
US20230289192A1 (en) * | 2022-03-08 | 2023-09-14 | Lenovo (United States) Inc. | Reversible virtual factory reset |
WO2023173324A1 (en) * | 2022-03-16 | 2023-09-21 | Nvidia Corporation | Application programming interface to select storage |
CN114896219B (zh) * | 2022-07-15 | 2022-09-20 | 深圳市沃特沃德信息有限公司 | 资源数据存储的方法、装置、计算机设备和存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902602A (zh) * | 2012-09-19 | 2013-01-30 | 华为技术有限公司 | 数据热备份的方法、装置及存储系统 |
CN106095615A (zh) * | 2016-06-01 | 2016-11-09 | 乐视控股(北京)有限公司 | 应用数据还原方法及装置 |
CN106502826A (zh) * | 2016-10-19 | 2017-03-15 | 广东欧珀移动通信有限公司 | 数据备份及传输方法及移动终端 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE2547488C2 (de) * | 1975-10-23 | 1982-04-15 | Ibm Deutschland Gmbh, 7000 Stuttgart | Mikroprogrammierte Datenverarbeitungsanlage |
US5930824A (en) * | 1997-02-04 | 1999-07-27 | International Business Machines Corporation | System and method for demand-base data recovery |
US7526495B2 (en) * | 2006-01-03 | 2009-04-28 | Emc Corporation | Real-time construction of a selection representation for items in tree structures |
WO2008049102A2 (en) * | 2006-10-19 | 2008-04-24 | Fair Thomas T | System and methods for zero-configuration data backup |
US20120311279A1 (en) * | 2011-06-02 | 2012-12-06 | Toshiba America Information Systems, Inc. | Data recovery and backup system and process |
US9280483B1 (en) * | 2013-05-22 | 2016-03-08 | Sprint Communications Company L.P. | Rebranding a portable electronic device while maintaining user data |
CN107908340A (zh) * | 2017-09-29 | 2018-04-13 | 捷开通讯(深圳)有限公司 | 恢复出厂设置的方法、移动终端及具有存储功能的装置 |
-
2018
- 2018-07-12 CN CN201880075248.0A patent/CN111373380A/zh active Pending
- 2018-07-12 WO PCT/CN2018/095487 patent/WO2020010584A1/zh active Application Filing
- 2018-07-12 US US17/256,858 patent/US20210149578A1/en active Pending
- 2018-07-12 BR BR112020026449-0A patent/BR112020026449A2/pt unknown
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902602A (zh) * | 2012-09-19 | 2013-01-30 | 华为技术有限公司 | 数据热备份的方法、装置及存储系统 |
CN106095615A (zh) * | 2016-06-01 | 2016-11-09 | 乐视控股(北京)有限公司 | 应用数据还原方法及装置 |
CN106502826A (zh) * | 2016-10-19 | 2017-03-15 | 广东欧珀移动通信有限公司 | 数据备份及传输方法及移动终端 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111400091A (zh) * | 2020-03-06 | 2020-07-10 | Oppo(重庆)智能科技有限公司 | 恢复出厂设置方法、恢复出厂设置装置及移动终端 |
CN111400091B (zh) * | 2020-03-06 | 2024-04-26 | Oppo(重庆)智能科技有限公司 | 恢复出厂设置方法、恢复出厂设置装置及移动终端 |
CN111475463A (zh) * | 2020-04-01 | 2020-07-31 | 中国人民解放军火箭军工程大学 | 一种gnss观测数据的数字化关系存储方法 |
CN112231147A (zh) * | 2020-10-22 | 2021-01-15 | 深圳市沃特沃德股份有限公司 | 恢复出厂的方法、装置和计算机设备 |
CN116775383A (zh) * | 2023-08-25 | 2023-09-19 | 北京紫光青藤微系统有限公司 | 恢复出厂设置的方法及装置、se芯片和存储介质 |
CN116775383B (zh) * | 2023-08-25 | 2023-12-22 | 北京紫光青藤微系统有限公司 | 恢复出厂设置的方法及装置、se芯片和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN111373380A (zh) | 2020-07-03 |
US20210149578A1 (en) | 2021-05-20 |
BR112020026449A2 (pt) | 2021-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020010584A1 (zh) | 一种终端恢复出厂设置时的数据恢复方法及终端 | |
CN114679537B (zh) | 一种拍摄方法及终端 | |
KR102470275B1 (ko) | 음성 제어 방법 및 전자 장치 | |
WO2020259452A1 (zh) | 一种移动终端的全屏显示方法及设备 | |
WO2020000448A1 (zh) | 一种柔性屏幕的显示方法及终端 | |
WO2020224485A1 (zh) | 一种截屏方法及电子设备 | |
CN109766036B (zh) | 消息处理方法及电子设备 | |
WO2021042978A1 (zh) | 一种主题切换方法以及主题切换装置 | |
WO2021159746A1 (zh) | 文件共享方法、系统及相关设备 | |
CN111913750B (zh) | 一种应用程序管理方法、装置及设备 | |
WO2020098664A1 (zh) | 一种删除安全业务的方法及电子设备 | |
WO2020107463A1 (zh) | 一种电子设备的控制方法及电子设备 | |
CN113805797B (zh) | 网络资源的处理方法、电子设备及计算机可读存储介质 | |
CN113704205B (zh) | 日志存储的方法、芯片、电子设备和可读存储介质 | |
WO2021218429A1 (zh) | 应用窗口的管理方法、终端设备及计算机可读存储介质 | |
CN113452945A (zh) | 分享应用界面的方法、装置、电子设备及可读存储介质 | |
WO2021073337A1 (zh) | 安装插件的方法、装置和存储介质 | |
CN113536374A (zh) | 图像隐私的保护方法及电子设备 | |
WO2020192716A1 (zh) | 一种系统语言的切换方法及相关装置 | |
CN110609650B (zh) | 一种应用状态切换方法及终端设备 | |
CN116795476B (zh) | 一种删除壁纸的方法及电子设备 | |
CN114244951B (zh) | 应用程序打开页面的方法及其介质和电子设备 | |
CN115952564B (zh) | 数据写入方法和终端设备 | |
CN115941836B (zh) | 一种界面显示方法、电子设备及存储介质 | |
CN117009023B (zh) | 显示通知信息的方法及相关装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18926202 Country of ref document: EP Kind code of ref document: A1 |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112020026449 Country of ref document: BR |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 112020026449 Country of ref document: BR Kind code of ref document: A2 Effective date: 20201222 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18926202 Country of ref document: EP Kind code of ref document: A1 |