CN107102913B - Data back up method, device and computer equipment - Google Patents

Data back up method, device and computer equipment Download PDF

Info

Publication number
CN107102913B
CN107102913B CN201710213991.5A CN201710213991A CN107102913B CN 107102913 B CN107102913 B CN 107102913B CN 201710213991 A CN201710213991 A CN 201710213991A CN 107102913 B CN107102913 B CN 107102913B
Authority
CN
China
Prior art keywords
application program
data
program identification
backed
default application
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
CN201710213991.5A
Other languages
Chinese (zh)
Other versions
CN107102913A (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.)
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 CN201710213991.5A priority Critical patent/CN107102913B/en
Publication of CN107102913A publication Critical patent/CN107102913A/en
Application granted granted Critical
Publication of CN107102913B publication Critical patent/CN107102913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Abstract

The present invention relates to a kind of data back up method, device and computer equipments.It include application program identification in the data backup command the described method includes: receiving the data backup command that user terminal is sent;The cipher mode corresponding with the default application program identification that there is default application program identification in the application program identification if detecting, data to be backed up are obtained according to the default application program identification, and obtain user terminal transmission;And the corresponding data to be backed up of the default application program identification are encrypted according to the cipher mode, and encrypted data to be backed up are backed up.Above-mentioned data back up method, device and computer equipment can prevent data to be backed up exposure in backup procedure, improve the safety of data.

Description

Data back up method, device and computer equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of data back up method, device and computer equipment.
Background technique
With widely available, the clothing, food, lodging and transportion -- basic necessities of life knot of intelligent terminal and user of the intelligent terminals such as smart phone, tablet computer Close more and more closer, so that the life of user also increasingly be unable to do without intelligent terminal.User is every time using intelligent terminal When, intelligent terminal can all generate a large amount of data, these data may be that the application program in intelligent terminal caches automatically, It is also likely to be that user downloads or saves manually.
The memory space of intelligent terminal is often limited, for the effective operating for guaranteeing intelligent terminal, it usually needs periodically Go the data stored in cleaning intelligent terminal.Meanwhile the loss of some significant datas, user can carry out data standby in order to prevent Part.However, often existing some than more sensitive data in data, it is easy in the backup procedure of data, causes in this way The leakage of these sensitive datas.
Summary of the invention
The embodiment of the present invention provides a kind of data back up method, device and computer equipment, and the safety of data can be improved Property.
A kind of data back up method, comprising:
The data backup command that user terminal is sent is received, includes application program identification in the data backup command;
There is default application program identification if detecting in the application program identification, according to the default application program Mark obtains data to be backed up, and the cipher mode corresponding with the default application program identification for obtaining user terminal transmission; And
The corresponding data to be backed up of the default application program identification are encrypted according to the cipher mode, and will plus Data to be backed up after close are backed up.
A kind of data backup device, comprising:
Command reception module is wrapped in the data backup command for receiving the data backup command of user terminal transmission Containing application program identification;
Data acquisition module, if there is default application program identification, root for detecting in the application program identification Data to be backed up are obtained according to the default application program identification, and obtaining user terminal transmission with the default application program mark Know corresponding cipher mode;
Data backup module, for according to the cipher mode to the corresponding number to be backed up of the default application program identification According to being encrypted, and encrypted data to be backed up are backed up.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor Computer program, the processor perform the steps of when executing described program
The data backup command that user terminal is sent is received, includes application program identification in the data backup command;
There is default application program identification if detecting in the application program identification, according to the default application program Mark obtains data to be backed up, and the cipher mode corresponding with the default application program identification for obtaining user terminal transmission; And
The corresponding data to be backed up of the default application program identification are encrypted according to the cipher mode, and will plus Data to be backed up after close are backed up.
Above-mentioned data back up method, device and computer equipment obtain data to be backed up according to application program identification, and will Back-up processing is carried out again after the default corresponding data encryption of application program identification.Prevent data to be backed up sudden and violent in backup procedure Dew, improves the safety of data.
Detailed description of the invention
Fig. 1 is the applied environment figure of data back up method in one embodiment;
Fig. 2 is the flow chart of data back up method in one embodiment;
Fig. 3 is the flow chart of data back up method in another embodiment;
Fig. 4 is the terminal interface figure that data backup command is arranged in one embodiment;
Fig. 5 is the terminal interface figure that cipher mode is arranged in one embodiment;
Fig. 6 is the structural schematic diagram of data backup device in one embodiment;
Fig. 7 is the structural schematic diagram of data backup device in another embodiment;
Fig. 8 is the block diagram of the part-structure of mobile phone relevant to computer equipment provided in an embodiment of the present invention;
Fig. 9 is the schematic diagram of internal structure of server in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the applied environment figure of data back up method in one embodiment.As shown in Figure 1, the applied environment figure includes User terminal 102 and server 104.User terminal 102 can be used for receiving the data backup command of user terminal transmission, and will Data backup command is sent to server 104.Server 104 exists default using journey in detecting the application program identification When sequence identifies, data to be backed up are obtained according to the default application program identification, and obtain the transmission of user terminal 102 with it is described The default corresponding cipher mode of application program identification.Server 104 is corresponding to default application program identification according to the cipher mode Data to be backed up encrypted, and encrypted data to be backed up are backed up.Wherein, user terminal 102 is in meter Calculation machine network outermost is mainly used for inputting user information and exports the electronic equipment of processing result, such as can be individual Computer, mobile terminal, personal digital assistant, wearable electronic etc..Server 104 is for responding service request, simultaneously The equipment of the service of calculating is provided, such as can be one or multiple stage computers.It is understood that in other embodiments, The application environment of data back up method can only include user terminal 102, can also only include server 104.
Fig. 2 is the flow chart of data back up method in one embodiment.As shown in Fig. 2, the data back up method includes step Rapid S202 to step S206.Wherein:
Step S202 receives the data backup command that user terminal is sent, and includes application program mark in data backup command Know.
In embodiment provided by the invention, data backup, which refers to, there is operation error for anti-locking system or the system failure is led Loss of data is caused, and all or part of data acquisition system is copied into other storage mediums from the hard disk or array of applied host machine Process.
Data backup command is the order for log-on data backup process.Data backup command can be touch control operation, The pressing operation of physical button, voice-controlled operations or to trigger actions such as the shaking operations of mobile terminal.Touch control operation has touching Touch clicking operation, touch long press operation, touch slide, multi-point touch operation etc., wherein it is more than pre- for touching long press operation to be If the touch pressing operation of duration.
Application program refers to the software that certain application purpose for user is write, and is a kind of a certain or multinomial specific to complete The computer program of work can be interacted with user, and have visual user interface.Application program identification refers to difference The unique identification of different application, such as application program identification can be application name, one in application code Kind or two kinds.
, there is default application program identification if detecting in application program identification in step S204, apply journey according to default Sequence mark obtains data to be backed up, and obtains the cipher mode corresponding with default application program identification of user terminal transmission.
In embodiment provided by the invention, default application program identification refers to that system or user are pre-set using journey Sequence mark, for identifying the application program for needing that related data is encrypted.Such as it needs data than more sensitive Application program is encrypted, then corresponding application program identification is set to default application program identification.
In other embodiments provided by the invention, default application program identification can be according to application program priority into Row setting.Application program priority refers to user or the pre-set priority handled application program of system. It is understood that default application program identification can refer to that application program priority is greater than the application program institute of preset priority Corresponding application program identification.
After data to be backed up refer to that the data for needing to carry out back-up processing, user terminal initiate data backup command, pass through Application program identification in data backup command is in the address data memory for searching application program, and according to the address data memory Obtain the relevant data of application program.
Specifically, user can generate various data, including installation during installing and using application program The data etc. cached when data, the data downloaded by application program of user and the user that application program generates are using application program Deng.For example, the relevant data of application program may include the data of the forms such as picture, video, text, audio.
In one embodiment, encryption, which refers to, is handled the data for being originally plaintext by certain algorithm, is become Unreadable code.Cipher mode refers to that the mode encrypted to data, such as cipher mode can be using text password The modes such as encryption, graphical passwords encryption, encrypting fingerprint, iris encryption.Cipher mode, which can be, is arranged text password to data, right In encrypted data, user, which needs to input password, can just be checked.
It specifically, can be aobvious in user terminal when there is default application program identification in detecting application program identification Show the prompting frame of default application program identification and the cipher mode for user's selection, user can be directed to each in the prompting frame A application program identification selects corresponding cipher mode.
In other embodiments provided by the invention, it can also be and number to be backed up is obtained according to application program identification first According to, then detect with the presence or absence of default application program identification in application program identification, if so, obtain that user terminal sends with it is pre- If the corresponding cipher mode of application program identification.
Step S206 is encrypted according to cipher mode data to be backed up corresponding to default application program identification, and Encrypted data to be backed up are backed up.
In embodiment provided by the invention, data to be backed up corresponding to default application program identification are carried out at encryption Reason, and encrypted data to be backed up are backed up.Data after backup can be stored in local storage space, can also To store beyond the clouds.
In other embodiments provided by the invention, which can be receives what user terminal was sent first Data backup command, the then default application program identification in the corresponding application program of detection data backup instruction, and obtain pre- If the corresponding cipher mode of application program identification.Finally successively obtained according to the application program identification in data backup command to standby Part data are simultaneously backed up, and are again preset after application program encrypts this when detecting default application program and are carried out at backup again Reason.
Above-mentioned data back up method obtains data to be backed up according to application program identification, and by default application program identification Back-up processing is carried out after corresponding data encryption again.Data to be backed up exposure in backup procedure is prevented, the peace of data is improved Quan Xing.
Fig. 3 is the flow chart of data back up method in another embodiment.As shown in figure 3, the data back up method includes Step S302 to step S306.Wherein:
Step S302 receives the data backup command that user terminal is sent, and includes application program mark in data backup command Know.
In embodiment provided by the invention, backed up for the relevant data of application program, user can pass through use The interface selection of family terminal needs to carry out the application program of data backup, then sends data backup by the interface of user terminal Instruction.Wherein, application program identification is contained in data backup command, the time that instruction sends the mark of terminal, instruction is sent Deng.
Fig. 4 is the terminal interface figure that data backup command is arranged in one embodiment.As shown in figure 4, user can be at end The application program that selection needs to back up in the interface of end after choosing application program, " starts to back up " key by click and initiates number According to the instruction of backup.
, there is default application program identification if detecting in application program identification in step S304, apply journey according to default Sequence mark obtains data to be backed up, and obtains the cipher mode corresponding with default application program identification of user terminal transmission.
In embodiment provided by the invention, different cipher modes can be set according to different application programs, may be used also Different cipher modes is arranged to the relevant different types of data of application program.Specifically, if detecting described using journey There is default application program identification in sequence mark, then data to be backed up is obtained according to the default application program identification;According to institute Application program identification is stated, the cipher mode corresponding with the data type of the data to be backed up that user terminal is sent is obtained.
Wherein, data type can be according to the format of data to be backed up, size, time etc. and classify, such as to Backup Data carries out the data that classification can be divided into the types such as picture, video, audio, text, file according to format, then can be with needle Corresponding cipher mode is arranged to every kind of different types of data.
In one embodiment, there is default application program identification, basis if detecting in the application program identification The default application program identification obtains data to be backed up;According to the application program identification, obtain that user terminal sends with The corresponding cipher mode of store path of the data to be backed up.Wherein, store path refers to the storage address of data, can be right Different cipher modes is arranged in the data of different store paths.
For example, application program is during installation and use, it will usually which generation system file, downloading file are gentle Deposit file.Wherein, what is stored in system file is data necessary to application program is run, and is essential in application program Data.What is stored in downloading file is the data of user's downloading, is important data for a user.In data cached The data that be user when using the application program data of temporary preservation automatically of storage, usually user are less paid close attention to.Cause The higher cipher mode of security level can be arranged in the data of downloading file by this, lower to data cached setting security level Cipher mode or be not provided with cipher mode.For example, the data in downloading file are arranged with the text password of six digits, to slow The text password of deposit data setting four figures.
Fig. 5 is the terminal interface figure that cipher mode is arranged in one embodiment.As shown in figure 5, user can be directed to it is each Cipher mode is arranged in a default application program, after the completion of cipher mode selection, clicks " determination " button and is configured.
Step S306 obtains the default corresponding application program priority of application program identification.
In embodiment provided by the invention, application program priority is that user or system are pre-set to application program The priority handled.Specifically, each application program is provided with corresponding application program priority, according to using journey Sequence mark obtains corresponding application program priority.Application program priority is higher, illustrates the relevant data of the application program It is more sensitive.
For example, application program priority can be set according to Application Type.Wherein, Application Type is The function of being realized according to application program may include financing class application program, social category application program, shopping come what is classified Class application program, game class application program etc..Financing class application program would generally be related to the data of many sensitivities, and game class is answered It is less with program sensitive data, therefore relatively high priority, game class application program can be arranged in financing class application program Relatively low priority can be set.
Step S308, if the default corresponding application program priority of application program identification is greater than preset priority, basis Cipher mode data to be backed up corresponding to default application program identification encrypt, and encrypted data to be backed up are carried out Backup.
In one embodiment, preset priority refers to the threshold value of pre-set priority, when application program priority When greater than preset priority, then it is assumed that the relevant sensitive data of the application program is relatively more;It is opposite then think the application program phase The sensitive data of pass is fewer.
Specifically, if the default corresponding application program priority of application program identification is greater than preset priority, it is believed that this is answered It is relatively more with the relevant sensitive data of program, then it is corresponding to default application program identification to be backed up according to the cipher mode of acquisition Data are encrypted, and encrypted data to be backed up are backed up.
It is understood that encrypted data to be backed up are carried out back-up processing, data of the user after checking backup When, needing to input corresponding manner of decryption can just be checked.For example, inputting corresponding password checks the data after backup.
Above-mentioned data back up method obtains data to be backed up according to application program identification, first judges that application program identification is It is no for default application program identification, then judge the default corresponding application program priority of application program identification whether be greater than preset it is excellent It first weighs, is backed up again after being encrypted to the corresponding data to be backed up of application program that two conditions all meet.It prevents to standby The exposure in backup procedure of part data, improves the safety of data.
Fig. 6 is the structural schematic diagram of data backup device in one embodiment.The data backup device includes command reception Module 602, data acquisition module 604 and data backup module 606, in which:
Command reception module 602, for receiving the data backup command of user terminal transmission, in the data backup command Include application program identification.
Data acquisition module 604, if there is default application program identification for detecting in the application program identification, Data to be backed up are obtained according to the default application program identification, and obtaining user terminal transmission with the default application program Identify corresponding cipher mode.
Data backup module 606, for corresponding to standby to the default application program identification according to the cipher mode Part data are encrypted, and encrypted data to be backed up are backed up.
Above-mentioned data backup device obtains data to be backed up according to application program identification, and by default application program identification Back-up processing is carried out after corresponding data encryption again.Data to be backed up exposure in backup procedure is prevented, the peace of data is improved Quan Xing.
Fig. 7 is the structural schematic diagram of data backup device in another embodiment.The data backup device includes that instruction connects It receives module 702, data acquisition module 704, priority and obtains module 706 and data backup module 708, in which:
Command reception module 702, for receiving the data backup command of user terminal transmission, in the data backup command Include application program identification.
Data acquisition module 704, if there is default application program identification for detecting in the application program identification, Data to be backed up are obtained according to the default application program identification, and obtaining user terminal transmission with the default application program Identify corresponding cipher mode.
Priority obtains module 706, for obtaining the corresponding application program priority of the default application program identification.
Data backup module 708, for corresponding to standby to the default application program identification according to the cipher mode Part data are encrypted, and encrypted data to be backed up are backed up.
In embodiment provided by the invention, if data acquisition module 704 is also used to detect the application program identification It is middle to there is default application program identification, then data to be backed up are obtained according to the default application program identification;According to the application Program identification obtains the cipher mode corresponding with the data type of the data to be backed up that user terminal is sent.
In one embodiment, exist in advance if data acquisition module 704 is also used to detect in the application program identification If application program identification, then data to be backed up are obtained according to the default application program identification;According to the application program identification, Obtain the cipher mode corresponding with the store path of the data to be backed up that user terminal is sent.
In one embodiment, if data backup module 708 is also used to the corresponding application of the default application program identification Process priority power is greater than preset priority, then corresponding to be backed up to the default application program identification according to the cipher mode Data are encrypted, and encrypted data to be backed up are backed up.
It is understood that in one embodiment, default application program identification in above-mentioned data backup device can be with Refer to that application program priority is greater than application program identification corresponding to the application program of preset priority.
The division of modules is only used for for example, in other embodiments in above-mentioned data backup device, can be by number It is divided into different modules, as required according to back-up device to complete all or part of function of above-mentioned data backup device.
A kind of computer readable storage medium, is stored thereon with computer program, realization when which is executed by processor Following steps:
The data backup command that user terminal is sent is received, includes application program identification in the data backup command;
There is default application program identification if detecting in the application program identification, according to the default application program Mark obtains data to be backed up, and the cipher mode corresponding with the default application program identification for obtaining user terminal transmission; And
The corresponding data to be backed up of the default application program identification are encrypted according to the cipher mode, and will plus Data to be backed up after close are backed up.
A kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor Computer program (instruction), the processor perform the steps of when executing described program
The data backup command that user terminal is sent is received, includes application program identification in the data backup command;
There is default application program identification if detecting in the application program identification, according to the default application program Mark obtains data to be backed up, and the cipher mode corresponding with the default application program identification for obtaining user terminal transmission; And
The corresponding data to be backed up of the default application program identification are encrypted according to the cipher mode, and will plus Data to be backed up after close are backed up.
The embodiment of the invention also provides a kind of computer equipments.As shown in figure 8, for ease of description, illustrate only with The relevant part of the embodiment of the present invention, it is disclosed by specific technical details, please refer to present invention method part.The calculating Machine equipment can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), Any terminal devices such as POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, wearable device are with computer equipment For mobile phone:
Fig. 8 is the block diagram of the part-structure of mobile phone relevant to computer equipment provided in an embodiment of the present invention.With reference to figure 8, mobile phone include: radio frequency (Radio Frequency, RF) circuit 810, memory 820, input unit 830, display unit 840, Sensor 850, voicefrequency circuit 860, Wireless Fidelity (wireless fidelity, WiFi) module 870, processor 880 and The components such as power supply 890.It will be understood by those skilled in the art that handset structure shown in Fig. 8 does not constitute the restriction to mobile phone, it can To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
Wherein, RF circuit 810 can be used for receiving and sending messages or communication process in, signal sends and receivees, can be by base station After downlink information receives, handled to processor 880;The data of uplink can also be sent to base station.In general, RF circuit include but Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 810 can also be communicated with network and other equipment by wireless communication.Above-mentioned channel radio Any communication standard or agreement, including but not limited to global system for mobile communications (Global System of can be used in letter Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email, Short message service (Short Messaging Service, SMS) etc..
Memory 820 can be used for storing software program and module, and processor 880 is stored in memory 820 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 820 can mainly include Program storage area and data storage area, wherein program storage area can application journey needed for storage program area, at least one function Sequence (such as application program, application program of image player function of sound-playing function etc.) etc.;Data storage area can store root Created data (such as audio data, address list etc.) etc. are used according to mobile phone.In addition, memory 820 may include high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other volatile solid-state parts.
Input unit 830 can be used for receiving the number or character information of input, and generate the user setting with mobile phone 800 And the related key signals input of function control.Specifically, input unit 830 may include touch panel 831 and other inputs Equipment 832.Touch panel 831, alternatively referred to as touch screen collect touch operation (such as the user of user on it or nearby Use the operation of any suitable object or attachment such as finger, stylus on touch panel 831 or near touch panel 831), And corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 831 may include touching inspection Survey two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation Bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will It is converted into contact coordinate, then gives processor 880, and can receive order that processor 880 is sent and be executed.In addition, Touch panel 831 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface Plate 831, input unit 830 can also include other input equipments 832.Specifically, other input equipments 832 may include but not It is limited to one of physical keyboard, function key (such as volume control button, switch key etc.) etc. or a variety of.
Display unit 840 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 840 may include display panel 841.In one embodiment, liquid crystal display (Liquid can be used Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 841.In one embodiment, touch panel 831 can cover display panel 841, when touch panel 831 is examined After measuring touch operation on it or nearby, processor 880 is sent to determine the type of touch event, is followed by subsequent processing device 880 provide corresponding visual output according to the type of touch event on display panel 841.Although in fig. 8, touch panel 831 and display panel 841 are the input and input function for realizing mobile phone as two independent components, but in certain implementations In example, can be integrated by touch panel 831 and display panel 841 and that realizes mobile phone output and input function.
Mobile phone 800 may also include at least one sensor 850, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 841, and proximity sensor can close display panel when mobile phone is moved in one's ear 841 and/or backlight.Motion sensor may include acceleration transducer, can detect by acceleration transducer and adds in all directions The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, humidity Other sensors such as meter, thermometer, infrared sensor etc..
Voicefrequency circuit 860, loudspeaker 861 and microphone 862 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 861, be converted to sound by loudspeaker 861 by road 860 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 862, is turned after being received by voicefrequency circuit 860 It is changed to audio data, then by after the processing of audio data output processor 880, another mobile phone can be sent to through RF circuit 610, or Person exports audio data to memory 820 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 870 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 8 is shown WiFi module 870, but it is understood that, and it is not belonging to must be configured into for mobile phone 800, it can according to need and omit.
Processor 880 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 820, and call and be stored in memory 820 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.In one embodiment, it handles Device 880 may include one or more processing units.In one embodiment, processor 880 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc.;Modulation /demodulation processing Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 880.
Mobile phone 800 further includes the power supply 890 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 880 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.
In one embodiment, mobile phone 800 can also include camera, bluetooth module etc..
In embodiments of the present invention, processor 880 included by the mobile terminal is also with the following functions:
The data backup command that user terminal is sent is received, includes application program identification in the data backup command;
There is default application program identification if detecting in the application program identification, according to the default application program Mark obtains data to be backed up, and the cipher mode corresponding with the default application program identification for obtaining user terminal transmission; And
The corresponding data to be backed up of the default application program identification are encrypted according to the cipher mode, and will plus Data to be backed up after close are backed up.
In other embodiments provided by the invention, if there is default application in described detect in the application program identification Program identification then obtains data to be backed up according to the default application program identification, and obtain user terminal transmission with it is described Presetting the corresponding cipher mode of application program identification includes:
There is default application program identification if detecting in the application program identification, according to the default application program Mark obtains data to be backed up;
According to the application program identification, the corresponding with the data type of the data to be backed up of user terminal transmission is obtained Cipher mode.
It is understood that in one embodiment, if there is default answer in described detect in the application program identification With program identification, then data to be backed up are obtained according to the default application program identification, and obtain user terminal transmission with institute Stating the corresponding cipher mode of default application program identification includes:
There is default application program identification if detecting in the application program identification, according to the default application program Mark obtains data to be backed up;
According to the application program identification, the corresponding with the store path of the data to be backed up of user terminal transmission is obtained Cipher mode.
Wherein, the default application program identification refers to that application program priority is greater than the application program institute of preset priority Corresponding application program identification.
Further, processor 880 included by mobile terminal is also with the following functions:
Obtain the corresponding application program priority of the default application program identification;
It is described that the corresponding data to be backed up of the default application program identification are encrypted according to the cipher mode, and Encrypted data to be backed up, which are carried out backup, includes:
If the corresponding application program priority of the default application program identification is greater than preset priority, according to described plus Close mode encrypts the corresponding data to be backed up of the default application program identification, and by encrypted data to be backed up into Row backup.
Fig. 9 is the schematic diagram of internal structure of server in one embodiment.As shown in figure 9, the server includes passing through to be Processor, non-volatile memory medium, built-in storage and the network interface of bus of uniting connection.Wherein, the server is non-volatile Property storage medium is stored with operating system, database and data backup device, application program identification and application program in database Data to be backed up are identified, the data backup device is for realizing a kind of data back up method for being suitable for server.The server Processor for provide calculate and control ability, support the operation of entire server.The built-in storage of the server is non-easy The operation of data backup device in the property lost storage medium provides environment, can store computer-readable finger in the built-in storage It enables, when which is executed by the processor, the processor may make to execute a kind of data back up method.It should The network interface of server is communicated for passing through network connection with external terminal accordingly, for example the data that reception terminal is sent are standby Part instruction and cipher mode etc..Server can with the server cluster of independent server either multiple servers composition come It realizes.It will be understood by those skilled in the art that structure shown in Fig. 9, only part-structure relevant to application scheme Block diagram, do not constitute the restriction for the server being applied thereon to application scheme, specific server may include ratio More or fewer components as shown in the figure perhaps combine certain components or with different component layouts.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage is situated between Matter can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) etc..
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (9)

1. a kind of data back up method characterized by comprising
The data backup command that user terminal is sent is received, includes application program identification in the data backup command;
There is default application program identification if detecting in the application program identification, according to the default application program identification Data to be backed up are obtained, and obtain the cipher mode corresponding with the default application program identification of user terminal transmission, it is described Default application program identification is for marking the application program for needing that related data is encrypted;
Obtain the corresponding application program priority of the default application program identification, wherein the application program priority is root According to Application Type setting;And
If the corresponding application program priority of the default application program identification is greater than preset priority, according to the encryption side Formula encrypts the corresponding data to be backed up of the default application program identification, and encrypted data to be backed up is carried out standby Part.
2. data back up method according to claim 1, which is characterized in that if described detect the application program identification It is middle to there is default application program identification, then data to be backed up are obtained according to the default application program identification, and obtain user's end The cipher mode corresponding with the default application program identification that end is sent includes:
There is default application program identification if detecting in the application program identification, according to the default application program identification Obtain data to be backed up;
According to the application program identification, obtains the corresponding with the data type of the data to be backed up of user terminal transmission and add Close mode.
3. data back up method according to claim 1, which is characterized in that if described detect the application program identification It is middle to there is default application program identification, then data to be backed up are obtained according to the default application program identification, and obtain user's end The cipher mode corresponding with the default application program identification that end is sent includes:
There is default application program identification if detecting in the application program identification, according to the default application program identification Obtain data to be backed up;
According to the application program identification, obtains the corresponding with the store path of the data to be backed up of user terminal transmission and add Close mode.
4. data back up method according to claim 1, which is characterized in that the default application program identification refers to application Process priority power is greater than application program identification corresponding to the application program of preset priority.
5. a kind of data backup device characterized by comprising
Command reception module includes to answer in the data backup command for receiving the data backup command of user terminal transmission Use program identification;
Data acquisition module, if there is default application program identification for detecting in the application program identification, according to institute It states default application program identification and obtains data to be backed up, and is obtaining user terminal transmission with the default application program identification pair The cipher mode answered, the default application program identification is for marking the application journey for needing for related data to be encrypted Sequence;
Priority obtains module, for obtaining the corresponding application program priority of the default application program identification;
Data backup module is preset preferentially if being used for the corresponding application program priority of the default application program identification and being greater than Power then encrypts the corresponding data to be backed up of the default application program identification according to the cipher mode, and will encryption Data to be backed up afterwards are backed up.
6. data backup device according to claim 5, which is characterized in that if the data acquisition module is also used to detect There is default application program identification into the application program identification, is then obtained according to the default application program identification to be backed up Data;According to the application program identification, the corresponding with the data type of the data to be backed up of user terminal transmission is obtained Cipher mode.
7. data backup device according to claim 5, which is characterized in that if the data acquisition module is also used to detect There is default application program identification into the application program identification, is then obtained according to the default application program identification to be backed up Data;According to the application program identification, the corresponding with the store path of the data to be backed up of user terminal transmission is obtained Cipher mode.
8. data backup device according to claim 5, which is characterized in that the default application program identification refers to application Process priority power is greater than application program identification corresponding to the application program of preset priority.
9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, the processor perform the steps of when executing described program
The data backup command that user terminal is sent is received, includes application program identification in the data backup command;
There is default application program identification if detecting in the application program identification, according to the default application program identification Data to be backed up are obtained, and obtain the cipher mode corresponding with the default application program identification of user terminal transmission, it is described Default application program identification is for marking the application program for needing that related data is encrypted;
Obtain the corresponding application program priority of the default application program identification, wherein the application program priority is root According to Application Type setting;And
If the corresponding application program priority of the default application program identification is greater than preset priority, according to the encryption side Formula encrypts the corresponding data to be backed up of the default application program identification, and encrypted data to be backed up is carried out standby Part.
CN201710213991.5A 2017-04-01 2017-04-01 Data back up method, device and computer equipment Active CN107102913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710213991.5A CN107102913B (en) 2017-04-01 2017-04-01 Data back up method, device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710213991.5A CN107102913B (en) 2017-04-01 2017-04-01 Data back up method, device and computer equipment

Publications (2)

Publication Number Publication Date
CN107102913A CN107102913A (en) 2017-08-29
CN107102913B true CN107102913B (en) 2019-02-22

Family

ID=59675451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710213991.5A Active CN107102913B (en) 2017-04-01 2017-04-01 Data back up method, device and computer equipment

Country Status (1)

Country Link
CN (1) CN107102913B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609413A (en) * 2017-09-20 2018-01-19 深圳怡化电脑股份有限公司 A kind of processing method, device and the cash box of cash box data
CN108415794A (en) * 2018-01-30 2018-08-17 河南职业技术学院 File backup method and file backup device
CN108600164A (en) * 2018-03-14 2018-09-28 维沃移动通信有限公司 A kind of method and terminal of data processing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915263A (en) * 2012-10-19 2013-02-06 北京小米科技有限责任公司 Data backup method, system and equipment
CN104133737A (en) * 2014-06-27 2014-11-05 小米科技有限责任公司 Data backup method, backup data recovery method, data backup device and backup data recovery device
CN104915266A (en) * 2015-06-15 2015-09-16 上海海漾软件技术有限公司 Application program protection method and application program protection device
CN105988897A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Recovery method and device of backup data of mobile terminal
CN106169052A (en) * 2016-07-19 2016-11-30 北京海泰方圆科技股份有限公司 The processing method of application program, device and mobile terminal
CN106528337A (en) * 2016-10-25 2017-03-22 广东欧珀移动通信有限公司 Backup method, device and system of data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915263A (en) * 2012-10-19 2013-02-06 北京小米科技有限责任公司 Data backup method, system and equipment
CN104133737A (en) * 2014-06-27 2014-11-05 小米科技有限责任公司 Data backup method, backup data recovery method, data backup device and backup data recovery device
CN105988897A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Recovery method and device of backup data of mobile terminal
CN104915266A (en) * 2015-06-15 2015-09-16 上海海漾软件技术有限公司 Application program protection method and application program protection device
CN106169052A (en) * 2016-07-19 2016-11-30 北京海泰方圆科技股份有限公司 The processing method of application program, device and mobile terminal
CN106528337A (en) * 2016-10-25 2017-03-22 广东欧珀移动通信有限公司 Backup method, device and system of data

Also Published As

Publication number Publication date
CN107102913A (en) 2017-08-29

Similar Documents

Publication Publication Date Title
CN106126015B (en) A kind of application program launching control method and terminal
US20180234237A1 (en) Key updating method, apparatus, and system
CN104468464B (en) verification method, device and system
CN104618217B (en) Share method, terminal, server and the system of resource
CN104426963B (en) The method and terminal of associated terminal
CN108536783A (en) Data processing method and device, terminal, computer readable storage medium
CN106412311B (en) A kind of data transmission method and terminal device
WO2017211205A1 (en) Method and device for updating whitelist
CN107145794B (en) Data processing method and device and mobile terminal
CN106341809B (en) A kind of data transmission method and equipment
CN105389259B (en) A kind of method, apparatus and system for carrying out Application testing
CN104852885A (en) Method, device and system for verifying verification code
CN112148579B (en) User interface testing method and device
CN108334755A (en) Private space creation method and device, storage medium, electronic equipment
CN106709282B (en) resource file decryption method and device
CN108573169A (en) Nearest task list display methods and device, storage medium, electronic equipment
CN107590397A (en) A kind of method and apparatus for showing embedded webpage
CN107102913B (en) Data back up method, device and computer equipment
CN108632454B (en) Information processing method and device, computer readable storage medium and terminal
CN104573437B (en) Information authentication method, device and terminal
CN106685948A (en) Data processing method, terminal, communication device and data processing system
CN116541865A (en) Password input method, device, equipment and storage medium based on data security
CN104426848B (en) The method and system of log-on webpage application
CN107592409A (en) Application control method and device
CN106484615B (en) The method and apparatus of record log

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
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant