CN104065673B - A kind of implementation method and device by address list synchronization to server - Google Patents
A kind of implementation method and device by address list synchronization to server Download PDFInfo
- Publication number
- CN104065673B CN104065673B CN201310086075.1A CN201310086075A CN104065673B CN 104065673 B CN104065673 B CN 104065673B CN 201310086075 A CN201310086075 A CN 201310086075A CN 104065673 B CN104065673 B CN 104065673B
- Authority
- CN
- China
- Prior art keywords
- seed
- person information
- associated person
- server
- user terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000004891 communication Methods 0.000 claims description 12
- 230000006870 function Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- PLXMOAALOJOTIY-FPTXNFDTSA-N Aesculin Natural products OC[C@@H]1[C@@H](O)[C@H](O)[C@@H](O)[C@H](O)[C@H]1Oc2cc3C=CC(=O)Oc3cc2O PLXMOAALOJOTIY-FPTXNFDTSA-N 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The present invention discloses a kind of implementation method and device by address list synchronization to server, is related to data service technical field, solves the big technical problem of server transmitting short message pressure in the prior art.Wherein, this method includes:Server receives each bar associated person information that the user terminal is have recorded in the address list that user terminal is uploaded first, the address list;For every associated person information, the seed ID that server is included according to the associated person information judges that the associated person information whether there is in seed database;If it is determined that the seed ID is not present in the seed database, then server increases the associated person information newly in the seed database.Present invention is mainly used for short message receiving-transmitting.
Description
Technical field
The present invention relates to data service technical field, more particularly to a kind of realization side by address list synchronization to server
Method and device.
Background technology
At present, the address list in the terminals such as mobile phone is uploaded on the server of network side and backed up, to prevent contact
The contact method of people is lost or is easy to the function of inquiring contactor to be widely used.And it is existing that address list is same
Walk the scheme on server and attached most importance to the independent communication record upload backup and download of sole user, basic working mechanism
It is as follows:
1)Upload all -- the content in address list is all uploaded onto the server end;
2)Upload and update -- by contact person's synchronized update of newly-increased, modification and deletion to server end;
3)Download all -- the associated person information that server end is stored is downloaded into mobile phone terminal;
4)Fast synchronization -- after newly-increased, modification and the contact person deleted are uploaded onto the server, then by server end
Modification downloads to mobile phone terminal.
But it can be seen from the working mechanism of such scheme, at least there is following technology and ask in existing address list synchronization process
Topic:
Upload, renewal, download during address list synchronization is all just in address list wall scroll in user mobile phone or SIM card
Hold, therefore the same contact person of different user will upload and preserve on the server as a plurality of record, that is, repeat to record same
Contact number, thus causes network entity load excessive, and data are cumbersome;Upper transfer efficiency is triggered as well as record is repeated
Low the problem of.
The content of the invention
In order to solve same contact person in the prior art be uploaded and record repeatedly on server, server load it is big and
The technical problem of inefficiency is uploaded, the present invention proposes a kind of implementation method and device by address list synchronization to server.
A kind of implementation method by address list synchronization to server, including:
Server receives in the address list that user terminal is uploaded first, the address list and have recorded each of the user terminal
Bar associated person information;
For every associated person information, the seed ID that server is included according to the associated person information judges the contact person
Information whether there is in seed database;
If it is determined that the seed ID is not present in the seed database, then server is increased newly in the seed database
The associated person information.
A kind of device of realizing by address list synchronization to server, including:
Receiving module, the user is have recorded for receiving in the address list that user terminal is uploaded first, the address list
Each bar associated person information of terminal;
Judge module, for for every associated person information, the seed ID included according to the associated person information to judge institute
Associated person information is stated to whether there is in seed database;
Newly-increased module, for when the judge module judges that the seed ID is not present in the seed database,
Increase the associated person information in the seed database newly.
Associated person information in user communication record is being preserved seed database on the server by the scheme that the present invention is provided
Before, it whether there is using the seed ID for first judging to include in associated person information in the seed database of server side, then will
Judge that the associated person information being not present in seed database increases the technical scheme in seed database newly, solve existing skill
In art, for same associated person information, repeatedly record on the database, causes repeated data on server various, and data volume is big
Technical problem, and then achieve and reduce the repeated data of same bar record, database entity pressure is reduced, effect is uploaded while increasing
Rate, and because database duplicate contents are few, it is easy to check and accept the technique effect of data message.
Brief description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for specification, the reality with the present invention
Applying example is used to explain the present invention together, is not construed as limiting the invention.In the accompanying drawings:
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is that a kind of flow for implementation method by address list synchronization to server that the embodiment of the present invention 1 is provided is shown
It is intended to;
Fig. 2 is that a kind of structure for realizing device by address list synchronization to server that the embodiment of the present invention 2 is provided is shown
It is intended to.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.Also, following embodiment is the alternative of the present invention, embodiment
Put in order and the numbering of embodiment is unrelated with the order that it preferably is carried out.
Embodiment 1
The embodiment of the present invention provides a kind of implementation method by address list synchronization to server, as shown in figure 1, this method
Including:
Step 101, user terminal first recorded by upload communication, and each bar contact person letter of user terminal is have recorded in address list
Breath;Server receives the address list that user terminal is uploaded first.
Every associated person information includes identification of contacts in the present embodiment(Such as name of contact person)And number mark(Such as electricity
Talk about number);
Step 102, for every associated person information therein, server process is as follows:
The seed ID included according to associated person information judges that associated person information whether there is in seed database;If it is determined that
Seed ID is not present in seed database, then performs step 103, seed ID is present in seed database if judging, performs step
Rapid 104.
Wherein, seed ID can be identification of contacts, such as name of contact person, or the number mark of contact person.
In the present embodiment, preferred seed ID is number mark.
Specifically, the step implementation is:Server searches whether to exist in seed database to be believed with contact person
Cease the seed ID included(That is telephone number)The seed ID matched.If finding, representative telephone number is present in seed number
According in storehouse, therefore perform step 104;If not finding, the telephone number for representing the contact person is not present in seed database,
Therefore step 103 is performed.
Step 103, server adding information of contact person in seed database.
Step 104, associated person information and the attaching relation of user terminal in server record seed database.Set up
Seed ID and user terminal attaching relation, and record, so as to which seed ID can be known according to the attaching relation(Electricity
Talk about number)Affiliated user terminal.
Preferably, the method for the present embodiment also includes following scheme:
When server is arrived in the upload communication record first of the user terminal corresponding to existing associated person information in seed database
When, the user terminal that server notifies to have attaching relation with associated person information according to attaching relation.
All user terminal As for possessing a certain seed ID, B, C ... can also inversely be learnt according to the attaching relation, because
User terminal A, B and the C for possessing same seed ID are likely to be mutually to know well or associate.So, when user therein is whole
When end A enables each bar associated person information in the method synchronous communication record in the present embodiment on server, server is according to returning
The behavior of user terminal A can be notified user terminal B and C by category relation.
Using number mark as unique seed ID in the address book synchronization method that the present embodiment is provided, when multiple users are same
Its address list is walked to after server, the seed database marked accordingly with number mark also can be just set up.As new user
After the record of terminal upload communication, carry out matching the data in the every record and seed database in its address list first;
When finding identical seed ID in seed database, without increasing new data;When not finding phase in seed database
With seed ID when, new seed ID is increased in seed database;Simultaneously by the kind in user terminal and seed database
Sub- ID sets up attaching relation, is easy to recognize seed ID shown terminal.
The present embodiment is continuing with the scene of following examples, the method that description the present embodiment is provided.
Example:User terminal A, address book contact(I.e. each bar associated person information difference)For C, D, E
User terminal B, address book contact is C, D, F
User terminal C, address book contact is H, I, J
Wherein, user A, B, C is to use for the first time, and linkman set C, D, E, F, H, I, J are not present in server
On seed database in.
Scene one:User terminal A arrives server using the client upload communication record on user terminal for the first time
1st, whether server judges C, D, E in seed databaseIf being not present, C, D, E are put into seed database
2nd, C, D, E and user terminal A attaching relation are set up and is recorded.
Scene two:After the record of user terminal A upload communication, the client upload communications of user terminal B first in using terminal
Record server
1st, whether server judges C, D, F in seed databaseSearch after matching, learn F not in seed database, will
F is put into seed database.Because seed C, D are existing, without increasing newly again.
2nd, C, D, F and user terminal B are set up into attaching relation and records the attaching relation.
Scene three:Upload communication is recorded by user A, B, the client upload communication in user terminal C first time using terminals
Record server
1st, whether server judges H, I, J in seed databaseIt is not present, then H, I, J is put into seed database
2nd, H, I, J and user terminal C attaching relation and record are set up
3rd, the attaching relation that server is recorded by seed database learns user terminal C and user terminal A and use
Family terminal B is relevant, then pushes information to user terminal A and user terminal B notifies contact person C to have begun to use client.
The present embodiment has enabled the hand of client by using the contact person C notified in user terminal A/B, its address list
Section, in the case where user allows to share, can be analyzed contact information of customer, calculate its common factor number, and user is can be with
" I can knowable people " be checked, expands the scope of itself circle.It is also possible to after other side's very first time uses client
All and related user terminal of the user is broadcasted, association user is that related setting can be carried out to other side at that time, such as color
As displaying etc..
The scheme that the present embodiment is provided, the seed ID using number mark as unique mark as database, each time
It is stored in when being uploaded for the first time in seed database;When being uploaded again next time, and available data seed phase
Match somebody with somebody, be not then rewritten.It is prevented effectively from data redundancy;Matching speed can be accelerated simultaneously, by experimental data, as user A
With the friend that user B is a circle, two people's cell phone address book quantity all reach 1000(Assuming that it is 800 to occur simultaneously), when with
Family A takes 1 point 20 seconds when matching address list for the first time.And user B uses client, its matching after user A matching address lists
Time is 20 seconds.It can similarly draw, when quantity is more in kind of subpool, occurs simultaneously bigger, matching address list is time-consuming can be fewer.Enter
One step, because the attaching relation of user terminal and phone number is interrelated, and then set up the ecosystem of seed data circle.
User terminal can understand correlation behavior by the seed of upload, form the Mobile solution ecosphere.When a certain seed is enabling visitor
Behind the end of family, by its attaching relation, all users for possessing the contact person can be inversely learnt, at that time can be to possessing the connection
It is that all users of people are broadcasted.
Embodiment 2
Implement for the ease of the method in embodiment 1, the present embodiment provides a kind of by address list synchronization to server
Device is realized, the device may be mounted on the server in embodiment 1, can also be exactly the server in embodiment 1.As schemed
Shown in 2, the device includes:Receiving module 21, judge module 22 increases module 23 newly.
Receiving module 21, user terminal is have recorded for receiving in the address list that user terminal is uploaded first, address list
Each bar associated person information;Judge module 22, for for every associated person information, the seed ID included according to associated person information to sentence
Disconnected associated person information whether there is in seed database;Newly-increased module 23, for judging that seed ID is not deposited when judge module 22
When being seed database, the adding information of contact person in seed database.
Wherein, every associated person information includes identification of contacts and number mark;Seed ID is number mark.
Specifically, judge module 22, specifically for searching whether to exist and associated person information bag in seed database
The seed ID that the seed ID contained matches.
Correspondingly, module 23 is increased newly, specifically for believing when judge module is not found in seed database with contact person
When ceasing the seed ID that the seed ID included matches, the adding information of contact person in seed database.
In preferred scheme, the device can also include:Belong to logging modle 24;Notification module 25;Memory module 26.
Belong to logging modle 24, the attaching relation for recording associated person information and user terminal in seed database.
Notification module 25, for being uploaded first when the user terminal corresponding to existing associated person information in seed database
During address list, the attaching relation recorded according to ownership logging modle 24 notifies that the user for having attaching relation with associated person information is whole
End.
Memory module 26, for being used as seed database, storing contact information and each contact details and user's end
The attaching relation at end.
The device that the present embodiment is provided can reduce database repeated data, mitigate the same of database data amount pressure
When, improve transfer efficiency in data;And user's ecosphere can be set up from the address list of a user and its upload,
Associated user's circle is developed by a user, increases the viscosity of polychrome user.
The products such as said apparatus provided in an embodiment of the present invention are belonged to using the flow and method of computer program as foundation, and
According to the completely corresponding consistent mode of each step with method flow in embodiment of the method 1 and/or accompanying drawing, the function mould provided
Block.And because this functional module is the software service realized by way of computer program, so implementing for device
The functional module that example 1 is not specifically mentioned, due to consideration that the content recorded according to above method embodiment makes ability enough
Each process step that field technique personnel record from method determines to realize what the step must be set up directly, expectedly
Functional module, so will not be described here.
Technical scheme is in other words substantially the shape with software product to the part that prior art contributes
The function that formula is embodied, in other words:The side of the device of the present invention, each equipment of equipment or composition system performed by it
Even if method or the function body of realization are hardware, but the part of actually realization above-mentioned functions of the present invention is computer software
The module or unit of product.And the computer software product is storable in the storage medium that can be read, such as computer is soft
Disk, hard disk or CD etc., including some instructions are to cause an equipment to perform the method described in each embodiment of the invention.
The foregoing is only a specific embodiment of the invention, but the present invention can have a variety of various forms of specific implementations
Mode, does above in association with accompanying drawing to the present invention for example, this is not meant to the embodiment that the present invention is applied
It can be confined in these specific embodiments, those skilled in the art is it is to be appreciated that specific reality presented above
The mode of applying is some examples in a variety of preferred embodiments, and the embodiment of any embodiment the claims in the present invention is equal
Should be within the scope of the claims in the present invention be claimed;Those skilled in the art can be to each specific embodiment party above
Described technical scheme is modified in formula, or carries out equivalent substitution to which part technical characteristic.It is all the present invention
Within spirit and principle, any modification, equivalent substitution or improvement for being made etc. should be included in the guarantor of the claims in the present invention
Within the scope of shield.
Claims (10)
1. a kind of implementation method by address list synchronization to server, it is characterised in that including:
Server receives each bar connection that the user terminal is have recorded in the address list that user terminal is uploaded first, the address list
It is people's information;
For every associated person information, the seed ID that server is included according to the associated person information judges the associated person information
With the presence or absence of in seed database;
If it is determined that the seed ID is not present in the seed database, then server increases newly described in the seed database
Associated person information.
2. according to the method described in claim 1, it is characterised in that this method also includes:
The attaching relation of the associated person information and the user terminal in seed database described in the server record.
3. method according to claim 2, it is characterised in that this method also includes:
When the clothes are arrived in the upload communication record first of the user terminal corresponding to existing associated person information in the seed database
During business device, the user terminal that the server notifies to have attaching relation with the associated person information according to the attaching relation.
4. according to the method described in claim 1, it is characterised in that the kind that the server is included according to the associated person information
Sub- ID judges that the associated person information whether there is in seed database, specifically includes:
The server searches whether there is what the seed ID included with the associated person information matched in seed database
Seed ID.
5. method according to claim 1 or 2, it is characterised in that every associated person information include identification of contacts and number
Code mark;The seed ID is number mark.
6. a kind of will realize device in address list synchronization to server, it is characterised in that including:
Receiving module, the user terminal is have recorded for receiving in the address list that user terminal is uploaded first, the address list
Each bar associated person information;
Judge module, for for every associated person information, the seed ID included according to the associated person information to judge described
It is that people's information whether there is in seed database;
Newly-increased module, for when the judge module judges that the seed ID is not present in the seed database, described
Increase the associated person information in seed database newly.
7. device according to claim 6, it is characterised in that the device also includes:
Belong to logging modle, the ownership for recording the associated person information in the seed database and the user terminal
Relation.
8. device according to claim 7, it is characterised in that the device also includes:
Notification module, for when the user terminal corresponding to existing associated person information in the seed database upload first it is logical
During news record, the user terminal for notifying to have attaching relation with the associated person information according to the attaching relation.
9. device according to claim 6, it is characterised in that the judge module, specifically in seed database
Search whether there is the seed ID that the seed ID included with the associated person information matches.
10. the device according to claim 6 or 7, it is characterised in that every associated person information include identification of contacts and number
Code mark;The seed ID is number mark.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310086075.1A CN104065673B (en) | 2013-03-18 | 2013-03-18 | A kind of implementation method and device by address list synchronization to server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310086075.1A CN104065673B (en) | 2013-03-18 | 2013-03-18 | A kind of implementation method and device by address list synchronization to server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104065673A CN104065673A (en) | 2014-09-24 |
CN104065673B true CN104065673B (en) | 2017-11-03 |
Family
ID=51553204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310086075.1A Active CN104065673B (en) | 2013-03-18 | 2013-03-18 | A kind of implementation method and device by address list synchronization to server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104065673B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412052B (en) * | 2016-09-27 | 2019-08-30 | 四川变体科技有限公司 | Service synchronization method and device |
CN108206998A (en) * | 2016-12-20 | 2018-06-26 | 北京小米移动软件有限公司 | Obtain the method and device of end message |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1558342A (en) * | 2004-01-16 | 2004-12-29 | 旭 张 | Method for realizing synchronous update of address book information utilizing public information network |
CN101729638A (en) * | 2008-10-16 | 2010-06-09 | 德信智能手机技术(北京)有限公司 | Method and device for backing up and recovering mobile phone contact list |
CN101764850A (en) * | 2008-11-21 | 2010-06-30 | 北京携友聚信信息技术有限公司 | Method for inserting default item in online address list |
CN102014168A (en) * | 2010-12-17 | 2011-04-13 | 清华大学 | Cloud service-based method and device of interconnection address books |
CN102088519A (en) * | 2009-12-08 | 2011-06-08 | 中国移动通信集团公司 | Address book management method and device |
CN102118479A (en) * | 2011-01-26 | 2011-07-06 | 宇龙计算机通信科技(深圳)有限公司 | Communication book updating method, server and system |
CN102882953A (en) * | 2012-09-18 | 2013-01-16 | 李建成 | Communication number synchronization method and system |
-
2013
- 2013-03-18 CN CN201310086075.1A patent/CN104065673B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1558342A (en) * | 2004-01-16 | 2004-12-29 | 旭 张 | Method for realizing synchronous update of address book information utilizing public information network |
CN101729638A (en) * | 2008-10-16 | 2010-06-09 | 德信智能手机技术(北京)有限公司 | Method and device for backing up and recovering mobile phone contact list |
CN101764850A (en) * | 2008-11-21 | 2010-06-30 | 北京携友聚信信息技术有限公司 | Method for inserting default item in online address list |
CN102088519A (en) * | 2009-12-08 | 2011-06-08 | 中国移动通信集团公司 | Address book management method and device |
CN102014168A (en) * | 2010-12-17 | 2011-04-13 | 清华大学 | Cloud service-based method and device of interconnection address books |
CN102118479A (en) * | 2011-01-26 | 2011-07-06 | 宇龙计算机通信科技(深圳)有限公司 | Communication book updating method, server and system |
CN102882953A (en) * | 2012-09-18 | 2013-01-16 | 李建成 | Communication number synchronization method and system |
Also Published As
Publication number | Publication date |
---|---|
CN104065673A (en) | 2014-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103747132B (en) | The method of display message and terminal | |
CN109062489B (en) | Message processing method, message processing device, storage medium and electronic device | |
CN109408132A (en) | A kind of configuration file processing method and server, user terminal, storage medium | |
CN104283926A (en) | Data synchronization method, device and server | |
CN103841167A (en) | User data synchronizing method and device | |
CN104796434A (en) | Message pushing method and message server | |
CN101340425A (en) | Method and apparatus for data synchronization between terminals | |
CN103200224A (en) | Method and device and terminal of information sharing | |
CN101897167A (en) | System and method for customized sharing of multimedia content in a communications network | |
CN102098812A (en) | Data synchronization method and mobile terminal | |
WO2003045089A1 (en) | Identifying changed records in a file stored on an electronic token | |
CN101710921A (en) | Method and system for updating numbering book of mobile terminal | |
CN101184123B (en) | Method for obtaining linkman information in address list, system and communication terminal | |
CN101282549A (en) | Method and apparatus for managing short message of double-card double-standby mobile terminal | |
CN103581846B (en) | A kind of user's business card update method and system | |
CN103795445A (en) | Method and system for transferring address book information based on blue tooth | |
CN101198129A (en) | Mobile terminal and its data synchronization method | |
CN101909281B (en) | Mobile terminal-based user social contact method, device and system | |
CN102811272B (en) | Updating method, updating apparatus and communication terminal | |
CN104065673B (en) | A kind of implementation method and device by address list synchronization to server | |
CN103036861A (en) | Relationship match method, system, server-side and client-side of contacts in address book | |
US8620277B2 (en) | Method and device for backing up unread short message | |
CN101510895A (en) | System and method for managing mobile address book based on internet | |
CN109213955A (en) | Data processing method and relevant device | |
CN105992141A (en) | Contact searching method and apparatus |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200810 Address after: No.1133 Jimei Avenue, Jimei District, Xiamen City, Fujian Province Co-patentee after: Migu cultural technology Co., Ltd. Patentee after: MIGU COMIC Co.,Ltd. Co-patentee after: CHINA MOBILE COMMUNICATIONS GROUP Co.,Ltd. Address before: 350003 No. 140 East Lake Road, Gulou District, Fujian, Fuzhou Patentee before: CHINA MOBILE GROUP FUJIAN Co.,Ltd. |
|
TR01 | Transfer of patent right |