WO2017197727A1 - Method and mobile terminal for data backup - Google Patents

Method and mobile terminal for data backup Download PDF

Info

Publication number
WO2017197727A1
WO2017197727A1 PCT/CN2016/087294 CN2016087294W WO2017197727A1 WO 2017197727 A1 WO2017197727 A1 WO 2017197727A1 CN 2016087294 W CN2016087294 W CN 2016087294W WO 2017197727 A1 WO2017197727 A1 WO 2017197727A1
Authority
WO
WIPO (PCT)
Prior art keywords
backup
configuration file
information
backup configuration
data
Prior art date
Application number
PCT/CN2016/087294
Other languages
French (fr)
Chinese (zh)
Inventor
王煜辰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017197727A1 publication Critical patent/WO2017197727A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1456Hardware arrangements for backup

Definitions

  • the present application relates to, but is not limited to, the field of data backup of a mobile terminal, and in particular, to a method for backing up data and a mobile terminal.
  • mobile terminals As mobile terminals become more and more popular, users are becoming more and more dependent on mobile terminals. Most of entertainment, socializing, and work are done on mobile terminals on a daily basis. At the same time, user data on mobile terminals will also be Increasingly large, such as contacts, text messages, photos, music, etc.
  • the user may think of connecting the mobile terminal with the computer to export the user data from the mobile phone, but After the mobile terminal is connected to the computer and connected to the computer in the Media Transfer Protocol (mtp) mode, only the data in the internal virtual digital (SD) card of the mobile terminal, such as the stored music, can be backed up. Files such as photos, videos, etc.
  • mtp Media Transfer Protocol
  • USB Universal Serial Bus
  • Embodiments of the present invention provide a data backup method and a mobile terminal.
  • An embodiment of the present invention provides a data backup method, where the method includes:
  • the data to be backed up is backed up in the OTG-enabled external memory according to the backup configuration file.
  • the data that needs to be backed up is backed up in the external storage device with OTG function according to the backup configuration file, including:
  • the data that needs to be backed up is backed up in the external storage device with OTG function according to the backup configuration file, including:
  • the parsing the second backup configuration file stored in the external storage device with the OTG function includes:
  • the analysis is stored in the The second backup configuration file in the external memory of the OTG function.
  • the determining whether the second backup configuration file meets the backup condition includes:
  • the user authentication information in the second backup configuration file includes at least one item: a backup password, a serial number of the mobile terminal, an international mobile device identifier IMEI of the mobile terminal, a client identification module SIM of the mobile terminal, and a hardware address of the mobile terminal.
  • the local device information includes at least one item: a backup password, a serial number of the mobile terminal, an IMEI of the mobile terminal, a SIM of the mobile terminal, and a hardware address of the mobile terminal.
  • the method further includes:
  • the backup configuration information in the second backup configuration file includes at least one of: backup switch information, port control information, data backup information, data backup priority information, and data backup progress information.
  • the embodiment of the invention further provides a mobile terminal for data backup, the mobile terminal comprising:
  • a detection module configured to detect whether an external memory having an OTG function is connected
  • a mounting module configured to mount the external storage device having an OTG function when determining to connect to the external storage device having an OTG function
  • the processing module is configured to back up data that needs to be backed up according to the backup configuration file in the external storage with OTG function.
  • the processing module is further configured to parse the first backup configuration file stored locally;
  • the processing module is further configured to parse the second backup configuration file stored in the external storage with OTG function;
  • the processing module is configured to detect whether the second backup configuration file is stored in the external storage device having the OTG function, and if the second backup is stored in the external storage device having the OTG function
  • the configuration file parses the second backup configuration file stored in the OTG-enabled external memory.
  • the processing module is configured to determine whether the user authentication information in the second backup configuration file matches the local device information.
  • the user authentication information in the second backup configuration file includes at least one item: a backup password, a serial number of the mobile terminal, an international mobile device identifier IMEI of the mobile terminal, a client identification module SIM of the mobile terminal, and a hardware address of the mobile terminal.
  • the local device information includes at least one item: a backup password, a serial number of the mobile terminal, an IMEI of the mobile terminal, a SIM of the mobile terminal, and a hardware address of the mobile terminal.
  • the processing module is further configured to: if the user authentication information in the second backup configuration file matches the local device information, the backup configuration information in the second backup configuration file is required to be backed up. Data backup in the external memory with OTG function;
  • the backup configuration information in the second backup configuration file includes at least one of: backup switch information, port control information, data backup information, data backup priority information, and data backup progress information.
  • Embodiments of the present invention also provide another computer readable storage medium storing computer executable instructions that are implemented by a processor to implement the above method.
  • the method for backing up data and the mobile terminal detect whether or not the external memory having the OTG function is connected; and when determining the connection with the external memory having the OTG function, mounting the OTG function External storage; backing up data that needs to be backed up in the external storage with OTG function according to the backup configuration file; in case the user cannot operate after the screen of the mobile terminal is damaged, the mobile terminal can insert the OTG function In the external memory, the user data in the local memory storage space is automatically backed up to the external memory with OTG function according to the backup configuration file configured by the user in advance, which reduces the loss of the user.
  • Embodiment 1 is a flowchart of Embodiment 1 of a method for data backup according to an embodiment of the present invention
  • Embodiment 2 is a flowchart of Embodiment 2 of a method for data backup according to an embodiment of the present invention
  • Embodiment 3 is a flowchart of Embodiment 3 of a method for data backup according to an embodiment of the present invention
  • FIG. 5 is a flowchart of configuring user authentication information in a second backup configuration file on a computer side according to Embodiment 3 of a data backup method according to an embodiment of the present invention
  • FIG. 6 is a flowchart of configuring backup configuration information in a second backup configuration file on a computer side according to Embodiment 3 of the data backup method according to Embodiment 3 of the present invention
  • FIG. 7 is a flowchart of a backup data process of a mobile phone side according to Embodiment 3 of a data backup method according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a mobile terminal for data backup according to an embodiment of the present invention.
  • the mobile terminal involved in the embodiments of the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), a tablet computer (PAD), a portable multimedia player (PMP), and a navigation device.
  • PDA personal digital assistant
  • PAD tablet computer
  • PMP portable multimedia player
  • Mobile devices etc.; if the mobile terminal has an operating system, the operating system can be UNIX, Linux, Windows, Mac OS X, Android, Windows Phone, and the like.
  • FIG. 1 is a flowchart of Embodiment 1 of a data backup method of the present application. As shown in FIG. 1 , the data backup method provided by the embodiment of the present application includes the following steps:
  • Step 101 Detect whether an external memory with an OTG function is connected.
  • the mobile terminal detects whether it is connected to an external memory with OTG function; wherein OTG is an abbreviation of On-The-Go, which is mainly used for connection between various devices or mobile devices for data exchange; for example, direct connection of a digital camera Go to the printer, connect the USB port between the two devices through OTG technology, and print the photos immediately; or send the data from the digital camera to the mobile hard disk of the USB interface through the OTG for user convenience;
  • the external memory may be, but not limited to, a USB flash drive, a USB mobile hard disk, or the like.
  • Step 102 When determining to connect to the external memory with OTG function, mount the external memory with OTG function.
  • Step 103 Back up data that needs to be backed up according to the backup configuration file in the external storage with OTG function.
  • the mobile terminal parses the obtained backup configuration file, and automatically backs up the data to be backed up in the external storage with OTG function according to the instruction in the parsed backup configuration file; wherein the backup configuration file It may be configured in advance by the user to be stored in the local memory of the mobile terminal, or may be stored in an external memory having an OTG function;
  • the mobile terminal backs up all user data in the external storage with OTG function; for example, the backup configuration file indicates that the backup is on the mobile terminal.
  • the user data of the address book, the short message, and the system setting the mobile terminal backs up the user data set by the address book, the short message, and the system in the external memory with the OTG function.
  • the method for backing up data detects whether or not the external memory having the OTG function is connected; when determining the connection with the external memory having the OTG function, mounting the external memory with the OTG function Backing up the data to be backed up in the external memory with OTG function according to the backup configuration file; in the case that the user cannot operate after the screen of the mobile terminal is damaged, the mobile terminal can insert the external memory with OTG function
  • the user data in the local memory storage space is automatically backed up to the external storage with OTG function according to the backup configuration file configured by the user in advance, thereby reducing the loss of the user.
  • Embodiment 2 is a flowchart of Embodiment 2 of the data backup method of the present application; in the embodiment of the present invention, the backup configuration file is stored in the mobile terminal, that is, the first backup configuration file is stored locally; as shown in FIG. 2, the present invention
  • the method provided by the embodiment includes the following steps:
  • Step 201 Detect whether an external memory with an OTG function is connected.
  • the mobile terminal may be a smart phone with an Android Android operating system (referred to as a mobile phone); the external memory with OTG function may be a USB with OTG function. Flash drive (referred to as U disk).
  • the backup tool running in the background of the mobile phone detects in real time whether the USB flash drive is connected to the data interface of the mobile phone.
  • Step 202 Mount the external memory with OTG function when determining to connect with the external memory with OTG function.
  • the current USB flash drive is mounted; if the mobile phone determines that it is not connected to the current USB flash drive, the current USB flash drive will not be mounted.
  • Step 203 Parse the first backup configuration file stored locally.
  • the backup tool running in the background of the mobile phone parses the first backup configuration file stored in the mobile phone, and the first backup configuration file can be set by the user in advance.
  • the user can backup backup switch information, port control information, data backup information, and data backup. Priority information, data backup progress information, etc.
  • the content of at least one of the backup configuration information is set in the ini file, and the backup tool running in the background in the mobile phone parses the ini file stored in the mobile phone to obtain the backup configuration in the ini file.
  • the backup switch information e.g., port control information, data backup information, data backup priority information, data backup progress information, etc.
  • the backup switch information in the first backup configuration file is set to determine whether to perform data backup; the port control information is set to determine whether to change the USB link type of the machine; the data backup information is set to determine which data to back up; the data
  • the backup priority information is set to determine the priority of the data backup, that is, which data is backed up first and which data is backed up; the data backup progress information is set to determine the data backup progress, if the connection is disconnected due to an unexpected situation during the backup, for example, When the U disk is removed, the U disk space is not enough, or other conditions, the current backup progress is stored, and the backup is continued when the user inserts the U disk next time.
  • Step 204 Back up data that needs to be backed up in the external storage with OTG function according to the backup configuration information in the first backup configuration file.
  • the backup tool running in the background of the mobile phone After backing up the content of the backup configuration information in the first backup configuration file, the backup tool running in the background of the mobile phone backs up the data to be backed up according to the description content corresponding to the backup configuration information.
  • the mobile phone can enter the automatic backup data state.
  • Step 205 The progress of the data backup is presented by the sound unit and/or the display unit after the data backup ends.
  • the backup tool of the mobile phone will display the data backup progress through the speaker and/or indicator on the mobile phone.
  • the mobile phone detects whether the U disk is connected; when determining the connection with the U disk, mounts the U disk; and parses the first backup configuration file stored locally;
  • the backup configuration information in the first backup configuration file backs up the data that needs to be backed up in the U disk; after the mobile phone screen is damaged and the user cannot operate, the mobile phone can be configured according to the user before inserting the USB flash drive.
  • the backup configuration file stored in the mobile phone automatically backs up the user data in the local memory storage space to the U disk, thereby reducing the user's loss.
  • FIG. 3 is a flowchart of Embodiment 3 of the data backup method of the present application.
  • the backup configuration file is stored in an external storage device having an OTG function, that is, the second backup configuration file is stored in an OTG function.
  • the method provided by the embodiment of the present invention includes the following steps:
  • Step 301 Detect whether an external memory having an OTG function is connected.
  • the mobile terminal may be a smart phone with an Android Android operating system (abbreviated as a mobile phone); the external memory with an OTG function may be a USB flash drive (U disk) having an OTG function.
  • Android Android operating system abbreviated as a mobile phone
  • U disk USB flash drive
  • the backup tool running in the background of the mobile phone detects in real time whether the USB flash drive is connected to the data interface of the mobile phone.
  • Step 302 When determining to connect to the external memory with OTG function, mount the external memory with OTG function.
  • the current USB flash drive is mounted; if the mobile phone determines that it is not connected to the current USB flash drive, the current USB flash drive will not be mounted.
  • Step 303 Detect whether a second backup configuration file is stored in the external memory with the OTG function.
  • the backup tool running in the background of the mobile phone detects whether the second backup configuration is stored in the current U disk. If the second backup configuration file is not stored in the current U disk, the process proceeds to step 304. If it is detected that the current backup file is stored in the current U disk, step 305 is performed; wherein the second backup configuration file includes User authentication information and backup configuration information.
  • the second backup configuration file may be stored in a visible partition of the USB flash drive or may be stored in an invisible partition of the USB flash drive.
  • Step 304 ending the task.
  • the backup tool running in the background of the mobile phone ends the data backup task.
  • Step 305 Parse the second backup configuration file stored in the external memory with OTG function.
  • the backup tool running in the background of the mobile phone parses the second backup configuration file stored in the current U disk, and obtains the user authentication information and the backup configuration information in the second backup configuration file.
  • Step 306 Determine whether the user authentication information in the second backup configuration file matches the local device information.
  • the backup tool running in the background of the mobile phone determines whether the user authentication information in the second backup configuration file matches the corresponding device information in the mobile phone. If not, step 307 is performed; if yes, step 308 is performed;
  • the user authentication information in the second backup configuration file includes at least one item: a backup password, a serial number of the mobile terminal, an International Mobile Equipment Identity (IMEI) of the mobile terminal, and a customer identification module of the mobile terminal.
  • IMEI International Mobile Equipment Identity
  • SIM Subscriber Identity Module
  • the local device information includes at least one item: backup password, serial number of the mobile terminal, IMEI of the mobile terminal, SIM card of the mobile terminal, hardware of the mobile terminal address.
  • the user authentication information in the second backup configuration file includes the backup password and the IMEI of the mobile phone
  • the backup tool running in the background of the mobile phone determines whether the backup password in the second backup configuration file matches the backup password in the device information of the current mobile phone.
  • determining the movement in the second backup configuration file Whether the IMEI of the terminal matches the IMEI of the mobile terminal in the device information of the current mobile phone, and only when the data is matched at the same time, the backup tool running in the background of the mobile phone can determine that the user authentication information in the second backup configuration file matches the device information of the current mobile phone.
  • the user needs to leave user authentication information in the mobile phone.
  • the backup password is set in the backup tool of the mobile phone, and the same backup password is configured in the configuration file of the user U disk, the automatic data backup function can be started; when the mobile phone is in use All must be created to log in to a mobile phone cloud service account, which can be used to back up the user's mobile phone data, and can also be used to authenticate user authentication information and other services.
  • the security of the user using the backup data function is improved, and the user's data information is not arbitrarily stolen.
  • the method for configuring the second backup configuration file on the mobile phone side may include the following steps:
  • Step 4001 The mobile phone logs in to the cloud service account.
  • the user logs in to the cloud server using the user name through the backup tool of the mobile phone.
  • Step 4002 The mobile phone uploads the device information of the current mobile phone to the cloud server in an encrypted manner.
  • the mobile phone uploads the device information of the current mobile phone to the server in an encrypted manner, and the device information of the mobile phone includes, but is not limited to, a backup password, a serial number, an IMEI, a SIM card, a hardware address, and the like of the backup tool of the current mobile phone.
  • Step 4003 The cloud server receives and saves device information of the current mobile phone.
  • the cloud server receives and saves the device information of the current mobile phone, and authenticates the device information of the current mobile phone.
  • Step 4004 The mobile phone receives a notification message after the cloud server is authenticated.
  • the mobile phone After receiving the notification message that the cloud server is authenticated, the mobile phone determines that the device information of the current mobile phone is stored in the cloud server.
  • the notification message after the authentication is passed may be stored in the mobile phone in an encrypted manner to protect the user's data information.
  • FIG. 5 is a second backup configuration file configured on a computer side of Embodiment 3 of the data backup method of the present application.
  • the flowchart of the user authentication information is as shown in FIG. 5, and the method for configuring the user authentication information in the second backup configuration file on the computer side may include the following steps:
  • Step 5001 The backup tool on the computer side logs in to the cloud server.
  • the user logs in to the cloud server using the same username as the mobile phone through the backup tool of the computer.
  • Step 5002 The cloud server authenticates the username and password.
  • the server name and password for the current login of the cloud server authentication are the same as the user name and password for login on the mobile phone.
  • Step 5003 The backup tool of the computer inputs the device information of the mobile phone to be backed up to the cloud server.
  • the user inputs the device information of the mobile phone to be backed up to the cloud server through a backup tool of the computer.
  • the device information of the mobile phone to be backed up includes, but is not limited to, a backup password, a serial number, an IMEI, a SIM card, a hardware address, and the like of the backup tool of the mobile phone.
  • Step 5004 After confirming that the device information of the mobile phone to be backed up is accurate, the cloud server sends the generated user authentication information to the backup tool of the computer.
  • the cloud server determines the device information of the mobile phone to be backed up and the device information of the mobile phone stored in the cloud server to generate the user authentication information, and then sends the generated user authentication information to the backup tool of the computer.
  • FIG. 6 is a flowchart of configuring backup configuration information in a second backup configuration file on the computer side of the third embodiment of the data backup method of the present application. As shown in FIG. 6, the method for configuring backup configuration information in the second backup configuration file on the computer side includes The following steps:
  • Step 6001 A backup tool of the computer detects the U disk information.
  • the backup tool of the computer detects that the U disk is waiting for user confirmation. At this time, it is necessary to detect whether the U disk file system is a FAT (including FAT16FAT32exFAT) system. If the file system is not a FAT system, the user U disk is not available for backup. Format or replace the USB flash drive.
  • FAT including FAT16FAT32exFAT
  • Step 6002 The backup tool of the computer selects a backup USB disk.
  • the user confirms the need to back up through the backup tool of the computer and confirms that the U disk is available and prepares to configure the backup configuration information.
  • Step 6003 The backup tool of the computer confirms the mobile phone that the user needs to back up.
  • the user selects the device to be backed up through the backup tool of the computer.
  • the user can input the device information of the mobile phone to be backed up, and the user can also make a selection.
  • Step 6004 The backup tool of the computer configures backup configuration information.
  • the backup configuration information is configured by the backup tool of the user, and the backup configuration information includes at least one of: backup switch information, port control information, data backup information, data backup priority information, and data backup progress information; wherein, backup switch information, Used to determine whether to perform data backup; port control information, used to determine whether to change the USB link type of the machine; data backup information used to determine which data to back up; data backup priority information used to determine the priority of data backup, That is, which data is backed up first and which data is backed up; data backup progress information is used to determine the data backup progress. If the connection is disconnected due to an unexpected situation during the backup, for example, if the U disk is removed, the U disk space is insufficient, or other conditions , the current backup progress is stored, and the backup is continued when the user inserts the U disk next time.
  • backup switch information Used to determine whether to perform data backup
  • port control information used to determine whether to change the USB link type of the machine
  • data backup information used to determine which data to back up
  • data backup priority information used to determine the priority
  • Step 6005 The backup tool of the computer writes the second backup configuration file to the U disk.
  • the backup tool of the computer After the user determines the content of the backup configuration information, the backup tool of the computer combines the user authentication information and the backup configuration information into a second backup configuration file, and writes the second backup configuration file to the USB disk.
  • Step 307 ending the task.
  • the backup tool running in the background of the mobile phone ends the backup data task.
  • Step 308 Back up data that needs to be backed up in the external storage with OTG function according to the backup configuration information in the second backup configuration file.
  • the backup tool running in the background of the mobile phone determines that the user authentication information in the second backup configuration file meets the conditions, it is confirmed whether the backup switch of the backup configuration information in the second backup configuration file is enabled, and if the backup switch is on, the mobile phone is now On the screen, the countdown prompt box for starting the backup is popped up. If the response of the user on the screen is not detected after the corresponding time, the backup data process is automatically started.
  • FIG. 7 is a flowchart of a backup data process on the mobile phone side according to Embodiment 3 of the data backup method of the present application. As shown in FIG. 7, the method includes the following steps:
  • Step 7001 Detect port control information.
  • the backup tool running in the background of the mobile phone detects the port control information and opens it according to the port control information.
  • the port that the user wants to open such as the adb port or other USB link mode.
  • Step 7002 Detect data backup information.
  • the backup tool running in the background of the mobile phone detects the data backup information and determines which data the user wants to back up.
  • Step 7003 Detect data backup priority information.
  • the backup tool running in the background of the mobile phone detects the data backup priority information, determines which data the user wants to back up first, and then backs up the data.
  • Step 7004 Detect data backup progress information.
  • the backup tool running in the background of the mobile phone detects the data backup progress information, determines whether there is backup progress information, and if so, continues to perform backup according to the backup progress.
  • Step 7005 Write backup data to the U disk.
  • the backup tool running in the background of the mobile phone writes the backup data to the U disk in real time. If the U disk is accidentally disconnected or full, when the U disk is accessed again, it can be backed up from the progress according to the data backup progress information.
  • Step 309 The progress of the data backup is presented by the sound unit and/or the display unit after the data backup ends.
  • the backup tool of the mobile phone will display the data backup progress through the speaker and/or indicator on the mobile phone.
  • the method for backing up data detects whether an external memory having an OTG function is connected by using a mobile phone; and when the connection with the external storage device having the OTG function is determined, mounting the external device with the OTG function a memory; detecting whether the second backup configuration file is stored in the external storage device having the OTG function, and parsing the second storage in the external storage device having the OTG function when the second backup configuration file is stored Backing up the configuration file; determining whether the user authentication information in the second backup configuration file matches the local device information, and when matching, backing up the data to be backed up according to the backup configuration information in the second backup configuration file In the external memory with the OTG function; after the data backup ends, the progress of the data backup is presented by the sound unit and/or the display unit; when the user encounters the damage of the mobile phone screen and cannot operate, the U disk is inserted on the computer side, and Log in to the mobile cloud service account in the computer side backup tool, and Determine the mobile phone that needs to be backed up.
  • USB flash drive After confirming, insert the USB flash drive into the mobile phone.
  • the backup tool running in the background of the mobile phone detects the user authentication information in the USB flash drive and authenticates, start the automatic backup data according to the backup configuration information. If the user encounters an unexpected situation in the middle of the process, When the U disk or U disk is full, the U disk can be inserted again to back up, which reduces the user's loss. In addition, no hardware is added to the phone, the backup data cost is reduced, and the security is improved by authenticating the U disk. .
  • FIG. 8 is a schematic structural diagram of a mobile terminal for data backup according to the present application.
  • the mobile terminal 08 for data backup in this embodiment includes: a detection module 81, a mounting module 82, and a processing module 83;
  • the detecting module 81 is configured to detect whether an external memory having an OTG function is connected;
  • the mounting module 82 is configured to mount the external storage device with an OTG function when determining to connect with the external storage device having the OTG function;
  • the processing module 83 is configured to back up data that needs to be backed up in the external storage with OTG function according to the backup configuration file.
  • the processing module 83 is further configured to parse the first backup configuration file stored locally;
  • the processing module 83 is further configured to parse the second backup configuration file stored in the external memory with OTG function;
  • the processing module 83 is configured to detect whether the second backup configuration file is stored in the external memory having the OTG function, and if the external memory having the OTG function stores the first
  • the second backup configuration file parses the second backup configuration file stored in the OTG-enabled external storage.
  • the processing module 83 is configured to determine the use in the second backup configuration file. Whether the user authentication information matches the local device information;
  • the user authentication information in the second backup configuration file includes at least one item: a backup password, a serial number of the mobile terminal, an international mobile device identifier IMEI of the mobile terminal, a client identification module SIM of the mobile terminal, and a hardware address of the mobile terminal.
  • the local device information includes at least one item: a backup password, a serial number of the mobile terminal, an IMEI of the mobile terminal, a SIM of the mobile terminal, and a hardware address of the mobile terminal.
  • the processing module 83 is further configured to: if the user authentication information in the second backup configuration file matches the local device information, the backup configuration information in the second backup configuration file is required.
  • the backed up data is backed up in the external memory with OTG function;
  • the backup configuration information in the second backup configuration file includes at least one of: backup switch information, port control information, data backup information, data backup priority information, and data backup progress information.
  • the mobile terminal of this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the detecting module 81, the mounting module 82, and the processing module 83 may each be a Central Processing Unit (CPU), a Micro Processor Unit (MPU), or a Microprocessor Unit (MPU) located in the wireless data transmitting device.
  • CPU Central Processing Unit
  • MPU Micro Processor Unit
  • MPU Microprocessor Unit located in the wireless data transmitting device.
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • a computer readable storage medium storing computer executable instructions that are implemented by a processor to implement the method of backing up data as described above.
  • the storage medium includes, but is not limited to, an optical disk, a floppy disk, a hard disk, a rewritable memory, and the like.
  • embodiments of the present application can be provided as a method, system, or computer program product. Accordingly, the application can take the form of a hardware embodiment, a software embodiment, or an embodiment in combination with software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the present application refers to a method, device (system), and computer program according to an embodiment of the present application.
  • the flow chart and/or block diagram of the product is described. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the embodiment of the present invention provides a data backup method and a mobile terminal, including: detecting whether a mobile terminal is connected to an external memory having an OTG function; and when determining the connection with the external storage device having the OTG function, the mount The external storage device has an OTG function; and the data to be backed up is backed up in the external storage device with OTG function according to the backup configuration file.
  • the mount The external storage device has an OTG function; and the data to be backed up is backed up in the external storage device with OTG function according to the backup configuration file.
  • the data is backed up in the external memory with the OTG function; in the case that the user cannot operate after the screen of the mobile terminal is damaged, the mobile terminal can insert the backup configured in advance according to the user when inserting the external memory with the OTG function.
  • the configuration file automatically backs up the user data in the local memory storage space to the external storage with OTG function, which reduces the user's loss.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed is a method for data backup, comprising: detecting whether an external memory with an OTG function is connected; when it is determined that the external memory with an OTG function is connected, mounting the external memory with an OTG function; and backing up, in the external memory with an OTG function, data needing to be backed up according to a backup configuration file. Also disclosed is a mobile terminal for data backup.

Description

数据备份的方法及移动终端Data backup method and mobile terminal 技术领域Technical field
本申请涉及但不限于移动终端的数据备份领域,尤其涉及一种数据备份的方法及移动终端。The present application relates to, but is not limited to, the field of data backup of a mobile terminal, and in particular, to a method for backing up data and a mobile terminal.
背景技术Background technique
随着移动终端越来越普及,用户对于移动终端的依赖也越来越大,娱乐、社交、工作等绝大部分日常都会在移动终端上完成,与此同时,移动终端上的用户数据也会越来越庞大,例如通讯录、短信、照片、音乐等。As mobile terminals become more and more popular, users are becoming more and more dependent on mobile terminals. Most of entertainment, socializing, and work are done on mobile terminals on a daily basis. At the same time, user data on mobile terminals will also be Increasingly large, such as contacts, text messages, photos, music, etc.
如果移动终端的屏幕在损坏后,用户无法查看到当前屏幕的内容,且无法对移动终端的屏幕进行任何操作,用户就会想到将移动终端与电脑连接来将用户数据从手机中导出,但是在移动终端与电脑连接后,以媒体传输协议(Media Transfer Protocol,mtp)模式与电脑连接时,只能备份该移动终端的内部虚拟安全数字(Secure Digital,SD)卡中的资料,例如存放的音乐、照片、视频等文件,无法备份移动终端的内存存储空间中的名片夹、短消息等用户数据;如果移动终端以通用串行总线(Universal Serial Bus,USB)充电模式与电脑连接时,那么移动终端内所有的用户数据都无法再进行备份;这样,在移动终端的屏幕损坏后,无法对移动终端的内存存储空间中的用户数据进行备份,对用户造成损失。If the screen of the mobile terminal is damaged, the user cannot view the content of the current screen, and cannot perform any operation on the screen of the mobile terminal, the user may think of connecting the mobile terminal with the computer to export the user data from the mobile phone, but After the mobile terminal is connected to the computer and connected to the computer in the Media Transfer Protocol (mtp) mode, only the data in the internal virtual digital (SD) card of the mobile terminal, such as the stored music, can be backed up. Files such as photos, videos, etc. cannot back up user data such as contacts and short messages in the memory storage space of the mobile terminal; if the mobile terminal is connected to the computer in the Universal Serial Bus (USB) charging mode, then move All user data in the terminal can no longer be backed up; thus, after the screen of the mobile terminal is damaged, the user data in the memory storage space of the mobile terminal cannot be backed up, causing loss to the user.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保围。The following is an overview of the topics detailed in this document. This summary is not intended to limit the scope of the claims.
本发明实施例提供一种数据备份的方法及移动终端。Embodiments of the present invention provide a data backup method and a mobile terminal.
本发明实施例提供一种数据备份的方法,所述方法包括:An embodiment of the present invention provides a data backup method, where the method includes:
检测与具有OTG功能的外置存储器是否连接;Detecting whether it is connected to an external memory with OTG function;
在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器; Mounting the external memory with OTG function when determining to connect with the external memory with OTG function;
根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中。The data to be backed up is backed up in the OTG-enabled external memory according to the backup configuration file.
其中,所述根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中,包括:The data that needs to be backed up is backed up in the external storage device with OTG function according to the backup configuration file, including:
解析存储在本地的第一备份配置文件;Parsing the first backup configuration file stored locally;
根据所述第一备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中。Backing up the data that needs to be backed up in the external storage with OTG function according to the backup configuration information in the first backup configuration file.
其中,所述根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中,包括:The data that needs to be backed up is backed up in the external storage device with OTG function according to the backup configuration file, including:
解析存储在所述具有OTG功能的外置存储器中的第二备份配置文件;Parsing a second backup configuration file stored in the external storage with OTG function;
判断所述第二备份配置文件是否符合备份条件,若所述第二备份配置文件符合备份条件,则根据所述第二备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中。Determining whether the second backup configuration file meets the backup condition, and if the second backup configuration file meets the backup condition, backing up the data that needs to be backed up according to the backup configuration information in the second backup configuration file, and having the OTG Function in the external memory.
其中,所述解析存储在所述具有OTG功能的外置存储器中的第二备份配置文件,包括:The parsing the second backup configuration file stored in the external storage device with the OTG function includes:
检测所述具有OTG功能的外置存储器中是否存储有所述第二备份配置文件,若所述具有OTG功能的外置存储器中存储有所述第二备份配置文件,则解析存储在所述具有OTG功能的外置存储器中的所述第二备份配置文件。Detecting whether the second backup configuration file is stored in the external storage device having the OTG function, and if the second backup configuration file is stored in the external storage device having the OTG function, the analysis is stored in the The second backup configuration file in the external memory of the OTG function.
其中,所述判断所述第二备份配置文件是否符合备份条件,包括:The determining whether the second backup configuration file meets the backup condition includes:
判断所述第二备份配置文件中的用户认证信息是否与本地的设备信息匹配;Determining whether the user authentication information in the second backup configuration file matches the local device information;
其中,所述第二备份配置文件中的用户认证信息包括至少一项:备份密码、移动终端的序列号、移动终端的国际移动设备标识IMEI、移动终端的客户识别模块SIM、移动终端的硬件地址;所述本地的设备信息包括至少一项:备份密码、移动终端的序列号、移动终端的IMEI、移动终端的SIM、移动终端的硬件地址。The user authentication information in the second backup configuration file includes at least one item: a backup password, a serial number of the mobile terminal, an international mobile device identifier IMEI of the mobile terminal, a client identification module SIM of the mobile terminal, and a hardware address of the mobile terminal. The local device information includes at least one item: a backup password, a serial number of the mobile terminal, an IMEI of the mobile terminal, a SIM of the mobile terminal, and a hardware address of the mobile terminal.
其中,在所述判断所述第二备份配置文件中的用户认证信息是否与本地 的设备信息匹配之后,所述方法还包括:Wherein, determining whether the user authentication information in the second backup configuration file is local After the device information is matched, the method further includes:
若所述第二备份配置文件中的用户认证信息与所述本地的设备信息匹配,则根据所述第二备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中;If the user authentication information in the second backup configuration file matches the local device information, backing up the data that needs to be backed up according to the backup configuration information in the second backup configuration file, Set in memory;
其中,所述第二备份配置文件中的备份配置信息包括至少一项:备份开关信息、端口控制信息、数据备份信息、数据备份优先级信息、数据备份进度信息。The backup configuration information in the second backup configuration file includes at least one of: backup switch information, port control information, data backup information, data backup priority information, and data backup progress information.
本发明实施例还提供一种数据备份的移动终端,所述移动终端包括:The embodiment of the invention further provides a mobile terminal for data backup, the mobile terminal comprising:
检测模块,设置为检测与具有OTG功能的外置存储器是否连接;a detection module configured to detect whether an external memory having an OTG function is connected;
挂载模块,设置为在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器;a mounting module configured to mount the external storage device having an OTG function when determining to connect to the external storage device having an OTG function;
处理模块,设置为根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中。The processing module is configured to back up data that needs to be backed up according to the backup configuration file in the external storage with OTG function.
其中,所述处理模块,还设置为解析存储在本地的第一备份配置文件;The processing module is further configured to parse the first backup configuration file stored locally;
根据所述第一备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中。Backing up the data that needs to be backed up in the external storage with OTG function according to the backup configuration information in the first backup configuration file.
其中,所述处理模块,还设置为解析存储在所述具有OTG功能的外置存储器中的第二备份配置文件;The processing module is further configured to parse the second backup configuration file stored in the external storage with OTG function;
判断所述第二备份配置文件是否符合备份条件,若所述第二备份配置文件符合备份条件,则根据所述第二备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中。Determining whether the second backup configuration file meets the backup condition, and if the second backup configuration file meets the backup condition, backing up the data that needs to be backed up according to the backup configuration information in the second backup configuration file, and having the OTG Function in the external memory.
其中,所述处理模块,是设置为检测所述具有OTG功能的外置存储器中是否存储有所述第二备份配置文件,若所述具有OTG功能的外置存储器中存储有所述第二备份配置文件,则解析存储在所述具有OTG功能的外置存储器中的所述第二备份配置文件。The processing module is configured to detect whether the second backup configuration file is stored in the external storage device having the OTG function, and if the second backup is stored in the external storage device having the OTG function The configuration file parses the second backup configuration file stored in the OTG-enabled external memory.
其中,所述处理模块,是设置为判断所述第二备份配置文件中的用户认证信息是否与本地的设备信息匹配; The processing module is configured to determine whether the user authentication information in the second backup configuration file matches the local device information.
其中,所述第二备份配置文件中的用户认证信息包括至少一项:备份密码、移动终端的序列号、移动终端的国际移动设备标识IMEI、移动终端的客户识别模块SIM、移动终端的硬件地址;所述本地的设备信息包括至少一项:备份密码、移动终端的序列号、移动终端的IMEI、移动终端的SIM、移动终端的硬件地址。The user authentication information in the second backup configuration file includes at least one item: a backup password, a serial number of the mobile terminal, an international mobile device identifier IMEI of the mobile terminal, a client identification module SIM of the mobile terminal, and a hardware address of the mobile terminal. The local device information includes at least one item: a backup password, a serial number of the mobile terminal, an IMEI of the mobile terminal, a SIM of the mobile terminal, and a hardware address of the mobile terminal.
其中,所述处理模块,还设置为若所述第二备份配置文件中的用户认证信息与所述本地的设备信息匹配,则根据所述第二备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中;The processing module is further configured to: if the user authentication information in the second backup configuration file matches the local device information, the backup configuration information in the second backup configuration file is required to be backed up. Data backup in the external memory with OTG function;
其中,所述第二备份配置文件中的备份配置信息包括至少一项:备份开关信息、端口控制信息、数据备份信息、数据备份优先级信息、数据备份进度信息。The backup configuration information in the second backup configuration file includes at least one of: backup switch information, port control information, data backup information, data backup priority information, and data backup progress information.
本发明实施例还提供了另一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述方法。Embodiments of the present invention also provide another computer readable storage medium storing computer executable instructions that are implemented by a processor to implement the above method.
本发明实施例提供的数据备份的方法及移动终端,通过检测与具有OTG功能的外置存储器是否连接;在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器;根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中;在移动终端的屏幕损坏后,用户无法操作的情况下,移动终端可以在***具有OTG功能的外置存储器时,根据用户事先配置好的备份配置文件将本地的内存存储空间中的用户数据自动备份到具有OTG功能的外置存储器中,减少了用户的损失。The method for backing up data and the mobile terminal provided by the embodiment of the present invention detect whether or not the external memory having the OTG function is connected; and when determining the connection with the external memory having the OTG function, mounting the OTG function External storage; backing up data that needs to be backed up in the external storage with OTG function according to the backup configuration file; in case the user cannot operate after the screen of the mobile terminal is damaged, the mobile terminal can insert the OTG function In the external memory, the user data in the local memory storage space is automatically backed up to the external memory with OTG function according to the backup configuration file configured by the user in advance, which reduces the loss of the user.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例数据备份的方法实施例一的流程图;1 is a flowchart of Embodiment 1 of a method for data backup according to an embodiment of the present invention;
图2为本发明实施例数据备份的方法实施例二的流程图;2 is a flowchart of Embodiment 2 of a method for data backup according to an embodiment of the present invention;
图3为本发明实施例数据备份的方法实施例三的流程图;3 is a flowchart of Embodiment 3 of a method for data backup according to an embodiment of the present invention;
图4为本发明实施例数据备份的方法实施例三的手机侧配置第二备份配置文件的流程图; 4 is a flowchart of configuring a second backup configuration file on the mobile phone side according to Embodiment 3 of the data backup method according to the embodiment of the present invention;
图5为本发明实施例数据备份的方法实施例三的电脑侧配置第二备份配置文件中用户认证信息的流程图;5 is a flowchart of configuring user authentication information in a second backup configuration file on a computer side according to Embodiment 3 of a data backup method according to an embodiment of the present invention;
图6为本发明实施例数据备份的方法实施例三的电脑侧配置第二备份配置文件中备份配置信息的流程图;6 is a flowchart of configuring backup configuration information in a second backup configuration file on a computer side according to Embodiment 3 of the data backup method according to Embodiment 3 of the present invention;
图7为本发明实施例数据备份的方法实施例三的手机侧的备份数据过程的流程图;FIG. 7 is a flowchart of a backup data process of a mobile phone side according to Embodiment 3 of a data backup method according to an embodiment of the present invention;
图8为本发明实施例数据备份的移动终端的结构示意图。FIG. 8 is a schematic structural diagram of a mobile terminal for data backup according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
本发明实施例所涉及到的移动终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(PDA)、平板电脑(PAD)、便携式多媒体播放器(PMP)、导航装置等等的移动设备;移动终端如果具有操作***,该操作***可以为UNIX、Linux、Windows、Mac OS X、安卓(Android)、Windows Phone等等。The mobile terminal involved in the embodiments of the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), a tablet computer (PAD), a portable multimedia player (PMP), and a navigation device. Mobile devices, etc.; if the mobile terminal has an operating system, the operating system can be UNIX, Linux, Windows, Mac OS X, Android, Windows Phone, and the like.
图1为本申请数据备份的方法实施例一的流程图,如图1所示,本申请实施例提供的数据备份的方法包括如下步骤:FIG. 1 is a flowchart of Embodiment 1 of a data backup method of the present application. As shown in FIG. 1 , the data backup method provided by the embodiment of the present application includes the following steps:
步骤101、检测与具有OTG功能的外置存储器是否连接。Step 101: Detect whether an external memory with an OTG function is connected.
移动终端检测与具有OTG功能的外置存储器是否连接;其中,OTG是On-The-Go的缩写,主要应用于各种不同的设备或移动设备间的联接,进行数据交换;例如数码相机直接连接到打印机上,通过OTG技术,连接两台设备间的USB口,将拍出的相片立即打印出来;也可以将数码照相机中的数据,通过OTG发送到USB接口的移动硬盘上,方便用户使用;该外置存储器可以为包括但不限于USB闪存驱动器、USB移动硬盘等。The mobile terminal detects whether it is connected to an external memory with OTG function; wherein OTG is an abbreviation of On-The-Go, which is mainly used for connection between various devices or mobile devices for data exchange; for example, direct connection of a digital camera Go to the printer, connect the USB port between the two devices through OTG technology, and print the photos immediately; or send the data from the digital camera to the mobile hard disk of the USB interface through the OTG for user convenience; The external memory may be, but not limited to, a USB flash drive, a USB mobile hard disk, or the like.
步骤102、在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器。Step 102: When determining to connect to the external memory with OTG function, mount the external memory with OTG function.
移动终端在确定与所述具有OTG功能的外置存储器连接时,挂载所述 具有OTG功能的外置存储器;如果移动终端在确定与所述具有OTG功能的外置存储器没有连接时,则结束任务。Mounting the mobile terminal when determining to connect to the external storage with OTG function An external memory having an OTG function; if the mobile terminal determines that there is no connection with the external memory having the OTG function, the task is terminated.
步骤103、根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中。Step 103: Back up data that needs to be backed up according to the backup configuration file in the external storage with OTG function.
移动终端对获取到的备份配置文件进行解析,按照解析出的备份配置文件中的内容的指示,将需要备份的数据自动备份在所述具有OTG功能的外置存储器中;其中,该备份配置文件可以事先由用户配置好存储在移动终端的本地内存中,也可存储在具有OTG功能的外置存储器中;The mobile terminal parses the obtained backup configuration file, and automatically backs up the data to be backed up in the external storage with OTG function according to the instruction in the parsed backup configuration file; wherein the backup configuration file It may be configured in advance by the user to be stored in the local memory of the mobile terminal, or may be stored in an external memory having an OTG function;
例如,备份配置文件中指示备份该移动终端上的所有用户数据,则移动终端将所有用户数据都备份在具有OTG功能的外置存储器中;又例如,备份配置文件中指示备份该移动终端上的通讯录、短信、***设置的用户数据,则移动终端将通讯录、短信、***设置的用户数据备份在具有OTG功能的外置存储器中。For example, if the backup configuration file indicates that all user data on the mobile terminal is backed up, the mobile terminal backs up all user data in the external storage with OTG function; for example, the backup configuration file indicates that the backup is on the mobile terminal. The user data of the address book, the short message, and the system setting, the mobile terminal backs up the user data set by the address book, the short message, and the system in the external memory with the OTG function.
本发明实施例提供的数据备份的方法,通过检测与具有OTG功能的外置存储器是否连接;在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器;根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中;在移动终端的屏幕损坏后,用户无法操作的情况下,移动终端可以在***具有OTG功能的外置存储器时,根据用户事先配置好的备份配置文件将本地的内存存储空间中的用户数据自动备份到具有OTG功能的外置存储器中,减少了用户的损失。The method for backing up data provided by the embodiment of the present invention detects whether or not the external memory having the OTG function is connected; when determining the connection with the external memory having the OTG function, mounting the external memory with the OTG function Backing up the data to be backed up in the external memory with OTG function according to the backup configuration file; in the case that the user cannot operate after the screen of the mobile terminal is damaged, the mobile terminal can insert the external memory with OTG function The user data in the local memory storage space is automatically backed up to the external storage with OTG function according to the backup configuration file configured by the user in advance, thereby reducing the loss of the user.
为了更加体现出本申请的目的,在上述实施例的基础上,进一步的举例说明。In order to further embodies the purpose of the present application, further exemplification is provided on the basis of the above embodiments.
图2为本申请数据备份的方法实施例二的流程图;在本发明实施例中,备份配置文件存储在移动终端中,即第一备份配置文件存储在本地;如图2所示,本发明实施例提供的方法包括如下步骤:2 is a flowchart of Embodiment 2 of the data backup method of the present application; in the embodiment of the present invention, the backup configuration file is stored in the mobile terminal, that is, the first backup configuration file is stored locally; as shown in FIG. 2, the present invention The method provided by the embodiment includes the following steps:
步骤201、检测与具有OTG功能的外置存储器是否连接。Step 201: Detect whether an external memory with an OTG function is connected.
在本发明实施例中,移动终端可以为具有安卓Android操作***的智能手机(简称手机);具有OTG功能的外置存储器可以为具有OTG功能的USB 闪存驱动器(简称U盘)。In the embodiment of the present invention, the mobile terminal may be a smart phone with an Android Android operating system (referred to as a mobile phone); the external memory with OTG function may be a USB with OTG function. Flash drive (referred to as U disk).
手机后台运行的备份工具实时检测U盘是否与手机的数据接口连接。The backup tool running in the background of the mobile phone detects in real time whether the USB flash drive is connected to the data interface of the mobile phone.
步骤202、在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器。Step 202: Mount the external memory with OTG function when determining to connect with the external memory with OTG function.
手机在确定与当前U盘连接时,会挂载该当前U盘;如果手机确定没有与当前U盘连接,则不会挂载该当前U盘。When the mobile phone determines that it is connected to the current USB flash drive, the current USB flash drive is mounted; if the mobile phone determines that it is not connected to the current USB flash drive, the current USB flash drive will not be mounted.
步骤203、解析存储在本地的第一备份配置文件。Step 203: Parse the first backup configuration file stored locally.
手机后台运行的备份工具解析存储在手机中的第一备份配置文件,该第一备份配置文件可以由用户事先设置好,例如,用户可以将备份开关信息、端口控制信息、数据备份信息、数据备份优先级信息、数据备份进度信息等它们其中的至少一项备份配置信息的内容设置在ini文件内,手机中的后台运行的备份工具解析存储在手机中的ini文件,得到ini文件内的备份配置信息的内容;又例如,用户可以将备份开关信息、端口控制信息、数据备份信息、数据备份优先级信息、数据备份进度信息等它们其中的至少一项备份配置信息的内容设置在文本文档(bak.txt)内,手机中的后台运行的备份工具解析存储在手机中的bak.txt,得到bak.txt文件内的备份配置信息的内容,例如解析出备份开关信息(bak=1)、端口控制信息(port=adb)等。The backup tool running in the background of the mobile phone parses the first backup configuration file stored in the mobile phone, and the first backup configuration file can be set by the user in advance. For example, the user can backup backup switch information, port control information, data backup information, and data backup. Priority information, data backup progress information, etc. The content of at least one of the backup configuration information is set in the ini file, and the backup tool running in the background in the mobile phone parses the ini file stored in the mobile phone to obtain the backup configuration in the ini file. For example, the user may set the content of at least one of the backup configuration information, such as backup switch information, port control information, data backup information, data backup priority information, data backup progress information, etc., in a text document (bak .txt), the backup tool running in the background in the mobile phone parses the bak.txt stored in the mobile phone, and obtains the content of the backup configuration information in the bak.txt file, for example, parsing the backup switch information (bak=1), port control Information (port=adb), etc.
其中,该第一备份配置文件中的备份开关信息,设置为确定是否进行数据备份;端口控制信息,设置为确定是否更改本机的USB链接类型;数据备份信息,设置为确定备份哪些数据;数据备份优先级信息,设置为确定数据备份的优先级,即哪些数据先备份,哪些数据后备份;数据备份进度信息,设置为确定数据备份进度,如果在备份途中由于意外情况断开连接,例如,拔出U盘、U盘空间不够,或其他情况时,存储当前的备份进度,在用户下一次***U盘时继续备份。The backup switch information in the first backup configuration file is set to determine whether to perform data backup; the port control information is set to determine whether to change the USB link type of the machine; the data backup information is set to determine which data to back up; the data The backup priority information is set to determine the priority of the data backup, that is, which data is backed up first and which data is backed up; the data backup progress information is set to determine the data backup progress, if the connection is disconnected due to an unexpected situation during the backup, for example, When the U disk is removed, the U disk space is not enough, or other conditions, the current backup progress is stored, and the backup is continued when the user inserts the U disk next time.
步骤204、根据所述第一备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中。Step 204: Back up data that needs to be backed up in the external storage with OTG function according to the backup configuration information in the first backup configuration file.
手机后台运行的备份工具解析出的所述第一备份配置文件中的备份配置信息的内容后,根据备份配置信息所对应的描述内容将需要备份的数据备份 在连接的当前U盘中;例如,解析出的备份开关信息为bak=1,端口控制信息为port=adb,手机就可以进入自动备份数据状态。After backing up the content of the backup configuration information in the first backup configuration file, the backup tool running in the background of the mobile phone backs up the data to be backed up according to the description content corresponding to the backup configuration information. In the current U disk connected; for example, the resolved backup switch information is bak=1, the port control information is port=adb, and the mobile phone can enter the automatic backup data state.
步骤205、在数据备份结束后通过声音单元和/或显示单元呈现出数据备份的进度。Step 205: The progress of the data backup is presented by the sound unit and/or the display unit after the data backup ends.
手机后台运行的备份工具在确定数据备份结束后,会通过手机上的扬声器和/或指示灯将数据备份进度呈现出来。After the backup of the data backup is completed, the backup tool of the mobile phone will display the data backup progress through the speaker and/or indicator on the mobile phone.
本发明实施例提供的数据备份的方法,手机通过检测与U盘是否连接;在确定与所述U盘连接时,挂载所述U盘;解析存储在本地的第一备份配置文件;根据所述第一备份配置文件中的备份配置信息将需要备份的数据备份在所述U盘中;在手机屏幕损坏后,用户无法操作的情况下,手机可以在***U盘时,根据用户事先配置好的、存储在手机中的备份配置文件将本地的内存存储空间中的用户数据自动备份到U盘中,减少了用户的损失。The method for backing up data provided by the embodiment of the present invention, the mobile phone detects whether the U disk is connected; when determining the connection with the U disk, mounts the U disk; and parses the first backup configuration file stored locally; The backup configuration information in the first backup configuration file backs up the data that needs to be backed up in the U disk; after the mobile phone screen is damaged and the user cannot operate, the mobile phone can be configured according to the user before inserting the USB flash drive. The backup configuration file stored in the mobile phone automatically backs up the user data in the local memory storage space to the U disk, thereby reducing the user's loss.
图3为本申请数据备份的方法实施例三的流程图;在本发明实施例中,备份配置文件存储在具有OTG功能的外置存储器中,即第二备份配置文件存储在具有OTG功能的外置存储器中;如图3所示,本发明实施例提供的方法包括如下步骤:FIG. 3 is a flowchart of Embodiment 3 of the data backup method of the present application. In the embodiment of the present invention, the backup configuration file is stored in an external storage device having an OTG function, that is, the second backup configuration file is stored in an OTG function. As shown in FIG. 3, the method provided by the embodiment of the present invention includes the following steps:
步骤301、检测与具有OTG功能的外置存储器是否连接。Step 301: Detect whether an external memory having an OTG function is connected.
在本发明实施例中,移动终端可以为具有安卓Android操作***的智能手机(简称手机);具有OTG功能的外置存储器可以为具有OTG功能的USB闪存驱动器(简称U盘)。In the embodiment of the present invention, the mobile terminal may be a smart phone with an Android Android operating system (abbreviated as a mobile phone); the external memory with an OTG function may be a USB flash drive (U disk) having an OTG function.
手机后台运行的备份工具实时检测U盘是否与手机的数据接口连接。The backup tool running in the background of the mobile phone detects in real time whether the USB flash drive is connected to the data interface of the mobile phone.
步骤302、在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器。Step 302: When determining to connect to the external memory with OTG function, mount the external memory with OTG function.
手机在确定与当前U盘连接时,会挂载该当前U盘;如果手机确定没有与当前U盘连接,则不会挂载该当前U盘。When the mobile phone determines that it is connected to the current USB flash drive, the current USB flash drive is mounted; if the mobile phone determines that it is not connected to the current USB flash drive, the current USB flash drive will not be mounted.
步骤303、检测所述具有OTG功能的外置存储器中是否存储有第二备份配置文件。Step 303: Detect whether a second backup configuration file is stored in the external memory with the OTG function.
手机后台运行的备份工具检测所述当前U盘中是否存储有第二备份配置 文件,若检测到当前U盘中没有存储第二备份配置文件,则执行步骤304;若检测到当前U盘中存储有第二备份配置文件,则执行步骤305;其中,第二备份配置文件包括用户认证信息和备份配置信息,该第二备份配置文件可以存放在该U盘的可见分区中,也可以存放在该U盘的不可见分区中。The backup tool running in the background of the mobile phone detects whether the second backup configuration is stored in the current U disk. If the second backup configuration file is not stored in the current U disk, the process proceeds to step 304. If it is detected that the current backup file is stored in the current U disk, step 305 is performed; wherein the second backup configuration file includes User authentication information and backup configuration information. The second backup configuration file may be stored in a visible partition of the USB flash drive or may be stored in an invisible partition of the USB flash drive.
步骤304、结束任务。 Step 304, ending the task.
手机后台运行的备份工具结束数据备份任务。The backup tool running in the background of the mobile phone ends the data backup task.
步骤305、解析存储在所述具有OTG功能的外置存储器中的所述第二备份配置文件。Step 305: Parse the second backup configuration file stored in the external memory with OTG function.
具体的,手机后台运行的备份工具解析存储在当前U盘中的第二备份配置文件,得到第二备份配置文件中的用户认证信息和备份配置信息。Specifically, the backup tool running in the background of the mobile phone parses the second backup configuration file stored in the current U disk, and obtains the user authentication information and the backup configuration information in the second backup configuration file.
步骤306、判断所述第二备份配置文件中的用户认证信息是否与本地的设备信息匹配。Step 306: Determine whether the user authentication information in the second backup configuration file matches the local device information.
手机后台运行的备份工具判断第二备份配置文件中的用户认证信息是否与手机中相对应的设备信息匹配,如果不匹配,则执行步骤307;如果匹配,则执行步骤308;The backup tool running in the background of the mobile phone determines whether the user authentication information in the second backup configuration file matches the corresponding device information in the mobile phone. If not, step 307 is performed; if yes, step 308 is performed;
其中,所述第二备份配置文件中的用户认证信息包括至少一项:备份密码、移动终端的序列号、移动终端的国际移动设备标识(International Mobile Equipment Identity,IMEI)、移动终端的客户识别模块(Subscriber Identity Module,SIM)卡、移动终端的硬件地址;所述本地的设备信息包括至少一项:备份密码、移动终端的序列号、移动终端的IMEI、移动终端的SIM卡、移动终端的硬件地址。The user authentication information in the second backup configuration file includes at least one item: a backup password, a serial number of the mobile terminal, an International Mobile Equipment Identity (IMEI) of the mobile terminal, and a customer identification module of the mobile terminal. (Subscriber Identity Module, SIM) card, hardware address of the mobile terminal; the local device information includes at least one item: backup password, serial number of the mobile terminal, IMEI of the mobile terminal, SIM card of the mobile terminal, hardware of the mobile terminal address.
这里需要说明的是,只有第二备份配置文件中的用户认证信息的全部内容与相对应的本地的设备信息相匹配,才能确定为匹配;如果第二备份配置文件中的用户认证信息的某一个内容与相对应的本地的设备信息相匹配,而其它内容与相对应的本地的设备信息不匹配,则确定为不匹配。It should be noted that only if the entire content of the user authentication information in the second backup configuration file matches the corresponding local device information can be determined as a match; if one of the user authentication information in the second backup configuration file The content matches the corresponding local device information, and the other content does not match the corresponding local device information, and is determined to be a mismatch.
例如,第二备份配置文件中的用户认证信息包括了备份密码和手机的IMEI,手机后台运行的备份工具会判断第二备份配置文件中的备份密码是否与当前手机的设备信息中的备份密码匹配,判断第二备份配置文件中的移动 终端的IMEI是否与当前手机的设备信息中的移动终端的IMEI匹配,只有在同时匹配时,手机后台运行的备份工具才能确定第二备份配置文件中的用户认证信息与当前手机的设备信息相匹配。For example, the user authentication information in the second backup configuration file includes the backup password and the IMEI of the mobile phone, and the backup tool running in the background of the mobile phone determines whether the backup password in the second backup configuration file matches the backup password in the device information of the current mobile phone. , determining the movement in the second backup configuration file Whether the IMEI of the terminal matches the IMEI of the mobile terminal in the device information of the current mobile phone, and only when the data is matched at the same time, the backup tool running in the background of the mobile phone can determine that the user authentication information in the second backup configuration file matches the device information of the current mobile phone. .
用户需要在手机中留有用户认证信息,例如在手机的备份工具中设置备份密码,用户U盘中的配置文件中配置了相同的备份密码时,方能启动数据自动备份功能;手机在使用时都必须创建登陆一个开启手机云端服务账号,该云端服务可以用于备份用户的手机数据,也可以用于认证用户认证信息等服务。The user needs to leave user authentication information in the mobile phone. For example, if the backup password is set in the backup tool of the mobile phone, and the same backup password is configured in the configuration file of the user U disk, the automatic data backup function can be started; when the mobile phone is in use All must be created to log in to a mobile phone cloud service account, which can be used to back up the user's mobile phone data, and can also be used to authenticate user authentication information and other services.
通过增加用户认证信息与设备信息是否相匹配的判断步骤,提高了用户使用备份数据功能的安全性,确保了用户的数据信息不会随意被人窃取。By increasing the step of judging whether the user authentication information matches the device information, the security of the user using the backup data function is improved, and the user's data information is not arbitrarily stolen.
为了更加具体的对配置第二备份配置文件的理解,在这里具体进行说明,图4为本申请数据备份的方法实施例三的手机侧配置第二备份配置文件的流程图,如图4所示,手机侧配置第二备份配置文件的方法可以包括如下步骤:For a more detailed understanding of the configuration of the second backup configuration file, the following is a detailed description of the second backup configuration file of the third embodiment of the data backup method of the present application, as shown in FIG. The method for configuring the second backup configuration file on the mobile phone side may include the following steps:
步骤4001、手机登录云服务账户。Step 4001: The mobile phone logs in to the cloud service account.
用户通过手机的备份工具使用用户名登录云端服务器。The user logs in to the cloud server using the user name through the backup tool of the mobile phone.
步骤4002、手机以加密方式向云端服务器上传当前手机的设备信息。Step 4002: The mobile phone uploads the device information of the current mobile phone to the cloud server in an encrypted manner.
手机以加密方式向服务器上传当前手机的设备信息,该手机的设备信息包括但不限于当前手机的备份工具的备份密码、序列号、IMEI、SIM卡、硬件地址等。The mobile phone uploads the device information of the current mobile phone to the server in an encrypted manner, and the device information of the mobile phone includes, but is not limited to, a backup password, a serial number, an IMEI, a SIM card, a hardware address, and the like of the backup tool of the current mobile phone.
步骤4003、云端服务器接收并保存当前手机的设备信息。Step 4003: The cloud server receives and saves device information of the current mobile phone.
云端服务器接收并保存当前手机的设备信息,将当前手机的设备信息进行认证。The cloud server receives and saves the device information of the current mobile phone, and authenticates the device information of the current mobile phone.
步骤4004、手机接收云端服务器认证通过后的通知消息。Step 4004: The mobile phone receives a notification message after the cloud server is authenticated.
手机接收云端服务器认证通过后的通知消息,已确定当前手机的设备信息存储在云端服务器;其中,认证通过后的通知消息可以以加密方式存储在手机中,保护用户的数据信息。After receiving the notification message that the cloud server is authenticated, the mobile phone determines that the device information of the current mobile phone is stored in the cloud server. The notification message after the authentication is passed may be stored in the mobile phone in an encrypted manner to protect the user's data information.
图5为本申请数据备份的方法实施例三的电脑侧配置第二备份配置文件 中用户认证信息的流程图,如图5所示,电脑侧配置第二备份配置文件中用户认证信息的方法可以包括如下步骤:5 is a second backup configuration file configured on a computer side of Embodiment 3 of the data backup method of the present application. The flowchart of the user authentication information is as shown in FIG. 5, and the method for configuring the user authentication information in the second backup configuration file on the computer side may include the following steps:
步骤5001、电脑侧的备份工具登录云服务器。Step 5001: The backup tool on the computer side logs in to the cloud server.
用户通过电脑的备份工具使用与手机相同的用户名登录云端服务器。The user logs in to the cloud server using the same username as the mobile phone through the backup tool of the computer.
步骤5002、云端服务器认证用户名和密码。Step 5002: The cloud server authenticates the username and password.
云端服务器认证当前登录的用户名和密码与手机上登录的用户名和密码相同。The server name and password for the current login of the cloud server authentication are the same as the user name and password for login on the mobile phone.
步骤5003、电脑的备份工具向云端服务器输入待备份手机的设备信息。Step 5003: The backup tool of the computer inputs the device information of the mobile phone to be backed up to the cloud server.
用户通过电脑的备份工具向云端服务器输入待备份手机的设备信息,该待备份手机的设备信息包括但不限于手机的备份工具的备份密码、序列号、IMEI、SIM卡、硬件地址等。The user inputs the device information of the mobile phone to be backed up to the cloud server through a backup tool of the computer. The device information of the mobile phone to be backed up includes, but is not limited to, a backup password, a serial number, an IMEI, a SIM card, a hardware address, and the like of the backup tool of the mobile phone.
步骤5004、云端服务器确认待备份手机的设备信息准确后,将生成的用户认证信息发送至电脑的备份工具中。Step 5004: After confirming that the device information of the mobile phone to be backed up is accurate, the cloud server sends the generated user authentication information to the backup tool of the computer.
云端服务器确认待备份手机的设备信息与云端服务器中存储的手机的设备信息准确后生成用户认证信息,之后将生成的用户认证信息发送至电脑的备份工具中。The cloud server determines the device information of the mobile phone to be backed up and the device information of the mobile phone stored in the cloud server to generate the user authentication information, and then sends the generated user authentication information to the backup tool of the computer.
图6为本申请数据备份的方法实施例三的电脑侧配置第二备份配置文件中备份配置信息的流程图,如图6所示,电脑侧配置第二备份配置文件中备份配置信息的方法包括如下步骤:6 is a flowchart of configuring backup configuration information in a second backup configuration file on the computer side of the third embodiment of the data backup method of the present application. As shown in FIG. 6, the method for configuring backup configuration information in the second backup configuration file on the computer side includes The following steps:
步骤6001、电脑的备份工具检测U盘信息。Step 6001: A backup tool of the computer detects the U disk information.
电脑的备份工具检测到U盘接入等待用户确认,此时需要检测U盘文件***是否为FAT(包括FAT16FAT32exFAT)***,如果文件***不为FAT***,则提示用户U盘不可用于备份,需要格式化或更换U盘。The backup tool of the computer detects that the U disk is waiting for user confirmation. At this time, it is necessary to detect whether the U disk file system is a FAT (including FAT16FAT32exFAT) system. If the file system is not a FAT system, the user U disk is not available for backup. Format or replace the USB flash drive.
步骤6002、电脑的备份工具选择配置备份U盘。Step 6002: The backup tool of the computer selects a backup USB disk.
用户通过电脑的备份工具确认需要备份并且确认U盘可用后准备进行配置备份配置信息。The user confirms the need to back up through the backup tool of the computer and confirms that the U disk is available and prepares to configure the backup configuration information.
步骤6003、电脑的备份工具确认用户需要备份的手机。 Step 6003: The backup tool of the computer confirms the mobile phone that the user needs to back up.
用户通过电脑的备份工具选择需要备份的设备,此处出于安全性考虑可以让用户自己输入待备份手机的设备信息,也可以让用户进行选择。The user selects the device to be backed up through the backup tool of the computer. Here, for security reasons, the user can input the device information of the mobile phone to be backed up, and the user can also make a selection.
步骤6004、电脑的备份工具配置备份配置信息。Step 6004: The backup tool of the computer configures backup configuration information.
用户通过电脑的备份工具来配置备份配置信息,该备份配置信息包括至少一项:备份开关信息、端口控制信息、数据备份信息、数据备份优先级信息、数据备份进度信息;其中,备份开关信息,用于确定是否进行数据备份;端口控制信息,用于确定是否更改本机的USB链接类型;数据备份信息,用于确定备份哪些数据;数据备份优先级信息,用于确定数据备份的优先级,即哪些数据先备份,哪些数据后备份;数据备份进度信息,用于确定数据备份进度,如果在备份途中由于意外情况断开连接,例如,拔出U盘、U盘空间不够,或其他情况时,存储当前的备份进度,在用户下一次***U盘时继续备份。The backup configuration information is configured by the backup tool of the user, and the backup configuration information includes at least one of: backup switch information, port control information, data backup information, data backup priority information, and data backup progress information; wherein, backup switch information, Used to determine whether to perform data backup; port control information, used to determine whether to change the USB link type of the machine; data backup information used to determine which data to back up; data backup priority information used to determine the priority of data backup, That is, which data is backed up first and which data is backed up; data backup progress information is used to determine the data backup progress. If the connection is disconnected due to an unexpected situation during the backup, for example, if the U disk is removed, the U disk space is insufficient, or other conditions , the current backup progress is stored, and the backup is continued when the user inserts the U disk next time.
步骤6005、电脑的备份工具向U盘写入第二备份配置文件。Step 6005: The backup tool of the computer writes the second backup configuration file to the U disk.
电脑的备份工具在用户确定备份配置信息内容后,将用户认证信息和备份配置信息组合成第二备份配置文件,将该第二备份配置文件写入U盘中。After the user determines the content of the backup configuration information, the backup tool of the computer combines the user authentication information and the backup configuration information into a second backup configuration file, and writes the second backup configuration file to the USB disk.
步骤307、结束任务。 Step 307, ending the task.
手机后台运行的备份工具结束备份数据任务。The backup tool running in the background of the mobile phone ends the backup data task.
步骤308、根据所述第二备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中。Step 308: Back up data that needs to be backed up in the external storage with OTG function according to the backup configuration information in the second backup configuration file.
手机后台运行的备份工具在确定第二备份配置文件中的用户认证信息符合条件后,确认第二备份配置文件中备份配置信息的备份开关是否为开启,若备份开关为开,则此时在手机的屏幕上弹出是否开始备份的倒计时提示框,若超过对应时间没有检测到用户在屏幕上的响应,则自动启动备份数据过程。After the backup tool running in the background of the mobile phone determines that the user authentication information in the second backup configuration file meets the conditions, it is confirmed whether the backup switch of the backup configuration information in the second backup configuration file is enabled, and if the backup switch is on, the mobile phone is now On the screen, the countdown prompt box for starting the backup is popped up. If the response of the user on the screen is not detected after the corresponding time, the backup data process is automatically started.
图7为本申请数据备份的方法实施例三的手机侧的备份数据过程的流程图,如图7所示,该方法包括如下步骤:FIG. 7 is a flowchart of a backup data process on the mobile phone side according to Embodiment 3 of the data backup method of the present application. As shown in FIG. 7, the method includes the following steps:
步骤7001、检测端口控制信息。Step 7001: Detect port control information.
手机后台运行的备份工具检测端口控制信息,根据端口控制信息打开用 户想要打开的端口,如adb口或其他USB链接方式。The backup tool running in the background of the mobile phone detects the port control information and opens it according to the port control information. The port that the user wants to open, such as the adb port or other USB link mode.
步骤7002、检测数据备份信息。Step 7002: Detect data backup information.
手机后台运行的备份工具检测数据备份信息,确定用户想要备份哪些数据。The backup tool running in the background of the mobile phone detects the data backup information and determines which data the user wants to back up.
步骤7003、检测数据备份优先级信息。Step 7003: Detect data backup priority information.
手机后台运行的备份工具检测数据备份优先级信息,确定用户想要先备份哪些数据,后备份那些数据。The backup tool running in the background of the mobile phone detects the data backup priority information, determines which data the user wants to back up first, and then backs up the data.
步骤7004、检测数据备份进度信息。Step 7004: Detect data backup progress information.
手机后台运行的备份工具检测数据备份进度信息,确定是否有备份进度信息,如果有则按照备份进度继续进行备份。The backup tool running in the background of the mobile phone detects the data backup progress information, determines whether there is backup progress information, and if so, continues to perform backup according to the backup progress.
步骤7005、向U盘写入备份数据。Step 7005: Write backup data to the U disk.
手机后台运行的备份工具实时向U盘写入备份数据,如果U盘意外断开或者满时,再次接入U盘时,可以根据数据备份进度信息从进度处接着备份。The backup tool running in the background of the mobile phone writes the backup data to the U disk in real time. If the U disk is accidentally disconnected or full, when the U disk is accessed again, it can be backed up from the progress according to the data backup progress information.
步骤309、在数据备份结束后通过声音单元和/或显示单元呈现出数据备份的进度。Step 309: The progress of the data backup is presented by the sound unit and/or the display unit after the data backup ends.
手机后台运行的备份工具在确定数据备份结束后,会通过手机上的扬声器和/或指示灯将数据备份进度呈现出来。After the backup of the data backup is completed, the backup tool of the mobile phone will display the data backup progress through the speaker and/or indicator on the mobile phone.
本发明实施例提供的数据备份的方法,通过手机检测与具有OTG功能的外置存储器是否连接;在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器;检测所述具有OTG功能的外置存储器中是否存储有第二备份配置文件,在存储有第二备份配置文件时,解析存储在所述具有OTG功能的外置存储器中的所述第二备份配置文件;判断所述第二备份配置文件中的用户认证信息是否与本地的设备信息匹配,在匹配时,根据所述第二备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中;在数据备份结束后通过声音单元和/或显示单元呈现出数据备份的进度;用户在遇到手机屏幕损坏,无法操作时,在电脑侧***U盘,并在电脑侧备份工具中登陆手机云服务账户,并 确定需要备份的手机,确认后将U盘***手机,手机后台运行的备份工具检测到U盘内的用户认证信息并认证后,根据备份配置信息开始自动备份数据,如果用户中途遇到意外情况拔出U盘或U盘满时,再次***U盘可以接着备份,减少了用户的损失;另外,无需给手机增加任何硬件,降低了备份数据成本,通过对U盘进行身份认证,提高了安全性。The method for backing up data provided by the embodiment of the present invention detects whether an external memory having an OTG function is connected by using a mobile phone; and when the connection with the external storage device having the OTG function is determined, mounting the external device with the OTG function a memory; detecting whether the second backup configuration file is stored in the external storage device having the OTG function, and parsing the second storage in the external storage device having the OTG function when the second backup configuration file is stored Backing up the configuration file; determining whether the user authentication information in the second backup configuration file matches the local device information, and when matching, backing up the data to be backed up according to the backup configuration information in the second backup configuration file In the external memory with the OTG function; after the data backup ends, the progress of the data backup is presented by the sound unit and/or the display unit; when the user encounters the damage of the mobile phone screen and cannot operate, the U disk is inserted on the computer side, and Log in to the mobile cloud service account in the computer side backup tool, and Determine the mobile phone that needs to be backed up. After confirming, insert the USB flash drive into the mobile phone. After the backup tool running in the background of the mobile phone detects the user authentication information in the USB flash drive and authenticates, start the automatic backup data according to the backup configuration information. If the user encounters an unexpected situation in the middle of the process, When the U disk or U disk is full, the U disk can be inserted again to back up, which reduces the user's loss. In addition, no hardware is added to the phone, the backup data cost is reduced, and the security is improved by authenticating the U disk. .
图8为本申请数据备份的移动终端的结构示意图,如图8所示,本实施例的数据备份的移动终端08包括:检测模块81、挂载模块82、处理模块83;其中,FIG. 8 is a schematic structural diagram of a mobile terminal for data backup according to the present application. As shown in FIG. 8, the mobile terminal 08 for data backup in this embodiment includes: a detection module 81, a mounting module 82, and a processing module 83;
所述检测模块81,设置为检测与具有OTG功能的外置存储器是否连接;The detecting module 81 is configured to detect whether an external memory having an OTG function is connected;
所述挂载模块82,设置为在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器;The mounting module 82 is configured to mount the external storage device with an OTG function when determining to connect with the external storage device having the OTG function;
所述处理模块83,设置为根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中。The processing module 83 is configured to back up data that needs to be backed up in the external storage with OTG function according to the backup configuration file.
优选的,所述处理模块83,还设置为解析存储在本地的第一备份配置文件;Preferably, the processing module 83 is further configured to parse the first backup configuration file stored locally;
根据所述第一备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中。Backing up the data that needs to be backed up in the external storage with OTG function according to the backup configuration information in the first backup configuration file.
优选的,所述处理模块83,还设置为解析存储在所述具有OTG功能的外置存储器中的第二备份配置文件;Preferably, the processing module 83 is further configured to parse the second backup configuration file stored in the external memory with OTG function;
判断所述第二备份配置文件是否符合备份条件,若所述第二备份配置文件符合备份条件,则根据所述第二备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中。Determining whether the second backup configuration file meets the backup condition, and if the second backup configuration file meets the backup condition, backing up the data that needs to be backed up according to the backup configuration information in the second backup configuration file, and having the OTG Function in the external memory.
优选的,所述处理模块83,是设置为检测所述具有OTG功能的外置存储器中是否存储有所述第二备份配置文件,若所述具有OTG功能的外置存储器中存储有所述第二备份配置文件,则解析存储在所述具有OTG功能的外置存储器中的所述第二备份配置文件。Preferably, the processing module 83 is configured to detect whether the second backup configuration file is stored in the external memory having the OTG function, and if the external memory having the OTG function stores the first The second backup configuration file parses the second backup configuration file stored in the OTG-enabled external storage.
优选的,所述处理模块83,是设置为判断所述第二备份配置文件中的用 户认证信息是否与本地的设备信息匹配;Preferably, the processing module 83 is configured to determine the use in the second backup configuration file. Whether the user authentication information matches the local device information;
其中,所述第二备份配置文件中的用户认证信息包括至少一项:备份密码、移动终端的序列号、移动终端的国际移动设备标识IMEI、移动终端的客户识别模块SIM、移动终端的硬件地址;所述本地的设备信息包括至少一项:备份密码、移动终端的序列号、移动终端的IMEI、移动终端的SIM、移动终端的硬件地址。The user authentication information in the second backup configuration file includes at least one item: a backup password, a serial number of the mobile terminal, an international mobile device identifier IMEI of the mobile terminal, a client identification module SIM of the mobile terminal, and a hardware address of the mobile terminal. The local device information includes at least one item: a backup password, a serial number of the mobile terminal, an IMEI of the mobile terminal, a SIM of the mobile terminal, and a hardware address of the mobile terminal.
优选的,所述处理模块83,还设置为若所述第二备份配置文件中的用户认证信息与所述本地的设备信息匹配,则根据所述第二备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中;Preferably, the processing module 83 is further configured to: if the user authentication information in the second backup configuration file matches the local device information, the backup configuration information in the second backup configuration file is required. The backed up data is backed up in the external memory with OTG function;
其中,所述第二备份配置文件中的备份配置信息包括至少一项:备份开关信息、端口控制信息、数据备份信息、数据备份优先级信息、数据备份进度信息。The backup configuration information in the second backup configuration file includes at least one of: backup switch information, port control information, data backup information, data backup priority information, and data backup progress information.
本实施例的移动终端,可以用于执行上述所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The mobile terminal of this embodiment may be used to implement the technical solution of the foregoing method embodiment, and the implementation principle and the technical effect are similar, and details are not described herein again.
在实际应用中,所述检测模块81、挂载模块82、处理模块83均可由位于无线数据发送设备中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现。In a practical application, the detecting module 81, the mounting module 82, and the processing module 83 may each be a Central Processing Unit (CPU), a Micro Processor Unit (MPU), or a Microprocessor Unit (MPU) located in the wireless data transmitting device. Digital Signal Processor (DSP) or Field Programmable Gate Array (FPGA).
在另外一个实施例中,还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现上述数据备份的方法。该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。In another embodiment, there is also provided a computer readable storage medium storing computer executable instructions that are implemented by a processor to implement the method of backing up data as described above. The storage medium includes, but is not limited to, an optical disk, a floppy disk, a hard disk, a rewritable memory, and the like.
本领域内的技术人员应明白,本申请的实施例可提供为方法、***、或计算机程序产品。因此,本申请可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Accordingly, the application can take the form of a hardware embodiment, a software embodiment, or an embodiment in combination with software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(***)、和计算机程序 产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application refers to a method, device (system), and computer program according to an embodiment of the present application. The flow chart and/or block diagram of the product is described. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,本申请本申请仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above application is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.
工业实用性Industrial applicability
本发明实施例提供了一种数据备份的方法及移动终端,包括:移动终端检测与具有OTG功能的外置存储器是否连接;在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器;根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中。如此,通过检测与具有OTG功能的外置存储器是否连接;在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器;根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中;在移动终端的屏幕损坏后,用户无法操作的情况下,移动终端可以在***具有OTG功能的外置存储器时,根据用户事先配置好的备份配置文件将本地的内存存储空间中的用户数据自动备份到具有OTG功能的外置存储器中,减少了用户的损失。 The embodiment of the present invention provides a data backup method and a mobile terminal, including: detecting whether a mobile terminal is connected to an external memory having an OTG function; and when determining the connection with the external storage device having the OTG function, the mount The external storage device has an OTG function; and the data to be backed up is backed up in the external storage device with OTG function according to the backup configuration file. In this way, by detecting whether the external memory having the OTG function is connected; when determining the connection with the external memory having the OTG function, mounting the external storage device having the OTG function; and the backup configuration file is required to be backed up. The data is backed up in the external memory with the OTG function; in the case that the user cannot operate after the screen of the mobile terminal is damaged, the mobile terminal can insert the backup configured in advance according to the user when inserting the external memory with the OTG function. The configuration file automatically backs up the user data in the local memory storage space to the external storage with OTG function, which reduces the user's loss.

Claims (13)

  1. 一种数据备份的方法,所述方法包括:A method of data backup, the method comprising:
    检测与具有OTG功能的外置存储器是否连接;Detecting whether it is connected to an external memory with OTG function;
    在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器;Mounting the external memory with OTG function when determining to connect with the external memory with OTG function;
    根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中。The data to be backed up is backed up in the OTG-enabled external memory according to the backup configuration file.
  2. 根据权利要求1所述的方法,其中,所述根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中,包括:The method of claim 1, wherein the backing up data that needs to be backed up according to the backup configuration file in the external storage device with OTG function comprises:
    解析存储在本地的第一备份配置文件;Parsing the first backup configuration file stored locally;
    根据所述第一备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中。Backing up the data that needs to be backed up in the external storage with OTG function according to the backup configuration information in the first backup configuration file.
  3. 根据权利要求1所述的方法,其中,所述根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中,包括:The method of claim 1, wherein the backing up data that needs to be backed up according to the backup configuration file in the external storage device with OTG function comprises:
    解析存储在所述具有OTG功能的外置存储器中的第二备份配置文件;Parsing a second backup configuration file stored in the external storage with OTG function;
    判断所述第二备份配置文件是否符合备份条件,若所述第二备份配置文件符合备份条件,则根据所述第二备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中。Determining whether the second backup configuration file meets the backup condition, and if the second backup configuration file meets the backup condition, backing up the data that needs to be backed up according to the backup configuration information in the second backup configuration file, and having the OTG Function in the external memory.
  4. 根据权利要求3所述的方法,其中,所述解析存储在所述具有OTG功能的外置存储器中的第二备份配置文件,包括:The method of claim 3, wherein the parsing the second backup configuration file stored in the OTG-enabled external memory comprises:
    检测所述具有OTG功能的外置存储器中是否存储有所述第二备份配置文件,若所述具有OTG功能的外置存储器中存储有所述第二备份配置文件,则解析存储在所述具有OTG功能的外置存储器中的所述第二备份配置文件。Detecting whether the second backup configuration file is stored in the external storage device having the OTG function, and if the second backup configuration file is stored in the external storage device having the OTG function, the analysis is stored in the The second backup configuration file in the external memory of the OTG function.
  5. 根据权利要求3所述的方法,其中,所述判断所述第二备份配置文件是否符合备份条件,包括:The method of claim 3, wherein the determining whether the second backup configuration file meets a backup condition comprises:
    判断所述第二备份配置文件中的用户认证信息是否与本地的设备信息匹配; Determining whether the user authentication information in the second backup configuration file matches the local device information;
    其中,所述第二备份配置文件中的用户认证信息包括至少一项:备份密码、移动终端的序列号、移动终端的国际移动设备标识IMEI、移动终端的客户识别模块SIM、移动终端的硬件地址;所述本地的设备信息包括至少一项:备份密码、移动终端的序列号、移动终端的IMEI、移动终端的SIM、移动终端的硬件地址。The user authentication information in the second backup configuration file includes at least one item: a backup password, a serial number of the mobile terminal, an international mobile device identifier IMEI of the mobile terminal, a client identification module SIM of the mobile terminal, and a hardware address of the mobile terminal. The local device information includes at least one item: a backup password, a serial number of the mobile terminal, an IMEI of the mobile terminal, a SIM of the mobile terminal, and a hardware address of the mobile terminal.
  6. 根据权利要求5所述的方法,其中,在所述判断所述第二备份配置文件中的用户认证信息是否与本地的设备信息匹配之后,所述方法还包括:The method of claim 5, wherein after the determining whether the user authentication information in the second backup configuration file matches the local device information, the method further includes:
    若所述第二备份配置文件中的用户认证信息与所述本地的设备信息匹配,则根据所述第二备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中;If the user authentication information in the second backup configuration file matches the local device information, backing up the data that needs to be backed up according to the backup configuration information in the second backup configuration file, Set in memory;
    其中,所述第二备份配置文件中的备份配置信息包括至少一项:备份开关信息、端口控制信息、数据备份信息、数据备份优先级信息、数据备份进度信息。The backup configuration information in the second backup configuration file includes at least one of: backup switch information, port control information, data backup information, data backup priority information, and data backup progress information.
  7. 一种数据备份的移动终端,所述移动终端包括:A mobile terminal for data backup, the mobile terminal includes:
    检测模块,设置为检测与具有OTG功能的外置存储器是否连接;a detection module configured to detect whether an external memory having an OTG function is connected;
    挂载模块,设置为在确定与所述具有OTG功能的外置存储器连接时,挂载所述具有OTG功能的外置存储器;a mounting module configured to mount the external storage device having an OTG function when determining to connect to the external storage device having an OTG function;
    处理模块,设置为根据备份配置文件将需要备份的数据备份在所述具有OTG功能的外置存储器中。The processing module is configured to back up data that needs to be backed up according to the backup configuration file in the external storage with OTG function.
  8. 根据权利要求7所述的移动终端,其中,所述处理模块,还设置为解析存储在本地的第一备份配置文件;The mobile terminal of claim 7, wherein the processing module is further configured to parse the first backup configuration file stored locally;
    根据所述第一备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中。Backing up the data that needs to be backed up in the external storage with OTG function according to the backup configuration information in the first backup configuration file.
  9. 根据权利要求7所述的移动终端,其中,所述处理模块,还设置为解析存储在所述具有OTG功能的外置存储器中的第二备份配置文件;The mobile terminal according to claim 7, wherein the processing module is further configured to parse a second backup configuration file stored in the external memory with OTG function;
    判断所述第二备份配置文件是否符合备份条件,若所述第二备份配置文件符合备份条件,则根据所述第二备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中。 Determining whether the second backup configuration file meets the backup condition, and if the second backup configuration file meets the backup condition, backing up the data that needs to be backed up according to the backup configuration information in the second backup configuration file, and having the OTG Function in the external memory.
  10. 根据权利要求9所述的移动终端,其中,所述处理模块,是设置为检测所述具有OTG功能的外置存储器中是否存储有所述第二备份配置文件,若所述具有OTG功能的外置存储器中存储有所述第二备份配置文件,则解析存储在所述具有OTG功能的外置存储器中的所述第二备份配置文件。The mobile terminal according to claim 9, wherein the processing module is configured to detect whether the second backup configuration file is stored in the external memory having the OTG function, if the OTG function is used. The second backup configuration file is stored in the memory, and the second backup configuration file stored in the external storage with OTG function is parsed.
  11. 根据权利要求9所述的移动终端,其中,所述处理模块,是设置为判断所述第二备份配置文件中的用户认证信息是否与本地的设备信息匹配;The mobile terminal according to claim 9, wherein the processing module is configured to determine whether user authentication information in the second backup configuration file matches local device information;
    其中,所述第二备份配置文件中的用户认证信息包括至少一项:备份密码、移动终端的序列号、移动终端的国际移动设备标识IMEI、移动终端的客户识别模块SIM、移动终端的硬件地址;所述本地的设备信息包括至少一项:备份密码、移动终端的序列号、移动终端的IMEI、移动终端的SIM、移动终端的硬件地址。The user authentication information in the second backup configuration file includes at least one item: a backup password, a serial number of the mobile terminal, an international mobile device identifier IMEI of the mobile terminal, a client identification module SIM of the mobile terminal, and a hardware address of the mobile terminal. The local device information includes at least one item: a backup password, a serial number of the mobile terminal, an IMEI of the mobile terminal, a SIM of the mobile terminal, and a hardware address of the mobile terminal.
  12. 根据权利要求11所述的移动终端,其中,所述处理模块,还设置为若所述第二备份配置文件中的用户认证信息与所述本地的设备信息匹配,则根据所述第二备份配置文件中的备份配置信息将需要备份的数据备份在所述具有OTG功能的外置存储器中;The mobile terminal according to claim 11, wherein the processing module is further configured to: if the user authentication information in the second backup configuration file matches the local device information, according to the second backup configuration The backup configuration information in the file backs up the data that needs to be backed up in the external storage with OTG function;
    其中,所述第二备份配置文件中的备份配置信息包括至少一项:备份开关信息、端口控制信息、数据备份信息、数据备份优先级信息、数据备份进度信息。The backup configuration information in the second backup configuration file includes at least one of: backup switch information, port control information, data backup information, data backup priority information, and data backup progress information.
  13. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被处理器执行时实现权利要求1至6任一项所述的方法。 A computer readable storage medium storing computer executable instructions that, when executed by a processor, implement the method of any one of claims 1 to 6.
PCT/CN2016/087294 2016-05-20 2016-06-27 Method and mobile terminal for data backup WO2017197727A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610339262.X 2016-05-20
CN201610339262.XA CN107402840A (en) 2016-05-20 2016-05-20 The method and mobile terminal of data backup

Publications (1)

Publication Number Publication Date
WO2017197727A1 true WO2017197727A1 (en) 2017-11-23

Family

ID=60324667

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/087294 WO2017197727A1 (en) 2016-05-20 2016-06-27 Method and mobile terminal for data backup

Country Status (2)

Country Link
CN (1) CN107402840A (en)
WO (1) WO2017197727A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639000A (en) * 2020-06-03 2020-09-08 公安部第三研究所 Method for quickly extracting backup data of android mobile terminal and automatic backup system
EP4131888A4 (en) * 2020-07-22 2023-09-20 ZTE Corporation Method for searching for interrupted device, slave device, master device, and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113238896A (en) * 2021-06-21 2021-08-10 北京飞思特信息技术有限公司 Disaster recovery and recovery system of distributed examination service based on USB flash disk

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117232A (en) * 2010-08-16 2011-07-06 鲁海军 Multifunctional data backup device
CN202434203U (en) * 2012-02-13 2012-09-12 深圳市法码尔科技开发有限公司 Flash disk with OTG (on-the-go) function
CN103092723A (en) * 2011-01-24 2013-05-08 艾欧互联有限公司 Hand-held apparatus, base, backup method and data processing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202185B (en) * 2014-08-25 2015-10-28 腾讯科技(深圳)有限公司 A kind of communication data backup method and device
CN104765657B (en) * 2015-04-27 2019-04-16 Oppo广东移动通信有限公司 A kind of data back up method, data reconstruction method and relevant apparatus
CN105426270B (en) * 2015-12-10 2018-07-17 惠州Tcl移动通信有限公司 A kind of mobile terminal album data backup method, system, mobile terminal and USB flash disk

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117232A (en) * 2010-08-16 2011-07-06 鲁海军 Multifunctional data backup device
CN103092723A (en) * 2011-01-24 2013-05-08 艾欧互联有限公司 Hand-held apparatus, base, backup method and data processing method
CN202434203U (en) * 2012-02-13 2012-09-12 深圳市法码尔科技开发有限公司 Flash disk with OTG (on-the-go) function

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639000A (en) * 2020-06-03 2020-09-08 公安部第三研究所 Method for quickly extracting backup data of android mobile terminal and automatic backup system
CN111639000B (en) * 2020-06-03 2023-03-24 公安部第三研究所 Method for quickly extracting backup data of android mobile terminal and automatic backup system
EP4131888A4 (en) * 2020-07-22 2023-09-20 ZTE Corporation Method for searching for interrupted device, slave device, master device, and storage medium

Also Published As

Publication number Publication date
CN107402840A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
US10348505B1 (en) Systems and techniques for validation of media data
EP3654618B1 (en) Audio broadcasting method, device, and system, and smart broadcasting apparatus
CN105827600B (en) Method and device for logging in client
US11882509B2 (en) Virtual key binding method and system
WO2013123829A1 (en) Software installation method, device and system
JP5873571B2 (en) Method and compute node for processing application data
US10015668B2 (en) Method of establishing communications
JP5827692B2 (en) Bound data card and mobile host authentication method, apparatus and system
US9378371B2 (en) Systems and methods for account recovery using a platform attestation credential
WO2017185455A1 (en) Root detection method, device, and terminal
WO2017197727A1 (en) Method and mobile terminal for data backup
WO2018112942A1 (en) Device authentication method, apparatus, electronic device and slave device
WO2013189330A2 (en) Data backup and recovery method and system for mobile terminal
CN107533598A (en) Input method, device and the terminal of the login password of application program
WO2015176468A1 (en) Method and apparatus for recovering system software of intelligent terminal
US11809540B2 (en) System and method for facilitating authentication via a short-range wireless token
CN105204962A (en) Data backup method and device and server
WO2017114365A1 (en) Mail attachment filing method and cloud storage server
BR112019015131A2 (en) DISPLAY METHOD AND COMBINATION OF MESSAGE REGISTRATION AND TERMINAL DEVICE
CN113849799A (en) System, apparatus and method for remotely authenticating a peripheral device
WO2011076064A1 (en) Data card upgrading method and device
CN111857758A (en) Application deployment method, device and medium
US20160078469A1 (en) Application Purchasing Method, And Terminal
CN112866195B (en) Agile data transmission method and device, computer equipment and storage medium
WO2017197689A1 (en) Sim card processing method and apparatus, terminal, and esam chip

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16902107

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16902107

Country of ref document: EP

Kind code of ref document: A1