CN102231881A - Method, server and system for processing user data of mobile terminal - Google Patents

Method, server and system for processing user data of mobile terminal Download PDF

Info

Publication number
CN102231881A
CN102231881A CN2011101859409A CN201110185940A CN102231881A CN 102231881 A CN102231881 A CN 102231881A CN 2011101859409 A CN2011101859409 A CN 2011101859409A CN 201110185940 A CN201110185940 A CN 201110185940A CN 102231881 A CN102231881 A CN 102231881A
Authority
CN
China
Prior art keywords
historical data
data
historical
user data
portable 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.)
Granted
Application number
CN2011101859409A
Other languages
Chinese (zh)
Other versions
CN102231881B (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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201110185940.9A priority Critical patent/CN102231881B/en
Publication of CN102231881A publication Critical patent/CN102231881A/en
Application granted granted Critical
Publication of CN102231881B publication Critical patent/CN102231881B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for processing the user data of a mobile terminal. In the method, the user data to be backed up is compared with all historical data stored on a server, and only the backup of the user data different from all the historical data and historical data information thereof are stored on the server in an association way. By the method, all the backed-up user data of the mobile terminal can be recovered without user data loss. In addition, version control over the user data backed up by a user can be realized, thereby avoiding completely identical user data uploaded at different time being stored on the server to further save the memory space of the server.

Description

Mobile terminal user data processing method, server and system
Technical field
The present invention relates to moving communicating field, more specifically, relate to and be used for method that the mobile terminal user data are backed up and/or recover to handle, be used for server and system that the mobile terminal user data are backed up and/or recover to handle.
Background technology
When using portable terminal, usually can be in mobile terminal stores a large number of users data, such as contact addresses, short message etc.In case portable terminal is lost or is gone adrift, then can lose a large amount of useful user data of the storage on the portable terminal, such as contact addresses, trade connection address particularly, thus can not keep in touch at any time with the client, cause bigger loss thus.In order to prevent said circumstances, people usually can be with useful user data backup to server end, in case portable terminal lose, then can be from the server end restoring user data.The application software of a kind of being called as " safety box " is used for the mobile terminal user data are backuped to server end.
In the technical scheme of existing backup user data of mobile terminal,, adopt following two kinds of processing modes usually at the data difference between client (that is, portable terminal) and the server end.
In first kind of mode, be simple use client data refreshing service device end data to the processing of this variance data, yet, may cause certain customers' historical data forever to lose like this.For example, suppose that the user has backed up data at date a, has backed up data again at date b.In this case, owing to when the data of backup date b, covered the data of date a, so the user just can't recover the data of date a.
In the second way, with the user data that is hopeful to back up all back up at server end, and do not carry out any Version Control.Though do not lose user data like this, the user data on the server end can be increasing, thereby make the user also can't tell the feature of each time Backup Data effectively when recovering.Therefore, the total data that the user can only recover to back up in the past like this, can produce very large network traffics when restore data, and the expense that has increased the user has also caused the mobile terminal user data corruption simultaneously.
Summary of the invention
In view of above-mentioned, the invention provides a kind of method, server and system that the mobile terminal user data are handled of being used for, in the method, compare by all historical datas of having stored on the user data that will back up and the server, and only user data backup and the historical data information thereof all different with all historical datas are stored on the server explicitly.Utilize this method, can recover all customer data of the previous backup of portable terminal, and user data loss can not take place.In addition, utilize this method, can carry out Version Control, be stored in the identical user data that different time is uploaded on the server, save the memory space of server thus thereby avoid causing to the user data of user ID.In addition, can also avoid when carrying out the historical data recovery, owing to do not have Version Control cause can't each time of resolution place Backup Data feature, and then cause to recover all historical datas, thereby cause the data corruption on the very big and customer mobile terminal from server data downloaded flow.
According to an aspect of the present invention, provide a kind of method that the mobile terminal user data are handled of being used for, described method is carried out at server end, and described method comprises: receive the user data of uploading from portable terminal; Obtain all historical user data that back up on the server; And when the user data of being uploaded all there are differences with all historical user data that obtained, this user data of uploading is stored in the historical data database of server explicitly as the historical data information of historical user data with this user data of uploading that generates when forming this historical data, and described historical data information comprises the historical data generation time at least.In addition, in one example, described historical data information is stored in the historical data tabulation of server.
In addition, in one or more examples, described historical data information can comprise the version number that generates based on the historical data generation time, and this version number is used as the filename of the institute stored historical user data corresponding with this user data of uploading.
In addition, in one or more examples, when carrying out the historical data recovery, described method can also comprise: after receiving the historical data recovery request from portable terminal, according to the historical data information of the historical data that comprises in the described historical data recovery request, inquiry corresponding historical data in the historical data database of server; And the historical data of being inquired about sent to portable terminal.
In addition, in one or more examples, when carrying out the historical data recovery, in historical data information according to the historical data recovered of ask, in the historical data database of server, inquire about before the corresponding historical data, described method can also comprise: after receiving the historical data list request that portable terminal sends, the historical data tabulation of being asked is sent to portable terminal, wherein, after receiving described historical data tabulation, described portable terminal is selected the historical data that will recover in the tabulation of described historical data, and sends the historical data recovery request of the historical data information that includes this historical data.
In addition, in one or more examples, carrying out quick data when recovering, described method can comprise that the historical data of backup sends to portable terminal recently.
In addition, in one or more examples, before portable terminal is uploaded the user data that will back up to server, described method can also comprise: the user data that uploaded the last time of buffer memory in user data that portable terminal will back up and the portable terminal compares, wherein, when this user data that will back up and the user data uploaded this last time not simultaneously, this user data upload that will back up to server, and is utilized the user data of uploading of buffer memory in the cache database of this user data update portable terminal.
According to a further aspect in the invention, the method that provides a kind of historical data that is used for portable terminal to back up and recover to handle, wherein, when carrying out the historical data backup, described method can comprise: portable terminal is uploaded the user data that will back up to server; After receiving the user data of uploading from portable terminal, server obtains all historical user data that back up on the server; Server compares the user data of being uploaded and all historical user data that obtained, and when there are differences, this user data of uploading is stored in the historical data database of server explicitly as the historical data information of historical user data with the user data of being uploaded that generates when forming this historical data, and described historical data information is stored in the historical data tabulation and comprises the historical data generation time at least; And wherein, when carrying out the historical data recovery, described method can comprise: portable terminal sends the historical data list request to server end; After receiving described historical data list request, server sends the historical data tabulation of being asked to portable terminal; After receiving described historical data tabulation, the historical data that the portable terminal selection will recover, generation includes the historical data recovery request of the historical data information of this historical data, and described historical data recovery request is sent to server; After receiving described historical data recovery request, described server is according to the historical data information of the historical data that comprises in the described historical data recovery request, in the historical data database of server, inquire about the corresponding historical data, and the historical data that is inquired is sent to portable terminal; After receiving described historical data, portable terminal merges historical data and the user data in the portable terminal that is received.
In addition, in one or more examples, before portable terminal is uploaded the user data that will back up to server, described method can also comprise: the user data that uploaded the last time of buffer memory in user data that portable terminal will back up and the portable terminal compares, wherein, buffer memory uploads user data not simultaneously in this user data that will back up and portable terminal, this user data upload that will back up to server, and is utilized the user data of uploading of buffer memory in the cache database of this user data update portable terminal.
According to a further aspect in the invention, provide a kind of server that the mobile terminal user data are handled of being used for, comprising: the user data receiving element is used to receive the user data of uploading from portable terminal; Historical user data acquiring unit is used to obtain all historical user data that back up on the server; And comparing unit, be used for the user data that will be uploaded and compared with all historical user data that obtain; And memory cell, the user data of being uploaded is used for when all there are differences with all historical user data that obtained, this user data of uploading is stored in the historical data database of server explicitly as the historical data information of historical user data with this user data of uploading that generates when forming this historical data, and described historical data information comprises the historical data generation time at least.
In addition, in one or more examples, described server can also comprise: historical data recovery request receiving element is used for receiving the historical data recovery request from portable terminal; The inquiry of historical data unit is used for the historical data information of the historical data that comprises according to described historical data recovery request, inquiry corresponding historical data in the historical data database of server; And the historical data transmitting element, the historical data that is used for being inquired about sends to portable terminal.
In addition, in one or more examples, described server can also comprise: historical data list request receiving element is used for receiving the historical data list request from portable terminal; And historical data tabulation transmitting element, be used for after receiving the historical data list request that portable terminal sends, the historical data tabulation of being asked is sent to portable terminal, wherein, after receiving described historical data tabulation, described portable terminal is selected the historical data that will recover in the tabulation of described historical data, and sends the historical data recovery request of the historical data information that includes this historical data.
According to a further aspect in the invention, the system that provides a kind of historical data that is used for portable terminal to back up and recover to handle, described system comprises portable terminal and server, wherein, described portable terminal comprises: the user data upload unit, be used for when the backup user data, uploading the user data that will back up to server; Historical data list request transmitting element is used for sending the historical data list request to server; Historical data tabulation receiving element is used to receive the historical data tabulation that sends from server; The historical data selected cell is used for the historical data that will recover in the historical data tabulation selection that is received; Historical data recovery request generation unit, be used for generating the historical data recovery request based on the historical data information of described historical data tabulation, described historical data recovery request includes described historical data information, and described historical data information comprises the historical data generation time at least; Historical data recovery request transmitting element, the historical data recovery request that is used for being generated sends to server; And the historical data receiving element, be used for receiving the historical data that will recover from server, wherein, described server comprises: the user data receiving element is used to receive the user data of uploading from portable terminal; Historical user data acquiring unit is used to obtain all historical user data that back up on the server; Comparing unit is used for the user data that will be uploaded and is compared with all historical user data that obtain; Memory cell, the user data of being uploaded is used for when all there are differences with all historical user data that obtained, this user data of uploading is stored in the historical data database of server explicitly as the historical data information of historical user data with this user data of uploading that generates when forming this historical data, and described historical data information comprises the historical data generation time at least; Historical data list request receiving element is used for receiving the historical data list request from portable terminal; Historical data tabulation transmitting element, be used for after receiving the historical data list request that portable terminal sends, the historical data tabulation of being asked is sent to portable terminal historical data recovery request receiving element, be used for receiving the historical data recovery request from portable terminal; The inquiry of historical data unit is used for the historical data information of the historical data that comprises according to described historical data recovery request, inquiry corresponding historical data in the historical data database of server; And the historical data transmitting element, the historical data that is used for being inquired about sends to portable terminal.
In addition, in one or more examples, described portable terminal can also comprise: upload the user data update unit, be used for after portable terminal is uploaded user data, utilize the user data of uploading that the current user data update of uploading stores in cache database, as the user data of uploading last time of uploading; Cache database is used for the user data of uploading that buffer memory uploaded last time; And comparing unit, being used for the user data that will back up and the user data of uploading of described cache database buffer memory compares, wherein, in this user data that will back up and described cache database buffer memory upload user data not simultaneously, described user data upload unit with this user data upload that will back up to server.
In order to realize above-mentioned and relevant purpose, one or more aspects of the present invention comprise the feature that the back will describe in detail and particularly point out in the claims.Following explanation and accompanying drawing describe some illustrative aspects of the present invention in detail.Yet, the indication of these aspects only be some modes that can use in the variety of way of principle of the present invention.In addition, the present invention is intended to comprise all these aspects and their equivalent.
Description of drawings
According to following detailed description of carrying out with reference to accompanying drawing, above-mentioned and other purposes, feature and advantage of the present invention will become more apparent.In the accompanying drawings:
Fig. 1 shows the flow chart that is used for the mobile terminal user data are carried out the method for back-up processing according to the embodiment of the invention;
Fig. 2 shows the schematic diagram of historical data tabulation;
Fig. 3 shows the flow chart that is used for method that the historical data of portable terminal is recovered to handle according to the embodiment of the invention;
Fig. 4 shows according to an embodiment of the invention being used for the mobile terminal user data is backed up and/or the block diagram of the server that recovers to handle;
Fig. 5 shows and is used for according to another embodiment of the present invention the mobile terminal user data are backed up and/or the block diagram of the server that recovers to handle; With
Fig. 6 shows according to an embodiment of the invention being used for the mobile terminal user data is backed up and/or the block diagram of the system recovering to handle.
Identical label is indicated similar or corresponding feature or function in institute's drawings attached.
Embodiment
Various aspects of the present disclosure are described below.Should be understood that the instruction of this paper can be with varied form imbody, and disclosed in this article any concrete structure, function or both only are representational.Based on the instruction of this paper, those skilled in the art should be understood that an aspect disclosed herein can be independent of any others and realize, and the two or more aspects in these aspects can make up according to variety of way.For example, can use aspect, implement device or the hands-on approach of any number that this paper sets forth.In addition, can use other structure, function or except one or more aspects that this paper set forth or be not the 26S Proteasome Structure and Function of one or more aspects that this paper set forth, realize this device or put into practice this method.In addition, any aspect described herein can comprise at least one element of claim.
Each embodiment of the present invention is described below with reference to accompanying drawings.
Fig. 1 shows the flow chart that is used for the mobile terminal user data are carried out the method for back-up processing according to the embodiment of the invention.
As shown in Figure 1, when the user will back up user data on the portable terminal, at first, at step S110, the user data upload on the portable terminal that portable terminal will back up was to server.After receiving the user data that portable terminal uploads, at step S120, server obtains all historical user data that back up in the historical data database of server.Subsequently, at step S130, the portable terminal user data of uploading and all historical user data that obtained are compared.When the comparative result among the step S130 represents that user data that portable terminal uploads is identical with a historical user data that is obtained, do not store (backup) this user data of uploading.And, preferably, in step S140, return to portable terminal and to be used to indicate the indication information that does not back up.Receive be used to indicate the indication information that does not carry out backing up after, can also be at step S170, on the display screen of portable terminal, show " not backing up ".
When the user data of uploading when portable terminal all there are differences with all historical user data that obtained, then at step S150, this user data of uploading is stored in the historical data database of server explicitly as the historical data information of historical user data with this user data of uploading that generates when forming this historical data, and described historical data information comprises the historical data generation time at least.Described historical data information is stored in the historical data tabulation of server.Certainly, it also can be stored in other memory space of server.In addition, in one example, described historical data information can also comprise the version number that generates based on the historical data generation time, and with the filename of this version number as the institute stored historical user data corresponding with this user data of uploading.In another example, described historical data information can also comprise user data name, data strip number, data message preview etc.Fig. 2 shows the schematic diagram of an example of historical data information.
In addition, preferably, after the backup of finishing the user data that portable terminal is uploaded, can also return the indication information that is used to indicate backup to finish at step S160.In addition, receive be used to indicate the indication information that backup finishes after, can also on the display screen of portable terminal, show " backup is finished " at step S170.
In addition, in a preferred embodiment, in the user data upload on the portable terminal that portable terminal will back up before the server, said method can also comprise: the user data of uploading that portable terminal was uploaded the last time of buffer memory in this user data and the portable terminal compares, and buffer memory uploads user data not simultaneously in this user data and portable terminal, this user data upload is arrived server, simultaneously, utilize the user data of uploading in the cache database of this current user data update portable terminal of uploading, as the user data of uploading the last time of storing in the described cache database of uploading.In this case, if this user data is identical with the user data of uploading last time, then will this user data upload arrive server, thereby save the data traffic that portable terminal is uploaded onto the server, and then alleviated the processing burden of server, improved the treatment effeciency of server.
As above described according to the method that the user data on the portable terminal is backed up of being used for of the present invention.In the step shown in Figure 1, in other embodiments, also can save such as the part or all of step among above-mentioned step S140, S160 and the S170.The above-mentioned modification that present embodiment is carried out also falls within the scope of the invention.
After in the manner described above the user data on the portable terminal being backed up,, then can also recover the user data of this previous backup if the user need use the user data of previous backup.Fig. 3 shows the flow chart that is used for method that the historical data of portable terminal is recovered to handle according to the embodiment of the invention.
As shown in Figure 3, if the user need recover the user data on the previous portable terminal that backs up, then can be at first in step S310, portable terminal sends the historical data list request to server, and this historical data list request is used for the tabulation of acquisition request historical data.After the historical data list request that receives the portable terminal transmission, at step S320, server sends to portable terminal with the historical data of the being asked tabulation of storing in the historical data list database.Here, in one example, server also can be at first to inquire about the historical data tabulation of being asked in the historical data list database, then the historical data tabulation that is inquired is sent to portable terminal.In preferred exemplary, may only there be the historical data tabulation of being asked in the historical data list database, at this moment do not need to inquire about, but stored history tabulation in the historical data list database is directly sent to portable terminal.
In receiving the historical data tabulation,, on portable terminal, show received historical data tabulation at step S330.Subsequently, at step S340, the historical data that selection will recover from received historical data tabulation, and generation includes the historical data recovery request of the historical data information of these illustration data.As mentioned above, described historical data information comprises the historical data generation time at least.In addition, in one example, described historical data information can also comprise the version number that generates based on the historical data generation time, and this version number is used as the filename of the institute stored historical user data corresponding with this user data of uploading.In another example, described historical data information can also comprise user data name, data strip number, data message preview etc.Here, replace in the example, can also save the step S330 that shows the historical data tabulation at one.
Then, at step S350, the historical data recovery request that is generated is sent to server.After receiving the historical data recovery request, at step S360, server is inquired about the corresponding historical data according to the historical data information of the historical data that comprises in the described historical data recovery request in the historical data database of server.Then, at step S370, the historical data that is inquired is sent to portable terminal.
After receiving the historical data that server returns, at step S380, portable terminal merges the user data that exists on the historical data that received and the portable terminal.Here said " merging " refers to the union of two data sets.For example, if the data set of historical data={ Zhang San's data, Li Si's data, king five data }, the data set of the user data that exists on the portable terminal={ Zhang San's data, the data of horse six, Zhao seven data }, data set={ Zhang San's the data after then merging, Li Si's data, king five data, the data of horse six, Zhao seven data }.
In addition, alternatively, after the merging of finishing user data, can also be on portable terminal " the prompting historical data is recovered to finish ".
Equally, the embodiment shown in Fig. 3 only is an example of historical data restoration methods of the present invention, rather than the present invention is limited to this.Can also make amendment to the foregoing description.For example, when carrying out the historical data recovery, can not need step S310 to S330, but the historical data information of selecting according to the user, it is the historical data generation time that the user selectes, generation includes the historical data recovery request of described historical data information, and wherein, described chosen historical data information has been stored in the historical data list database of server.
In addition, in user data restoration methods according to the present invention, can also carry out quick user data recovery operation.In this case, as long as portable terminal sends quick data recovery request, then just (that is, up-to-date backup) data send to portable terminal to server, carry out user data for portable terminal and recover with the last backup in the historical data of being preserved.
Utilize this method, can recover all customer data of the previous backup of portable terminal, and user data loss can not take place.In addition, utilize this method, can carry out Version Control, be stored in the identical user data that different time is uploaded on the server, save the memory space of server thus thereby avoid causing to the user data of user ID.In addition, can also avoid when carrying out the historical data recovery, owing to do not have Version Control cause can't each time of resolution place Backup Data feature, and then cause to recover all historical datas, thereby cause the data corruption on the very big and customer mobile terminal from server data downloaded flow.
As above described according to the method that the user data on the portable terminal is backed up and/or recovers of being used for of the present invention referring to figs. 1 through Fig. 3.The above-mentioned method that the user data on the portable terminal is backed up and/or recovers of being used for of the present invention can adopt software to realize, also can adopt hardware to realize, or adopts the mode of software and hardware combination to realize.
Fig. 4 shows according to an embodiment of the invention being used for the mobile terminal user data is backed up and/or the block diagram of the server 400 that recovers to handle.
As shown in Figure 4, server 400 comprises user data receiving element 410, historical user data acquiring unit 420, comparing unit 430 and memory cell 440.
User data receiving element 410 is used to receive the user data of uploading from portable terminal.After receiving the user data that portable terminal uploads, historical user data acquiring unit 420 obtains all historical user data that back up on the server.Then, comparing unit 430 compares the user data of being uploaded and all historical user data that obtained.If identical one of in the user data of being uploaded and the historical user data that is obtained, then do not back up.
If the user data of being uploaded is all inequality with all historical user data that obtained, then memory cell 440 is stored in this user data of uploading in the historical data database of server explicitly as the historical data information of historical user data with this user data of uploading that generates when forming this historical data, and described historical data information comprises the historical data generation time at least.Thus, finish the backup of user data.
Fig. 5 shows and is used for according to another embodiment of the present invention the mobile terminal user data are backed up and/or the block diagram of the server 500 that recovers to handle.
Different with the server 400 shown in Fig. 4, except the user data backup function, the server 500 shown in Fig. 5 can also be realized the historical data restore funcitons.
As shown in Figure 5, server 500 comprises user data receiving element 410, historical user data acquiring unit 420, comparing unit 430, memory cell 440, historical data recovery request receiving element 550, the inquiry of historical data unit 560 and historical data transmitting element 570.The function of user data receiving element 410, historical user data acquiring unit 420, comparing unit 430, memory cell 440 is described in the above, does not repeat them here.
Historical data recovery request receiving element 550 is used for receiving the historical data recovery request from portable terminal, described historical data recovery request is the historical data information generation of portable terminal based on historical data, this historical data recovery request comprises this historical information, and described historical data information comprises the historical data generation time at least.
The inquiry of historical data unit 560 is used for the historical data information of the historical data that comprises according to described historical data recovery request, inquiry corresponding historical data in the historical data database of server.
The historical data that historical data transmitting element 570 is used for being inquired about sends to portable terminal.
In addition, in a preferred embodiment, server 500 can also comprise historical data list request receiving element 580 and historical data tabulation transmitting element 590.Historical data list request receiving element is used for receiving the historical data list request from portable terminal.Historical data tabulation transmitting element is used for after receiving the historical data list request that portable terminal sends, the historical data tabulation of being asked is sent to portable terminal, wherein, after receiving described historical data tabulation, described portable terminal is selected the historical data that will recover in the tabulation of described historical data, and sends the historical data recovery request of the historical data information that includes this historical data.
Fig. 6 shows according to an embodiment of the invention being used for the mobile terminal user data is backed up and/or the block diagram of the system 600 recovering to handle.
As shown in Figure 6, described system 600 comprises portable terminal 610 and server 500.Described server 500 comprises user data receiving element 410, historical user data acquiring unit 420, comparing unit 430, memory cell 440, historical data recovery request receiving element 550, the inquiry of historical data unit 560, historical data transmitting element 570, historical data list request receiving element 580 and historical data tabulation transmitting element 590.Identical shown in the function of said modules and Fig. 5 is not described in detail at this.
Described portable terminal 610 comprises user data upload unit 611, historical data list request transmitting element 612, historical data tabulation receiving element 613, historical data selected cell 614, historical data recovery request generation unit 615, historical data recovery request transmitting element 616 and historical data receiving element 617.
User data upload unit 611 is used for uploading the user data that will back up to server when the backup user data.Historical data list request transmitting element 612 is used for sending the historical data list request to server.Historical data tabulation receiving element 613 is used to receive the historical data tabulation that sends from server.Historical data selected cell 614 is used for selecting the historical data that will recover in the tabulation of the historical data that received.Historical data recovery request generation unit 615 is used for the historical data information based on described historical data tabulation, generate the historical data recovery request, described historical data recovery request comprises described historical data information, and described historical data information comprises the historical data generation time at least.The historical data recovery request that historical data recovery request transmitting element 616 is used for being generated sends to server.Historical data receiving element 617 is used for receiving the historical data that will recover from server.
In addition, replace in the example at one, the portable terminal 610 in the system 600 shown in Fig. 6 can also comprise the cache database (not shown), is used for the last user data that buffer memory was uploaded last time; And comparing unit (not shown), being used for the user data that will back up and the user data of uploading of described cache database buffer memory compares, wherein, in this user data that will back up and described cache database buffer memory upload user data not simultaneously, described user data upload unit just with this user data upload that will back up to server.Described portable terminal also comprises uploads user data update unit (not shown), be used for after portable terminal is uploaded user data, utilize the user data of uploading that the current user data update of uploading stores in cache database, as the user data of uploading last time of uploading.
Shown in Fig. 6 only is a preferred embodiment of the present invention.Can also carry out various modifications to this embodiment.For example, the server that illustrates among Fig. 6 also can adopt the server shown in Fig. 4, is used for only carrying out the user data backup function.In addition, can also carry out corresponding modification to the server shown in Fig. 6 500 according to above-mentioned alter mode of carrying out at the historical data restoration methods shown in Fig. 3.
In addition, the portable terminal shown in Fig. 6 610 also only is a preferred embodiment.In alternative embodiment, the portable terminal 610 shown in Fig. 6 can not comprise in historical data list request transmitting element 612, historical data tabulation receiving element 613, historical data selected cell 614, historical data recovery request generation unit 615, historical data recovery request transmitting element 616 and the historical data receiving element 617 partly or entirely.
In addition, in an embodiment of the present invention, though in server, user data receiving element 410, historical data recovery request receiving element 550 and historical data list request receiving element 580 are shown as independently element, in alternative embodiment, they also can utilize same receiving element or receiver module to realize.Equally, historical data transmitting element 570 and historical data tabulation transmitting element 590 also can adopt same transmitting element or sending module to realize.In addition, in portable terminal, historical data list request transmitting element 612 and historical data recovery request transmitting element 616 also can adopt same transmitting element or sending module to realize.Historical data tabulation receiving element 613 and historical data receiving element 617 also can utilize same receiving element or receiver module to realize.
In addition, typically, portable terminal of the present invention can be various hand-held terminal devices, for example mobile phone, PDA(Personal Digital Assistant) etc., so protection scope of the present invention should not be defined as the portable terminal of certain particular type.
Those skilled in the art will also understand is that, may be implemented as electronic hardware, computer software or both combinations in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps.For this interchangeability of hardware and software clearly is described, it has been carried out general description with regard to the function of various exemplary components, square, module, circuit and step.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on whole system.Those skilled in the art can realize described function in every way at every kind of concrete application, but this realization decision should not be interpreted as causing departing from the scope of the present invention.
Can utilize the following parts that are designed to carry out function described here to realize or carry out in conjunction with the described various illustrative logical blocks of disclosure herein, module and circuit: general processor, digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete nextport hardware component NextPort or any combination of these parts.General processor can be a microprocessor, but replacedly, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and for example, the combination of DSP and microprocessor, a plurality of microprocessor, one or more microprocessor are in conjunction with DSP nuclear or any other this configuration.
In the software module that can directly be included in the hardware, carry out by processor in conjunction with the step of described method of disclosure herein or algorithm or in the two the combination.Software module can reside in the storage medium of RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, removable dish, CD-ROM or any other form known in the art.Exemplary storage medium is coupled to processor, makes processor can read information from this storage medium or to this storage medium writing information.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside among the ASIC.ASIC can reside in the user terminal.In an alternative, processor and storage medium can be used as discrete assembly and reside in the user terminal.
In one or more exemplary design, described function can realize in hardware, software, firmware or its combination in any.If in software, realize, then described function can be transmitted on computer-readable medium or by computer-readable medium as one or more instructions or code storage.Computer-readable medium comprises computer-readable storage medium and communication media, and this communication media includes any medium that helps computer program is sent to from a position another position.Storage medium can be can be by any usable medium of universal or special computer access.As an example and nonrestrictive, this computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage device or other magnetic storage apparatus, or can be used to carry or file layout is the required program code of instruction or data structure and can be by any other medium of universal or special computer or universal or special processor access.In addition, any connection can suitably be called computer-readable medium.For example, if use coaxial cable, optical fiber cable, twisted-pair feeder, Digital Subscriber Line or such as the wireless technology of infrared ray, radio and microwave come from the website, server or other remote source send software, then above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or include definition at medium such as the wireless technology of infrared first, radio and microwave.As used herein, disk and CD comprise compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, and wherein disk magnetically reproduces data usually, and cd-rom using laser optics ground reproduces data.The combination of foregoing also should be included in the scope of computer-readable medium.
Although the disclosed content in front shows exemplary embodiment of the present invention, should be noted that under the prerequisite of the scope of the present invention that does not deviate from the claim qualification, can carry out multiple change and modification.Function, step and/or action according to the claim to a method of inventive embodiments described herein do not need to carry out with any particular order.In addition, although element of the present invention can be with individual formal description or requirement, also it is contemplated that a plurality of, unless clearly be restricted to odd number.
Be described though as above described each embodiment according to the present invention, it will be appreciated by those skilled in the art that each embodiment that the invention described above is proposed, can also on the basis that does not break away from content of the present invention, make various improvement with reference to figure.Therefore, protection scope of the present invention should be determined by the content of appending claims.

Claims (14)

1. one kind is used for method that the mobile terminal user data are handled, and described method is carried out at server end, and described method comprises:
The user data that reception is uploaded from portable terminal;
Obtain all historical user data that back up on the server; And
When the user data of being uploaded all there are differences with all historical user data that obtained, this user data of uploading is stored in the historical data database of server explicitly as the historical data information of historical user data with this user data of uploading that generates when forming this historical data, and described historical data information comprises the historical data generation time at least.
2. the method for claim 1, wherein described historical data information is stored in the historical data tabulation of server.
3. method as claimed in claim 2, wherein, described historical data information also comprises the version number that generates based on the historical data generation time, and this version number is used as the filename of the institute stored historical user data corresponding with this user data of uploading.
4. as claim 2 or 3 described methods, wherein, when carrying out the historical data recovery, described method also comprises:
After receiving the historical data recovery request from portable terminal, according to the historical data information of the historical data that comprises in the described historical data recovery request, inquiry corresponding historical data in the historical data database of server; And
The historical data of being inquired about is sent to portable terminal.
5. method as claimed in claim 4 wherein, when carrying out historical data and recover, in the historical data information according to the historical data of ask recovery, is inquired about before the corresponding historical data in the historical data database of server, and described method comprises:
After receiving the historical data list request that portable terminal sends, the historical data tabulation of being asked is sent to portable terminal,
Wherein, after receiving the tabulation of described historical data, described portable terminal is selected the historical data that will recover in described historical data tabulation, and sends the historical data recovery request of the historical data information that includes this historical data.
6. as claim 2 or 3 described methods, wherein, carrying out quick data when recovering, described method comprises:
The historical data of up-to-date backup is sent to portable terminal.
The method of claim 1, wherein at portable terminal before server is uploaded user data, portable terminal also compares the user data of uploading the last time of buffer memory in the cache database of this user data and portable terminal of uploading, and
When this user data and uploaded this last time upload user data not simultaneously, this user data upload to server, and is utilized the user data of uploading of buffer memory in the cache database of this user data update portable terminal.
8. method that the historical data that is used for portable terminal backs up and recovers to handle, wherein, when carrying out the historical data backup, described method comprises:
Portable terminal is uploaded the user data that will back up to server;
After receiving the user data of uploading from portable terminal, server obtains all historical user data that back up on the server;
Server compares the user data of being uploaded and all historical user data that obtained, and when there are differences, this user data of uploading is stored in the historical data database of server explicitly as the historical data information of historical user data with this user data of uploading that generates when forming this historical data, and described historical data information is stored in the historical data tabulation and comprises the historical data generation time at least; And
Wherein, when carrying out the historical data recovery, described method comprises:
Portable terminal sends the historical data list request to server end;
After receiving described historical data list request, server sends the historical data tabulation of being asked to portable terminal;
After receiving described historical data tabulation, the historical data that the portable terminal selection will recover, generation includes the historical data recovery request of the historical data information of this historical data, and described historical data recovery request is sent to server;
After receiving described historical data recovery request, described server is according to the historical data information of the historical data that comprises in the described historical data recovery request, in the historical data database of server, inquire about the corresponding historical data, and the historical data that is inquired is sent to portable terminal;
After receiving described historical data, portable terminal merges historical data and the user data in the portable terminal that is received.
9. method as claimed in claim 8, before portable terminal was uploaded the user data that will back up to server, described method also comprised:
The user data of uploading that uploaded the last time of buffer memory in user data that portable terminal will back up and the portable terminal compares,
Wherein, in this user data that will back up and portable terminal buffer memory upload user data not simultaneously, this user data upload that will back up to server, and is utilized the user data of uploading of buffer memory in the cache database of this user data update portable terminal.
10. one kind is used for server that the mobile terminal user data are handled, comprising:
The user data receiving element is used to receive the user data of uploading from portable terminal;
Historical user data acquiring unit is used to obtain all historical user data that back up on the server; And
Comparing unit is used for the user data that will be uploaded and is compared with all historical user data that obtain;
Memory cell, the user data of being uploaded is used for when all there are differences with all historical user data that obtained, this user data of uploading is stored in the historical data database of server explicitly as the historical data information of historical user data with this user data of uploading that generates when forming this historical data, and described historical data information comprises the historical data generation time at least.
11. server as claimed in claim 10 also comprises:
Historical data recovery request receiving element is used for receiving the historical data recovery request from portable terminal;
The inquiry of historical data unit is used for the historical data information of the historical data that comprises according to described historical data recovery request, inquiry corresponding historical data in the historical data database of server; And
The historical data transmitting element, the historical data that is used for being inquired about sends to portable terminal.
12. server as claimed in claim 11 also comprises:
Historical data list request receiving element is used for receiving the historical data list request from portable terminal; And
Historical data tabulation transmitting element is used for after receiving the historical data list request that portable terminal sends the historical data tabulation of being asked being sent to portable terminal,
Wherein, after receiving the tabulation of described historical data, described portable terminal is selected the historical data that will recover in described historical data tabulation, and sends the historical data recovery request of the historical data information that includes this historical data.
13. the system that the historical data that is used for portable terminal backs up and recovers to handle, described system comprises portable terminal and server,
Wherein, described portable terminal comprises:
The user data upload unit is used for uploading the user data that will back up to server when the backup user data;
Historical data list request transmitting element is used for sending the historical data list request to server;
Historical data tabulation receiving element is used to receive the historical data tabulation that sends from server;
The historical data selected cell is used for the historical data that will recover in the historical data tabulation selection that is received;
Historical data recovery request generation unit, be used for historical data information based on described historical data tabulation, generate the historical data recovery request, described historical data recovery request includes described historical data information, and described historical data information comprises the historical data generation time at least;
Historical data recovery request transmitting element, the historical data recovery request that is used for being generated sends to server; And
The historical data receiving element is used for receiving the historical data that will recover from server,
Wherein, described server comprises:
The user data receiving element is used to receive the user data of uploading from portable terminal;
Historical user data acquiring unit is used to obtain all historical user data that back up on the server;
Comparing unit is used for the user data that will be uploaded and is compared with all historical user data that obtain;
Memory cell, the user data of being uploaded is used for when all there are differences with all historical user data that obtained, this user data of uploading is stored in the historical data database of server explicitly as the historical data information of historical user data with this user data of uploading that generates when forming this historical data, and described historical data information comprises the historical data generation time at least;
Historical data list request receiving element is used for receiving the historical data list request from portable terminal;
Historical data tabulation transmitting element, be used for after receiving the historical data list request that portable terminal sends, the historical data tabulation of being asked is sent to portable terminal historical data recovery request receiving element, be used for receiving the historical data recovery request from portable terminal;
The inquiry of historical data unit is used for the historical data information of the historical data that comprises according to described historical data recovery request, inquiry corresponding historical data in the historical data database of server; And
The historical data transmitting element, the historical data that is used for being inquired about sends to portable terminal.
14. system as claimed in claim 13, wherein, described portable terminal also comprises:
Upload the user data update unit, be used for after portable terminal is uploaded user data, utilize the user data of uploading that the current user data update of uploading stores in cache database, as the user data of uploading last time of uploading;
Cache database is used for the user data of uploading that buffer memory uploaded last time; And
Comparing unit, the user data of uploading that is used for uploading last time of the user data that will back up and described cache database buffer memory compares,
Wherein, when this user data that will back up and uploaded this last time upload user data not simultaneously, described user data upload unit with this user data upload that will back up to server.
CN201110185940.9A 2011-07-05 2011-07-05 Method, server and system for processing user data of mobile terminal Active CN102231881B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110185940.9A CN102231881B (en) 2011-07-05 2011-07-05 Method, server and system for processing user data of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110185940.9A CN102231881B (en) 2011-07-05 2011-07-05 Method, server and system for processing user data of mobile terminal

Publications (2)

Publication Number Publication Date
CN102231881A true CN102231881A (en) 2011-11-02
CN102231881B CN102231881B (en) 2015-07-15

Family

ID=44844405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110185940.9A Active CN102231881B (en) 2011-07-05 2011-07-05 Method, server and system for processing user data of mobile terminal

Country Status (1)

Country Link
CN (1) CN102231881B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916368A (en) * 2012-12-31 2014-07-09 中国移动通信集团公司 Method and apparatus for realizing data processing among different data sources
WO2014180348A1 (en) * 2013-11-22 2014-11-13 中兴通讯股份有限公司 Method and device for processing versioned file duplicate removal
CN104182294A (en) * 2013-05-23 2014-12-03 华为技术有限公司 Method and device for backing up and recovering file
CN104270303A (en) * 2014-09-29 2015-01-07 中国农业银行股份有限公司宿迁分行 Automatic data information sending method and system
CN105677233A (en) * 2014-11-19 2016-06-15 比亚迪股份有限公司 Storage method and storage device for real-time data
CN106528677A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Data comparison method and device
CN111736869A (en) * 2020-06-19 2020-10-02 浙江大搜车软件技术有限公司 Version updating method of server-side interface and calling method of server-side interface
CN112667607A (en) * 2021-01-18 2021-04-16 中国民航信息网络股份有限公司 Historical data management method and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642114A (en) * 2005-01-07 2005-07-20 刘惠山 Hand-held mobile terminal user customized information network back-up method
US20050289195A1 (en) * 2004-06-23 2005-12-29 Ari Lehtola Centrally controlled backup functionality
CN1976275A (en) * 2006-12-15 2007-06-06 深圳市戴文科技有限公司 Data synchronizing system and method
CN101064630A (en) * 2006-04-24 2007-10-31 华为技术有限公司 Data synchronization method and system
CN101136938A (en) * 2007-09-10 2008-03-05 北京易路联动技术有限公司 Centralized management method and platform system for mobile internet application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050289195A1 (en) * 2004-06-23 2005-12-29 Ari Lehtola Centrally controlled backup functionality
CN1642114A (en) * 2005-01-07 2005-07-20 刘惠山 Hand-held mobile terminal user customized information network back-up method
CN101064630A (en) * 2006-04-24 2007-10-31 华为技术有限公司 Data synchronization method and system
CN1976275A (en) * 2006-12-15 2007-06-06 深圳市戴文科技有限公司 Data synchronizing system and method
CN101136938A (en) * 2007-09-10 2008-03-05 北京易路联动技术有限公司 Centralized management method and platform system for mobile internet application

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916368A (en) * 2012-12-31 2014-07-09 中国移动通信集团公司 Method and apparatus for realizing data processing among different data sources
CN103916368B (en) * 2012-12-31 2017-11-21 中国移动通信集团公司 A kind of method and device for realizing data processing between different data sources
CN104182294A (en) * 2013-05-23 2014-12-03 华为技术有限公司 Method and device for backing up and recovering file
WO2014180348A1 (en) * 2013-11-22 2014-11-13 中兴通讯股份有限公司 Method and device for processing versioned file duplicate removal
CN104270303A (en) * 2014-09-29 2015-01-07 中国农业银行股份有限公司宿迁分行 Automatic data information sending method and system
CN105677233A (en) * 2014-11-19 2016-06-15 比亚迪股份有限公司 Storage method and storage device for real-time data
CN105677233B (en) * 2014-11-19 2019-02-26 比亚迪股份有限公司 The storage method and storage device of instant data
CN106528677A (en) * 2016-10-31 2017-03-22 努比亚技术有限公司 Data comparison method and device
CN111736869A (en) * 2020-06-19 2020-10-02 浙江大搜车软件技术有限公司 Version updating method of server-side interface and calling method of server-side interface
CN112667607A (en) * 2021-01-18 2021-04-16 中国民航信息网络股份有限公司 Historical data management method and related equipment
CN112667607B (en) * 2021-01-18 2024-02-27 中国民航信息网络股份有限公司 Historical data management method and related equipment

Also Published As

Publication number Publication date
CN102231881B (en) 2015-07-15

Similar Documents

Publication Publication Date Title
CN102231881A (en) Method, server and system for processing user data of mobile terminal
CN109491968B (en) File processing method, device, equipment and computer readable storage medium
US11190586B2 (en) Cloud storage and synchronization of messages
US9342408B2 (en) Backup system and backcup method thereof
CN109597717A (en) A kind of data backup, restoration methods, device, electronic equipment and storage medium
CN103595559A (en) System and method for transmitting big data and service system thereof
CN103916626A (en) Monitoring video information providing method and device and video monitoring system
EP3121721B1 (en) Information processing apparatus, information processing system, control method for the information processing apparatus, and program
CN103095843A (en) Method and client of data backup based on version vectors
CN107249140B (en) List information acquisition method and apparatus
CN103841111A (en) Method for preventing data from being submitted repeatedly and server
CN103942252A (en) Method and system for recovering data
CN103605800A (en) File processing method and file processing system
CN101777014A (en) Backup processing method and device
CN104317676A (en) Data backup disaster tolerance method
CN108377319B (en) Picture transmission method and device
CN102523290A (en) Data processing method, device and system
CN106201772A (en) The backup of a kind of operating system based on data center, restoration methods and device
CN108710547B (en) Data backup method, device, terminal and storage medium
CN104618432A (en) Event sending and receiving handling method and system
WO2020098818A3 (en) Taking snapshots of blockchain data
CN101741569A (en) Data synchronization method, data synchronization system, client and server
CN109672544B (en) Data processing method and device and distributed storage system
CN102082791A (en) Data backup implementation method, client, server and system
US20160037119A1 (en) Video recording apparatus, and video recording method when temporary network failure occurs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200701

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 2, 16, 301 rooms, 510665 Yun Yun Road, Tianhe District, Guangdong, Guangzhou

Patentee before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.