CN103200233B - Message back-up method based on increment and system thereof - Google Patents

Message back-up method based on increment and system thereof Download PDF

Info

Publication number
CN103200233B
CN103200233B CN201310069875.2A CN201310069875A CN103200233B CN 103200233 B CN103200233 B CN 103200233B CN 201310069875 A CN201310069875 A CN 201310069875A CN 103200233 B CN103200233 B CN 103200233B
Authority
CN
China
Prior art keywords
list
short message
unique mark
initial
newly
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.)
Expired - Fee Related
Application number
CN201310069875.2A
Other languages
Chinese (zh)
Other versions
CN103200233A (en
Inventor
冯小卫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310069875.2A priority Critical patent/CN103200233B/en
Publication of CN103200233A publication Critical patent/CN103200233A/en
Application granted granted Critical
Publication of CN103200233B publication Critical patent/CN103200233B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a message back-up method based on increment. The method comprises the follow steps: generating a current partial unique identification list according to all messages in a current inbox; transferring a mapping table, an initial global unique identification list and the current partial unique identification list to generate a newly increased message back-up list, wherein the mapping table comprises one to one corresponding relations between global unique identification and partial unique identification; and backuping specific message content corresponds to the newly increased message back-up list. Compared with the prior art, when messages are backuped, the method only uploads newly increased message content after being backuped successfully last time to a server, does not need to upload backuped messages repeatedly, and effectively saves dataflow for users. Furthermore, the invention further provides a message back-up system based on increment.

Description

Short message backup method and its system based on increment
Technical field
The present invention relates to communication technical field, relates more specifically to a kind of short message backup method based on increment and its is System.
Background technology
At present the backup method of note is generally by short message backup instrument on the market, such as:QQ synchronization assistants, wax crayon are same Step etc..These backup tools are to adopt all note datas are once uploaded onto the server when short message backup is carried out, all Above, then by server first judge which note is to need to carry out backing up preservation, afterwards just to needing the note for preserving to enter Row backup.The defect that such implementation is caused is required for the data previously having had backed up when backup every time Again upload once, can so consume many unnecessary data traffics.
Therefore, it is necessary to provide a kind of upload Last Successful Back up after increase newly note to server, think that user has Effect saves the short message backup method and its mobile terminal based on increment of data traffic overcoming drawbacks described above.
The content of the invention
It is an object of the invention to provide a kind of short message backup method based on increment, the method only uploads Last Successful Back up The note for increasing newly afterwards is to server, and need not repeatedly upload the note for having backed up, so as to effectively save data traffic for user.
It is a further object of the present invention to provide a kind of short message backup system based on increment, on the mobile terminal of the system The note increased newly after passing Last Successful Back up to server, and without the need for repeatedly uploading the note for having backed up, so as to for user it is effective Save data traffic.
For achieving the above object, the invention provides a kind of short message backup method based on increment, comprises the steps:
Current local unique mark list is generated according to all notes in present inbox;
Mapping table, initial globally unique identifier's list and the current local unique mark list is called to generate newly-increased note Backup list, the mapping table include the one-to-one relationship between globally unique identifier and local unique mark;
Back up the concrete short message content corresponding to the newly-increased short message backup list.
Compared with prior art, short message backup method of the invention is first generated according to all notes in present inbox and is worked as Front local unique mark list, recalls mapping table between globally unique identifier and local unique mark, current local unique Identification list and initial globally unique identifier's list generate newly-increased short message backup list, finally according to the newly-increased short message backup list Corresponding concrete short message content is backed up, i.e., when short message backup is carried out, is only needed newly-increased short according to newly-increased short message backup list upload Letter content is to server, and need not repeatedly upload the note for having backed up, so as to effectively save data traffic for user.
It is preferred that carry out step " generating current local unique mark list according to all notes in present inbox " it Before include:
Initial globally unique identifier's list, initial local unique mark list are generated according to the note that last time has backed up And the mapping table.
It is preferred that current local unique mark list and initial local unique mark list are included in note Hold and the local unique mark value corresponding with the short message content.
It is preferred that the local unique mark value is by the address of the addressee according to the short message content and the short message content Transmission Time Calculation MD5 value obtained.
Correspondingly, the invention provides a kind of short message backup system based on increment, including:
Mobile terminal, for generating current local unique mark list, sending according to all notes in present inbox The concrete short message content that the current local unique mark list, the newly-increased short message backup list of reception and transmission are backed up;And
Server, for calling mapping table, initial globally unique identifier's list and the current local unique mark list Generate newly-increased short message backup list and back up the concrete short message content corresponding to the newly-increased short message backup list, the mapping table Including the one-to-one relationship between globally unique identifier and local unique mark.
It is preferred that the mobile terminal is specifically included:
List Generating Module, generates initial globally unique identifier's list, just for the note that backed up according to last time Beginning local unique mark list and the mapping table, and for generating current local only according to all notes in present inbox One identification list;
Sending module, for sending initial globally unique identifier's list, initial local unique mark list, mapping table And current local unique mark list is to the server;
Receiver module, for receiving the newly-increased short message backup list;And
Upper transmission module, for the concrete short message content corresponding to the newly-increased short message backup list is uploaded with preset format.
It is preferred that the preset format is XML.
Specifically, current local unique mark list and initial local unique mark list is included in note Hold and the local unique mark value corresponding with the short message content.
Preferably, the mobile terminal also includes computing module, for the address of the addressee according to the short message content and The transmission Time Calculation MD5 value of the short message content is obtaining the local unique mark value.
It is preferred that the server is specifically included:
Memory module, for storing described initial globally unique identifier's list, the initial local that the sending module sends Unique mark list, mapping table and the current local unique mark list;
Contrast module, for increasing message list will be described described in the data genaration that stored according to the memory module newly Newly-increased message list is sent to the receiver module;And
Backup module, it is concrete corresponding to the described newly-increased short message backup list uploaded by the upper transmission module for backing up Short message content.
By description below and accompanying drawing is combined, the present invention will become more fully apparent, these accompanying drawings are used to explain the present invention Embodiment.
Description of the drawings
Fig. 1 is a kind of flow chart of the short message backup method based on increment of the present invention.
Fig. 2 is the schematic diagram of current local unique mark list or initial local unique mark list shown in Fig. 1.
Fig. 3 is the schematic diagram of initial globally unique identifier list shown in Fig. 1.
Schematic diagrams of the Fig. 4 for mapping table shown in Fig. 1.
Fig. 5 is structured flowchart of the present invention based on one embodiment of short message backup system of increment.
Specific embodiment
With reference now to Description of Drawings embodiments of the invention, the element numbers being similar in accompanying drawing represent similar element.
It should be noted that the present invention it is front once successfully back up on the basis of realize, server saves each The corresponding data once successfully backed up before account, after mobile terminal networking, server meeting Auto-matching is corresponding with mobile terminal Accounting number users.
Embodiments of the invention are described in detail below in conjunction with accompanying drawing.
Fig. 1 is refer to, the invention provides a kind of short message backup method based on increment, comprises the steps:
S001, generates initial globally unique identifier's list, initial local according to the note that last time has successfully backed up and uniquely marks Know list and mapping table;Specifically, the note that mobile terminal was successfully backed up according to last time generates above table and by above-mentioned table Lattice upload onto the server;More specifically, globally unique identifier's list is also known as Guid lists, local unique mark list is also known as Luid List, the mapping table include the one-to-one relationship between Guid lists and Luid lists;It should be noted that the Guid lists Including each short message content and the Guid value corresponding with each short message content, the Luid lists include each short message content and with The corresponding Luid values of each short message content;Wherein, Luid lists, Guid lists and mapping table distinguish institute as shown in Figure 2, Figure 3 and Figure 4 Show;In fig. 2, every Luid values identify each short message content, the such as mark of Luid values 11 short message content car;Wherein, this is initial Luid lists are generated according to the note for having backed up, and current Luid lists are generated according to all notes of present inbox;In Fig. 3 In, the Guid values of each note identify each short message content, and the such as mark of Guid values 1010101 short message content is car, initial Guid List is generated according to the note for uploading successfully backup by mobile terminal;In the diagram, the mapping table is included between Guid and Luid The 11 of 1010101 correspondence Luid of one-to-one relationship, such as Guid, the map listing is by mobile terminal according to Last Successful Back up Note generate;Further, the acquisition of the Luid values is by address of the addressee adress and sends the splicing of time date Get up to calculate the acquisition of MD5 values;More specifically, for example:When the operating system of the mobile terminal is Android system, there is one 10086 note is distributed to 28 days 11: 07 December in 2012, due to the time of Android system use relative to The millisecond number timing that on January 1st, 1970 starts, so date=1356675643123, the Address=10086 in this example, Luid values calculate MD5 values by character string 135667564312310086 and obtain;
S002, User logs in;Specifically, the account of mobile terminal is logged in, the corresponding each user of each account;Specific account Number login mode has:Correspondence account is restarted or automatically switched as needed to start so as to select corresponding User logs in;
S003, generates current local unique mark list according to all notes in present inbox;Specifically, mobile whole Hold current local unique mark list is generated according to all notes in present inbox;
S004, mobile terminal upload current local unique mark list to server;Specifically, in the mobile terminal networking Afterwards, current local unique mark list is uploaded onto the server by network;
S005, calls mapping table, initial globally unique identifier's list and current local unique mark list to generate newly-increased short Letter backup list, and the newly-increased short message backup list is transferred to into mobile terminal;Specifically, the server Auto-matching movement end The login user at end, after current local unique mark list is received, the server calls include globally unique identifier and office The mapping table of the one-to-one relationship between portion's unique mark, initial globally unique identifier's list and current local unique mark List generates newly-increased short message backup list need_list, and the need_list is transferred to mobile terminal;Wherein, this is newly-increased short Letter backup list need_list includes identifying the Luid values of newly-increased note;
Specific short message content is transferred to service with preset format according to newly-increased short message backup list by S006, mobile terminal Device;Specially:Mobile terminal receive the newly-increased short message backup list be need_list lists when, according to the need_list oneself It is dynamic to filter out corresponding newly-increased note, and specific newly-increased short message content mode in xml format is uploaded to into clothes by network Business device;
S007, the server backup short message content;Specifically, the server is after short message content is received, perform to this The operation backed up by the short message content that mobile terminal is uploaded.
Specifically, when mobile terminal upload current Luid lists after, server calls mapping table, initial Guid lists and The current Luid lists contrast generates newly-increased short message backup list.Further, when current Luid lists are arranged with initial Guid When table is contrasted, without corresponding mapping relations in the map listing, then show that the note of the Luid values mark is newly-increased note, will The Luid values are put in newly-increased short message backup list need_list, referring to Fig. 2, Fig. 3 and Fig. 4, when Luid values are 55, are being reflected Corresponding corresponding relation is had no in firing table, then the note of 55 marks is newly-increased note, newly-increased short message backup list is put into by 55 In need_list.
Fig. 5 is refer to again, present invention also offers a kind of short message backup system 100 based on increment, including mobile terminal 10 and with the mobile terminal 10 by the server 20 of network connection.Specifically, the mobile terminal 10 is used for according to current receipts In part case, all of note generates current local unique mark list and is current Luid lists and the Luid lists are uploaded to this Server 20, the server 20 are called and are closed comprising the one-to-one corresponding between globally unique identifier Guid and local unique mark Luid The mapping table of system, initial globally unique identifier's list and the list of initial local unique mark contrast generates newly-increased short message backup list The need_list is simultaneously transferred to the mobile terminal 10 by need_list, and the mobile terminal 10 then will have according to the need_list The newly-increased short message content of body mode in xml format is uploaded to the server 20 by network, and the server 20 is performed to uploading The operation backed up of the short message content.It should be noted that mapping table, initial Guid lists and initial Luid lists are by moving Dynamic terminal 10 is generated according to the last note for successfully backing up.
It should be noted that current local unique mark list and the initial local unique mark list include Short message content and the local unique mark value corresponding with the short message content.
Specifically, the mobile terminal 10 is specifically included:
Computing module 101, for the transmission time of the address of the addressee according to the short message content and the short message content Calculate MD5 values to obtain the local unique mark value;
List Generating Module 102, for generating the initial overall situation only after Last Successful Back up, according to the note for successfully backing up One identification list(Initial Guid lists), initial local unique mark list(Initial Luid lists)And comprising Guid and Luid it Between one-to-one relationship mapping table, and for generating current local unique mark row according to all notes in present inbox Table(Current Luid lists);
Sending module 103, for by initial Guid lists, the mapping comprising the one-to-one relationship between Guid and Luid Table, initial Luid lists and the current Luid lists generated according to all notes of present inbox are sent to server 20;
Receiver module 104, for the newly-increased short message backup list of the transmission of the reception server 20(need_list);Specifically, It is after need_list includes that the Luid values for identifying newly-increased note, mobile terminal 10 receive the need_list, automatic according to the list Match specific note;
Upper transmission module 105, for specific short message content is passed through default according to newly-increased short message backup list need_list Form uploads onto the server 20;Wherein, the preset format is XML.
Specifically, the server 20 is specifically included:
Memory module 201, for store sending module 103 transmission initial Guid lists, initial Luid lists, mapping table And current Luid lists;
Contrast module 202, is connected with receiver module 104 and memory module 201, for calling the storage of memory module 201 Initial Guid lists, mapping table and current Luid lists contrast generate newly-increased short message backup list need_list, and should Need_list is transferred to receiver module 104;
Backup module 203, is connected with upper transmission module 105, for backing up upper transmission module 105 according to the newly-increased short message backup row The specific short message content that table need_list is corresponding, upload in xml format.
The present invention based on the operation principle of the short message backup system of increment is:
The List Generating Module 102 of mobile terminal 10 generates initial Guid lists, just according to the note of Last Successful Back up The list of beginning Luid and mapping table, and all lists for generating are sent to server 20 by sending module 103.Mobile terminal 10 Current Luid lists are generated further according to all notes of present inbox and the list is transferred to the memory module of server 20 201;Afterwards, the contrast module 202 of server 20 calls mapping table, current Luid lists and initial Guid lists to be contrasted, Draw newly-increased short message backup list need_list and the list is fed back to the receiver module 104 of mobile terminal 10, upper transmission module 105 upload according to the mode of the need_list lists by specific short message content in xml format received by receiver module 104 To the backup module 203 of server 20;Finally, the short message content of 203 pairs of receptions of backup module is backed up.
From the above, it can be seen that short message backup method and system of the present invention based on increment, are carrying out short message backup When, the short message content increased newly after only uploading Last Successful Back up is to server, and need not repeatedly upload the note for having backed up, so as to Data traffic is saved effectively for user.
Above in association with most preferred embodiment, invention has been described, but the invention is not limited in enforcement disclosed above Example, and modification, the equivalent combinations that various essence of the invention are carried out should be covered.

Claims (10)

1. a kind of short message backup method based on increment, it is characterised in that comprise the steps:
Mobile terminal generates current local unique mark list according to all notes in present inbox;Wherein, it is described current Local unique mark list includes short message content and the local unique mark value corresponding with the short message content;
The mobile terminal uploads the local unique mark value of the current local unique mark list to server;
The local of server calls mapping table, initial globally unique identifier's list and the current local unique mark list is unique Ident value generates newly-increased short message backup list, and the mapping table is included between globally unique identifier and local unique mark one by one Corresponding relation, initial globally unique identifier's list include the corresponding overall situation of short message content and each short message content only One ident value;
Increase the concrete short message content corresponding to short message backup list described in the server backup newly.
2. the short message backup method based on increment as claimed in claim 1, it is characterised in that carry out step " according to current receipts All notes in part case generate current local unique mark list " include before:
Initial globally unique identifier's list, the list of initial local unique mark and institute are generated according to the note that last time has backed up State mapping table.
3. the short message backup method based on increment as claimed in claim 2, it is characterised in that the initial local unique mark List includes short message content and the local unique mark value corresponding with the short message content.
4. the short message backup method based on increment as claimed in claim 3, it is characterised in that the local unique mark value by Obtained according to the transmission Time Calculation MD5 value of the address of the addressee and the short message content of the short message content.
5. a kind of short message backup system based on increment, it is characterised in that include:
Mobile terminal, described in generating current local unique mark list, sending according to all notes in present inbox It is concrete short that the local unique mark value of current local unique mark list, the newly-increased short message backup list of reception and transmission are backed up Letter content;And
Server, for calling the office of mapping table, initial globally unique identifier's list and the current local unique mark list Portion's unique mark value generates newly-increased short message backup list and backs up in the concrete note corresponding to the newly-increased short message backup list Hold, the mapping table includes the one-to-one relationship between globally unique identifier and local unique mark, and the initial overall situation is only One identification list includes the corresponding globally unique identifier's value of short message content and each short message content.
6. the short message backup system based on increment as claimed in claim 5, it is characterised in that the mobile terminal is specifically wrapped Include:
List Generating Module, the note for having been backed up according to last time generate initial globally unique identifier's list, initial office Portion's unique mark list and the mapping table, and current local is unique to mark for being generated according to all notes in present inbox Know list;
Sending module, for sending initial globally unique identifier's list, initial local unique mark list, mapping table and institute The list of current local unique mark is stated to the server;
Receiver module, for receiving the newly-increased short message backup list;And
Upper transmission module, for the concrete short message content corresponding to the newly-increased short message backup list is uploaded with preset format.
7. the short message backup system based on increment as claimed in claim 6, it is characterised in that the preset format is XML.
8. the short message backup system based on increment as claimed in claim 6, it is characterised in that the initial local unique mark List includes short message content and the local unique mark value corresponding with the short message content.
9. the short message backup system based on increment as claimed in claim 8, it is characterised in that the mobile terminal also includes meter Calculate module, for according to the transmission Time Calculation MD5 value of the address of the addressee of the short message content and the short message content obtaining Take the local unique mark value.
10. the short message backup system based on increment as claimed in claim 6, it is characterised in that the server is specifically included:
Memory module, described initial globally unique identifier's list, the initial local for storing the sending module transmission are unique Identification list, mapping table and the current local unique mark list;
Contrast module, for increasing message list described in the data genaration that stored according to the memory module newly and described will increase newly Message list is sent to the receiver module;And
Backup module, for backing up the concrete note corresponding to the described newly-increased short message backup list uploaded by the upper transmission module Content.
CN201310069875.2A 2013-03-05 2013-03-05 Message back-up method based on increment and system thereof Expired - Fee Related CN103200233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310069875.2A CN103200233B (en) 2013-03-05 2013-03-05 Message back-up method based on increment and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310069875.2A CN103200233B (en) 2013-03-05 2013-03-05 Message back-up method based on increment and system thereof

Publications (2)

Publication Number Publication Date
CN103200233A CN103200233A (en) 2013-07-10
CN103200233B true CN103200233B (en) 2017-04-19

Family

ID=48722588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310069875.2A Expired - Fee Related CN103200233B (en) 2013-03-05 2013-03-05 Message back-up method based on increment and system thereof

Country Status (1)

Country Link
CN (1) CN103200233B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717620A (en) * 2013-12-13 2015-06-17 中国电信股份有限公司 Synchronous processing method and system of text message in mobile phone terminal
CN105468472B (en) * 2014-07-14 2020-01-17 北京奇虎科技有限公司 Data backup and recovery method and device based on iOS operating system
CN106162580B (en) * 2015-04-27 2020-01-14 小米科技有限责任公司 Multimedia message synchronization method and device
CN107193827B (en) * 2016-03-14 2020-07-17 阿里巴巴集团控股有限公司 Idempotent control method and device for sub-base and sub-table
CN113641533B (en) * 2020-04-27 2024-03-12 青岛海信移动通信技术有限公司 Terminal and short message processing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149694A (en) * 2007-11-02 2008-03-26 西安三茗科技有限责任公司 Method for incremental backup and whole roll recovery method based on block-stage
CN101404792A (en) * 2008-10-24 2009-04-08 北京亿企通信息技术有限公司 Mobile phone message backup method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149694A (en) * 2007-11-02 2008-03-26 西安三茗科技有限责任公司 Method for incremental backup and whole roll recovery method based on block-stage
CN101404792A (en) * 2008-10-24 2009-04-08 北京亿企通信息技术有限公司 Mobile phone message backup method and system

Also Published As

Publication number Publication date
CN103200233A (en) 2013-07-10

Similar Documents

Publication Publication Date Title
CN103200233B (en) Message back-up method based on increment and system thereof
CN106101982B (en) A kind of application program method for down loading and system
CN105515847A (en) Terminal fault processing method, device and system
CN107105050B (en) Storage and downloading method and system for service objects
CN101610501A (en) Device firmware upgrade system and method, device management server and portable terminal
RU2020133054A (en) METHOD AND DEVICE FOR AEROSOL DELIVERY FOR INFORMATION TRANSMISSION OF AEROSOL DELIVERY DEVICE
CN110062060B (en) System and method for IP address allocation
CN103905257A (en) Method and device for always-online application to adaptively set heartbeat time, and mobile phone terminal
CN104936157A (en) Mobile phone number bound account acquisition method and system
CN105991690A (en) Information sharing method and apparatus
CN103581846A (en) User business card updating method and system
CN103297937A (en) Method, system and device for achieving short message notification
WO2008093164A3 (en) Communication system and method
CN107666664B (en) Method, device, equipment and storage medium for machine-card binding
CN104079499A (en) Message processing method and device based on token buckets
CN107770035A (en) A kind of method and apparatus for pushing offline notification
CN107454659A (en) A kind of terminal identification method, system, terminal device and base station
CN109981386B (en) Network quality testing method, testing server and testing system
CN103188135B (en) The method of mark mails state, mail server, terminal and e-mail system
CN104053132B (en) A kind of method and device of information number identification
CN102231668A (en) Multicast service charging method, device and system
CN105847390A (en) Data transmission method and device, and computer device
CN103546513B (en) The method and device of communication between a kind of customer terminal webpage
CN101848436A (en) Method, device and system for transmitting short message status report
CN101827068A (en) Business scenario reduction method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170419