CN106569918A - Data backup method and mobile terminal - Google Patents

Data backup method and mobile terminal Download PDF

Info

Publication number
CN106569918A
CN106569918A CN201610977322.0A CN201610977322A CN106569918A CN 106569918 A CN106569918 A CN 106569918A CN 201610977322 A CN201610977322 A CN 201610977322A CN 106569918 A CN106569918 A CN 106569918A
Authority
CN
China
Prior art keywords
module
mobile terminal
presetting module
presetting
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610977322.0A
Other languages
Chinese (zh)
Inventor
周璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610977322.0A priority Critical patent/CN106569918A/en
Publication of CN106569918A publication Critical patent/CN106569918A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/1448Management of the data involved in backup or backup restore
    • 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/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments

Landscapes

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

Abstract

Embodiments of the invention provide a data backup method and a mobile terminal. The data backup method comprises the steps of detecting whether N preset modules in the mobile terminal are usable or not when the mobile terminal is in failure, wherein the preset modules are one of the following modules: a Bluetooth module, a wireless fidelity (Wi-Fi) module, a near field communication (NFC) module and an infrared module, and N is an integer greater than or equal to 1; if M preset modules of the N preset modules are usable, establishing communication connection with terminal equipment through at least one of the M preset modules, wherein M is a positive integer smaller than or equal to N; and enabling to-be-backuped data in the mobile terminal to be backuped to the terminal equipment. By adoption of the embodiments disclosed by the invention, data backup can be realized by a part of the communication modules, which are not in failure, in the mobile terminal when the mobile terminal is in failure.

Description

A kind of data back up method and mobile terminal
Technical field
The present invention relates to electronic device field, and in particular to a kind of data back up method and mobile terminal.
Background technology
With the fast development of information technology, mobile terminal (such as mobile phone, panel computer) is moved using increasingly popularizing Also a large amount of valuable datas are saved in dynamic terminal.But, user is during using mobile terminal, it may occur that following situation, For example, in the case where starting shooting, it is more likely that cause to lose user's significant data (such as address list, photo, file etc.) Lose.And in prior art, it will usually by backuping on other storage mediums the data in mobile terminal, needing to recover number According to when, then the data being stored on other storage mediums are imported in mobile terminal with special instrument, so as to complete data Backup, data that the method is preserved manually only for user, and for some emergency cases, it is impossible to backed up.
The content of the invention
Embodiments provide a kind of data back up method and mobile terminal, can when mobile terminal breaks down, Realize data backup.
Embodiment of the present invention first aspect provides a kind of data back up method, including:
When mobile terminal breaks down, detect whether the N number of presetting module in the mobile terminal can use, wherein, institute State presetting module be with lower module in one:Bluetooth module, Wireless Fidelity Wi-Fi module and near-field communication NFC module and red Outer mold piece, the N is the integer more than or equal to 1;
If there is M presetting module can use in N number of presetting module, by the M presetting module and terminal unit it Between set up communication connection, the M is less than or equal to the positive integer of the N;
By the data backup to be backed up in the mobile terminal to the terminal unit.
Embodiment of the present invention second aspect provides a kind of mobile terminal, including:
Detector unit, for whether when mobile terminal breaks down, detecting the N number of presetting module in the mobile terminal Can use, wherein, the presetting module be with lower module in one:Bluetooth module, Wireless Fidelity Wi-Fi module and near-field communication NFC module and infrared module, the N is the integer more than or equal to 1;
Unit is set up, if for there is M presetting module can use in N number of presetting module, by the M presetting module At least one of between terminal unit set up communication connection, the M is less than or equal to the positive integer of the N;
Backup units, for by the data backup to be backed up in the mobile terminal to the terminal unit.
The embodiment of the present invention third aspect provides a kind of mobile terminal, including:
Processor and memorizer;Wherein, code during the processor is by calling the memorizer or instruction are performing The some or all of step of the method described by first aspect.
Implement the embodiment of the present invention, have the advantages that:
By the embodiment of the present invention, when mobile terminal breaks down, whether the N number of presetting module in detection mobile terminal Can use, wherein, presetting module be with lower module in one:Bluetooth module, Wireless Fidelity Wi-Fi module and near-field communication NFC Module and infrared module, the N is the integer more than or equal to 1, if there is M presetting module can use in N number of presetting module, is passed through At least one of M presetting module sets up communication connection between terminal unit, and M is the positive integer less than or equal to N, will be moved Data backup to be backed up in dynamic terminal is to terminal unit.So as to, can be when mobile terminal breaks down, can be by its part still The communication module not broken down is realizing data backup.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, can be attached to obtain others according to these accompanying drawings Figure.
Fig. 1 is a kind of network architecture schematic diagram of data backup system provided in an embodiment of the present invention;
Fig. 2 is a kind of first embodiment schematic flow sheet of data back up method provided in an embodiment of the present invention;
Fig. 3 is a kind of second embodiment schematic flow sheet of data back up method provided in an embodiment of the present invention;
Fig. 4 a are a kind of first embodiment structural representations of mobile terminal provided in an embodiment of the present invention;
Fig. 4 b are the structural representations of the detector unit of the mobile terminal described by Fig. 4 a provided in an embodiment of the present invention;
Fig. 4 c are the structural representations for setting up unit of the mobile terminal described by Fig. 4 a provided in an embodiment of the present invention;
Fig. 4 d are the structural representations of the backup units of the mobile terminal described by Fig. 4 a provided in an embodiment of the present invention;
Fig. 4 e are the another structural representations of the backup units of the mobile terminal described by Fig. 4 a provided in an embodiment of the present invention Figure;
Fig. 5 is a kind of second embodiment structural representation of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and " Four " it is etc. for distinguishing different objects, rather than for describing particular order.Additionally, term " comprising " and " having " and it Any deformation, it is intended that cover and non-exclusive include.For example contain the process of series of steps or unit, method, be System, product or equipment are not limited to the step of listing or unit, but alternatively also include the step of not listing or list Unit, or alternatively also include other steps intrinsic for these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments In being contained at least one embodiment of the present invention.It is identical that each position in the description shows that the phrase might not each mean Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly it is understood by, embodiment described herein can be in combination with other embodiments.
Mobile terminal or terminal unit described by the embodiment of the present invention can include smart mobile phone (such as Android handss Machine, iOS mobile phones, Windows Phone mobile phones etc.), panel computer, palm PC, notebook computer, mobile internet device (MID, Mobile Internet Devices) or Wearable etc., above-mentioned is only citing, and non exhaustive, comprising but do not limit In above-mentioned mobile terminal or terminal unit.Certainly, the terminal unit mentioned in the embodiment of the present invention can be with mobile terminal phase Together, for example, terminal unit is mobile phone, and mobile terminal is another mobile phone;Terminal unit also can be differed with mobile terminal, for example, Terminal unit is mobile phone, and mobile terminal is panel computer.
Data transmission channel described by the embodiment of the present invention may include but be not limited only to:It is focus, bluetooth, infrared, wireless Fidelity (Wireless Fidelity, Wi-Fi), wired etc., specifically, in mobile terminal focus, terminal unit connection are opened The mobile terminal, can set up between the two data transmission channel;Bluetooth is opened in mobile terminal, terminal unit connects movement end End, can set up between the two data transmission channel;Open infrared in mobile terminal, terminal unit connects the mobile terminal, both Between can set up data transmission channel;A certain Wi-Fi is all connected with mobile terminal, terminal unit is indirectly connected with the mobile terminal, Data transmission channel can be set up between the two;By being connected through a wired connection between mobile terminal and terminal unit, between the two Data transmission channel can be set up.
Fig. 1 is referred to, Fig. 1 is to embodiments provide a kind of network architecture of data backup system, the network structure Frame may include:Mobile terminal and terminal unit.Wherein, can be by wireless fidelity network, shifting between mobile terminal and terminal unit Dynamic communication network (such as 2G, 3G, 4G, 5G), cable network set up communication connection.For example, when mobile terminal breaks down, Detection mobile terminal in N number of presetting module whether can use, wherein, presetting module be with lower module in one:Bluetooth module, Wireless Fidelity Wi-Fi module and near-field communication NFC module and infrared module, the N is the integer more than or equal to 1, if N number of pre- If there is M presetting module can use in module, communication link is set up between terminal unit by least one of M presetting module Connect, M is the positive integer less than or equal to N, by the data backup to be backed up in mobile terminal to terminal unit.
Based on the network architecture of the data backup system described by Fig. 1, Fig. 2 is referred to, be provided in an embodiment of the present invention A kind of first embodiment schematic flow sheet of data back up method.Data back up method described in the present embodiment, including with Lower step:
201st, when mobile terminal breaks down, detect whether the N number of presetting module in the mobile terminal can use, its In, the presetting module be with lower module in one:Bluetooth module, Wireless Fidelity Wi-Fi module and near-field communication NFC module And infrared module, the N is the integer more than or equal to 1.
Wherein, mobile terminal can be broken down, or break down in use in start process (for example, mobile terminal water inlet, mobile terminal have been fallen, crashed), for example, the screen of mobile terminal cannot normally show.It is default Module can be at least one of following communication module:Bluetooth module, Wireless Fidelity (Wireless-Fidelity, Wi-Fi) mould Block and near-field communication (Near Field Communication, NFC) module, infrared module and USB (universal serial bus) (Universal Serial Bus, USB) interface.It is many in the mobile terminal if mobile terminal breaks down by the case of In individual communication module may at least one not yet break down, thus, the communication module that can not broken down by this, by this Communication connection is set up between mobile terminal and terminal unit.Certainly, multiple communication modules can be included in mobile terminal, to realize not Same communication function.
Alternatively, when mobile terminal breaks down, whether the communication module that can detect the mobile terminal also occurs in that event Barrier, in the case where arbitrary communication module does not break down, can be by setting up communication link between the communication module and terminal unit Connect.
Alternatively, whether the N number of presetting module in the above-mentioned detection mobile terminal can use, it may include following steps:
211), self-starting presetting module i, wherein, presetting module i is any one in N number of presetting module;
212), detect whether presetting module i can carry out web search, can carry out network in presetting module i and search Suo Shi, confirms that presetting module i can use.
Wherein, for arbitrary communication module, it can carry out self-starting, i.e., starting the module by way of, with Detect whether the module breaks down.It is illustrated with presetting module i, presetting module i is in above-mentioned N number of presetting module It is individual, that is, detect whether presetting module i can carry out web search, if presetting module i is not available for web search, illustrate this Presetting module i may break down, if presetting module i can carry out web search, illustrate that presetting module i does not occur Failure.By this way, can to mobile terminal in each communication module can carry out fault detect, so, it may be determined that mobile At least one communication module not yet breaks down in terminal.
If the 202, there is M presetting module can use in N number of presetting module, set with terminal by the M presetting module Communication connection is set up between standby, the M is less than or equal to the positive integer of the N.
Wherein, have in N number of presetting module M presetting module can use, then, using in the M presetting module extremely Few one is set up communication connection and terminal unit between.
For example, when M is 1, when bluetooth module is available, can pass through to be set up between the bluetooth module and terminal unit to communicate Connection, thus, a data transmission channel can be formed between mobile terminal and terminal unit;Again for example, can in Wi-Fi module Used time, can pass through to set up communication connection between the Wi-Fi module and terminal unit, thus, mobile terminal and terminal unit it Between can form a data transmission channel;Again for example, when NFC module is available, can pass through between the NFC module and terminal unit Communication connection is set up, thus, data transmission channel, etc. can be formed between mobile terminal and terminal unit.Certainly, exist When M is more than 1, if bluetooth module and Wi-Fi module are available, then, mobile terminal can be utilized between bluetooth module and terminal unit Communication connection is set up, thus, a data transmission channel, further, example can be formed between mobile terminal and terminal unit Such as, using communication connection is set up between Wi-Fi module and terminal unit, thus, can between mobile terminal and terminal unit Form another data transmission channel.
Alternatively, above by communication connection is set up between the M presetting module and terminal unit can be comprising following step Suddenly:
221), the access request that the terminal unit sends is received by least one of described M presetting module, its In, the access request carries the first authentication information;
222), first authentication information is matched with default second authentication information;
223), when the match is successful for first authentication information and second authentication information, set up and institute State the communication connection between terminal unit.
Wherein, the access that the arbitrary presetting module receiving terminal apparatus in M presetting module send can be passed through in step 221 Request, the authentication information of access request portability first.
Alternatively, above-mentioned first authentication information can be:Finger print information, iris information, numerical ciphers, pattern-information, Voice messaging, touch information (dynamics, the time of pressing touch screen, number of times of pressing touch screen of pressing touch screen etc.).
In the case that alternatively, the system of mobile terminal can also normally be run (for example, the display screen of mobile terminal is broken, Cannot normally show, but system is normally run), the mobile terminal can test the first authentication information with default second identity Card information is matched.If the systemic breakdown of mobile terminal, mobile terminal can be using spare module (for example, in mobile terminal For multinuclear when, some processor is broken, and can use another processor) by the first authentication information and default second identity Checking information is matched.If the first authentication information and default second authentication information when the match is successful, are performed Step 223, if the first authentication information and default second authentication information when it fails to match, point out user again defeated Enter the first authentication information.
203rd, by the data backup to be backed up in the mobile terminal to the terminal unit.
Wherein, can first determine the data to be backed up in mobile terminal, for example, movement be shown on the display screen of terminal unit Data in terminal, the determine instruction of receive user, to choose data to be backed up, thus, can further, by mobile terminal Data backup to be backed up to terminal unit.Above-mentioned data to be backed up can be the partial data in mobile terminal or whole numbers According to.
Alternatively, above-mentioned steps 203 can be comprised the steps of:
231), the data to be backed up in the mobile terminal are divided into into the M data block;
232), based on the M presetting module, and the M data block is backed up using the M thread or process To the terminal unit, wherein, a number is formed in the M presetting module between each presetting module and the terminal unit According to transmission channel, each data transmission channel corresponds to a thread or process and for backing up a data block.
Wherein, in step 231, data to be backed up can be divided into multiple data blocks by mobile terminal according to memory size, certainly, Data to be backed up can also be divided into multiple data blocks by mobile terminal according to the number of data, or, mobile terminal can be according to treating Backup Data is divided into multiple data blocks according to data importance.Wherein, in step 232, each presetting module in M presetting module A data transmission channel can be formed between terminal unit, each data transmission channel can correspond to a thread or process, For performing the backup operation to a data block in M data block, thus, data backup efficiency can be improved.
Alternatively, above-mentioned steps 203 can be comprised the steps of:
233), when the current electric quantity of the mobile terminal is less than the first predetermined threshold value, user is pointed out to described mobile whole End is charged;
234), the electricity for being in charged state and the mobile terminal in the mobile terminal is more than the second predetermined threshold value When, by the data backup to be backed up in the mobile terminal to the terminal unit, wherein, second predetermined threshold value is more than institute State the first predetermined threshold value.
Wherein, the first predetermined threshold value and the second predetermined threshold value can be arranged voluntarily or system default by user, and second is pre- If threshold value is more than the first predetermined threshold value.Mobile terminal can determine that the current electric quantity of its own, in the first predetermined threshold value, can be pointed out User is charged to mobile terminal, if the first predetermined threshold value place situation is it is to be understood that charge not in time, in data In backup procedure, it is easy to cause mobile terminal to shut down because of not enough power supply.Thus, charged state can be in mobile terminal And during the electricity abundance of the mobile terminal, data backup can be carried out, the second predetermined threshold value place situation can be regarded as mobile terminal Electricity in the second predetermined threshold value, data backup can be carried out, but, in order to ensure that mobile terminal does not shut down, it is desired nonetheless to right Mobile terminal is charged, so, it is ensured that mobile terminal can quickly realize data backup in low battery, still.
Alternatively, step 203 can also be implemented in accordance with the following steps:
Data to be backed up in the mobile terminal are divided into into multiple data blocks, using multiple processes by the plurality of number Terminal unit is backed up to according to block, wherein, one process of each data block correspondence.Wherein, mobile terminal can press data to be backed up It is divided into multiple data blocks according to memory size, certainly, mobile terminal can also be divided into data to be backed up according to the number of data many Individual data block, or, mobile terminal can be divided into multiple data blocks according to data to be backed up according to data importance.Thus, can adopt Multiple processes are used, data to be backed up are backed up to into terminal unit by mobile terminal.
By the embodiment of the present invention, when mobile terminal breaks down, whether the N number of presetting module in detection mobile terminal Can use, wherein, presetting module be with lower module in one:Bluetooth module, Wireless Fidelity Wi-Fi module and near-field communication NFC Module and infrared module, the N is the integer more than or equal to 1, if there is M presetting module can use in N number of presetting module, is passed through At least one of M presetting module sets up communication connection between terminal unit, and M is the positive integer less than or equal to N, will be moved Data backup to be backed up in dynamic terminal is to terminal unit.So as to, can be when mobile terminal breaks down, can be by its part still The communication module not broken down is realizing data backup.
Consistent with the abovely, Fig. 3 is referred to, is a kind of the second enforcement of data back up method provided in an embodiment of the present invention Example schematic flow sheet.Data back up method described in the present embodiment, comprises the following steps:
301st, when mobile terminal breaks down, detect whether the bluetooth module in the mobile terminal can use.
302nd, when the bluetooth module is available, the bluetooth module is opened, the shifting is set up by the bluetooth module Communication connection between dynamic terminal and terminal unit, and then, execution step 307.
303rd, when the bluetooth module is unavailable, whether the Wi-Fi module for detecting the mobile terminal can use.
304th, when the Wi-Fi module is available, the mobile terminal is set up with the terminal by the Wi-Fi module Communication connection between equipment, and then, execution step 307.
305th, when the Wi-Fi module is unavailable, whether the NFC module for detecting the mobile terminal can use.
306th, when the NFC module is available, the mobile terminal is set up with the terminal unit by the NFC module Between communication connection, and then, execution step 307.
307th, by the data backup to be backed up in the mobile terminal to the terminal unit.
Specifically, when mobile terminal breaks down, mobile terminal can open bluetooth module, and judge bluetooth module Whether can use, when bluetooth module is available, the data in mobile terminal are read using the equipment of Bluetooth pairing, if bluetooth module is not Can use, Wi-Fi can be opened, judge whether Wi-Fi module can use, when Wi-Fi module is available, utilize and be connected with Wi-Fi module The corresponding terminal unit of router read data in the mobile terminal, when Wi-Fi module is unavailable, can determine whether NFC moulds Whether block can use, and when NFC module is available, the terminal unit matched using NFC reads the data in the mobile terminal, thus, Data to be backed up in being capable of achieving to mobile terminal carry out data backup to terminal unit.
By the embodiment of the present invention, when mobile terminal breaks down, whether the bluetooth module for detecting mobile terminal can use, If bluetooth module can use, data backup is realized using the bluetooth module, if bluetooth module is unavailable, detect Wi-Fi module Whether can use, if Wi-Fi module is available, using the Wi-Fi module data backup is realized, if Wi-Fi module is unavailable, examine Survey whether NFC module can use, if NFC module is available, data backup is realized using the NFC module, thus, can be in mobile terminal When breaking down, communication connection is set up using at least one of mobile terminal communication module and other-end equipment, such as This, can be by the data backup in the mobile terminal to other-end equipment.
Consistent with the abovely, it is below the device of the above-mentioned data back up method of enforcement, it is specific as follows:
Fig. 4 a are referred to, is a kind of first embodiment structural representation of mobile terminal provided in an embodiment of the present invention.This Mobile terminal described in embodiment, including:Detector unit 401, unit 402 and backup units 403 are set up, it is specific as follows:
Detector unit 401, for when mobile terminal breaks down, detecting the N number of presetting module in the mobile terminal Whether can use, wherein, the presetting module be with lower module in one:Bluetooth module, Wireless Fidelity Wi-Fi module and near field Communication NFC module and infrared module, the N is the integer more than or equal to 1;
Unit 402 is set up, if for there is M presetting module can use in N number of presetting module, it is default by the M Communication connection is set up between at least one of module and terminal unit, the M is less than or equal to the positive integer of the N;
Backup units 403, for by the data backup to be backed up in the mobile terminal to the terminal unit.
Alternatively, as shown in Figure 4 b, the detector unit 401 of the mobile terminal described in Fig. 4 a may include:Starting module 4011 and detection module 4012, it is specific as follows:
Starting module 4011, for self-starting presetting module i, wherein, presetting module i is N number of presetting module In any one;
Detection module 4012, for detecting whether presetting module i can carry out web search, in presetting module i When can carry out web search, confirm that presetting module i can use.
Alternatively, as illustrated in fig. 4 c, the unit 402 of setting up of the mobile terminal described in Fig. 4 a may include:Receiver module 4021st, matching module 4022 and module 4023 is set up, it is specific as follows:
Receiver module 4021, sends for receiving the terminal unit by least one of described M presetting module Access request, wherein, the access request carries the first authentication information;
A matching module 4022, for first authentication information and default second authentication information to be carried out Match somebody with somebody;
Set up module 4023, for the matching result of the matching module 4022 be first authentication information with Second authentication information is set up and the communication connection between the terminal unit when the match is successful.
Alternatively, as shown in figure 4d, the backup units 403 of the mobile terminal described in Fig. 4 a may include:Division module 4031 and first backup module 4032, it is specific as follows:
Division module 4031, for the data to be backed up in the mobile terminal to be divided into into the M data block;
First backup module 4032, for being based on the M presetting module, and will using the M thread or process The M data block backs up to the terminal unit, wherein, each presetting module and the terminal in the M presetting module A data transmission channel is formed between equipment, each data transmission channel corresponds to a thread or process and for backing up One data block.
Alternatively, as shown in fig 4e, the backup units 403 of the mobile terminal described in Fig. 4 a may include:Reminding module 4033 and second backup module 4034, it is specific as follows:
Tip element 4033, for when the current electric quantity of the mobile terminal is less than the first predetermined threshold value, pointing out user The mobile terminal is charged;
Second backup units 4034 are big for the electricity in the mobile terminal in charged state and the mobile terminal When the second predetermined threshold value, by the data backup to be backed up in the mobile terminal to the terminal unit, wherein, described second Predetermined threshold value is more than first predetermined threshold value.
As can be seen that by the mobile terminal described by the embodiment of the present invention, can examine when the mobile terminal breaks down Survey mobile terminal in N number of presetting module whether can use, wherein, presetting module be with lower module in one:Bluetooth module, nothing Line fidelity Wi-Fi module and near-field communication NFC module and infrared module, the N is the integer more than or equal to 1, if N number of default There is M presetting module can use in module, communication link is set up between terminal unit by least one of M presetting module Connect, M is the positive integer less than or equal to N, by the data backup to be backed up in mobile terminal to terminal unit.So as to move When dynamic terminal breaks down, data backup can be realized by the communication module that its part is not yet broken down.
Consistent with the abovely, Fig. 5 is referred to, is a kind of second embodiment knot of mobile terminal provided in an embodiment of the present invention Structure schematic diagram.Mobile terminal described in the present embodiment, including:At least one input equipment 1000;At least one output sets Standby 2000;At least one processor 3000, such as CPU;With memorizer 4000, above-mentioned input equipment 1000, outut device 2000, Processor 3000 and memorizer 4000 are connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely contact panel, physical button or mouse.
The concretely display screen of above-mentioned outut device 2000.
Above-mentioned memorizer 4000 can be high-speed RAM memorizer, alternatively nonvolatile storage (non-volatile Memory), such as disk memory.Above-mentioned memorizer 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated Going out equipment 2000 and processor 3000 is used to call the program code stored in memorizer 4000, performs following operation:
Above-mentioned processor 3000, is used for:
When mobile terminal breaks down, detect whether the N number of presetting module in the mobile terminal can use, wherein, institute State presetting module be with lower module in one:Bluetooth module, Wireless Fidelity Wi-Fi module and near-field communication NFC module and red Outer mold piece, the N is the integer more than or equal to 1;
If having M presetting module can use in N number of presetting module, by least one of described M presetting module Communication connection is set up between terminal unit, the M is less than or equal to the positive integer of the N;
By the data backup to be backed up in the mobile terminal to the terminal unit.
Alternatively, above-mentioned processor 3000 detects whether the N number of presetting module in the mobile terminal can use, including:
Self-starting presetting module i, wherein, presetting module i is any one in N number of presetting module;
Detect whether presetting module i can carry out web search, when presetting module i can carry out web search, Confirm that presetting module i can use.
Alternatively, above-mentioned processor 3000 is built by least one of described M presetting module between terminal unit Vertical communication connection, including:
The access request that the terminal unit sends is received by least one of described M presetting module, wherein, institute State access request and carry the first authentication information;
First authentication information is matched with default second authentication information;
When the match is successful for first authentication information and second authentication information, set up and the terminal Communication connection between equipment.
Alternatively, above-mentioned processor 3000 by the data backup to be backed up in the mobile terminal to the terminal unit, Including:
Data to be backed up in the mobile terminal are divided into into the M data block;
Based on the M presetting module, and the M data block is backed up to into institute using the M thread or process Terminal unit is stated, wherein, data biography is formed in the M presetting module between each presetting module and the terminal unit Defeated passage, each data transmission channel corresponds to a thread or process and for backing up a data block.
Alternatively, above-mentioned processor 3000 by the data backup to be backed up in the mobile terminal to the terminal unit, Including:
When the current electric quantity of the mobile terminal is less than the first predetermined threshold value, user is pointed out to carry out the mobile terminal Charge;
When the mobile terminal is in the electricity of charged state and the mobile terminal more than the second predetermined threshold value, by institute The data backup to be backed up in mobile terminal is stated to the terminal unit, wherein, second predetermined threshold value is more than described first Predetermined threshold value.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, including the part or all of step of any data back up method described in said method embodiment during the program performing Suddenly.
Although here combines each embodiment, and invention has been described, however, implementing the present invention for required protection During, those skilled in the art are by checking the accompanying drawing, disclosure and appended claims, it will be appreciated that and it is real Other changes of the existing open embodiment.In the claims, " including " (comprising) word be not excluded for other composition Part or step, "a" or "an" is not excluded for multiple situations.Single processor or other units can realize claim In some functions enumerating.Mutually different has been recited in mutually different dependent some measures, it is not intended that these are arranged Apply to combine and produce good effect.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer journey Sequence product.Therefore, the present invention can using complete hardware embodiment, complete software embodiment or with reference to software and hardware in terms of The form of embodiment.And, the present invention can be adopted and wherein include the calculating of computer usable program code at one or more The computer program implemented in machine usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) The form of product.Computer program is stored/distributed in suitable medium, is provided together with other hardware or as the one of hardware Part, it would however also be possible to employ other distribution forms, such as by Internet or other wired or wireless telecommunication systems.
The present invention be with reference to the embodiment of the present invention method, device (equipment) and computer program flow chart with/ Or block diagram is describing.It should be understood that can by each flow process in computer program instructions flowchart and/or block diagram and/ Or the combination of square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer program instructions can be provided To the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices producing one Individual machine so that produced for realizing by the instruction of computer or the computing device of other programmable data processing devices The device of the function of specifying in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
Although with reference to specific features and embodiment, invention has been described, it is clear that, without departing from this In the case of bright spirit and scope, various modifications and combinations can be carried out to it.Correspondingly, the specification and drawings are only institute The exemplary illustration of the invention that attached claim is defined, and be considered as cover in the scope of the invention any and all and repair Change, change, combining or equivalent.Obviously, those skilled in the art the present invention can be carried out it is various change and modification and not Depart from the spirit and scope of the present invention.So, if the present invention these modification and modification belong to the claims in the present invention and its Within the scope of equivalent technologies, then the present invention is also intended to comprising these changes and modification.

Claims (11)

1. a kind of data back up method, it is characterised in that include:
When mobile terminal breaks down, detect whether the N number of presetting module in the mobile terminal can use, wherein, it is described pre- If module be with lower module in one:Bluetooth module, Wireless Fidelity Wi-Fi module and near-field communication NFC module and infrared mould Block, the N is the integer more than or equal to 1;
If having M presetting module can use in N number of presetting module, by least one of described M presetting module and end Communication connection is set up between end equipment, the M is less than or equal to the positive integer of the N;
By the data backup to be backed up in the mobile terminal to the terminal unit.
2. method according to claim 1, it is characterised in that the N number of presetting module in the detection mobile terminal Whether can use, including:
Self-starting presetting module i, wherein, presetting module i is any one in N number of presetting module;
Detect whether presetting module i can carry out web search, when presetting module i can carry out web search, confirm Presetting module i can use.
3. method according to claim 2, it is characterised in that described by least one of described M presetting module Communication connection is set up between terminal unit, including:
The access request that the terminal unit sends is received by least one of described M presetting module, wherein, it is described to connect Enter request and carry the first authentication information;
First authentication information is matched with default second authentication information;
When the match is successful for first authentication information and second authentication information, set up and the terminal unit Between communication connection.
4. the method according to any one of claims 1 to 3, it is characterised in that described to treat standby in the mobile terminal Number evidence backs up to the terminal unit, including:
Data to be backed up in the mobile terminal are divided into into the M data block;
Based on the M presetting module, and the M data block is backed up to into the end using the M thread or process End equipment, wherein, data transmission is formed in the M presetting module between each presetting module and the terminal unit logical Road, each data transmission channel corresponds to a thread or process and for backing up a data block.
5. the method according to any one of claims 1 to 3, it is characterised in that described to treat standby in the mobile terminal Number evidence backs up to the terminal unit, including:
When the current electric quantity of the mobile terminal is less than the first predetermined threshold value, user is pointed out to fill the mobile terminal Electricity;
When the mobile terminal is in the electricity of charged state and the mobile terminal more than the second predetermined threshold value, by the shifting Data backup to be backed up in dynamic terminal to the terminal unit, wherein, second predetermined threshold value is default more than described first Threshold value.
6. a kind of mobile terminal, it is characterised in that include:
Detector unit, for when mobile terminal breaks down, detecting that the N number of presetting module in the mobile terminal whether may be used With, wherein, the presetting module be with lower module in one:Bluetooth module, Wireless Fidelity Wi-Fi module and near-field communication NFC module and infrared module, the N is the integer more than or equal to 1;
Unit is set up, if for there is M presetting module can use in N number of presetting module, by the M presetting module Communication connection is set up between at least one and terminal unit, the M is less than or equal to the positive integer of the N;
Backup units, for by the data backup to be backed up in the mobile terminal to the terminal unit.
7. mobile terminal according to claim 6, it is characterised in that the detector unit includes:
Starting module, for self-starting presetting module i, wherein, presetting module i is arbitrary in N number of presetting module It is individual;
Detection module, for detecting whether presetting module i can carry out web search, in the presetting module i net can be carried out When network is searched for, confirm that presetting module i can use.
8. mobile terminal according to claim 7, it is characterised in that the unit of setting up includes:
Receiver module, the access for receiving the terminal unit transmission by least one of described M presetting module please Ask, wherein, the access request carries the first authentication information;
Matching module, for first authentication information to be matched with default second authentication information;
Module is set up, for being first authentication information and second identity in the matching result of the matching module Checking information is set up and the communication connection between the terminal unit when the match is successful.
9. the mobile terminal according to any one of claim 6 to 8, it is characterised in that the backup units include:
Division module, for the data to be backed up in the mobile terminal to be divided into into the M data block;
First backup module, for based on the M presetting module, and using the M thread or process by the M numbers The terminal unit is backed up to according to block, wherein, shape between each presetting module and the terminal unit in the M presetting module Into a data transmission channel, each data transmission channel one thread of correspondence or process and for one data block of backup.
10. the mobile terminal according to any one of claim 6 to 8, it is characterised in that the backup units include:
Tip element, for when the current electric quantity of the mobile terminal is less than the first predetermined threshold value, pointing out user to the shifting Dynamic terminal is charged;
Second backup units, the electricity for being in charged state and the mobile terminal in the mobile terminal is pre- more than second If during threshold value, by the data backup to be backed up in the mobile terminal to the terminal unit, wherein, second predetermined threshold value More than first predetermined threshold value.
11. a kind of mobile terminals, it is characterised in that include:
Processor and memorizer;Wherein, code during the processor is by calling the memorizer or instruction are performing such as power Profit requires the method described in 1 to 5 any one.
CN201610977322.0A 2016-11-04 2016-11-04 Data backup method and mobile terminal Pending CN106569918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610977322.0A CN106569918A (en) 2016-11-04 2016-11-04 Data backup method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610977322.0A CN106569918A (en) 2016-11-04 2016-11-04 Data backup method and mobile terminal

Publications (1)

Publication Number Publication Date
CN106569918A true CN106569918A (en) 2017-04-19

Family

ID=58539935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610977322.0A Pending CN106569918A (en) 2016-11-04 2016-11-04 Data backup method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106569918A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291578A (en) * 2017-06-19 2017-10-24 上海闻泰电子科技有限公司 Mobile terminal data backup method and device
CN107659968A (en) * 2017-10-13 2018-02-02 惠州Tcl移动通信有限公司 Mobile terminal and its data transmission method and storage medium
CN110471846A (en) * 2019-07-23 2019-11-19 平安科技(深圳)有限公司 Test data processing method, device and computer equipment based on automation platform
CN114548332A (en) * 2022-02-08 2022-05-27 海信(山东)冰箱有限公司 Label box and electronic label information copying method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201950673U (en) * 2010-12-16 2011-08-31 深圳市银星智能电器有限公司 Intelligent family service robot system
CN102281292A (en) * 2011-07-26 2011-12-14 北京世纪高通科技有限公司 traffic information transmission method, device and system
CN102594413A (en) * 2012-02-27 2012-07-18 信源通科技(深圳)有限公司 short message backup method and device
CN106056875A (en) * 2016-05-26 2016-10-26 深圳市天鼎微波科技有限公司 Achievement method of multi-antenna unmanned aerial vehicle system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201950673U (en) * 2010-12-16 2011-08-31 深圳市银星智能电器有限公司 Intelligent family service robot system
CN102281292A (en) * 2011-07-26 2011-12-14 北京世纪高通科技有限公司 traffic information transmission method, device and system
CN102594413A (en) * 2012-02-27 2012-07-18 信源通科技(深圳)有限公司 short message backup method and device
CN106056875A (en) * 2016-05-26 2016-10-26 深圳市天鼎微波科技有限公司 Achievement method of multi-antenna unmanned aerial vehicle system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291578A (en) * 2017-06-19 2017-10-24 上海闻泰电子科技有限公司 Mobile terminal data backup method and device
CN107659968A (en) * 2017-10-13 2018-02-02 惠州Tcl移动通信有限公司 Mobile terminal and its data transmission method and storage medium
CN110471846A (en) * 2019-07-23 2019-11-19 平安科技(深圳)有限公司 Test data processing method, device and computer equipment based on automation platform
CN110471846B (en) * 2019-07-23 2024-05-07 平安科技(深圳)有限公司 Test data processing method and device based on automation platform and computer equipment
CN114548332A (en) * 2022-02-08 2022-05-27 海信(山东)冰箱有限公司 Label box and electronic label information copying method

Similar Documents

Publication Publication Date Title
CN106569918A (en) Data backup method and mobile terminal
CN106528347A (en) Data backup method and mobile terminal
CN105205374A (en) Application program encrypting method and user terminal
CN109041021B (en) File transmission method based on Bluetooth, terminal equipment and storage medium
CN106786903A (en) Information Authentication method, device, wireless charging device and mobile terminal
CN104346550B (en) A kind of information processing method and a kind of electronic equipment
CN104914815A (en) Processor monitoring method, device and system
CN106485803A (en) A kind of offline punch card method, terminal, server and system
CN105005489B (en) A kind of the starting method and terminal device of terminal device
CN104809046A (en) Application program networking control method and application program networking control device
CN104252352A (en) Information processing method and electronic equipment
CN107295192B (en) Unlocking control method and related product
CN110103761B (en) Charging fault tracing method and system for new energy vehicle, server and storage medium
CN116628708B (en) Method for starting chip, electronic equipment and readable storage medium
CN108920962A (en) Firmware downloads sign test method, firmware dissemination method, mobile terminal and server
CN105516500A (en) Method and system for selecting equipment mode
CN103152724A (en) Method and system for locking SIM (subscriber identity module) card by utilizing hardware
CN104023040A (en) Method and device for information processing
CN107070864A (en) Safe verification method and system based on fingerprint
CN105867793A (en) No touch screen response based use method and device
CN106550423A (en) A kind of access point management method and terminal
CN104915824A (en) Method and user terminal for creating calendar event
CN109299948A (en) Red packet sending method and device, wearable device and storage medium
CN107392066A (en) Protect method, mobile terminal and the computer-readable recording medium of data safety
CN114285657A (en) Firewall security policy change verification method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170419