CN107122266B - Method and equipment for backing up data and computer readable storage medium - Google Patents

Method and equipment for backing up data and computer readable storage medium Download PDF

Info

Publication number
CN107122266B
CN107122266B CN201710374851.6A CN201710374851A CN107122266B CN 107122266 B CN107122266 B CN 107122266B CN 201710374851 A CN201710374851 A CN 201710374851A CN 107122266 B CN107122266 B CN 107122266B
Authority
CN
China
Prior art keywords
identification information
sim card
mobile terminal
user
server
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.)
Active
Application number
CN201710374851.6A
Other languages
Chinese (zh)
Other versions
CN107122266A (en
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710374851.6A priority Critical patent/CN107122266B/en
Publication of CN107122266A publication Critical patent/CN107122266A/en
Application granted granted Critical
Publication of CN107122266B publication Critical patent/CN107122266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/1458Management of the backup or restore process
    • 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/1469Backup restoration techniques

Landscapes

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

Abstract

The invention provides a method, equipment and a computer readable storage medium for backing up data, wherein the method comprises the following steps: when detecting that a Subscriber Identity Module (SIM) card is inserted, acquiring identification information of a user; sending the identification information of the user, the identification information of the SIM card and the identification information of the mobile terminal to a server so that the server can judge whether the user information in a set application program corresponding to the identification information of the SIM card backed up in advance in the server can be sent to the mobile terminal; and when receiving the user information in the set application program sent by the server, restoring the user information in the set application program. The invention can effectively improve the efficiency of the user for backing up and restoring the data in the mobile terminal, effectively save the time for the user to back up and restore the data in the mobile terminal, realize the automatic back-up and restoration of the data in the mobile terminal and improve the user experience of the user for backing up and restoring the data in the mobile terminal.

Description

Method and equipment for backing up data and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for backing up data, and a computer-readable storage medium.
Background
With the fast update iteration of the mobile terminal, the frequency of the user changing the mobile terminal is faster and faster. When a user changes the mobile terminal, the contact person, the photo, the short message, the communication record in the instant messaging software and other data in the original mobile terminal need to be backed up, and the backed-up data is copied to a new mobile terminal, so that the user needs to spend a great deal of energy for backup management, and the time of the user is greatly consumed; when the user loses the original mobile terminal, the loss of the contact person, the photo, the short message and the communication record in the instant communication software in the original mobile terminal of the user can be caused, and even the loss of the privacy information of the user can be caused, which brings great inconvenience to the user to use the mobile terminal.
Disclosure of Invention
The invention mainly aims to provide a method, equipment and a computer readable storage medium for backing up data, and aims to overcome the defect that a user needs to manage data backup and restoration when replacing a mobile terminal in the prior art.
In order to achieve the above object, the present invention provides a method for backing up data, which is applied to a mobile terminal, and the method includes:
when detecting that a Subscriber Identity Module (SIM) card is inserted, acquiring identification information of a user, identification information of the SIM card and identification information of the mobile terminal;
sending the identification information of the user, the identification information of the SIM card and the identification information of the mobile terminal to a server so that the server can judge whether the user information in a set application program corresponding to the identification information of the SIM card backed up in advance in the server can be sent to the mobile terminal;
and when receiving the user information in the set application program sent by the server, restoring the user information in the set application program.
Optionally, when the user information in the setting application program sent by the server is received, the user information in the setting application program is restored,
in a case where the server determines that the user information in the set application corresponding to the identification information of the SIM card backed up in advance in the server can be sent to the mobile terminal, the method further includes:
when a backup reduction selection instruction sent by the server is received, a backup reduction selection interface is presented in a set area of a display screen;
when a confirmed backup reduction instruction is acquired through a backup reduction selection interface, the confirmed backup reduction instruction is sent to the server, so that the server can send user information in a set application program corresponding to the identification information of the SIM card backed up in advance in the server to the mobile terminal under the control of the confirmed backup reduction instruction.
Optionally, after the sending the identification information of the user, the identification information of the SIM card, and the identification information of the mobile terminal to a server, the method further includes:
and sending the identification information of the SIM card and the user information of the set application program to the server at a set time interval so that the server can back up the user information of the set application program as the user information in the set application program corresponding to the identification information of the SIM card.
Optionally, after sending the identification information of the user, the identification information of the SIM card, and the identification information of the mobile terminal to a server, the method further includes:
when the SIM card is detected to be pulled out, the identification information of the SIM card and the user information of the set application program are sent to the server, so that the server can back up the user information of the set application program as the user information in the set application program corresponding to the identification information of the SIM card.
Optionally, when it is detected that the SIM card is pulled out, sending the identification information of the SIM card and the user information of the set application program to the server, so that the server backs up the user information of the set application program as the user information in the set application program corresponding to the identification information of the SIM card, includes:
when the SIM card is detected to be pulled out, a backup selection interface is presented in a set area of the display screen;
when a backup confirmation instruction is acquired through the backup selection interface, the identification information of the SIM card and the user information of the set application program are sent to the server, so that the server can backup the user information of the set application program into the user information in the set application program corresponding to the identification information of the SIM card.
In addition, in order to achieve the above object, the present invention further provides a mobile terminal, which includes a processor, a memory and a display screen;
the processor is used for executing the program of the backup data stored in the memory so as to realize the steps of the method for backing up the data.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium storing one or more programs, which are executable by one or more processors in a mobile terminal, for performing the steps of the method for backing up data.
In addition, in order to achieve the above object, the present invention further provides a server, which includes a processor and a memory;
the processor is used for executing the program of the backup data stored in the memory so as to realize the following steps:
when receiving the identification information of a user, the identification information of an SIM card and the identification information of any mobile terminal, which are sent by any mobile terminal, judging whether the SIM card is legal or not based on the preset mapping relation between the identification information of the user and the identification information of the SIM card;
under the condition that the SIM card is judged to be legal, judging whether the SIM card is inserted into any mobile terminal for the first time or not based on the preset mapping relation between the identification information of the SIM card and the identification information of the mobile terminal;
and under the condition that the SIM card is judged to be inserted into any mobile terminal for the first time, sending user information in a set application program corresponding to the identification information of the SIM card backed up in advance in the server to any mobile terminal so that any mobile terminal can restore the user information in the set application program.
Optionally, the sending, to the any mobile terminal, user information in a set application program corresponding to the identifier information of the SIM card backed up in advance in the server includes:
sending a backup reduction selection instruction to any mobile terminal so that any mobile terminal can acquire a confirmed backup reduction instruction based on the backup reduction selection instruction;
and when the backup recovery confirmation instruction sent by any mobile terminal is received, sending user information in a set application program corresponding to the identification information of the SIM card backed up in advance in the server to any mobile terminal.
Optionally, before sending the user information in the set application program corresponding to the identifier information of the SIM card pre-backed up in the server to the any mobile terminal, the method further includes
Judging whether user information in a set application program corresponding to the SIM card backed up in advance in the server is sent to other mobile terminals;
if so, sending the backup reduction selection instruction to any mobile terminal so that any mobile terminal can obtain a confirmed backup reduction instruction based on the backup reduction selection instruction;
when the backup recovery confirmation instruction sent by any mobile terminal is received, sending user information in a set application program corresponding to the identification information of the SIM card stored and backed up in the server to any mobile terminal;
otherwise, sending the user information in the set application program corresponding to the identification information of the SIM card backed up in advance in the server to any mobile terminal.
Optionally, the determining whether the SIM card is legal based on a preset mapping relationship between the user identifier and the SIM card identifier includes:
judging whether the identification information of the user is matched with the identification information of the SIM card or not based on the preset mapping relation between the identification information of the user and the identification information of the SIM card;
if the identification information of the user is judged to be matched with the identification information of the SIM card, judging that the SIM card is legal; otherwise, the SIM card is judged to be illegal.
Optionally, the determining, based on a mapping relationship between preset identification information of the SIM card and identification information of the mobile terminal, whether the SIM card is inserted into any one of the mobile terminals for the first time includes:
judging whether the identification information of the SIM card is matched with the identification information of the mobile terminal or not based on the mapping relation between the preset identification information of the SIM card and the identification information of the mobile terminal;
if the identification information of the SIM card is judged to be matched with the identification information of the mobile terminal, judging that the SIM card is not inserted into any mobile terminal for the first time; otherwise, the SIM card is inserted into any mobile terminal for the first time.
Optionally, the method further includes:
and when the identification information of the SIM card and the user information of the set application program sent by any mobile terminal are received, backing up the user information of the set application program as the user information in the set application program corresponding to the SIM card.
In addition, in order to achieve the above object, the present invention further provides a server, which includes a processor and a memory;
the processor is used for executing the program of the backup data stored in the memory so as to realize the steps of the method for backing up the data.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium storing one or more programs, which are executable by one or more processors in a server to implement the steps of the above method for backing up data.
The method, the equipment and the computer readable storage medium for backing up the data can effectively improve the efficiency of backing up and restoring the data in the mobile terminal by the user, effectively save the time for backing up and restoring the data in the mobile terminal by the user, realize the automatic backing up and restoring of the data in the mobile terminal and improve the user experience of backing up and restoring the data in the mobile terminal of the user.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a flowchart of a method for backing up data according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for backing up data according to a second embodiment of the present invention;
FIG. 4 is a diagram illustrating a backup-restore selection interface presented in a setting area of a display screen according to a second embodiment of the present invention;
FIG. 5 is a diagram illustrating a backup selection interface presented in a setting area of a display screen according to a second embodiment of the present invention;
fig. 6 is a schematic diagram of a mobile terminal according to a third embodiment of the present invention;
FIG. 7 is a flowchart illustrating a method for backing up data according to a fifth embodiment of the present invention;
FIG. 8 is a flowchart illustrating a method for backing up data according to a sixth embodiment of the present invention;
fig. 9 is a schematic diagram of a server structure according to a seventh embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
Based on the hardware structure of the mobile terminal, the invention provides various embodiments of the method.
A first embodiment of the present invention provides a method for backing up data, which is applied to a mobile terminal, and as shown in fig. 2, the method includes the following steps:
step S101, when detecting that an SIM (Subscriber identity Module) card is inserted, acquiring Identification information of a user, Identification information of the SIM card and Identification information of a mobile terminal;
the identification information of the user includes, but is not limited to: the account information of the user, the password information set by the user, the graphic information set by the user and the like are used for verifying the identity of the user.
Identification information of the mobile terminal, including but not limited to: IMEI (International Mobile Equipment Identity) information of the Mobile terminal, and the like.
And step S102, sending the identification information of the user, the identification information of the SIM card and the identification information of the mobile terminal to a server so that the server can judge whether the user information in the set application program corresponding to the identification information of the SIM card backed up in advance in the server can be sent to the mobile terminal.
Optionally, step S102 includes:
sending the identification information of the user, the identification information of the SIM card and the identification information of the mobile terminal to a server so that the server can judge whether the SIM card is legal or not based on the preset mapping relation between the identification information of the user and the identification information of the SIM card;
if the SIM card is judged to be legal, judging whether the SIM card is inserted into any mobile terminal for the first time or not based on the preset mapping relation between the identification information of the SIM card and the identification information of the mobile terminal; otherwise, judging that the user information in the set application program corresponding to the identification information of the SIM card backed up in advance in the server cannot be sent to the mobile terminal;
if the SIM card is judged to be inserted into any mobile terminal for the first time, the SIM card is judged to be capable of sending user information in a set application program corresponding to the identification information of the SIM card backed up in advance in the server to the mobile terminal; otherwise, judging that the user information in the set application program corresponding to the identification information of the SIM card backed up in advance in the server cannot be sent to the mobile terminal;
the method for judging whether the SIM card is legal or not by the server based on the mapping relation between the preset identification information of the user and the identification information of the SIM card comprises the following steps:
judging whether the identification information of the user is matched with the identification information of the SIM card or not based on the preset mapping relation between the identification information of the user and the identification information of the SIM card;
if the identification information of the user is judged to be matched with the identification information of the SIM card, judging that the SIM card is legal; otherwise, the SIM card is judged to be illegal.
Based on the mapping relationship between the preset identification information of the SIM card and the identification information of the mobile terminal, the method for judging whether the SIM card is inserted into any mobile terminal for the first time comprises the following steps:
judging whether the identification information of the SIM card is matched with the identification information of the mobile terminal or not based on the mapping relation between the preset identification information of the SIM card and the identification information of the mobile terminal;
if the identification information of the SIM card is judged to be matched with the identification information of the mobile terminal, judging that the SIM card is not inserted into any mobile terminal for the first time; otherwise, the SIM card is inserted into any mobile terminal for the first time.
By judging whether the SIM card is legal or not, the situation that other users insert the lost SIM card into other mobile terminals after the mobile terminal is lost can be effectively avoided, and the user information in the lost mobile terminal in the set application program is obtained by automatically restoring the user information in the set application program, so that the restoration safety of the user information in the set application program is effectively improved.
By means of sending the user information in the set application program corresponding to the identification information of the SIM card backed up in advance in the server to the mobile terminal when the SIM card is judged to be inserted into any mobile terminal for the first time, the user information in the set application program of the old mobile terminal is automatically restored when the user replaces the new mobile terminal,
and step S103, when the user information in the setting application program sent by the server is received, restoring the user information in the setting application program.
The setting of the user information in the application program includes, but is not limited to:
the method comprises the steps of obtaining contact information in a call application program, contact information in an instant messaging application program, communication information in the instant messaging application program, user account information in an application program needing account login, contact information in a mailbox application program, mail information in the mailbox application program, website collection information in a browser application program, picture information in a picture storage application program, frequently-used word information in an input method application program and the like.
The method for backing up the data according to the first embodiment of the invention can effectively improve the efficiency of backing up the data in the mobile terminal by the user, effectively save the time for restoring the data in the mobile terminal by the user, realize the automatic restoration of the data in the mobile terminal, and improve the user experience of restoring the data in the mobile terminal by the user.
A second embodiment of the present invention provides a method for backing up data, which is applied to a mobile terminal, and as shown in fig. 3 to 5, the method includes the following steps:
step S201, when detecting that an SIM (Subscriber identity Module) card is inserted, acquiring Identification information of a user, Identification information of the SIM card and Identification information of a mobile terminal;
the identification information of the user includes, but is not limited to: the account information of the user, the password information set by the user, the graphic information set by the user and the like are used for verifying the identity of the user.
Step S202, the identification information of the user, the identification information of the SIM card and the identification information of the mobile terminal are sent to a server, so that the server can judge whether the user information in the set application program corresponding to the identification information of the SIM card backed up in advance in the server can be sent to the mobile terminal.
Optionally, step S202 includes:
sending the identification information of the user, the identification information of the SIM card and the identification information of the mobile terminal to a server so that the server can judge whether the SIM card is legal or not based on the preset mapping relation between the identification information of the user and the identification information of the SIM card;
if the SIM card is judged to be legal, judging whether the SIM card is inserted into any mobile terminal for the first time or not based on the preset mapping relation between the identification information of the SIM card and the identification information of the mobile terminal; otherwise, judging that the user information in the set application program corresponding to the identification information of the SIM card backed up in advance in the server cannot be sent to the mobile terminal;
if the SIM card is judged to be inserted into any mobile terminal for the first time, the SIM card is judged to be capable of sending user information in a set application program corresponding to the identification information of the SIM card backed up in advance in the server to the mobile terminal; otherwise, judging that the user information in the set application program corresponding to the identification information of the SIM card backed up in advance in the server cannot be sent to the mobile terminal;
the method for judging whether the SIM card is legal or not by the server based on the mapping relation between the preset identification information of the user and the identification information of the SIM card comprises the following steps:
judging whether the identification information of the user is matched with the identification information of the SIM card or not based on the preset mapping relation between the identification information of the user and the identification information of the SIM card;
if the identification information of the user is judged to be matched with the identification information of the SIM card, judging that the SIM card is legal; otherwise, the SIM card is judged to be illegal.
Based on the mapping relationship between the preset identification information of the SIM card and the identification information of the mobile terminal, the method for judging whether the SIM card is inserted into any mobile terminal for the first time comprises the following steps:
judging whether the identification information of the SIM card is matched with the identification information of the mobile terminal or not based on the mapping relation between the preset identification information of the SIM card and the identification information of the mobile terminal;
if the identification information of the SIM card is judged to be matched with the identification information of the mobile terminal, judging that the SIM card is not inserted into any mobile terminal for the first time; otherwise, the SIM card is inserted into any mobile terminal for the first time.
By judging whether the SIM card is legal or not, the situation that other users insert the lost SIM card into other mobile terminals after the mobile terminal is lost can be effectively avoided, and the user information in the lost mobile terminal in the set application program is obtained by automatically restoring the user information in the set application program, so that the restoration safety of the user information in the set application program is effectively improved.
When the SIM card is judged to be inserted into any mobile terminal for the first time, the user information in the set application program corresponding to the identification information of the SIM card backed up in advance in the server is sent to the mobile terminal, so that the user information in the set application program backed up in advance by the user is automatically restored when the user updates the mobile terminal.
Step S203, when a backup reduction selection instruction sent by a server is received, a backup reduction selection interface is presented in a set area of a display screen;
and when the confirmed backup reduction instruction is acquired through the backup reduction selection interface, the confirmed backup reduction instruction is sent to the server, so that the server can send user information in a set application program corresponding to the identification information of the SIM card backed up in advance in the server to the mobile terminal under the control of the confirmed backup reduction instruction.
Optionally, step S203 includes:
as shown in fig. 4, when a backup-restore selection instruction sent by a server is received, a backup-restore selection interface is presented in a setting area of a display screen;
when a backup recovery confirmation instruction triggered by a user is acquired through the backup recovery selection interface, the backup recovery confirmation instruction is sent to the server, so that the server can send user information in a set application program corresponding to the identification information of the SIM card backed up in advance in the server to the mobile terminal under the control of the backup recovery confirmation instruction.
By selecting whether to restore the user information in the set application program or not by the user, the inconvenience that the user information in the set application program of the mobile terminal is restored to other mobile terminals of the user or mobile terminals of other users, even the privacy is leaked, and the efficiency and convenience for the user to manage the user information in the set application program are improved when the mobile phone of the user breaks down or the electric quantity is exhausted and other emergency situations need to insert the SIM card into other mobile terminals of the user or insert the SIM card into the mobile terminals of other users for temporary use.
And step S204, when the user information in the setting application program sent by the server is received, restoring the user information in the setting application program.
The setting of the user information in the application program includes, but is not limited to:
the method comprises the steps of obtaining contact information in a call application program, contact information in an instant messaging application program, communication information in the instant messaging application program, user account information in an application program needing account login, contact information in a mailbox application program, mail information in the mailbox application program, website collection information in a browser application program, picture information in a picture storage application program, frequently-used word information in an input method application program and the like.
Step S205, sending the identification information of the SIM card and the user information of the set application program to the server at a set time interval, so that the server backs up the user information of the set application program as the user information in the set application program corresponding to the identification information of the SIM card.
By automatically backing up the user information of the set application program to the server at set time intervals, the user mobile phone can be effectively prevented from being lost, or the user information of the set application program can be automatically restored under the condition that the mobile phone cannot be started due to serious faults, so that the safety of the user information in the set application program is effectively improved, and the user information in the set application program is prevented from being lost.
Step S206, when the SIM card is detected to be pulled out, the identification information of the SIM card and the user information of the set application program are sent to the server, so that the server can back up the user information of the set application program to the user information in the set application program corresponding to the identification information of the SIM card.
Optionally, step S206 includes:
as shown in fig. 5, when it is detected that the SIM card is pulled out, a backup selection interface is presented in a setting area of the display screen;
when a backup confirmation instruction is acquired through the backup selection interface, the identification information of the SIM card and the user information of the set application program are sent to the server, so that the server can backup the user information of the set application program into the user information in the set application program corresponding to the identification information of the SIM card.
When the SIM card is detected to be pulled out, the user information of the set application program is automatically backed up to the server, or the user information of the set application program is backed up to the server under the control of the user, so that the efficiency of the user for backing up the user information of the set application program in the mobile terminal can be improved, the time for the user to back up the user information of the set application program is effectively saved, the automatic backup of the user information of the set application program is realized, and the user experience of the user information of the user set application program is improved
The method for backing up the data according to the second embodiment of the present invention can effectively improve the efficiency of backing up and restoring the data in the mobile terminal for the user, effectively save the time for backing up and restoring the data in the mobile terminal for the user, realize the automatic backup and restoration of the data in the mobile terminal, and improve the user experience of the backup and restoration of the data in the mobile terminal for the user.
A third embodiment of the present invention. A mobile terminal, as shown in fig. 6, includes the following components:
processor 110, memory 109, and display 201. In some embodiments of the invention, these components may be connected by a bus or other means.
Processor 110 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention. Wherein the memory is used for storing executable instructions of the processor;
a memory 109 for storing the program code and transmitting the program code to the processor 110. Memory 109 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory 109 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); the memory 109 may also comprise a combination of the above-mentioned kinds of memories. The memory 109 and the display screen 201 are connected to the processor 110 via a bus.
The processor 110 is configured to call the program code management code stored in the memory 109, and perform some or all of the steps in any of the first embodiment and the second embodiment of the present invention.
The mobile terminal according to the third embodiment of the present invention can effectively improve the efficiency of the user for backing up and restoring the data in the mobile terminal, effectively save the time for the user to back up and restore the data in the mobile terminal, implement the automatic backup and restoration of the data in the mobile terminal, and improve the user experience of the user for backing up and restoring the data in the mobile terminal.
A fourth embodiment of the present invention is a computer-readable storage medium.
The computer storage media may be RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
The computer readable storage medium stores one or more programs which are executable by one or more processors to perform some or all of the steps of any of the first and second embodiments of the present invention.
The computer-readable storage medium according to the fourth embodiment of the present invention can effectively improve the efficiency of a user in backing up and restoring data in a mobile terminal, effectively save the time for the user to back up and restore data in the mobile terminal, implement automatic backup and restoration of data in the mobile terminal, and improve the user experience of the user in backing up and restoring data in the mobile terminal.
A fifth embodiment of the present invention provides a method for backing up data, which is applied to a server, and as shown in fig. 7, the method includes the following steps:
step S501, when receiving the identification information of the user, the identification information of the SIM card and the identification information of any mobile terminal sent by any mobile terminal, judging whether the SIM card is legal or not based on the preset mapping relation between the identification information of the user and the identification information of the SIM card.
The method for judging whether the SIM card is legal or not based on the mapping relation between the preset identification information of the user and the identification information of the SIM card comprises the following steps:
judging whether the identification information of the user is matched with the identification information of the SIM card or not based on the preset mapping relation between the identification information of the user and the identification information of the SIM card;
if the identification information of the user is judged to be matched with the identification information of the SIM card, judging that the SIM card is legal; otherwise, the SIM card is judged to be illegal.
Identification information of the user, including but not limited to: the account information of the user, the password information set by the user, the graphic information set by the user and the like are used for verifying the identity of the user.
By judging whether the SIM card is legal or not, the situation that other users insert the lost SIM card into other mobile terminals after the mobile terminal is lost can be effectively avoided, and the server sends the user information in the set application program to other mobile terminals, so that the user information restoration safety in the set application program is effectively improved.
Step S502, under the condition that the SIM card is judged to be legal, whether the SIM card is inserted into any mobile terminal for the first time is judged based on the preset mapping relation between the identification information of the SIM card and the identification information of the mobile terminal.
The method for judging whether the SIM card is inserted into any mobile terminal for the first time based on the mapping relation between the preset identification information of the SIM card and the identification information of the mobile terminal comprises the following steps:
judging whether the identification information of the SIM card is matched with the identification information of the mobile terminal or not based on the mapping relation between the preset identification information of the SIM card and the identification information of the mobile terminal;
if the identification information of the SIM card is judged to be matched with the identification information of the mobile terminal, judging that the SIM card is not inserted into any mobile terminal for the first time; otherwise, the SIM card is inserted into any mobile terminal for the first time.
When the SIM card is judged to be inserted into any mobile terminal for the first time, the user information in the set application program corresponding to the identification information of the SIM card backed up in advance in the server is sent to the mobile terminal, so that the user information in the set application program backed up in advance by the user is automatically restored when the user updates the mobile terminal.
Step S503, when it is determined that the SIM card is inserted into any mobile terminal for the first time, sending the user information in the set application program corresponding to the identifier information of the SIM card backed up in advance in the server to any mobile terminal, so that any mobile terminal can restore the user information in the set application program.
The setting of the user information in the application program includes, but is not limited to:
the method comprises the steps of obtaining contact information in a call application program, contact information in an instant messaging application program, communication information in the instant messaging application program, user account information in an application program needing account login, contact information in a mailbox application program, mail information in the mailbox application program, website collection information in a browser application program, picture information in a picture storage application program, frequently-used word information in an input method application program and the like.
The method for backing up data according to the fifth embodiment of the present invention can effectively improve the automatic restoring efficiency of the server for the user backed up data, realize the automatic restoring of the server for the data in the mobile terminal of the user, and improve the user experience of the user for restoring the data in the mobile terminal through the server.
A sixth embodiment of the present invention provides a method for backing up data, which is applied to a server, and as shown in fig. 8, the method includes the following specific steps:
step S601, when receiving the identification information of the user, the identification information of the SIM card and the identification information of any mobile terminal sent by any mobile terminal, determining whether the SIM card is legal based on a preset mapping relationship between the identification information of the user and the identification information of the SIM card.
The method for judging whether the SIM card is legal or not based on the mapping relation between the preset identification information of the user and the identification information of the SIM card comprises the following steps:
judging whether the identification information of the user is matched with the identification information of the SIM card or not based on the preset mapping relation between the identification information of the user and the identification information of the SIM card;
if the identification information of the user is judged to be matched with the identification information of the SIM card, judging that the SIM card is legal; otherwise, the SIM card is judged to be illegal.
By judging whether the SIM card is legal or not, the situation that other users insert the lost SIM card into other mobile terminals after the mobile terminal is lost can be effectively avoided, and the server sends the user information in the set application program to other mobile terminals, so that the user information restoration safety in the set application program is effectively improved.
Step S602, when the SIM card is determined to be legal, determining whether the SIM card is inserted into any mobile terminal for the first time based on a mapping relationship between preset identification information of the SIM card and identification information of the mobile terminal.
The method for judging whether the SIM card is inserted into any mobile terminal for the first time based on the mapping relation between the preset identification information of the SIM card and the identification information of the mobile terminal comprises the following steps:
judging whether the identification information of the SIM card is matched with the identification information of the mobile terminal or not based on the mapping relation between the preset identification information of the SIM card and the identification information of the mobile terminal;
if the identification information of the SIM card is judged to be matched with the identification information of the mobile terminal, judging that the SIM card is not inserted into any mobile terminal for the first time; otherwise, the SIM card is inserted into any mobile terminal for the first time.
When the SIM card is judged to be inserted into any mobile terminal for the first time, the user information in the set application program corresponding to the identification information of the SIM card backed up in advance in the server is sent to the mobile terminal, so that the user information in the set application program backed up in advance by the user is automatically restored when the user updates the mobile terminal.
Step S603, when it is determined that the SIM card is inserted into any mobile terminal for the first time, sending the user information in the set application program corresponding to the identifier information of the SIM card backed up in advance in the server to any mobile terminal, so that any mobile terminal can restore the user information in the set application program.
Optionally, step S603 includes:
under the condition that the SIM card is judged to be inserted into any mobile terminal for the first time, the backup restoration selecting instruction is sent to any mobile terminal so that any mobile terminal can obtain a confirmed backup restoration instruction based on the backup restoration selecting instruction;
when a backup recovery confirmation instruction sent by any mobile terminal is received, sending user information in a set application program corresponding to the identification information of the SIM card backed up in advance in the server to any mobile terminal, so that any mobile terminal can recover the user information in the set application program.
The method and the device can judge whether to send the user information in the set application program backed up in the server to the mobile terminal or not based on the backup and restore confirmation instruction of the user, so that any mobile terminal can restore the user information in the set application program.
Optionally, step S603 includes:
under the condition that the SIM card is judged to be inserted into any one mobile terminal for the first time, judging whether user information in a set application program corresponding to the SIM card which is backed up in advance in a server is sent to other mobile terminals;
if the user information in the set application program corresponding to the SIM card backed up in advance in the server is judged to be sent to other mobile terminals, sending a backup and reduction selection instruction to any mobile terminal so that any mobile terminal can obtain and confirm the backup and reduction instruction based on the backup and reduction selection instruction;
when a backup recovery confirmation instruction sent by any mobile terminal is received, sending user information in a set application program corresponding to the identification information of the SIM card stored and backed up in the server to any mobile terminal;
and if the user information in the set application program corresponding to the SIM card pre-backed up in the server is judged not to be sent to other mobile terminals, sending the user information in the set application program corresponding to the identification information of the SIM card pre-backed up in the server to any mobile terminal so that any mobile terminal can restore the user information in the set application program.
Judging whether a user performs backup restoration on a new mobile terminal through user information in a set application program corresponding to a pre-backed SIM card in a server, if so, automatically performing the restoration, otherwise, prompting the user to perform the backup restoration on the new mobile terminal through the user information in the set application program corresponding to the pre-backed SIM card in the server based on a backup restoration selection instruction sent by the server, and improving the user experience of the user in the automatic restoration of the user information in the corresponding set application program of the user.
Step S604, when receiving the identification information of the SIM card and the user information of the set application program sent by any mobile terminal, backing up the user information of the set application program as the user information in the set application program corresponding to the SIM card.
By backing up and updating the user information in the set application program corresponding to the SIM card in the server, the user information in the set application program can be changed after the user restores the user information in the set application program, and when the mobile terminal is replaced again, the latest user information in the set application program is restored, so that important user information is prevented from being lost in the restoring process.
The method for backing up the data according to the sixth embodiment of the invention can effectively improve the efficiency of the server for automatically backing up and restoring the user data, realize the automatic restoration and backup of the data in the user mobile terminal by the server, and improve the user experience of the user for automatically backing up and restoring the data in the mobile terminal through the server.
A seventh embodiment of the present invention. A server, as shown in fig. 9, includes the following components:
a processor 210 and a memory 209. In some embodiments of the invention, these components may be connected by a bus or other means.
Processor 210 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention. Wherein the memory is used for storing executable instructions of the processor;
a memory 209 for storing program code and transferring the program code to the processor 210. Memory 209 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory 209 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); memory 209 may also comprise a combination of the above types of memory. The memory 209 and the display screen 201 are connected to the processor 210 via a bus.
The processor 210 is configured to call the program code management code stored in the memory 209, and perform some or all of the steps in any of the fifth embodiment and the sixth embodiment of the present invention.
The server according to the seventh embodiment of the present invention can effectively improve the efficiency of the server for automatically backing up and restoring the user data, implement automatic restoration and backup of the data in the user mobile terminal by the server, and improve the user experience of the user for automatically backing up and restoring the data in the mobile terminal by the server.
An eighth embodiment of the present invention is a computer-readable storage medium.
The computer storage media may be RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
The computer readable storage medium stores one or more programs, which are executable by one or more processors, to perform some or all of the steps in any of the fifth and sixth embodiments of the present invention.
The computer-readable storage medium according to the eighth embodiment of the present invention can effectively improve the efficiency of automatically backing up and restoring user data by the server, implement automatic restoration and backup of data in the mobile terminal of the user by the server, and improve the user experience of the user in automatically backing up and restoring data in the mobile terminal through the server.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. A method for backing up data is applied to a mobile terminal, and the method comprises the following steps:
when detecting that a Subscriber Identity Module (SIM) card is inserted, acquiring identification information of a user, identification information of the SIM card and identification information of the mobile terminal;
sending the identification information of the user, the identification information of the SIM card and the identification information of the mobile terminal to a server, so that the server can judge whether the user information in a set application program corresponding to the identification information of the SIM card backed up in advance in the server can be sent to the mobile terminal on the basis of the mapping relation between the preset identification information of the user and the identification information of the SIM card and the mapping relation between the preset identification information of the SIM card and the identification information of the mobile terminal;
when the server sends the user information in the preset application program corresponding to the SIM card backed up in advance to other mobile terminals, the mobile terminals receive a backup reduction selection instruction sent by the server and send a confirmed backup reduction instruction to the server side based on the backup reduction selection instruction; after receiving the backup recovery confirmation instruction, the server side sends user information in a set application program corresponding to the identification information of the SIM card stored and backed up in the server to the mobile terminal;
when the server does not send the user information in the preset application program corresponding to the SIM card backed up in advance to other mobile terminals, the server sends the user information in the preset application program corresponding to the identification information of the SIM card backed up in advance to the mobile terminals;
and when receiving the user information in the set application program sent by the server, automatically restoring the user information in the set application program.
2. The method according to claim 1, wherein before the user information in the setting application program is restored when the user information in the setting application program sent by the server is received,
in a case where the server determines that the user information in the set application corresponding to the identification information of the SIM card backed up in advance in the server can be sent to the mobile terminal, the method further includes:
when a backup reduction selection instruction sent by the server is received, a backup reduction selection interface is presented in a set area of a display screen;
when a confirmed backup reduction instruction is acquired through a backup reduction selection interface, the confirmed backup reduction instruction is sent to the server, so that the server can send user information in a set application program corresponding to the identification information of the SIM card backed up in advance in the server to the mobile terminal under the control of the confirmed backup reduction instruction.
3. The method of claim 1, wherein after sending the identification information of the user, the identification information of the SIM card, and the identification information of the mobile terminal to a server, the method further comprises:
and sending the identification information of the SIM card and the user information of the set application program to the server at a set time interval so that the server can back up the user information of the set application program as the user information in the set application program corresponding to the identification information of the SIM card.
4. The method of claim 1, wherein after sending the identification information of the user, the identification information of the SIM card, and the identification information of the mobile terminal to a server, the method further comprises:
when the SIM card is detected to be pulled out, the identification information of the SIM card and the user information of the set application program are sent to the server, so that the server can back up the user information of the set application program as the user information in the set application program corresponding to the identification information of the SIM card.
5. The method according to claim 4, wherein when it is detected that the SIM card is pulled out, sending the identification information of the SIM card and the user information of the set application program to the server, so that the server can backup the user information of the set application program as the user information in the set application program corresponding to the identification information of the SIM card, comprises:
when the SIM card is detected to be pulled out, a backup selection interface is presented in a set area of a display screen;
when a backup confirmation instruction is acquired through the backup selection interface, the identification information of the SIM card and the user information of the set application program are sent to the server, so that the server can backup the user information of the set application program into the user information in the set application program corresponding to the identification information of the SIM card.
6. A mobile terminal, characterized in that the mobile terminal comprises a processor, a memory and a display screen;
the processor is used for executing the program of the backup data stored in the memory to realize the steps of the method for backing up the data according to any one of claims 1 to 5.
7. A computer readable storage medium, storing one or more programs, which are executable by one or more processors in a mobile terminal to perform the steps of the method for backing up data according to any one of claims 1 to 5.
8. A method for backing up data, which is applied to a server, the method comprises:
when receiving the identification information of a user, the identification information of an SIM card and the identification information of any mobile terminal, which are sent by any mobile terminal, judging whether the SIM card is legal or not based on the preset mapping relation between the identification information of the user and the identification information of the SIM card;
under the condition that the SIM card is judged to be legal, judging whether the SIM card is inserted into any mobile terminal for the first time or not based on the preset mapping relation between the identification information of the SIM card and the identification information of the mobile terminal;
under the condition that the SIM card is judged to be inserted into any one mobile terminal for the first time, judging whether user information in a set application program corresponding to the SIM card which is backed up in advance in the server is sent to other mobile terminals;
if so, sending a backup reduction selection instruction to any mobile terminal, so that any mobile terminal can obtain a confirmed backup reduction instruction based on the backup reduction selection instruction;
when the backup recovery confirmation instruction sent by any mobile terminal is received, sending user information in a set application program corresponding to the identification information of the SIM card stored and backed up in the server to any mobile terminal;
otherwise, sending the user information in the set application program corresponding to the identification information of the SIM card backed up in advance in the server to any mobile terminal;
and the mobile terminal restores the user information in the set application program.
9. The method according to any one of claims 8, wherein the determining whether the SIM card is legal based on the mapping relationship between the preset identification information of the user and the identification information of the SIM card comprises:
judging whether the identification information of the user is matched with the identification information of the SIM card or not based on the preset mapping relation between the identification information of the user and the identification information of the SIM card;
if the identification information of the user is judged to be matched with the identification information of the SIM card, judging that the SIM card is legal; otherwise, the SIM card is judged to be illegal.
10. The method according to any one of claims 8, wherein the determining, based on a mapping relationship between preset identification information of a SIM card and identification information of a mobile terminal, whether the SIM card is inserted into any one of the mobile terminals for the first time includes:
judging whether the identification information of the SIM card is matched with the identification information of the mobile terminal or not based on the mapping relation between the preset identification information of the SIM card and the identification information of the mobile terminal;
if the identification information of the SIM card is judged to be matched with the identification information of the mobile terminal, judging that the SIM card is not inserted into any mobile terminal for the first time; otherwise, the SIM card is inserted into any mobile terminal for the first time.
11. The method according to any one of claims 8 to 10, further comprising:
and when the identification information of the SIM card and the user information of the set application program sent by any mobile terminal are received, backing up the user information of the set application program as the user information in the set application program corresponding to the SIM card.
12. A server, comprising a processor and a memory;
the processor is used for executing the program of the backup data stored in the memory to realize the steps of the method for backing up the data according to any one of claims 8 to 11.
13. A computer readable storage medium, storing one or more programs, the one or more programs being executable by one or more processors in a server to perform the steps of the method of backing up data according to any of claims 8 to 11.
CN201710374851.6A 2017-05-24 2017-05-24 Method and equipment for backing up data and computer readable storage medium Active CN107122266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710374851.6A CN107122266B (en) 2017-05-24 2017-05-24 Method and equipment for backing up data and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710374851.6A CN107122266B (en) 2017-05-24 2017-05-24 Method and equipment for backing up data and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107122266A CN107122266A (en) 2017-09-01
CN107122266B true CN107122266B (en) 2021-01-26

Family

ID=59729528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710374851.6A Active CN107122266B (en) 2017-05-24 2017-05-24 Method and equipment for backing up data and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107122266B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241712A (en) * 2017-06-27 2017-10-10 努比亚技术有限公司 A kind of data transmission method, terminal and computer-readable recording medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1303153A1 (en) * 2001-10-10 2003-04-16 Vodafone Group PLC Apparatus and method for selecting software modules in a mobile terminal
US6657538B1 (en) * 1997-11-07 2003-12-02 Swisscom Mobile Ag Method, system and devices for authenticating persons
CN102099810A (en) * 2008-05-16 2011-06-15 微软公司 Mobile device assisted secure computer network communications
CN106060797A (en) * 2016-05-30 2016-10-26 广东欧珀移动通信有限公司 SIM card-based information synchronization method, device, server and system
CN106375368A (en) * 2016-08-16 2017-02-01 广东欧珀移动通信有限公司 Data recovery method and device, mobile terminal and SIM (Subscriber Identification Module) card
CN106528335A (en) * 2016-10-25 2017-03-22 广东欧珀移动通信有限公司 Data backup method and device and terminal
CN106569914A (en) * 2016-10-27 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Data backup method, data restoration method and systems

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6657538B1 (en) * 1997-11-07 2003-12-02 Swisscom Mobile Ag Method, system and devices for authenticating persons
EP1303153A1 (en) * 2001-10-10 2003-04-16 Vodafone Group PLC Apparatus and method for selecting software modules in a mobile terminal
CN102099810A (en) * 2008-05-16 2011-06-15 微软公司 Mobile device assisted secure computer network communications
CN106060797A (en) * 2016-05-30 2016-10-26 广东欧珀移动通信有限公司 SIM card-based information synchronization method, device, server and system
CN106375368A (en) * 2016-08-16 2017-02-01 广东欧珀移动通信有限公司 Data recovery method and device, mobile terminal and SIM (Subscriber Identification Module) card
CN106528335A (en) * 2016-10-25 2017-03-22 广东欧珀移动通信有限公司 Data backup method and device and terminal
CN106569914A (en) * 2016-10-27 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Data backup method, data restoration method and systems

Also Published As

Publication number Publication date
CN107122266A (en) 2017-09-01

Similar Documents

Publication Publication Date Title
CN106506820B (en) Backup method and device for mobile terminal data
CN108135033B (en) Bluetooth connection method and mobile terminal
CN110308839B (en) File management method and terminal equipment
US20220046502A1 (en) Handover method and terminal
CN110308834B (en) Setting method of application icon display mode and terminal
CN108121681B (en) Hot plug implementation method, terminal and storage medium
CN111132128B (en) Account control method and device
CN109766119B (en) Recovery partition upgrade method, terminal and computer readable storage medium
KR20220055490A (en) Radio capability ID transmission method, terminal device and network node
CN107786739B (en) Information acquisition method and mobile terminal
CN107402710B (en) Privacy information protection method, mobile terminal and computer readable storage medium
CN106484563B (en) Data migration method and terminal equipment
CN111562959A (en) Icon management method and electronic equipment
CN110825474A (en) Interface display method and device and electronic equipment
CN107872367B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107832191B (en) Black screen detection method, mobile terminal and computer readable storage medium
CN107770449B (en) Continuous shooting method, electronic device and storage medium
CN107734477B (en) Call forwarding method and mobile terminal
CN107835297B (en) Information updating method, mobile terminal and computer readable storage medium
CN110413330B (en) Face unlocking initialization method, equipment and computer readable storage medium
CN107122266B (en) Method and equipment for backing up data and computer readable storage medium
CN109922209B (en) Photo management method and terminal equipment
CN110187934B (en) Application control method, terminal and computer readable storage medium
CN109684132B (en) Data backup method of mobile terminal, mobile terminal and storage medium
CN108228357B (en) Memory cleaning method and mobile terminal

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
GR01 Patent grant
GR01 Patent grant