Background technology
Cell phone address book is to record contact associated information, when incoming call, and can be by the side of inquiry mobile phone address list
Information corresponding for caller ID is displayed by formula, but existing this incoming information is reminded and had the disadvantages that
1. when this locality does not preserves this contact person, it is impossible to the details of display incoming person, such as: head portrait, name, position, institute
At tissue (company, enterprise, school, government etc.).
2. address list personal information changes non-timely: incoming person changes the identity of number or number owner and changes
Time, the personnel of answering the call can not immediately know that the change of these information.
3. can not carry out management and the legitimate authentication of address list in organizational structure: the letter of display when organization internal personnel send a telegram here
Breath can not embody the legitimacy of caller immediately, such as: first and the second different departments under same tissue, and does not mutually recognize
Knowing, first has a thing to phone second, and the mobile phone of second, owing to not being saved in the cell-phone number of first, cannot know during incoming call that caller is
Who, can not know which department the other side is at once.Or mutually recognize, but first has been changed department or have left tissue
Not telling second, second also cannot know first identity at that time.
4. during Network Capture, when there is no network or do not have when 3G/4G or wifi network to get and show.3G/
Under 4G network, for going server lookup to compare waste flow every time, increase cost.
Some simultaneous techniques implement complexity relatively greatly at present, and efficiency is low, particularly when data volume is big, synchronize slow,
Terminal is caused to load when with server sync bigger.
Summary of the invention
It is an object of the invention to propose a kind of incoming display method and device, it can solve to synchronize slow problem.
In order to achieve the above object, the technical solution adopted in the present invention is as follows:
Incoming display method, it comprises the following steps:
Step 1, by mobile terminal and background server wireless connection, and the local version number of local address book is submitted to
To background server;
Step 2, the up-to-date remote version number described local version number and a telecommunication recorded by background server
Compare, if it is different, then perform step 3, if identical, then perform step 5;Described telecommunication address book stored platform in the rear takes
In business device;Described telecommunication record includes telecommunication record data and record data storehouse;
Wherein, described telecommunication record data are updated by management staff, and renewal process is: telecommunication is recorded number
According to one or more operations carried out in increasing, delete and revising;Every pair of telecommunication record data carry out once-through operation, all can give birth to
Become corresponding operation note, often generate once-through operation record and all corresponding can generate a remote version number, described operation note and
Remote version number is saved in record data storehouse;
Step 3, inquired about in record data storehouse by background server corresponding with described local version number long-range
Version number, analyzes all operations obtaining between remote version number corresponding to described local version number and up-to-date remote version number
Record, and described all operations record is formed operation data, described operation data and up-to-date remote version number are sent extremely
Described mobile terminal;
Step 4, by mobile terminal according to described operation data and up-to-date remote version number, update local address book
Local address book data and local version number;
Step 5, monitor communication state by mobile terminal, when for come electricity condition and/or note receive state time, obtain phase
The telephone number answered, and inquire about according to described telephone number entrance local address book, return and show Query Result.
Preferably, described telecommunication record data and local address book data all include at least one associated person information.
It is further preferred that in step 3, if increasing occurred in the same associated person information in described all operations record
Add, delete and revise three kinds of operations, the most only retain deletion action.
Preferably, in step 3, if the corresponding remote version number and up-to-date remote version number of described local version number it
Between the quantity of all operations record more than a threshold value, then directly send telecommunication record data and up-to-date remote to mobile terminal
Journey version number, so that mobile terminal updates local address book according to described telecommunication record data and up-to-date remote version number
Local address book data and local version number, and skip step 4.
The present invention also proposes a kind of caller identification device, and it includes with lower module:
Submit module to, be used for by mobile terminal and background server wireless connection, and by the city edition of local address book
This number is committed to background server;
Comparing module, up-to-date long-range for described local version number and a telecommunication are recorded by background server
Version number compares, if it is different, then perform to form module, if identical, then performs to monitor module;Described telecommunication address book stored
In the rear in station server;Described telecommunication record includes telecommunication record data and record data storehouse;
Wherein, described telecommunication record data are updated by management staff, and renewal process is: telecommunication is recorded number
According to one or more operations carried out in increasing, delete and revising;Every pair of telecommunication record data carry out once-through operation, all can give birth to
Become corresponding operation note, often generate once-through operation record and all corresponding can generate a remote version number, described operation note and
Remote version number is saved in record data storehouse;
Form module, for inquiring about corresponding with described local version number in record data storehouse by background server
Remote version number, analyze the institute obtaining between remote version number corresponding to described local version number and up-to-date remote version number
There is operation note, and described all operations record is formed operation data, by described operation data and up-to-date remote version number
Send to described mobile terminal;
More new module, is used for by mobile terminal according to described operation data and up-to-date remote version number, updates this locality
The local address book data of address list and local version number;
Monitor module, for monitoring communication state by mobile terminal, when for coming electricity condition and/or note reception state
Time, obtain corresponding telephone number, and inquire about according to described telephone number entrance local address book, return and show inquiry
Result.
Preferably, described telecommunication record data and local address book data all include at least one associated person information.
It is further preferred that in forming module, if the same associated person information in described all operations record occurs
Cross and increase, delete and revise three kinds of operations, the most only retain deletion action.
Preferably, formed in module, if remote version number corresponding to described local version number and up-to-date remote version
The quantity of all operations record between number more than a threshold value, then directly sends telecommunication record data and up-to-date to mobile terminal
Remote version number so that mobile terminal according to described telecommunication record data and up-to-date remote version number update local communication
The local address book data of record and local version number, and skip more new module.
There is advantages that
Use the mode of version number's comparison, it is not necessary to All Contacts's information in address list is compared every time, reduce
Mobile terminal and the load of background server;And, only updated associated person information is synchronized in local address book, increment
Update, thus improve synchronizing speed.
Detailed description of the invention
Below, in conjunction with accompanying drawing and detailed description of the invention, the present invention is described further.
As it is shown in figure 1, a kind of incoming display method, it comprises the following steps:
Step S1, by mobile terminal and background server wireless connection, and the local version number of local address book is carried
Hand over to background server.Described wireless connection can pass through 2G, 3G or 4G network.When after connection of mobile terminal into network, just with rear
Station server communicates.
Step S2, the up-to-date remote version number described local version number and a telecommunication recorded by background server
Compare, if it is different, then perform step S3, if identical, then perform step S8.
In described telecommunication address book stored station server in the rear.Described telecommunication record includes that data are recorded in telecommunication
With record data storehouse.
Wherein, described telecommunication record data are updated by management staff, and renewal process is: telecommunication is recorded number
According to one or more operations carried out in increasing, delete and revising;Every pair of telecommunication record data carry out once-through operation, all can give birth to
Become corresponding operation note, often generate once-through operation record and all corresponding can generate a remote version number, described operation note and
Remote version number is saved in record data storehouse.It is to say, operation note, remote version number and increase, delete and
The operation behavior of amendment has incidence relation.
Step S3, inquired about in record data storehouse by background server corresponding with described local version number long-range
Version number, analyzes all operations obtaining between remote version number corresponding to described local version number and up-to-date remote version number
Record, if the quantity of described all operations record is less than threshold value n, then performs step S4, if more than or equal to threshold value n, then holding
Row step S6.Such as, n takes 50.
If there is increase, deleted and revised three in the same associated person information in step S4 described all operations record
Kind of operation, the most only retains deletion action, and described all operations record is formed operation data, by described operation data and up-to-date
Remote version number send to described mobile terminal.
Step S5, by mobile terminal according to described operation data and up-to-date remote version number, update local address book
Local address book data and local version number.It is to say, local address book data increase also according to described operation data
Add, delete and revise operation.
Step S6, directly send telecommunication record data and up-to-date remote version to mobile terminal by background server
Number.
Step S7, to update this locality by mobile terminal according to described telecommunication record data and up-to-date remote version number logical
The local address book data of news record and local version number.
Step S8, monitor communication state by mobile terminal, when for come electricity condition and/or note receive state time, obtain
Corresponding telephone number, and inquire about according to described telephone number entrance local address book, return and show Query Result.
Above-mentioned telecommunication record data and local address book data all include at least one associated person information.
Now with a specific example, the present embodiment is illustrated.
A. the information of terminal first and terminal second is submitted to background server by the keeper of business organization.
B. terminal first, terminal second is reached the standard grade and is connected with background server, submits to local version number to background service the most respectively
Device, the remote version number that background server stores with it according to the local version number of the two is compared, and calculates this needs
The address book data updated, then data compression is returned to terminal first, terminal second, if background server finds that terminal first needs
The version synchronized is too many, the most directly returns the compression data of the address book data of whole business organization.Terminal first receives return
Data decompress and resolve, according to service return situation local address book data are done and increase accordingly, delete, change operation, and protect
Deposit this up-to-date remote version number.
C. terminal first dials the phone of terminal second,
D. caller ID is inquired about corresponding associated person information as condition in local address book by terminal second, and carries out
Display.
E. when terminal first information is changed (such as withdrawing from an organization), as long as keeper is to the phase of background server amendment terminal first
Pass information and state.One operation note of increase of amendment situation can be saved by background server, this operation note correspondence
One remote version number, real time propelling movement is to all terminals in business organization inside simultaneously, after terminal receives propelling movement, submits various places immediately to
Local version number carry out local address book renewal to background server, preserve up-to-date remote version number simultaneously.
F. terminal is reached the standard grade every time and all can be asked whether to need to update, and makes corresponding operating.
The present embodiment also proposes a kind of caller identification device, and it includes with lower module:
Submit module to, be used for by mobile terminal and background server wireless connection, and by the city edition of local address book
This number is committed to background server;
Comparing module, up-to-date long-range for described local version number and a telecommunication are recorded by background server
Version number compares, if it is different, then perform to form module, if identical, then performs to monitor module;Described telecommunication address book stored
In the rear in station server;Described telecommunication record includes telecommunication record data and record data storehouse;
Wherein, described telecommunication record data are updated by management staff, and renewal process is: telecommunication is recorded number
According to one or more operations carried out in increasing, delete and revising;Every pair of telecommunication record data carry out once-through operation, all can give birth to
Become corresponding operation note, often generate once-through operation record and all corresponding can generate a remote version number, described operation note and
Remote version number is saved in record data storehouse;
Form module, for inquiring about corresponding with described local version number in record data storehouse by background server
Remote version number, analyze the institute obtaining between remote version number corresponding to described local version number and up-to-date remote version number
There is operation note, and described all operations record is formed operation data, by described operation data and up-to-date remote version number
Send to described mobile terminal;
More new module, is used for by mobile terminal according to described operation data and up-to-date remote version number, updates this locality
The local address book data of address list and local version number;
Monitor module, for monitoring communication state by mobile terminal, when for coming electricity condition and/or note reception state
Time, obtain corresponding telephone number, and inquire about according to described telephone number entrance local address book, return and show inquiry
Result.
Preferably, described telecommunication record data and local address book data all include at least one associated person information.
It is further preferred that in forming module, if the same associated person information in described all operations record occurs
Cross and increase, delete and revise three kinds of operations, the most only retain deletion action.
Preferably, formed in module, if remote version number corresponding to described local version number and up-to-date remote version
The quantity of all operations record between number more than a threshold value, then directly sends telecommunication record data and up-to-date to mobile terminal
Remote version number so that mobile terminal according to described telecommunication record data and up-to-date remote version number update local communication
The local address book data of record and local version number, and skip more new module.
The present embodiment has the advantage that
1, realize the internal all terminals of same business organization and share address list, allow the side called timely and accurately
Understand whom caller is, be the personnel of which department.
2, the legitimacy (preventing from palming off organization internal personnel) of the person that solves authenticated caller.
3, the cost that each network inquiry brings is saved.
4, mobile terminal and background server load is made to reduce.
5, incoming information can also be realized under not having network condition to show.
6, the change of business organization internal staff information can the most quickly respond.
7, only renewal has the information of change, it is not necessary to compares associated person information all of in address list every time, makes
Background server and mobile terminal computing optimize.
For a person skilled in the art, can technical scheme as described above and design, make other each
Plant corresponding change and deformation, and all these changes and deforms the protection model that all should belong to the claims in the present invention
Within enclosing.