The management method and remote server of a kind of mobile terminal and its contact head image
Technical field
The present invention relates to technical field of mobile terminals, and in particular to the manager of a kind of mobile terminal and its contact head image
Method and remote server.
Background technique
Currently, it is relatively more about the application software of contact head image on the market, such as the connection of automatic downloading cartoon character
Number of people picture and one key switching, customized head portrait packet etc..Its interest is improved to a certain extent, but head portrait is solid once setting
It is fixed constant, and be all virtual cartoon character, relatively simple also not have resolution, user experience is not high.
User hardly goes its main cause of the head portrait of update contact person to be still that head portrait updates trouble, when user thinks
When saving true contact head image to the contact person in local address book, needs to go to edit one by one, edit each contact person
When, it also to go to search from boundless and indistinct more photo, be inconvenient, also waste time.
Summary of the invention
The present invention provides the management method and remote server of a kind of mobile terminal and its contact head image, to reach quick
The purpose for updating contact head image, overcomes the defect that above-mentioned contact head image is single, resolution is low and user experience is not high.
The technical solution that the present invention solves above-mentioned technical problem is as follows.
According to an aspect of the present invention, a kind of management method of the contact head image provided, this method are applied to movement
Terminal and remote server, the remote server for each third-party application account be stored with limited contact information and
The mark of mobile terminal associated with account, contact information include the head portrait of contact person and associated with corresponding relationship people
Identification of contacts, this method comprises: sending and moving to remote server when mobile terminal detects that preset update condition is satisfied
The mark of dynamic terminal;Remote server, which receives, to be identified and inquires whether have account associated with mark, if so, will then inquire
Account contact information access authority be granted to mark belonging to mobile terminal exited if nothing;Mobile terminal is joining
It is the head portrait that contact person associated with the identification of contacts in local address book is inquired and obtained in people's information;Mobile terminal will
The head portrait got is updated into the corresponding contact person of local address book.
Preferably, when mobile terminal creates contact person, the management method of the contact head image further include: receive and obtain
The identification of contacts of newly-built contact person to be edited;Whether inquire in the contact information of third-party application account has and contacts
People identifies the head portrait of associated contact person, if so, then obtaining head portrait, if nothing, abandons;The head portrait that will acquire is saved in newly
In the contact person built.
Preferably, when the size of the contact head image in the head portrait and local address book got mismatches, the connection
The management method of number of people picture further include: according to the size for the head portrait that preset adjustment mode adjust automatically is got.
Preferably, above-mentioned identification of contacts is the telephone number of contact person or the name of contact person.
According to another aspect of the present invention, a kind of management method of the contact head image provided, this method are applied to move
Dynamic terminal, this method comprises: being sent to remote server mobile whole when mobile terminal detects that preset update condition is satisfied
The mark at end;Mobile terminal is inquired and is obtained in the contact information of remote server and marked with the contact person in local address book
The head portrait of sensible associated contact person;The head portrait that mobile terminal will acquire is updated into the corresponding contact person of local address book.
Preferably, when mobile terminal creates contact person, the manager of the above-mentioned contact head image applied to mobile terminal
Method further include: receive and obtain the identification of contacts of newly-built contact person to be edited;Believe in the contact person of third-party application account
The head portrait for whether having contact person associated with identification of contacts is inquired in breath, if so, then obtaining head portrait, if nothing, is abandoned;It will
The head portrait got is saved in newly-built contact person.
According to a further aspect of the invention, a kind of mobile end of the management method using above-mentioned contact head image provided
End, which includes: mobile terminal identification sending module, detects that preset update condition is satisfied for mobile terminal
When, the mark of mobile terminal is sent to remote server;Enquiry module, the contact person for mobile terminal in remote server believe
The head portrait of contact person associated with the identification of contacts in local address book is inquired and obtained in breath;Update module, for moving
The head portrait that dynamic terminal will acquire is updated into the corresponding contact person of local address book.
Preferably, above-mentioned mobile terminal further include: identification of contacts obtains module, to be edited new for receiving and obtaining
Build the identification of contacts of contact person;Head portrait obtain module, for inquired in the contact information of third-party application account whether
There is the head portrait of contact person associated with identification of contacts, if so, then obtaining head portrait, if nothing, abandons;Head portrait preserving module,
Head portrait for will acquire is saved in newly-built contact person.
According to a further aspect of the invention, a kind of management method of the contact head image provided, this method are applied to remote
Journey server, the remote server for each third-party application account be stored with limited contact information and with account phase
The mark of associated mobile terminal, contact information include the head portrait and contact person associated with corresponding relationship people mark of contact person
Know, this method comprises: remote server receives the mark that mobile terminal is sent;It is related to mark whether remote server inquiry has
The account of connection, if so, the access authority of the contact information of the account inquired is then granted to mobile terminal belonging to mark,
If nothing exits.
According to a further aspect of the invention, a kind of long-range clothes of the management method using above-mentioned contact head image provided
It is engaged in device, which is stored with limited contact information and associated with account for the account of each third-party application
Mobile terminal mark, contact information include contact person head portrait and identification of contacts associated with corresponding relationship people,
The remote server includes: receiving module, for receiving the mark of mobile terminal transmission;Right-granting module, for inquire be
It is no to have account associated with the mark, if so, the access authority of the contact information of the account inquired is then granted to mark
Mobile terminal belonging to knowing exits if nothing.
The present invention provides the management methods and remote server of a kind of mobile terminal and its contact head image, so that user
The head portrait of contact person in the account of its available third-party application, and the head portrait is updated into the contact person to local address book
In.Since third-party application is more and more prosaically used by a user, the contact head image in local address book is set as and third
The head portrait of corresponding contact person is consistent in square application program, both convenient but also the resolution of contact head image is higher.
Detailed description of the invention
Fig. 1 is the flow chart according to the management method of the contact head image of one embodiment of the present of invention;
Fig. 2 is the flow chart according to the management method of the contact head image of another embodiment of the invention;
Fig. 3 is according to the mobile terminal of one embodiment of the present of invention and the exemplary block diagram of remote server.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and
It is non-to be used to limit the scope of the invention.
Embodiment one
Fig. 1 is according to the flow chart of the management method of the contact head image of one embodiment of the present of invention, below with reference to Fig. 1
The management method of contact head image according to an embodiment of the invention described, this method is applied to mobile terminal and long-range
Server, remote server are stored with limited contact information and associated with account for the account of each third-party application
Mobile terminal mark, contact information include contact person head portrait and identification of contacts associated with corresponding relationship people,
The third-party application includes but is not limited to wechat, Tencent QQ, Sina weibo etc., as shown in Figure 1, method includes the following steps:
When S10, mobile terminal detect that preset update condition is satisfied, the mark of mobile terminal is sent to remote server
Know;
S20, remote server, which receive, to be identified and inquires whether have account associated with mark, if so, will then inquire
Account contact information access authority be granted to mark belonging to mobile terminal exited if nothing;
S30, mobile terminal are inquired in contact information and are obtained associated with the identification of contacts in local address book
Contact person head portrait;
The head portrait that S40, mobile terminal will acquire is updated into the corresponding contact person of local address book.
Wherein, it associated with the identification of contacts in local address book is contacted for the inquiry in step S30 and obtaining
The head portrait of people, the sequence for inquiring foundation can be is inquired one by one by the alphabetical order of contact person in address list name.
Equally to the inquiry in step S30 and obtain associated with the identification of contacts in local address book contact person's
Head portrait obtains the head portrait of nearest time update when having inquired multiple head portraits.
Wherein, the mark of above-mentioned mobile terminal includes but is not limited to the identification code of mobile terminal, used in mobile terminal
Phone number, above-mentioned identification of contacts include but is not limited to the telephone number of contact person or the name of contact person.
The preset update condition includes but is not limited to receive more new command, detect when reaching preset update
Between, receive newly-built contact person order.
Wherein, in order to further enhance the experience of user, above-mentioned contact information further includes the state letter that contact person delivers
Breath, after above-mentioned steps S20, this method can also include:
Detect that mobile terminal is in remote server when searching local linkages people or dialing the instruction of local linkages people's phone
Contact information in inquiry with local linkages people identify associated contact person it is newest deliver status information (such as text letter
Breath);
The status information got is shown on the display interface of the mobile terminal.
Embodiment two
Fig. 2 is according to the flow chart of the management method of the contact head image of another embodiment of the invention, such as Fig. 2 institute
Show, this method is applied to mobile terminal and remote server, which stores for the account of each third-party application
Have a mark of limited contact information and mobile terminal associated with account, contact information include contact person head portrait and
Identification of contacts associated with corresponding relationship people, when mobile terminal creates contact person, it includes above-mentioned steps S20 that this method, which is removed,
Outside further include:
Above-mentioned steps S10 is specially S11: receiving and obtain the identification of contacts of newly-built contact person to be edited, Xiang Yuancheng
The mark of server transmission mobile terminal;
Above-mentioned steps S30 is specially S31: whether mobile terminal is inquired in the contact information of third-party application account has
The head portrait of contact person associated with identification of contacts, if nothing, is abandoned if so, then obtaining head portrait;
Above-mentioned steps S40 is specially S41: the head portrait that mobile terminal will acquire is saved in newly-built contact person.
When the size of the contact head image in the head portrait and local address book got mismatches, the contact head image
Management method further include:
According to the size for the head portrait that preset adjustment mode adjust automatically is got.
Above-mentioned preset adjustment mode for example when the head portrait got it is oversized when, the head portrait that first will acquire reduces
To there is direction (such as longitudinal) to meet the requirements, then the head portrait is placed in the middle, finally cut the extra part in both sides.It is excellent
Selection of land may call upon head portrait and cut interface, cuts depending on the user's operation to head portrait.
Wherein, when the format mismatching of the contact head image in the head portrait and local address book got, the contact person
The management method of head portrait further include:
According to the format for the head portrait that matched format automatic conversion is got.
Embodiment three
A kind of management method of contact head image is provided according to one embodiment of present invention, and this method is applied to movement
Terminal, with reference to Fig. 1, method includes the following steps:
When S10, mobile terminal detect that preset update condition is satisfied, the mark of mobile terminal is sent to remote server
Know;
S30, mobile terminal are inquired in the contact information of remote server and are obtained and contacting in local address book
People identifies the head portrait of associated contact person;
The head portrait that S40, mobile terminal will acquire is updated into the corresponding contact person of local address book.
Wherein, when mobile terminal creates contact person, with reference to Fig. 2, this method specifically includes the following steps:
S11, reception and the identification of contacts for obtaining newly-built contact person to be edited send mobile terminal to remote server
Mark;
S31, mobile terminal inquired in the contact information of third-party application account whether have it is related to identification of contacts
The head portrait of the contact person of connection, if nothing, is abandoned if so, then obtaining head portrait;
S41, the head portrait that will acquire are saved in newly-built contact person.
Wherein, when the size of the contact head image in the head portrait and local address book got mismatches, this method is also
Include:
According to the size for the head portrait that preset adjustment mode adjust automatically is got.
Wherein, in order to further enrich the experience of user, this method can also include:
Detect that mobile terminal is in remote server when searching local linkages people or dialing the instruction of local linkages people's phone
Contact information in inquiry with local linkages people identify associated contact person it is newest deliver status information (such as text letter
Breath);
The status information got is shown on the display interface of the mobile terminal.
Example IV
A kind of mobile end of management method using above-mentioned contact head image is provided according to one embodiment of present invention
End, as shown in figure 3, the mobile terminal 100 includes:
Mobile terminal identification sending module 11, when detecting that preset update condition is satisfied for mobile terminal, Xiang Yuan
The mark of journey server transmission mobile terminal;
Enquiry module 12 is inquired in the contact information of remote server for mobile terminal and is obtained and local communication
The head portrait of the associated contact person of identification of contacts in record;
Update module 13, the head that will be got from the contact information of remote server 200 for mobile terminal
As updating into the corresponding contact person of local address book.
Wherein, which specifically can also include:
Identification of contacts obtains module, for receiving and obtaining the identification of contacts of newly-built contact person to be edited;
Whether head portrait obtains module, have and identification of contacts for inquiring in the contact information of third-party application account
The head portrait of associated contact person, if nothing, is abandoned if so, then obtaining head portrait;
Head portrait preserving module, the head portrait for will acquire are saved in newly-built contact person.
Wherein, which can also include:
Size adjustment module is mismatched for the size when the contact head image in the head portrait and local address book got
When, according to the size for the head portrait that preset adjustment mode adjust automatically is got.
Wherein, which can also include:
State information acquisition module, for detecting the instruction searched local linkages people or dial local linkages people's phone
When, mobile terminal inquires the newest hair of contact person associated with local linkages people mark in the contact information of remote server
The status information of table;
Status information display module, for showing the status information got on the display interface of the mobile terminal.
Embodiment five
A kind of management method of contact head image is provided according to one embodiment of present invention, and this method is applied to long-range
Server, the remote server are stored with limited contact information and related to account for the account of each third-party application
The mark of the mobile terminal of connection, contact information include the head portrait and contact person associated with corresponding relationship people mark of contact person
Know, with reference to Fig. 1 and Fig. 2, this method comprises:
Remote server receives the mark that mobile terminal is sent;
Whether remote server inquiry has account associated with mark, if so, then by the contact person of the account inquired
The access authority of information data is granted to mobile terminal belonging to mark and exits if nothing.
Wherein, above-mentioned contact information can also include the newest status information delivered of contact person.
Embodiment six
A kind of long-range clothes of management method using above-mentioned contact head image are provided according to one embodiment of present invention
It is engaged in device, which is stored with limited contact information and associated with account for the account of each third-party application
Mobile terminal mark, contact information include contact person head portrait and identification of contacts associated with corresponding relationship people,
As shown in figure 3, the remote server 200 includes:
Receiving module 21, for receiving the mark of mobile terminal transmission;
Right-granting module 22, for inquiring whether have account associated with mark, if so, the account that will then inquire
Contact information access authority be granted to mark belonging to mobile terminal exited if nothing.
Through the invention, so that the head portrait of the contact person in the account of its available third-party application of user, and should
Head portrait is updated into the contact person of local address book.Since user is more and more ordinary using third-party application, by local address book
In contact head image be set as consistent with the head portrait of contact person corresponding in third party application, it is both convenient but also connection
The resolution of number of people picture is higher.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.