CN109815057A - A kind of data back up method and mobile terminal - Google Patents
A kind of data back up method and mobile terminal Download PDFInfo
- Publication number
- CN109815057A CN109815057A CN201910075721.1A CN201910075721A CN109815057A CN 109815057 A CN109815057 A CN 109815057A CN 201910075721 A CN201910075721 A CN 201910075721A CN 109815057 A CN109815057 A CN 109815057A
- Authority
- CN
- China
- Prior art keywords
- backup
- data
- cloud service
- end message
- mobile terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of data back up method and mobile terminals, comprising: establishes the connection between the target application on mobile terminal and cloud service application;In the case where receiving data backup operation, after applying the backup data information for sending target application to add end message by cloud service, it is uploaded to Cloud Server, so that Cloud Server is stored;In the case where receiving data recovery operation, it is applied by cloud service to Cloud Server and sends the data recovery request including end message, and the backup data information that Cloud Server returns is sent to target application, the present invention utilizes the communication connection between each application process of mobile terminal, it is applied by a cloud service and data backup/recovery of all applications is managed as a whole, the same end message system of mobile terminal is utilized in cloud service application, switch accounts repeatedly are not needed, simplify data backup/recovery operating procedure, improve data backup/recovery efficiency.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of data back up method and mobile terminal.
Background technique
With popularizing for intelligent mobile terminal, the private data of user on mobile terminals is also more and more, in order to guarantee
The safety of data, user have the demand for backing up and restoring data.
In the prior art, the different application being directed in mobile terminal is all respectively stored with corresponding user data, and each
A application can have corresponding using account, and user, using application, and generates user by logon account in use
Data.Backup for user data can answer user data upload to be backed up to this in the case where this is using corresponding account
It is stored with corresponding backup server.When user needs restoring user data, by logging in the account of the application, Xiang Bei
Part server requests restoring user data, and after backup server receives request, it is extensive that user data can be sent to application progress
It is multiple.
But at present in scheme, usually there is multiple and different applications in mobile terminal, each application has independent
System of account needs constantly logon account and switch accounts in the backup/restoration of user data, causes operation excessively numerous
It is trivial.
Summary of the invention
The embodiment of the present invention provides a kind of data back up method and mobile terminal, to solve in the prior art in user data
Backup/restoration when, need constantly logon account and switch accounts, cause to operate excessively cumbersome problem.
In a first aspect, being applied to mobile terminal, this method packet the embodiment of the invention provides a kind of data back up method
It includes:
Establish the connection between the target application on the mobile terminal and cloud service application;
It is standby using the target application is sent by the cloud service in the case where receiving data backup operation
After part data information addition end message, it is uploaded to Cloud Server, so that the Cloud Server is stored;
In the case where receiving data recovery operation, include using to Cloud Server transmission by the cloud service
The data recovery request of the end message, and the backup data information that the Cloud Server returns is sent to the target and is answered
With.
Second aspect, the embodiment of the invention provides a kind of data back up method, are applied to Cloud Server, this method packet
It includes:
Receive backup data information and end message that cloud service application is sent;
The backup data information and corresponding end message are stored in local;
When receiving the data recovery request including the end message that the cloud service application is sent, described in determination
The corresponding backup data information of end message;
The corresponding backup data information of the end message is sent to the cloud service application.
The third aspect, the embodiment of the invention provides a kind of mobile terminal, which includes:
Module is established, the connection between the target application for establishing on the mobile terminal and cloud service application;
Backup module, for being applied the mesh by the cloud service in the case where receiving data backup operation
After the backup data information addition end message that mark application is sent, it is uploaded to Cloud Server, so that the Cloud Server is deposited
Storage;
Recovery module, for being applied to the cloud by the cloud service in the case where receiving data recovery operation
Server sends the data recovery request including the end message, and the backup data information that the Cloud Server is returned is sent out
It send to the target application.
Fourth aspect, the embodiment of the invention provides a kind of Cloud Server, which includes:
Receiving module, the backup data information and end message sent for receiving cloud service application;
Memory module, for the backup data information and corresponding end message to be stored in local;
Determining module, for being asked when the data recovery including the end message for receiving the cloud service application transmission
When asking, the corresponding backup data information of the end message is determined;
Sending module, for the corresponding backup data information of the end message to be sent to the cloud service application.
5th aspect the embodiment of the invention also provides a kind of mobile terminal, including processor, memory and is stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor
It realizes such as the step of data back up method provided by the invention.
6th aspect, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, the instruction in the storage medium
When being executed by the processor of mobile terminal, so that mobile terminal is able to carry out the step such as data back up method provided by the invention
Suddenly.
7th aspect the embodiment of the invention also provides a kind of Cloud Server, including processor, memory and is stored in institute
The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor
It realizes such as the step of data back up method provided by the invention.
Eighth aspect, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, the instruction in the storage medium
When being executed by the processor of Cloud Server, so that Cloud Server is able to carry out the step such as data back up method provided by the invention
Suddenly.
In embodiments of the present invention, mobile terminal can establish the connection between target application and cloud service application;It is connecing
In the case where receiving data backup operation, the backup data information for sending the target application is applied to add eventually by cloud service
After client information, it is uploaded to Cloud Server, so that the Cloud Server is stored;The case where receiving data recovery operation
Under, applied by the cloud service sent to the Cloud Server include the end message data recovery request, and by institute
The backup data information for stating Cloud Server return is sent to the target application, and the present invention utilizes each application process of mobile terminal
Between communication connection, by a cloud service using being managed as a whole to data backup/recovery of all applications, cloud service
Using the same end message system of mobile terminal is utilized, switch accounts repeatedly are not needed, data backup/recovery is simplified
Operating procedure, improve data backup/recovery efficiency.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of data back up method of mobile terminal side provided in an embodiment of the present invention;
Fig. 2 is a kind of system architecture diagram of data back up method provided in an embodiment of the present invention;
Fig. 3 is a kind of step flow chart of data back up method of Cloud Server side provided in an embodiment of the present invention;
Fig. 4 is a kind of interaction figure of data back up method provided in an embodiment of the present invention;
Fig. 5 is a kind of surface chart of data back up method provided in an embodiment of the present invention;
Fig. 6 is a kind of block diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of block diagram of Cloud Server provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
It is fully disclosed to those skilled in the art.
Fig. 1 is a kind of step flow chart of data back up method provided in an embodiment of the present invention, and this method is applied to movement
Terminal, as shown in Figure 1, this method may include:
Step 101, establish the target application on the mobile terminal and cloud service application between connection.
In embodiments of the present invention, each application in mobile terminal can generate user data during use,
The considerations of for data privacy and safety, user has the demand for backing up data, in the case where Missing data,
Restored using the data of backup.
Specifically, cloud service application can use installation cloud service client in the terminal, provide data backup/
Restore service, the process of cloud service application keeps connecting with the Cloud Server being deployed in cloud environment, and Cloud Server has larger
Memory space and high speed data transmission channel, data can be uploaded to Cloud Server and backed up by cloud service application, and
When needing data to restore, the Backup Data that Cloud Server returns is received.
In embodiments of the present invention, referring to Fig. 2, it illustrates a kind of data back up method provided in an embodiment of the present invention
Architecture diagram needs to initially set up to keep the data transmission channel between target application-cloud service application-Cloud Server
Transmission channel between target application and cloud service application, it can pass through interprocess communication (IPC, Interprocess
Communication) interface establishes the connection between target application and cloud service application.
Specifically, interprocess communication refers to propagation or exchange data information, inter-process communication techniques between different processes
It including one group of programming interface, allows user that can coordinate different application processes, makes it in an operating system while running,
And it mutually transmits, exchange information.
Step 102, in the case where receiving data backup operation, applied by the cloud service by the target application
After the backup data information addition end message of transmission, it is uploaded to Cloud Server, so that the Cloud Server is stored.
In this step, it in the case where acquisition for mobile terminal is to data backup command, can be selected in target application
Or backup data information is generated, and backup data information is sent to by Cloud Server application by interprocess communication interface.
Cloud service is applied after the backup data information for receiving target application transmission, needs to stamp backup data information
End message label, to show the source of the backup data information.Specifically, cloud service application process is receiving Backup Data
After information, being not relevant for these data is what file type, what format, but backup data information is bound corresponding end
Client information, and it is uploaded to Cloud Server, end message may include local user information, device identification, the target of mobile terminal
The information such as application package name, wherein local user information can be the unified system of account of mobile terminal, such as iPhone
Apple ID, device identification refer to the exclusive sequence number of every mobile terminal.
Cloud Server receives be bundled with the backup data information of end message after, end message and Backup Data can be believed
The corresponding relationship of breath is stored in cloud service local, achievees the purpose that backup.
Step 103, it in the case where receiving data recovery operation, is applied by the cloud service to the Cloud Server
The data recovery request including the end message is sent, and the backup data information that the Cloud Server returns is sent to institute
State target application.
It in embodiments of the present invention, can be according to data if the user data in mobile terminal has the case where losing
Restore instruction, by cloud service apply to Cloud Server send include end message data recovery request, Cloud Server according to
The end message that data recovery request includes, inquiry and the matched backup data information of the end message in being locally stored, and
Backup data information is returned into cloud service application, the backup data information is passed through into interprocess communication interface by cloud service application
It is sent to target application and carries out data recovery.
Data 1 are backed up in Cloud Server for example, applying using A by cloud service, and to being stored in Cloud Server sheet
The data 1 on ground be bundled with include: account a, equipment Serial Number xx, Apply Names: XXX end message.Therefore work as to apply and be lost in A
When having lost data 1, it can be applied by cloud service to Cloud Server using A and send the data recovery request including end message,
After Cloud Server receives request, by terminal information inquiry to data 1, and data 1 are returned into cloud service application, so that cloud
It is served by for data 1 to be sent to and carries out data recovery using A.
To sum up, a kind of data back up method provided in an embodiment of the present invention, comprising: establish target application and cloud service application
Between connection;In the case where receiving data backup operation, the backup number that target application is sent is applied by cloud service
It is believed that Cloud Server is uploaded to, so that Cloud Server is stored after breath addition end message;Receiving data recovery operation
In the case where, applied by cloud service sent to Cloud Server include end message data recovery request, and by Cloud Server
The backup data information of return is sent to target application, and the present invention utilizes the communication link between each application process of mobile terminal
It connects, by a cloud service using managing as a whole to data backup/recovery of all applications, shifting is utilized in cloud service application
The same end message system of dynamic terminal, does not need switch accounts repeatedly, simplifies data backup/recovery operating procedure,
Improve data backup/recovery efficiency.
Fig. 3 is a kind of step flow chart of data back up method provided in an embodiment of the present invention, and this method takes applied to cloud
Business device, as shown in figure 3, this method may include:
Step 201 receives backup data information and end message that cloud service application is sent.
In embodiments of the present invention, the target application of mobile terminal can pass through cloud service application when carrying out data backup
The backup data information for being bundled with end message is sent to Cloud Server.
The backup data information and corresponding end message are stored in local by step 202.
In this step, Cloud Server can be deposited after receiving and being bundled with the backup data information of end message
Storage is stored in local data format in Cloud Server local, can in the way of key-value pair, using end message as key,
Inquiry and calling using backup data information as key assignments, when facilitating subsequent data recovery operation, to Backup Data.
Step 203, when receiving the data recovery request including the end message that cloud service application is sent,
Determine the corresponding backup data information of the end message.
In this step, the target application of mobile terminal will be able to include by cloud service application when carrying out data recovery
The data recovery request of end message is sent to Cloud Server.Cloud Server is after receiving data recovery request, according to wherein
End message, in the corresponding backup data information of local search.Assuming that the Backup Data of Cloud Server local is according to key-value pair
Mode stored using end message as key using backup data information as key assignments, then can accurately inquire corresponding
Backup data information.
The corresponding backup data information of the end message is sent to the cloud service application by step 204.
After Cloud Server inquires corresponding backup data information, backup data information can be sent to the cloud service
Using backup data information by interprocess communication interface, is sent target application and carry out data recovery by cloud service application again.
To sum up, a kind of data back up method provided in an embodiment of the present invention, comprising: receive the backup that cloud service application is sent
Data information and end message;Backup data information and corresponding end message are stored in local;It is answered when receiving cloud service
When with the data recovery request including end message of transmission, the corresponding backup data information of end message is determined;Terminal is believed
It ceases corresponding backup data information and is sent to cloud service application.The present invention utilizes the communication between each application process of mobile terminal
Connection, by a cloud service using managing as a whole to data backup/recovery of all applications, cloud service application is utilized
The same end message system of mobile terminal, does not need switch accounts repeatedly, simplifies data backup/recovery operation step
Suddenly, data backup/recovery efficiency is improved.
Fig. 4 is a kind of step interaction diagrams of data back up method provided in an embodiment of the present invention, as shown in figure 4, should
Method may include:
Step 301, by the interprocess communication interface on the mobile terminal, establish the mesh on the mobile terminal
Interprocess communication channel between mark application and cloud service application.
In embodiments of the present invention, inter-process communication techniques mainly include pipeline, and message queue shares storage, socket
(SOCKET) etc. communication modes realize the number in mobile terminal between each application process using corresponding execution logic
According to interaction.
Step 302, in the case where receiving data backup operation, applied by the cloud service by the target application
After the backup data information addition end message of transmission, it is uploaded to Cloud Server.
The implementation of this step is similar with the realization process of above-mentioned steps 102, and this will not be detailed here for the embodiment of the present invention.
Optionally, end message includes: system account information, equipment identification information, the target application Bao Mingzhong
It is one or more.
Specifically, local user information can be the unified system of account of mobile terminal, such as the Apple ID of iPhone,
Device identification can be the exclusive sequence number of every mobile terminal, and the packet name of target application is the filename of application installation package,
Such as under Android system, the packet name of " mobile phone QQ " is exactly com.tencent.mobileqq, after software installation is complete, be stored in/
Filename under data/app catalogue is exactly the packet name of software.
System account information, equipment identification information can determine the mobile terminal for carrying out data backup operation, and target is answered
Packet name can determine the target application for carrying out data backup operation.
Optionally, in an implementation of the embodiment of the present invention, step 302 can also include:
Sub-step 3021, in the case where receiving data backup operation, Backup Data is believed by the target application
Breath, is sent to the cloud service application by the interprocess communication channel.
Optionally, in another implementation of the embodiment of the present invention, sub-step 3021 can also include:
Sub-step A1, in the case where receiving data backup operation, show data list, the data list includes institute
State multiple data informations of target application.
Referring to Fig. 5, a kind of surface chart of data back up method provided in an embodiment of the present invention is shown, includes interface a,
Interface b and interface c, in the case where receiving data backup operation, mobile terminal can show data list 10 in screen,
Data list 10 includes multiple data informations of target application, the median surface Fig. 5 a, interface b and interface c, it is assumed that target application is logical
News record, then may include the contact information of multiple contact persons in data list 10.
Sub-step A2, query history backup information, determine the backup data information in the data list.
In this step, during target application use, the data in data list can increase or decrease therewith, and
And user can individually back up certain data, and to other data without backup, therefore, referring to Fig. 5, for communication
Record application, wherein the contact information of contact person will record in history backup information after being backed up, therefore, by looking into
History backup information is ask, can determine the backup data information in data list 10, it is assumed that only to contact person Zhang San before user
Data backup is carried out, then the contact information of contact person Li Si, king five can be determined that backup data information.
Sub-step A3, reception operate the sliding touch of the data list.
In the terminal, user can slide the data list shown in screen, as above by touch control operation
Draw or lower stroke, operated, data list can be browsed by sliding touch.
Sub-step A4, it is operated according to the sliding touch, when the boundary line of the data list is corresponding with the boundary line
The distance between screen border, when being greater than or equal to preset threshold, by the target application by the backup data information,
The cloud service application is sent to by the interprocess communication channel.
In embodiments of the present invention, there are boundary up and down, there is corresponding screen side on each boundary for data list
Boundary, e.g., the coboundary of data list correspond to the coboundary of screen, and the lower boundary of data list corresponds to the lower boundary of screen.It is mobile
Terminal can in real time be monitored the boundary of data list.Referring to Fig. 5, in the b of interface, the upper border line of data list 10
When the distance between the upper border line of screen de is greater than a certain threshold value, it can trigger and be not backed up data in data list 10
Backup operation carries out backup operation to the contact information of contact person Li Si, king five, can keep data list 10 at this time
Display position, and the region between the upper border line of data list 10 and the upper border line of screen is shown just in Backup Data
Pass through, when backup is completed, such as interface c, the region between the upper border line of data list 10 and the upper border line of screen is aobvious
Show passing through for backup completion.
By interprocess communication channel, the interaction of data is may be implemented in each application of mobile terminal, therefore is receiving
In the case where data backup operation, backup data information can be sent to cloud clothes by interprocess communication channel by target application
Business application.
Sub-step 3022, after the cloud service application receives the backup data information, generate end message, and
The end message and the backup data information are bound.
Cloud service is applied after the backup data information for receiving target application transmission, needs to stamp backup data information
End message label, to show the source of the backup data information.
Specifically, cloud service application process after receiving backup data information, is not relevant for what text is these data be
Part type, what format, but backup data information is bound into corresponding end message, and be uploaded to Cloud Server, terminal letter
Breath may include the information such as the local user information of mobile terminal, device identification, destination application packet name, wherein local user
Information can be the unified system of account of mobile terminal, and such as the Apple ID of iPhone, device identification refers to every movement eventually
Hold exclusive sequence number.
Sub-step 3023, by after binding the backup data information and the end message be uploaded to Cloud Server, with
It is stored for the Cloud Server.
Cloud service application can by after binding backup data information and end message be uploaded to Cloud Server, Cloud Server
It receives after being bundled with the backup data information of end message, the corresponding relationship of end message and backup data information can be stored
In cloud service local, achieve the purpose that backup.
Step 303, Cloud Server receive the backup data information and end message that cloud service application is sent.
The implementation of this step is similar with the realization process of above-mentioned steps 201, and this will not be detailed here for the embodiment of the present invention.
The backup data information and corresponding end message are stored in local by step 304, Cloud Server.
The implementation of this step is similar with the realization process of above-mentioned steps 202, and this will not be detailed here for the embodiment of the present invention.
Step 305, in the case where receiving data recovery operation, applied by the cloud service to the Cloud Server
Send the data recovery request including the end message.
The implementation of this step is similar with the realization process of above-mentioned steps 103, and this will not be detailed here for the embodiment of the present invention.
Step 306 applies the data including the end message sent extensive when Cloud Server receives the cloud service
When requesting again, the corresponding backup data information of the end message is determined.
The implementation of this step is similar with the realization process of above-mentioned steps 203, and this will not be detailed here for the embodiment of the present invention.
The corresponding backup data information of the end message is sent to the cloud service application by step 307, Cloud Server.
The implementation of this step is similar with the realization process of above-mentioned steps 204, and this will not be detailed here for the embodiment of the present invention.
Step 308, cloud service, which are applied, is sent to the target application for the backup data information that the Cloud Server returns.
The implementation of this step is similar with the realization process of above-mentioned steps 103, and this will not be detailed here for the embodiment of the present invention.
To sum up, a kind of data back up method provided in an embodiment of the present invention, comprising: mobile terminal establishes target application and cloud
Connection between being served by;In the case where receiving data backup operation, is applied by cloud service and send target application
Backup data information addition end message after, Cloud Server is uploaded to, so that Cloud Server is stored;Receiving data
In the case where recovery operation, mobile terminal is applied to the data recovery that Cloud Server transmission includes end message by cloud service and is asked
It asks, and the backup data information that Cloud Server returns is sent to target application.Cloud Server receives what cloud service application was sent
Backup data information and end message;Backup data information and corresponding end message are stored in local by Cloud Server;When connecing
When receiving the data recovery request including end message that cloud service application is sent, Cloud Server determines that end message is corresponding standby
Part data information;The corresponding backup data information of end message is sent to cloud service application by Cloud Server.The present invention utilizes shifting
Communication connection between the dynamic each application process of terminal, by a cloud service using data backup/recovery to all applications
It is managed as a whole, the same end message system of mobile terminal is utilized in cloud service application, switch accounts repeatedly are not needed,
Data backup/recovery operating procedure is simplified, data backup/recovery efficiency is improved.
Fig. 6 is a kind of block diagram of mobile terminal provided in an embodiment of the present invention, as shown in fig. 6, the mobile terminal 40 includes:
Module 401 is established, the company between the target application for establishing on the mobile terminal and cloud service application
It connects;
Optionally, mobile terminal includes interprocess communication interface, described to establish module 401, comprising:
Setting up submodule, for establishing the target application and being answered with the cloud service by the interprocess communication interface
Interprocess communication channel between.
Backup module 402 will be described by the cloud service application in the case where receiving data backup operation
After the backup data information addition end message that target application is sent, it is uploaded to Cloud Server, for Cloud Server progress
Storage;
Optionally, end message includes: system account information, equipment identification information, the target application Bao Mingzhong
It is one or more.
Optionally, backup module 402, comprising:
Sending submodule, for number will to be backed up by the target application in the case where receiving data backup operation
It is believed that breath, is sent to the cloud service application by the interprocess communication channel;
Optionally, sending submodule, comprising:
Display unit, for showing data list, the data list packet in the case where receiving data backup operation
Include multiple data informations of the target application;
Query unit is used for query history backup information, determines the backup data information in the data list;
Receiving unit, for receiving the sliding touch operation to the data list;
Transmission unit, for being operated according to the sliding touch, when the boundary line and the boundary line of the data list
The distance between corresponding screen border, when being greater than or equal to preset threshold, by the target application by the Backup Data
Information is sent to the cloud service application by the interprocess communication channel.
Submodule is generated, for after the cloud service application receives the backup data information, generating terminal letter
Breath, and the end message and the backup data information are bound;
Submodule is uploaded, for the backup data information after binding and the end message to be uploaded to cloud service
Device, so that the Cloud Server is stored.
Recovery module 403, for being applied to described by the cloud service in the case where receiving data recovery operation
Cloud Server sends the data recovery request including the end message, and the backup data information that the Cloud Server is returned
It is sent to the target application.
In conclusion a kind of mobile terminal provided in an embodiment of the present invention, including, establish target application and cloud service application
Between connection;In the case where receiving data backup operation, the backup number that target application is sent is applied by cloud service
It is believed that Cloud Server is uploaded to, so that Cloud Server is stored after breath addition end message;Receiving data recovery operation
In the case where, applied by cloud service sent to Cloud Server include end message data recovery request, and by Cloud Server
The backup data information of return is sent to target application, and the present invention utilizes the communication link between each application process of mobile terminal
It connects, by a cloud service using managing as a whole to data backup/recovery of all applications, shifting is utilized in cloud service application
The same end message system of dynamic terminal, does not need switch accounts repeatedly, simplifies data backup/recovery operating procedure,
Improve data backup/recovery efficiency.
Fig. 7 is a kind of block diagram of Cloud Server provided in an embodiment of the present invention, as shown in fig. 7, the Cloud Server 50 includes:
Receiving module 501, the backup data information and end message sent for receiving cloud service application;
Memory module 502, for the backup data information and corresponding end message to be stored in local;
Determining module 503, for extensive when receiving the data including the end message that the cloud service application is sent
When requesting again, the corresponding backup data information of the end message is determined;
Sending module 504, for the corresponding backup data information of the end message to be sent to the cloud service application.
In conclusion a kind of server provided in an embodiment of the present invention, including, receive the backup number that cloud service application is sent
It is believed that breath and end message;Backup data information and corresponding end message are stored in local;When receiving cloud service application
When the data recovery request including end message sent, the corresponding backup data information of end message is determined;By end message
Corresponding backup data information is sent to cloud service application.The present invention utilizes the communication link between each application process of mobile terminal
It connects, by a cloud service using managing as a whole to data backup/recovery of all applications, shifting is utilized in cloud service application
The same end message system of dynamic terminal, does not need switch accounts repeatedly, simplifies data backup/recovery operating procedure,
Improve data backup/recovery efficiency.
The embodiment of the present invention also provides a kind of mobile terminal and Cloud Server, and mobile terminal and Cloud Server all include processing
Device, memory are stored in the computer program that can be run on the memory and on the processor, the computer program
Each process of above-mentioned data back up method embodiment is realized when being executed by the processor, and can reach identical technology effect
Fruit, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize the data back up method of above-mentioned mobile terminal and Cloud Server when being executed by processor
Each process of embodiment, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the meter
Calculation machine readable storage medium storing program for executing, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random
Access Memory, abbreviation RAM), magnetic or disk etc..
Fig. 8 is the mobile terminal structure schematic diagram of another embodiment of the present invention.
The mobile terminal includes: processor, memory and is stored on the memory and can be on the processor
The computer program of operation, the computer program realize the step of above-mentioned data back up method when being executed by the processor
Suddenly.
The mobile terminal further include: computer program is stored on readable storage medium storing program for executing, the computer program is located
The step of reason device realizes above-mentioned data back up method when executing.
Specifically, mobile terminal is identical with the structure of Cloud Server, next explains to the structure of mobile terminal
Bright, the mobile terminal 600 in Fig. 8 can be mobile phone, tablet computer, personal digital assistant (PersonalDigital
Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 600 in Fig. 8 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input
Unit 630, display unit 640, processor 660, voicefrequency circuit 670, WLAN (Wireless Fidelity) module
680, power supply 690 and camera 6110.
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 600 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 631.Touch panel 631, collect user on it or nearby touch operation (such as user use hand
The operation of any suitable object or attachment such as finger, stylus on touch panel 631), and driven according to preset formula
Corresponding attachment device.Optionally, touch panel 631 may include both touch detecting apparatus and touch controller.Wherein,
Touch detecting apparatus detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch control
Device;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor
660, and order that processor 660 is sent can be received and executed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray with
And the multiple types such as surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit 630 can also include other
Input equipment 632, other input equipments 632 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 640 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hair
The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device
660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 621, and calling storage
Data in second memory 622 execute the various functions and processing data of mobile terminal 600, thus to mobile terminal 600
Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/
Or the data in the second memory 622, the target application that processor 660 is used to establish on the mobile terminal are answered with cloud service
Connection between;In the case where receiving data backup operation, the backup that target application is sent is applied by cloud service
After data information adds end message, it is uploaded to Cloud Server, so that Cloud Server is stored;Restore behaviour receiving data
In the case where work, applied by cloud service sent to Cloud Server include end message data recovery request, and by cloud service
The backup data information that device returns is sent to target application.Processor 660 is also used to receive the backup number that cloud service application is sent
It is believed that breath and end message;Backup data information and corresponding end message are stored in local;When receiving cloud service application
When the data recovery request including end message sent, the corresponding backup data information of end message is determined;By end message
Corresponding backup data information is sent to cloud service application.
As it can be seen that, using the communication connection between each application process of mobile terminal, passing through a cloud in the embodiment of the present invention
It is served by and data backup/recovery of all applications is managed as a whole, it is same that mobile terminal is utilized in cloud service application
End message system does not need switch accounts repeatedly, simplifies data backup/recovery operating procedure, it is standby to improve data
The efficiency of part/recovery.
For above-mentioned apparatus embodiment, since it is basically similar to the method embodiment, so be described relatively simple,
The relevent part can refer to the partial explaination of embodiments of method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It would have readily occurred to a person skilled in the art that: any combination application of above-mentioned each embodiment is all feasible, therefore
Any combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited,
This is not just detailed one by one.
Provided herein data back up method not with any certain computer, virtual system or the intrinsic phase of other equipment
It closes.Various general-purpose systems can also be used together with teachings based herein.As described above, construction has present invention side
Structure required by the system of case is obvious.In addition, the present invention is also not directed to any particular programming language.It should be bright
It is white, it can use various programming languages and realize summary of the invention described herein, and retouched above to what language-specific was done
State is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the present invention and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself
Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize the identification side of background music in video according to an embodiment of the present invention
The some or all functions of some or all components in method.The present invention is also implemented as described here for executing
Method some or all device or device programs (for example, computer program and computer program product).This
The program that the realization of sample is of the invention can store on a computer-readable medium, or can have one or more signal
Form.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other
Form provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
Claims (13)
1. a kind of data processing method is applied to mobile terminal, which is characterized in that the described method includes:
Establish the connection between the target application on the mobile terminal and cloud service application;
In the case where receiving data backup operation, the backup number that the target application is sent is applied by the cloud service
It is believed that Cloud Server is uploaded to, so that the Cloud Server is stored after breath addition end message;
In the case where receiving data recovery operation, is applied by the cloud service to the Cloud Server and sent including described
The data recovery request of end message, and the backup data information that the Cloud Server returns is sent to the target application.
2. the method according to claim 1, wherein the target application established on the mobile terminal
With the connection between cloud service application, comprising:
By the interprocess communication interface on the mobile terminal, establish the target application on the mobile terminal with it is described
Interprocess communication channel between cloud service application.
3. according to the method described in claim 2, it is characterized in that, described in the case where receiving data backup operation, institute
After cloud service is stated using the backup data information addition end message for sending the target application, it is uploaded to Cloud Server, is wrapped
It includes:
In the case where receiving data backup operation, by the target application by backup data information, pass through the process
Between communication channel be sent to the cloud service application;
After the cloud service application receives the backup data information, end message is generated, and by the end message
It is bound with the backup data information;
By after binding the backup data information and the end message be uploaded to Cloud Server, for the Cloud Server into
Row storage.
4. according to the method described in claim 3, leading to it is characterized in that, described in the case where receiving data backup operation
The target application is crossed by backup data information, the cloud service application is sent to by the interprocess communication channel, comprising:
In the case where receiving data backup operation, data list is shown, the data list includes the target application
Multiple data informations;
Query history backup information determines the backup data information in the data list;
It receives and the sliding touch of the data list is operated;
It is operated according to the sliding touch, when between the screen border corresponding with the boundary line of the boundary line of the data list
Distance, be greater than or equal to preset threshold when, by the target application by the backup data information, by between the process
Communication channel is sent to the cloud service application.
5. method according to any one of claims 1 to 4, which is characterized in that the end message includes: system account letter
Breath, equipment identification information, the target application one of packet name or a variety of.
6. a kind of data back up method is applied to Cloud Server, which is characterized in that the described method includes:
Receive backup data information and end message that cloud service application is sent;
The backup data information and corresponding end message are stored in local;
When receiving the data recovery request including the end message that the cloud service application is sent, the terminal is determined
The corresponding backup data information of information;
The corresponding backup data information of the end message is sent to the cloud service application.
7. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Module is established, the connection between the target application for establishing on the mobile terminal and cloud service application;
Backup module, for being applied by the cloud service and answering the target in the case where receiving data backup operation
After adding end message with the backup data information of transmission, it is uploaded to Cloud Server, so that the Cloud Server is stored;
Recovery module, for being applied to the cloud service by the cloud service in the case where receiving data recovery operation
Device sends the data recovery request including the end message, and the backup data information that the Cloud Server returns is sent to
The target application.
8. mobile terminal according to claim 7, which is characterized in that described to establish module, comprising:
Setting up submodule, for establishing the institute on the mobile terminal by the interprocess communication interface on the mobile terminal
State the interprocess communication channel between target application and cloud service application.
9. mobile terminal according to claim 8, which is characterized in that the backup module, comprising:
Sending submodule, for being believed Backup Data by the target application in the case where receiving data backup operation
Breath, is sent to the cloud service application by the interprocess communication channel;
Submodule is generated, for after the cloud service application receives the backup data information, generating end message, and
The end message and the backup data information are bound;
Submodule is uploaded, for the backup data information after binding and the end message to be uploaded to Cloud Server, with
It is stored for the Cloud Server.
10. mobile terminal according to claim 9, which is characterized in that the sending submodule, comprising:
Display unit, for showing data list, the data list includes institute in the case where receiving data backup operation
State multiple data informations of target application;
Query unit is used for query history backup information, determines the backup data information in the data list;
Receiving unit, for receiving the sliding touch operation to the data list;
Transmission unit, for being operated according to the sliding touch, when the boundary line of the data list is corresponding with the boundary line
The distance between screen border, when being greater than or equal to preset threshold, by the target application by the backup data information,
The cloud service application is sent to by the interprocess communication channel.
11. according to any mobile terminal of claim 7 to 10, which is characterized in that the end message includes: system account
Family information, equipment identification information, the target application one of packet name or a variety of.
12. a kind of Cloud Server, which is characterized in that the Cloud Server includes:
Receiving module, the backup data information and end message sent for receiving cloud service application;
Memory module, for the backup data information and corresponding end message to be stored in local;
Determining module, for when the data recovery request including the end message for receiving the cloud service application transmission
When, determine the corresponding backup data information of the end message;
Sending module, for the corresponding backup data information of the end message to be sent to the cloud service application.
13. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in data back up method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910075721.1A CN109815057A (en) | 2019-01-25 | 2019-01-25 | A kind of data back up method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910075721.1A CN109815057A (en) | 2019-01-25 | 2019-01-25 | A kind of data back up method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109815057A true CN109815057A (en) | 2019-05-28 |
Family
ID=66605293
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910075721.1A Pending CN109815057A (en) | 2019-01-25 | 2019-01-25 | A kind of data back up method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109815057A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110515762A (en) * | 2019-07-17 | 2019-11-29 | 湖南新云网科技有限公司 | Data reconstruction method, device, terminal device and storage medium |
CN110851303A (en) * | 2019-11-12 | 2020-02-28 | 北京天华星航科技有限公司 | Data backup method, system and equipment |
CN111182070A (en) * | 2019-12-31 | 2020-05-19 | 北京指掌易科技有限公司 | Application data backup and recovery method, device, equipment and storage medium |
CN112269690A (en) * | 2020-11-17 | 2021-01-26 | 珠海大横琴科技发展有限公司 | Data backup method and device |
CN112445654A (en) * | 2020-11-30 | 2021-03-05 | 北京数码视讯技术有限公司 | Data processing system and method |
CN113641370A (en) * | 2021-08-18 | 2021-11-12 | 深圳创维数字技术有限公司 | OTT terminal application program recovery method and device and computer readable storage medium |
CN114826886A (en) * | 2022-03-17 | 2022-07-29 | 阿里巴巴(中国)有限公司 | Application software disaster tolerance method and device and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301382A (en) * | 2014-09-03 | 2015-01-21 | 惠州Tcl移动通信有限公司 | Cloud data backup and recovery method |
CN105138420A (en) * | 2015-07-31 | 2015-12-09 | 小米科技有限责任公司 | Data backup method, apparatus and system and data recovery method, apparatus and system |
CN106502840A (en) * | 2016-10-25 | 2017-03-15 | 广东欧珀移动通信有限公司 | A kind of data back up method, apparatus and system |
CN106648956A (en) * | 2015-10-30 | 2017-05-10 | 赵飞飞 | Data backup and system restoration method |
CN106648976A (en) * | 2016-11-26 | 2017-05-10 | 广东欧珀移动通信有限公司 | Data back-up method and device |
CN108446188A (en) * | 2018-03-12 | 2018-08-24 | 维沃移动通信有限公司 | A kind of data back up method and mobile terminal |
CN108830091A (en) * | 2018-05-25 | 2018-11-16 | 深圳市纳斯达工贸有限公司 | A method of for protecting information security of intelligent terminal |
-
2019
- 2019-01-25 CN CN201910075721.1A patent/CN109815057A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301382A (en) * | 2014-09-03 | 2015-01-21 | 惠州Tcl移动通信有限公司 | Cloud data backup and recovery method |
CN105138420A (en) * | 2015-07-31 | 2015-12-09 | 小米科技有限责任公司 | Data backup method, apparatus and system and data recovery method, apparatus and system |
CN106648956A (en) * | 2015-10-30 | 2017-05-10 | 赵飞飞 | Data backup and system restoration method |
CN106502840A (en) * | 2016-10-25 | 2017-03-15 | 广东欧珀移动通信有限公司 | A kind of data back up method, apparatus and system |
CN106648976A (en) * | 2016-11-26 | 2017-05-10 | 广东欧珀移动通信有限公司 | Data back-up method and device |
CN108446188A (en) * | 2018-03-12 | 2018-08-24 | 维沃移动通信有限公司 | A kind of data back up method and mobile terminal |
CN108830091A (en) * | 2018-05-25 | 2018-11-16 | 深圳市纳斯达工贸有限公司 | A method of for protecting information security of intelligent terminal |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110515762A (en) * | 2019-07-17 | 2019-11-29 | 湖南新云网科技有限公司 | Data reconstruction method, device, terminal device and storage medium |
CN110851303A (en) * | 2019-11-12 | 2020-02-28 | 北京天华星航科技有限公司 | Data backup method, system and equipment |
CN110851303B (en) * | 2019-11-12 | 2020-10-20 | 北京天华星航科技有限公司 | Data backup method, system and equipment |
CN111182070A (en) * | 2019-12-31 | 2020-05-19 | 北京指掌易科技有限公司 | Application data backup and recovery method, device, equipment and storage medium |
CN112269690A (en) * | 2020-11-17 | 2021-01-26 | 珠海大横琴科技发展有限公司 | Data backup method and device |
CN112269690B (en) * | 2020-11-17 | 2024-05-24 | 珠海大横琴科技发展有限公司 | Data backup method and device |
CN112445654A (en) * | 2020-11-30 | 2021-03-05 | 北京数码视讯技术有限公司 | Data processing system and method |
CN113641370A (en) * | 2021-08-18 | 2021-11-12 | 深圳创维数字技术有限公司 | OTT terminal application program recovery method and device and computer readable storage medium |
CN114826886A (en) * | 2022-03-17 | 2022-07-29 | 阿里巴巴(中国)有限公司 | Application software disaster tolerance method and device and electronic equipment |
CN114826886B (en) * | 2022-03-17 | 2024-03-15 | 阿里巴巴(中国)有限公司 | Disaster recovery method and device for application software and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109815057A (en) | A kind of data back up method and mobile terminal | |
US10367920B2 (en) | Mechanism for determining whether to redirect a request originally destined for a server based on a uniform resource locator | |
CN110765024B (en) | Simulation test method, simulation test device, electronic equipment and computer readable storage medium | |
CN109542427B (en) | System customization method and device, electronic equipment and storage medium | |
US10257316B2 (en) | Monitoring of node.js applications | |
TWI604368B (en) | Data processing method and device | |
US20150058823A1 (en) | Remote debugging in a cloud computing environment | |
US9021507B2 (en) | Dynamic use of data across multiple programs | |
CN102752369B (en) | The supplying method of TV applications service and virtual content service platform | |
CN101855618A (en) | Method and system for changing execution environments during application execution | |
CN111586128A (en) | Method, device and equipment for acquiring applet data and storage medium | |
CN112486444B (en) | Screen projection method, device, equipment and readable storage medium | |
WO2018132327A1 (en) | Interactive user interface for profile management | |
CN106357814B (en) | A kind of document handling method, agency service end and client | |
CN103677970A (en) | System and method for achieving combination display of terminal local desktop and far-end virtual desktop | |
CN111740859B (en) | Test environment deployment method and device, electronic equipment and storage medium | |
CN110503512A (en) | Order processing method, apparatus, electronic equipment and storage medium | |
CN113946472A (en) | Data backup method and device, electronic equipment and readable storage medium | |
CN111782382A (en) | Task processing method and device, storage medium and electronic equipment | |
CN103532941A (en) | Graphical page presentation method and device in CGS (client gateway server) mode | |
CN108984238A (en) | Gesture processing method, device and the electronic equipment of application program | |
CN109688567A (en) | A kind of data transmission method and mobile terminal | |
CN113535020B (en) | Method, apparatus, device, medium and product for generating application icons | |
CN109195021A (en) | Screenshot sharing method and device | |
CN105262829B (en) | Geographical position monitoring method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190528 |