CN102231881B - 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
CN102231881B
CN102231881B CN201110185940.9A CN201110185940A CN102231881B CN 102231881 B CN102231881 B CN 102231881B CN 201110185940 A CN201110185940 A CN 201110185940A CN 102231881 B CN102231881 B CN 102231881B
Authority
CN
China
Prior art keywords
historical data
user data
data
mobile terminal
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110185940.9A
Other languages
Chinese (zh)
Other versions
CN102231881A (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

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

The user data processing method of mobile terminal, server and system
Technical field
The present invention relates to moving communicating field, more specifically, relating to for backing up the user data of mobile terminal and/or the method for Recovery processing, for backing up the user data of mobile terminal and/or the server of Recovery processing and system.
Background technology
When using mobile terminal, usually a large number of users data can be stored at mobile terminal, such as contact addresses, short message etc.Once mobile terminal is lost or gone adrift, then can lose a large amount of useful user data of the storage on mobile terminal, such as contact addresses, particularly trade connection address, thus can not keep in touch at any time with client, cause larger loss thus.In order to prevent said circumstances, people usually can by useful user data backup to server end, once mobile terminal is lost, then and can from server end restoring user data.The application software that one is called as " safety box " is used for the user data backup of mobile terminal to server end.
In the technical scheme of existing backup user data of mobile terminal, for the data difference between client (that is, mobile terminal) and server end, usually adopt following two kinds of processing modes.
In first kind of way, be simple use client data Refresh Servers end data to the process of this variance data, but, certain customers' historical data may be caused so forever to lose.Such as, suppose that user has backed up data at date a, backed up again data at date b.In this case, owing to covering the data of date a when the data of backup date b, therefore user just cannot recover the data of date a.
In the second way, by the user data that is hopeful to back up all back up at server end, and do not carry out any Version Control.Although do not lose user data like this, the user data on server end can be increasing, thus make user also effectively cannot tell the feature of each Backup Data when recovering.Therefore, user can only recover the total data in the past backed up, and like this, can produce very large network traffics when recovering data, and the expense adding user also result in the user data confusion of mobile terminal simultaneously.
Summary of the invention
In view of above-mentioned, the invention provides a kind of method, server and system for processing the user data of mobile terminal, in the method, compared by all historical datas that the user data that will back up and server have stored, and only the user data backup all different from all historical datas and historical data information thereof are stored on the server explicitly.Utilize the method, all customer data of mobile terminal previous backup can be recovered, and user data loss can not occur.In addition, utilize the method, Version Control can be carried out to the user data of user ID, thus avoid causing identical user data server being stored in different time and uploading, save the memory space of server thus.In addition, can also avoid when carrying out historical data and recovering, the feature cannot differentiating each the Backup Data in place is caused owing to there is no Version Control, and then cause recovering all historical datas, thus cause the data corruption and customer mobile terminal very large from the data traffic of server download.
According to an aspect of the present invention, provide a kind of method for processing the user data of mobile terminal, described method performs at server end, and described method comprises: receive the user data uploaded from mobile terminal; Obtain all historic user data that server backs up; And when uploaded user data all there are differences with all historic user data obtained, the user data this uploaded is stored in the historical data database of server as historic user data and the historical data information of this user data uploaded generated when forming this historical data explicitly, and described historical data information at least comprises historical data generation time.In addition, in one example, described historical data information is stored in the historical data list of server.
In addition, in one or more example, described historical data information can comprise the version number generated based on historical data generation time, and this version number by as with this user data uploaded corresponding the filename of historic user data that stores.
In addition, in one or more example, when performing historical data and recovering, described method can also comprise: after receiving historical data recovery request from mobile terminal, according to the historical data information of the historical data that described historical data recovery request comprises, in the historical data database of server, inquire about corresponding historical data; And inquired about historical data is sent to mobile terminal.
In addition, in one or more example, when performing historical data and recovering, according to ask the historical data information of historical data recovered, inquire about corresponding historical data in the historical data database of server before, described method can also comprise: after receiving the historical data list request that mobile terminal sends, asked historical data list is sent to mobile terminal, wherein, after receiving described historical data list, described mobile terminal selects the historical data that will recover in described historical data list, and send the historical data recovery request of the historical data information including this historical data.
In addition, in one or more example, when carrying out quick date restoring, described method can comprise the historical data backed up recently is sent to mobile terminal.
In addition, in one or more example, before uploading the user data that will back up to server at mobile terminal, described method can also comprise: in the user data that mobile terminal will back up and mobile terminal, the user data uploaded compares the last time of buffer memory, wherein, when the user data that this will back up is different from the user data that this last time uploads, by this user data upload that will back up to server, and utilize the upload user data of buffer memory in the cache database of this user data update mobile terminal.
According to a further aspect in the invention, provide a kind of for backing up the historical data of mobile terminal and the method for Recovery processing, wherein, when carrying out historical data backup, described method can comprise: mobile terminal uploads the user data that will back up to server; After receiving the user data uploaded from mobile terminal, server obtains all historic user data that server backs up; Uploaded user data and all historic user data obtained compare by server, and when there are differences, the user data this uploaded is stored in the historical data database of server as historic user data and the historical data information of the user data uploaded generated when forming this historical data explicitly, and described historical data information to be stored in historical data list and at least to comprise historical data generation time; And wherein, when carrying out historical data and recovering, described method can comprise: mobile terminal sends historical data list request to server end; After receiving described historical data list request, server sends the historical data list of asking to mobile terminal; After receiving described historical data list, mobile terminal selects the historical data that will recover, and generates the historical data recovery request including 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, the historical data information of the historical data that described server comprises according to described historical data recovery request, in the historical data database of server, inquire about corresponding historical data, and inquired historical data is sent to mobile terminal; After receiving described historical data, the user data in received historical data and mobile terminal merges by mobile terminal.
In addition, in one or more example, before uploading the user data that will back up to server at mobile terminal, described method can also comprise: in the user data that mobile terminal will back up and mobile terminal, the user data uploaded compares the last time of buffer memory, wherein, when the user data that this will back up is different from the upload user data of buffer memory in mobile terminal, by this user data upload that will back up to server, and utilize the upload user data of buffer memory in the cache database of this user data update mobile terminal.
According to a further aspect in the invention, providing a kind of server for processing the user data of mobile terminal, comprising: user data receiving element, for receiving the user data uploaded from mobile terminal; Historic user data capture unit, for obtaining all historic user data that server backs up; And comparing unit, for uploaded user data and all historic user data obtained are compared; And memory cell, for when uploaded user data all there are differences with all historic user data obtained, the user data this uploaded is stored in the historical data database of server as historic user data and the historical data information of this user data uploaded generated when forming this historical data explicitly, and described historical data information at least comprises historical data generation time.
In addition, in one or more example, described server can also comprise: historical data recovery request receiving element, for receiving historical data recovery request from mobile terminal; The inquiry of historical data unit, for the historical data information of historical data comprised according to described historical data recovery request, inquires about corresponding historical data in the historical data database of server; And historical data transmitting element, for inquired about historical data is sent to mobile terminal.
In addition, in one or more example, described server can also comprise: historical data list request receiving element, for receiving historical data list request from mobile terminal; And historical data list transmitting element, for after receiving the historical data list request that mobile terminal sends, asked historical data list is sent to mobile terminal, wherein, after receiving described historical data list, described mobile terminal selects the historical data that will recover in described historical data list, and sends the historical data recovery request of the historical data information including this historical data.
According to a further aspect in the invention, provide a kind of for backing up the historical data of mobile terminal and the system of Recovery processing, described system comprises mobile terminal and server, wherein, described mobile terminal comprises: user data upload unit, for when backing up user data, upload the user data that will back up to server; Historical data list request transmitting element, for sending historical data list request to server; Historical data list reception unit, for receiving the historical data list sent from server; Historical data selected cell, for selecting the historical data that will recover in received historical data list; Historical data recovery request generation unit, for generating historical data recovery request based on the historical data information in described historical data list, described historical data recovery request includes described historical data information, and described historical data information at least comprises historical data generation time; Historical data recovery request transmitting element, for being sent to server by generated historical data recovery request; And historical data receiving element, for receiving the historical data that will recover from server, wherein, described server comprises: user data receiving element, for receiving the user data uploaded from mobile terminal; Historic user data capture unit, for obtaining all historic user data that server backs up; Comparing unit, for comparing uploaded user data and all historic user data obtained; Memory cell, for when uploaded user data all there are differences with all historic user data obtained, the user data this uploaded is stored in the historical data database of server as historic user data and the historical data information of this user data uploaded generated when forming this historical data explicitly, and described historical data information at least comprises historical data generation time; Historical data list request receiving element, for receiving historical data list request from mobile terminal; Historical data list transmitting element, for after receiving the historical data list request that mobile terminal sends, asked historical data list is sent to mobile terminal historical data recovery request receiving element, for receiving historical data recovery request from mobile terminal; The inquiry of historical data unit, for the historical data information of historical data comprised according to described historical data recovery request, inquires about corresponding historical data in the historical data database of server; And historical data transmitting element, for inquired about historical data is sent to mobile terminal.
In addition, in one or more example, described mobile terminal can also comprise: upload user data updating unit, after passing user data on mobile terminals, utilize the upload user data that the current user data update uploaded stores in cache database, as the upload user data uploaded last time; Cache database, for the upload user data that buffer memory was uploaded last time; And comparing unit, compare for the upload user data of buffer memory in the user data that will back up and described cache database, wherein, when the user data that this will back up is from when in described cache database, the upload user data of buffer memory are different, described user data upload unit by this user data upload that will back up to server.
In order to realize above-mentioned and relevant object, will describe in detail and the feature particularly pointed out in the claims after one or more aspect of the present invention comprises.Explanation below and accompanying drawing describe some illustrative aspects of the present invention in detail.But what these aspects indicated is only some modes that can use in the various modes of principle of the present invention.In addition, the present invention is intended to comprise all these aspects and their equivalent.
Accompanying drawing explanation
According to following detailed description of carrying out with reference to accompanying drawing, above and other object of the present invention, feature and advantage will become more apparent.In the accompanying drawings:
Fig. 1 shows the flow chart for carrying out the method for back-up processing to the user data of mobile terminal according to the embodiment of the present invention;
Fig. 2 shows the schematic diagram of historical data list;
Fig. 3 shows the flow chart for carrying out the method for Recovery processing to the historical data of mobile terminal according to the embodiment of the present invention;
Fig. 4 shows according to an embodiment of the invention for backing up the user data of mobile terminal and/or the block diagram of server of Recovery processing;
Fig. 5 shows according to another embodiment of the present invention for backing up the user data of mobile terminal and/or the block diagram of server of Recovery processing; With
Fig. 6 shows according to an embodiment of the invention for backing up the user data of mobile terminal and/or the block diagram of system of Recovery processing.
Label identical in all of the figs indicates similar or corresponding feature or function.
Embodiment
Various aspects of the present disclosure are described below.It is to be understood that instruction herein can with varied form imbody, and in this article disclosed any concrete structure, function or both be only representational.Based on instruction herein, those skilled in the art are it is to be understood that an aspect disclosed herein can realize independent of any other side, and the two or more aspects in these aspects can combine according to various mode.Such as, aspect, implement device or the hands-on approach of any number described in this paper can be used.In addition, other structure, function or except one or more aspect described in this paper or be not the 26S Proteasome Structure and Function of one or more aspect described in this paper can be used, 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 for carrying out the method for back-up processing to the user data of mobile terminal according to the embodiment of the present invention.
As shown in Figure 1, when will back up the user data on mobile terminal as user, first, in step S110, the user data upload on the mobile terminal that mobile terminal will back up is to server.After receiving the user data that mobile terminal uploads, in step S120, server obtains all historic user data backed up in the historical data database of server.Subsequently, in step S130, the user data uploaded by mobile terminal and all historic user data obtained compare.When the comparative result in step S130 represents that the user data that mobile terminal is uploaded is identical with the historic user data that obtains, do not store (backup) this user data uploaded.Further, preferably, in step S140, the indication information being used to indicate and not carrying out backing up is returned to mobile terminal.After receiving the indication information being used to indicate and not carrying out backing up, in step S170, the display screen of mobile terminal can also show " not backing up ".
When the user data that mobile terminal is uploaded all there are differences with all historic user data obtained, then in step S150, the user data this uploaded is stored in the historical data database of server as historic user data and the historical data information of this user data uploaded generated when forming this historical data explicitly, and described historical data information at least comprises historical data generation time.Described historical data information is stored in the historical data list 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 generated based on historical data generation time, and using the filename of this version number as the historic user data that store corresponding with the user data that this is uploaded.In another example, described historical data information can also comprise user data name, data number, data message preview etc.Fig. 2 shows the schematic diagram of an example of historical data information.
In addition, preferably, after the backup completing the user data that mobile terminal is uploaded, can also return in step S160 the indication information being used to indicate and having backed up.In addition, after receiving the indication information being used to indicate and having backed up, in step S170, the display screen of mobile terminal can also show " backup completes ".
In addition, in a preferred embodiment, before user data upload on the mobile terminal that mobile terminal will back up to server, said method can also comprise: the upload user data that the last time of buffer memory in this user data and mobile terminal uploads compare by mobile terminal, and when this user data is different from the upload user data of buffer memory in mobile terminal, by this user data upload to server, simultaneously, utilize the upload user data in the cache database of the user data update mobile terminal uploaded before deserving, as the upload user data uploaded the last time stored in described cache database.In this case, if the user data that this user data and last time upload is identical, then not will this user data upload to server, thus save the data traffic that mobile terminal uploads onto the server, and then alleviate the processing load of server, improve the treatment effeciency of server.
Be illustrated above according to the method for backing up the user data on mobile terminal of the present invention.In step shown in Figure 1, in other embodiments, also can save than the part or all of step in step S140 described above, S160 and S170.The above-mentioned amendment that the present embodiment carries out also is fallen within the scope of the invention.
After in the manner described above the user data on mobile terminal being backed up, if user needs the user data using previous backup, then can also recover the user data of this previous backup.Fig. 3 shows the flow chart for carrying out the method for Recovery processing to the historical data of mobile terminal according to the embodiment of the present invention.
As shown in Figure 3, if user needs the user data recovered on the mobile terminal of previous backup, then can first in step S310, mobile terminal sends historical data list request to server, and this historical data list request is used for the list of acquisition request historical data.After the historical data list request receiving mobile terminal transmission, in step S320, the historical data list of asking stored in historical data list database is sent to mobile terminal by server.Here, in one example, server also can be first in historical data list database, inquire about asked historical data list, then inquired historical data list is sent to mobile terminal.In preferred exemplary, may only there is the historical data list of asking in historical data list database, at this moment not need to inquire about, but the historical data list stored in historical data list database is directly sent to mobile terminal.
Receiving in historical data list, in step S330, show received historical data list on mobile terminals.Subsequently, in step S340, from received historical data list, select the historical data that will recover, and generate the historical data recovery request including the historical data information of these illustration data.As mentioned above, described historical data information at least comprises historical data generation time.In addition, in one example, described historical data information can also comprise the version number generated based on historical data generation time, and this version number by as with this user data uploaded corresponding the filename of historic user data that stores.In another example, described historical data information can also comprise user data name, data number, data message preview etc.Here, replace in example at one, the step S330 of display historical data list can also be saved.
Then, in step S350, generated historical data recovery request is sent to server.After receiving historical data recovery request, in step S360, the historical data information of the historical data that server comprises according to described historical data recovery request, inquires about corresponding historical data in the historical data database of server.Then, in step S370, inquired historical data is sent to mobile terminal.
After receiving the historical data that server returns, in step S380, the user data that received historical data and mobile terminal exist merges by mobile terminal." merging " mentioned here refers to the union of two data sets.Such as, if the data set of historical data={ data of Zhang San, the data of Li Si, the data of king five }, data set={ the data of Zhang San of the user data that mobile terminal exists, the data of horse six, the data of Zhao seven }, then the data set={ data of Zhang San after merging, the data of Li Si, the data of king five, the data of horse six, the data of Zhao seven }.
In addition, alternatively, after the merging of completing user data, can also on mobile terminals " prompting historical data has been recovered ".
Equally, the embodiment shown in Fig. 3 is only an example of historical data restoration methods of the present invention, instead of the present invention is limited to this.Can also modify to above-described embodiment.Such as, when performing historical data and recovering, step S310 to S330 can not be needed, but according to the historical data information that user selectes, the i.e. historical data generation time selected of user, generate the historical data recovery request including described historical data information, 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, quick user data recovery operation can also be performed.In this case, as long as mobile terminal sends quick data recovery request, then the data of backup (that is, up-to-date backup) the last in preserved historical data are just sent to mobile terminal by server, carry out user data recovery for mobile terminal.
Utilize the method, all customer data of mobile terminal previous backup can be recovered, and user data loss can not occur.In addition, utilize the method, Version Control can be carried out to the user data of user ID, thus avoid causing identical user data server being stored in different time and uploading, save the memory space of server thus.In addition, can also avoid when carrying out historical data and recovering, the feature cannot differentiating each the Backup Data in place is caused owing to there is no Version Control, and then cause recovering all historical datas, thus cause the data corruption and customer mobile terminal very large from the data traffic of server download.
Describe according to the method for backing up the user data on mobile terminal and/or recover of the present invention above with reference to Fig. 1 to Fig. 3.The above-mentioned method for backing up the user data on mobile terminal and/or recover of the present invention, can adopt software simulating, also can adopt hardware implementing, or adopts the mode of software and hardware combination to realize.
Fig. 4 shows according to an embodiment of the invention for backing up the user data of mobile terminal and/or the block diagram of server 400 of Recovery processing.
As shown in Figure 4, server 400 comprises user data receiving element 410, historic user data capture unit 420, comparing unit 430 and memory cell 440.
User data receiving element 410 is for receiving the user data uploaded from mobile terminal.After receiving the user data that mobile terminal uploads, historic user data capture unit 420 obtains all historic user data that server backs up.Then, uploaded user data and all historic user data obtained compare by comparing unit 430.If the user data uploaded is identical with one of in obtained historic user data, then do not back up.
If the user data uploaded is not identical with obtained all historic user data, the user data that then this uploads by memory cell 440 is stored in the historical data database of server as historic user data and the historical data information of this user data uploaded generated when forming this historical data explicitly, and described historical data information at least comprises historical data generation time.Thus, the backup of completing user data.
Fig. 5 shows according to another embodiment of the present invention for backing up the user data of mobile terminal and/or the block diagram of server 500 of Recovery processing.
Different from the server 400 shown in Fig. 4, except user data backup function, the server 500 shown in Fig. 5 can also realize historical data restore funcitons.
As shown in Figure 5, server 500 comprises user data receiving element 410, historic user data capture 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, historic user data capture unit 420, comparing unit 430, memory cell 440, described above, does not repeat them here.
Historical data recovery request receiving element 550 is for receiving historical data recovery request from mobile terminal, to be mobile terminal generate based on the historical data information of historical data described historical data recovery request, this historical data recovery request comprises this historical information, and described historical data information at least comprises historical data generation time.
The historical data information of historical data of the inquiry of historical data unit 560 for comprising according to described historical data recovery request, inquires about corresponding historical data in the historical data database of server.
Historical data transmitting element 570 is for being sent to mobile terminal by inquired about historical data.
In addition, in a preferred embodiment, server 500 can also comprise historical data list request receiving element 580 and historical data list transmitting element 590.Historical data list request receiving element is used for receiving historical data list request from mobile terminal.Historical data list transmitting element is used for after receiving the historical data list request that mobile terminal sends, asked historical data list is sent to mobile terminal, wherein, after receiving described historical data list, described mobile terminal selects the historical data that will recover in described historical data list, and sends the historical data recovery request of the historical data information including this historical data.
Fig. 6 shows according to an embodiment of the invention for backing up the user data of mobile terminal and/or the block diagram of system 600 of Recovery processing.
As shown in Figure 6, described system 600 comprises mobile terminal 610 and server 500.Described server 500 comprises user data receiving element 410, historic user data capture 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 list transmitting element 590.The function of said modules and identical shown in Fig. 5, be not described in detail at this.
Described mobile terminal 610 comprises user data upload unit 611, historical data list request transmitting element 612, historical data list reception unit 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, for when backing up user data, uploads the user data that will back up to server.Historical data list request transmitting element 612 is for sending historical data list request to server.Historical data list reception unit 613 is for receiving the historical data list sent from server.Historical data selected cell 614 for selecting the historical data that will recover in received historical data list.Historical data recovery request generation unit 615 is for based on the historical data information in described historical data list, generate historical data recovery request, described historical data recovery request comprises described historical data information, and described historical data information at least comprises historical data generation time.Historical data recovery request transmitting element 616 is for being sent to server by generated historical data recovery request.Historical data receiving element 617 is for receiving the historical data that will recover from server.
In addition, replace in example at one, the mobile terminal 610 in the system 600 shown in Fig. 6 can also comprise cache database (not shown), for the last user data that buffer memory was uploaded last time; And comparing unit (not shown), compare for the upload user data of buffer memory in the user data that will back up and described cache database, wherein, when the user data that this will back up is from when in described cache database, the upload user data of buffer memory are different, described user data upload unit just by this user data upload that will back up to server.Described mobile terminal also comprises upload user data updating unit (not shown), after passing user data on mobile terminals, utilize the upload user data that the current user data update uploaded stores in cache database, as the upload user data uploaded last time.
Shown in Fig. 6 is only a preferred embodiment of the present invention.Various amendment can also be carried out to this embodiment.Such as, the server illustrated in Fig. 6 also can adopt the server shown in Fig. 4, for only performing user data backup function.In addition, according to above-mentioned alter mode of carrying out for the historical data restoration methods shown in Fig. 3, the server 500 shown in Fig. 6 can also be revised accordingly.
In addition, the mobile terminal 610 shown in Fig. 6 is also only a preferred embodiment.In an alternate embodiment, it is part or all of that the mobile terminal 610 shown in Fig. 6 can not comprise in historical data list request transmitting element 612, historical data list reception unit 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.
In addition, in an embodiment of the present invention, although in the 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 an alternate embodiment, they also can utilize same receiving element or receiver module to realize.Equally, historical data transmitting element 570 and historical data list transmitting element 590 also can adopt same transmitting element or sending module to realize.In addition, in the 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 list reception unit 613 and historical data receiving element 617 also can utilize same receiving element or receiver module to realize.
In addition, typically, mobile terminal of the present invention can be various hand-held terminal device, such as mobile phone, personal digital assistant (PDA) etc., and therefore protection scope of the present invention should not be defined as the mobile 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 various illustrative logical blocks, module, circuit and the algorithm steps described by disclosure herein.In order to this interchangeability of hardware and software is clearly described, the function with regard to various exemplary components, square, module, circuit and step has carried out general description to it.This function is implemented as software or is implemented as hardware and depends on embody rule and be applied to the design constraint of whole system.Those skilled in the art can realize described function in every way for often kind of embody rule, but this realization determines should not be interpreted as causing departing from the scope of the present invention.
The following parts being designed to perform function described here can be utilized to realize or perform in conjunction with various illustrative logical blocks, module and the circuit described by disclosure herein: any combination of 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 these parts.General processor can be microprocessor, but alternatively, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and such as, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessor are in conjunction with DSP core or other this configuration any.
In the software module that step in conjunction with the method described by disclosure herein or algorithm can directly comprise within hardware, performed by processor or in the combination of both.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 other form any known in the art.Exemplary storage medium is coupled to processor, make processor can from this storage medium reading information or to this storage medium written information.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside in ASIC.ASIC can be in the user terminal resident.In an alternative, processor and storage medium can be in the user terminal resident as discrete assembly.
In one or more exemplary design, described function can realize in hardware, software, firmware or its combination in any.If realized in software, then described function can be transmitted on a computer-readable medium or by computer-readable medium as one or more instruction or code storage.Computer-readable medium comprises computer-readable storage medium and communication media, and this communication media comprises any medium contributing to computer program being sent to another position from a position.Storage medium can be can by any usable medium of universal or special computer access.Nonrestrictive as an example, 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 may be used for carrying or file layout be instruction or data structure required program code and can by other medium any of universal or special computer or universal or special processor access.In addition, any connection suitably can be called computer-readable medium.Such as, if use coaxial cable, optical fiber cable, twisted-pair feeder, the wireless technology of digital subscriber line (DSL) or such as infrared ray, radio and microwave is come from website, server or other remote source send software, then the wireless technology of above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or such as infrared first, radio and microwave includes the definition at medium.As used herein, disk and CD comprise compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, the wherein usual magnetically rendering data of disk, and cd-rom using laser optics ground rendering data.The combination of foregoing also should be included in the scope of computer-readable medium.
Although disclosed content shows exemplary embodiment of the present invention above, it should be noted that under the prerequisite not deviating from the scope of the present invention that claim limits, can multiple change and amendment be carried out.Need not perform with any particular order according to the function of the claim to a method of inventive embodiments described herein, step and/or action.In addition, although element of the present invention can, with individual formal description or requirement, also it is contemplated that multiple, be odd number unless explicitly limited.
Although describe each embodiment according to the present invention above with reference to figure to be described, it will be appreciated by those skilled in the art that each embodiment that the invention described above is proposed, various improvement can also be made on the basis not departing from content of the present invention.Therefore, protection scope of the present invention should be determined by the content of appending claims.

Claims (10)

1. the method for processing the user data of mobile terminal, described method performs at server end, and described method comprises:
Receive the user data uploaded from mobile terminal;
Obtain all historic user data that server backs up; And
When all historic user data that uploaded user data with the described server obtained back up all there are differences, the historical data information of the user data that the user data this uploaded is uploaded as historic user data and this is stored in the historical data database of server explicitly; Wherein, described historical data information generates when uploaded user data is formed as corresponding historic user data, the version number at least comprising historical data generation time, user data name, data number, data message preview and generate based on historical data generation time, described version number by as with this user data uploaded corresponding the filename of historic user data that stores;
Wherein, before uploading the user data that will back up to server at mobile terminal, the upload user data that the last time of buffer memory in the cache database of the described user data that will back up and mobile terminal uploads also compare by mobile terminal, when the described user data that will back up is different from the upload user data that described last time uploads, by the described user data upload that will back up to server, and the upload user data of buffer memory in the cache database of user data update mobile terminal that will back up described in utilizing.
2. the method for claim 1, wherein described historical data information is stored in the historical data list of server.
3. method as claimed in claim 2, wherein, when performing historical data and recovering, described method also comprises:
After receiving historical data recovery request from mobile terminal, according to the historical data information of the historical data that described historical data recovery request comprises, in the historical data database of server, inquire about corresponding historical data; And
Inquired about historical data is sent to mobile terminal.
4. method as claimed in claim 3, wherein, when performing historical data and recovering, according to ask the historical data information of the historical data recovered, inquire about the historical data of correspondence in the historical data database of server before, described method comprises:
After receiving the historical data list request that mobile terminal sends, asked historical data list is sent to mobile terminal,
Wherein, after receiving described historical data list, described mobile terminal selects the historical data that will recover in described historical data list, and sends the historical data recovery request of the historical data information including this historical data.
5. method as claimed in claim 2, wherein, when carrying out quick date restoring, described method comprises:
The historical data of up-to-date backup is sent to mobile terminal.
6. for backing up the historical data of mobile terminal and the method for Recovery processing, wherein, when carrying out historical data backup, described method comprises:
Mobile terminal uploads the user data that will back up to server;
After receiving the user data uploaded from mobile terminal, server obtains all historic user data that server backs up;
All historic user data that uploaded user data and the described server that obtains back up compare by server, and when there are differences, the historical data information of the user data that the user data this uploaded is uploaded as historic user data and this is stored in the historical data database of server explicitly; Wherein, described historical data information generates when uploaded user data is formed as corresponding historic user data, to be stored in historical data list and the version number at least comprising historical data generation time, user data name, data number, data message preview and generate based on historical data generation time, described version number by as with this user data uploaded corresponding the filename of historic user data that stores;
Wherein, before uploading the user data that will back up to server at mobile terminal, in the cache database of the user data that mobile terminal will back up and mobile terminal, the upload user data uploaded compare the last time of buffer memory, when the described user data that will back up is different from the upload user data that described last time uploads, by the described user data upload that will back up to server, and the upload user data of buffer memory in the cache database of user data update mobile terminal that will back up described in utilizing; And
When carrying out historical data and recovering, described method comprises:
Mobile terminal sends historical data list request to server end;
After receiving described historical data list request, server sends the historical data list of asking to mobile terminal;
After receiving described historical data list, mobile terminal selects the historical data that will recover, and generates the historical data recovery request including 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, the historical data information of the historical data that described server comprises according to described historical data recovery request, in the historical data database of server, inquire about corresponding historical data, and inquired historical data is sent to mobile terminal;
After receiving described historical data, the user data in received historical data and mobile terminal merges by mobile terminal.
7. the server for processing the user data of mobile terminal, comprising:
User data receiving element, for receiving the user data uploaded from mobile terminal;
Historic user data capture unit, for obtaining all historic user data that server backs up; And
Comparing unit, for comparing all historic user data that uploaded user data and the described server that obtains back up;
Memory cell, for when uploaded user data all there are differences with all historic user data obtained, the historical data information of the user data that the user data this uploaded is uploaded as historic user data and this is stored in the historical data database of server explicitly; Wherein, described historical data information generates when uploaded user data is formed as corresponding historic user data, the version number at least comprising historical data generation time, user data name, data number, data message preview and generate based on historical data generation time, described version number by as with this user data uploaded corresponding the filename of historic user data that stores;
Wherein, at mobile terminal to before server upload user data, the upload user data that the last time of buffer memory in the cache database of user data to be uploaded and mobile terminal uploads also compare by mobile terminal, and when described user data to be uploaded is different from the upload user data that described last time uploads, by described user data upload to be uploaded to server, and utilize the upload user data of buffer memory in the cache database of described user data update mobile terminal to be uploaded.
8. server as claimed in claim 7, also comprises:
Historical data recovery request receiving element, for receiving historical data recovery request from mobile terminal;
The inquiry of historical data unit, for the historical data information of historical data comprised according to described historical data recovery request, inquires about corresponding historical data in the historical data database of server; And
Historical data transmitting element, for being sent to mobile terminal by inquired about historical data.
9. server as claimed in claim 8, also comprises:
Historical data list request receiving element, for receiving historical data list request from mobile terminal; And
Historical data list transmitting element, for after receiving the historical data list request that mobile terminal sends, sends to mobile terminal by asked historical data list,
Wherein, after receiving described historical data list, described mobile terminal selects the historical data that will recover in described historical data list, and sends the historical data recovery request of the historical data information including this historical data.
10., for backing up the historical data of mobile terminal and the system of Recovery processing, described system comprises mobile terminal and server,
Wherein, described mobile terminal comprises:
User data upload unit, for when backing up user data, uploads the user data that will back up to server;
Historical data list request transmitting element, for sending historical data list request to server;
Historical data list reception unit, for receiving the historical data list sent from server;
Historical data selected cell, for selecting the historical data that will recover in received historical data list;
Historical data recovery request generation unit, for based on the historical data information in described historical data list, generate historical data recovery request, described historical data recovery request includes described historical data information;
Historical data recovery request transmitting element, for being sent to server by generated historical data recovery request;
Historical data receiving element, for receiving the historical data that will recover from server;
Upload user data updating unit, after passing user data on mobile terminals, utilizes the upload user data that the current user data update uploaded stores in cache database, as the upload user data uploaded last time;
Cache database, for the upload user data that buffer memory was uploaded last time; And
Comparing unit, the upload user data uploaded for the last time of buffer memory in the user data that will back up and described cache database compare;
Wherein, when the described user data that will back up is different from the upload user data that described last time uploads, described user data upload unit by the described user data upload that will back up to server;
Wherein, described server comprises:
User data receiving element, for receiving the user data uploaded from mobile terminal;
Historic user data capture unit, for obtaining all historic user data that server backs up;
Comparing unit, for comparing all historic user data that uploaded user data and the described server that obtains back up;
Memory cell, for when uploaded user data all there are differences with all historic user data obtained, the historical data information of the user data that the user data this uploaded is uploaded as historic user data and this is stored in the historical data database of server explicitly, described historical data information generates when uploaded user data is formed as corresponding historic user data, at least comprise historical data generation time, user data name, data number, data message preview and the version number generated based on historical data generation time, described version number by as with this user data uploaded corresponding the filename of historic user data that stores,
Historical data list request receiving element, for receiving historical data list request from mobile terminal;
Historical data list transmitting element, for after receiving the historical data list request that mobile terminal sends, asked historical data list is sent to mobile terminal historical data recovery request receiving element, for receiving historical data recovery request from mobile terminal;
The inquiry of historical data unit, for the historical data information of historical data comprised according to described historical data recovery request, inquires about corresponding historical data in the historical data database of server; And
Historical data transmitting element, for being sent to mobile terminal by inquired about historical data.
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 CN102231881A (en) 2011-11-02
CN102231881B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104657386A (en) * 2013-11-22 2015-05-27 南京中兴新软件有限责任公司 Method and device for deduplication processing on version files
CN104270303A (en) * 2014-09-29 2015-01-07 中国农业银行股份有限公司宿迁分行 Automatic data information sending method and system
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
CN112667607B (en) * 2021-01-18 2024-02-27 中国民航信息网络股份有限公司 Historical data management method and related equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8443108B2 (en) * 2004-06-23 2013-05-14 Nokia Corportion Centrally controlled backup functionality
CN1319328C (en) * 2005-01-07 2007-05-30 刘惠山 Hand-held mobile terminal user customized information network back-up method
CN101136938B (en) * 2007-09-10 2011-04-27 北京易路联动技术有限公司 Centralized management method and platform system for mobile internet application

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN102231881A (en) 2011-11-02

Similar Documents

Publication Publication Date Title
CN102231881B (en) Method, server and system for processing user data of mobile terminal
CN109597717B (en) Data backup and recovery method and device, electronic equipment and storage medium
CN104272274A (en) Data processing method and device in distributed file storage system
CN105302675A (en) Method and device for data backup
US8799467B2 (en) Storage and communication de-duplication
US20170185615A1 (en) Data processing method and device
CN102523290B (en) Data processing method, device and system
CN103095843A (en) Method and client of data backup based on version vectors
CN108377319B (en) Picture transmission method and device
CN103914338A (en) Terminal background application cleaning method, terminal and system
CN104010042A (en) Backup mechanism for repeating data deleting of cloud service
CN112433885B (en) Block chain consensus processing method and device, electronic equipment and storage medium
CN103327085A (en) Distributed data processing method, data center and distributed data system
CN104486438A (en) Disaster-tolerant method and disaster-tolerant device of distributed storage system
WO2020098818A3 (en) Taking snapshots of blockchain data
CN106201772A (en) The backup of a kind of operating system based on data center, restoration methods and device
CN103440204B (en) A kind of method of updating file system and memory device
CN104503870A (en) Electronic device and data processing method
CN109672544B (en) Data processing method and device and distributed storage system
CN104463264A (en) Dynamic generation and display system for two-dimensional code and control method of dynamic generation and display system
EP4300314A3 (en) Data backup method, apparatus and system
CN105988890B (en) Information backup method and device
CN104639973A (en) Information pushing method and device
CN105376279A (en) Contact recommending method and device
CN103530205A (en) Method and device for processing fault duplicate in multiple duplicates

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

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.

TR01 Transfer of patent right