Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that not conflicting
In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
A kind of head portrait sharing method is provided in the present embodiment, and Fig. 1 is the shared side of head portrait according to embodiments of the present invention
The flow chart of method, as shown in figure 1, this method comprises the following steps:
Step S102, the first mobile terminal edit contact head portrait;
Step S104, the first mobile terminal is encoded the file corresponding to the contact head image after editor, wherein, compile
Code is used for addition characteristic information hereof and agreement condition code, and features described above information is used for the second mobile terminal and searches contact
The corresponding contact person of human head picture, it is the corresponding text of contact head image that above-mentioned agreement condition code, which is used for the second mobile terminal identification file,
Part;
File after coding is sent to the second mobile terminal by step S106, the first mobile terminal.
The file-sharing for the contact head image that the present embodiment is completed local editor by above-mentioned steps, the first mobile terminal
To the second mobile terminal, the second mobile terminal can identify that this document is to include contact person according to the agreement condition code of this document
Head portrait, and characteristic information in this document finds the contact person corresponding to the contact head image that this document is included to enter
Wardrobe picture is set, and shares one or more to other so as to the contact head image of editing a user in the terminal
In the mobile terminal of relatives and friends, it is to avoid the multiplicating to contact head image is edited, and is solved user in correlation technique and is set
Put contact head image mode it is more complicated the problem of, improve user set contact head image efficiency.
Preferably due to only include name of contact person and its correspondence in the contact person record of most of mobile terminal users
Telephone number, therefore features described above information can then include the telephone number of contact person or after being deformed according to telephone number
Coding, and/or, the name and its mode of texturing of contact person.In this way, the second mobile terminal passes through this feature information
The corresponding contact person of the contact head image can be easily found, and head portrait is set on the head portrait position of the contact person.
Preferably, above-mentioned agreement condition code both can be to set a kind of specific to the corresponding file of above-mentioned contact head image
Form, or can also be that special content is set in the filename of the corresponding file of above-mentioned contact head image, for example, can lead to
The specified location crossed in filename sets default content to distinguish this document be the file for setting contact head image.Example
Such as, can filename beginning set symbol ":-)”.Or, directly it can also regard phone number as agreement condition code, example
It is to be used for that this document is such as distinguished by way of the specified location in filename includes telephone number or name of contact person
The file of contact head image is set, and in this case, telephone number or name of contact person in above-mentioned filename are both spy
Reference breath is also due up condition code.
Corresponding to above-mentioned head portrait sharing method, in the present embodiment there is provided a kind of head portrait sharing means, moved positioned at first
In dynamic terminal, the device is used to realize above-described embodiment and preferred embodiment, has carried out repeating no more for explanation.Such as with
Used in lower, term " module " can realize the combination of the software and/or hardware of predetermined function.Although following examples are retouched
The device stated preferably is realized with software, but hardware, or the realization of the combination of software and hardware is also possible and by structure
Think.
Fig. 2 is the structured flowchart of head portrait sharing means according to embodiments of the present invention, as shown in Fig. 2 the device includes:Compile
Module 22, coding module 24 and sending module 26 are collected, modules are described in detail below.
Editor module 22, for edit contact head portrait;Coding module 24, is connected with editor module 22, for that will edit
The file corresponding to contact head image afterwards is encoded, wherein, encode for addition characteristic information and agreement hereof
Condition code, characteristic information is used for the second mobile terminal and searches the corresponding contact person of contact head image, and agreement condition code is used for second
Mobile terminal identification file is the corresponding file of contact head image;Sending module 26, is connected with coding module 24, for that will encode
File afterwards is sent to the second mobile terminal.
The present embodiment passes through above-mentioned module, the first mobile terminal, the connection that will be completed by editor module 22 in local editor
It is that the file of human head picture is encoded by coding module 24, the second mobile terminal is then shared to by sending module 26,
Two mobile terminals can identify that this document includes contact head image according to the agreement condition code of this document, and according to this article
Characteristic information in part finds the contact person corresponding to the contact head image that this document is included to carry out head portrait setting, so as to
Shared with the contact head image for editing a user in the terminal to the mobile end of other one or more relatives and friends
In end, it is to avoid the multiplicating to contact head image is edited, the side that user in correlation technique sets contact head image is solved
The problem of formula is more complicated, improves the efficiency that user sets contact head image.
Additionally provide another head portrait sharing method in the present embodiment, Fig. 3 is according to embodiments of the present invention another
The flow chart of head portrait sharing method, as shown in figure 3, this method comprises the following steps:
Step S302, the second mobile terminal searches the file for including agreement condition code, wherein, the agreement condition code is used for the
Two mobile terminals identify that this document is the corresponding file of contact head image;
Step S304, the second mobile terminal searches contact person according to the characteristic information that is included in this document, and by contact person
Head portrait is arranged on the corresponding head portrait position of the contact person, or asks the user whether the contact head image being arranged on the contact person
Corresponding head portrait position.
The present embodiment identifies this by above-mentioned steps, the second mobile terminal according to the agreement condition code of the file got
File includes contact head image, and the characteristic information in this document finds the corresponding contact person of this document, and will
Above-mentioned contact head image is automatically located in the corresponding head portrait position of the contact person, or by the contact number of people after user confirms
As being arranged on the corresponding head portrait position of the contact person, so as to the connection for editing the other users received in the terminal
It is human head picture is shared into local mobile terminal, it is to avoid the multiplicating to contact head image is edited, and solves correlation technique
Middle user sets the problem of mode of contact head image is more complicated, improves the efficiency that user sets contact head image.
Preferably, step S302 can be triggered when the second acquisition for mobile terminal is to new file, for example, when the second shifting
Dynamic terminal recognition is to when having storage card insertion;Or second mobile terminal receive the information that mail or multimedia message etc. include annex
When;Or second mobile terminal by being directly connected to receive during new file, the second mobile terminal can be initiated to comprising about
Determine the lookup of the file of condition code.
Preferably, can be by searching whether the specified location in search file name includes default content, to search bag
The file of the condition code containing agreement.Above-mentioned agreement condition code both can be to set a kind of special to the corresponding file of above-mentioned contact head image
Fixed form, or can also be that special content is set in the filename of the corresponding file of above-mentioned contact head image, for example, can
It is the file for setting contact head image to distinguish this document by setting default content in the specified location of filename.
For example, can filename beginning set symbol ":-)”.Or, can also directly using phone number as agreement condition code,
It is use that this document is for example distinguished by way of the specified location in filename includes telephone number or name of contact person
In the file for setting contact head image, in this case, telephone number or name of contact person in above-mentioned filename are both
Characteristic information is also due up condition code.
Preferably due to only include name of contact person and its correspondence in the contact person record of most of mobile terminal users
Telephone number, therefore features described above information can then include the telephone number of contact person or after being deformed according to telephone number
Coding, and/or, the name and its mode of texturing of contact person.In this way, the second mobile terminal passes through this feature information
The corresponding contact person of the contact head image can be easily found, and head portrait is set on the head portrait position of the contact person.
Corresponding to above-mentioned another head portrait sharing method, another head portrait sharing means are additionally provided in the present embodiment,
In the second mobile terminal, the device is used to realize above-described embodiment and preferred embodiment, has carried out explanation not
Repeat again.As used below, term " module " can realize the combination of the software and/or hardware of predetermined function.Although with
Device described by lower embodiment is preferably realized with software, but hardware, or the combination of software and hardware realization
May and it be contemplated.
Fig. 4 is the structured flowchart of another head portrait sharing means according to embodiments of the present invention, as shown in figure 4, the device
Including:Modules are described in detail by searching modul 42 and setup module 44 below.
Searching modul 42, the file of agreement condition code is included for searching, wherein, the agreement condition code is used for the second movement
Terminal recognition file is the corresponding file of contact head image;Setup module 44, is connected with searching modul 42, for being believed according to feature
Breath searches the corresponding contact person of contact head image, and contact head image is arranged on into the corresponding head portrait position of contact person, Huo Zhexun
Ask whether user is arranged on the corresponding head portrait position of the contact person by the contact head image.
The present embodiment is by above-mentioned module, and the searching modul 42 of the second mobile terminal is special according to the agreement of the file got
Levy code and identify that this document includes contact head image, characteristic information of the setup module 44 in this document finds this article
The corresponding contact person of part, and above-mentioned contact head image is automatically located in the corresponding head portrait position of the contact person, or by using
The contact head image is arranged on the corresponding head portrait position of the contact person by family after confirming, so as to by the other users received
The contact head image edited in the terminal is shared into local mobile terminal, it is to avoid multiplicating to contact head image
Editor, solves user in correlation technique and sets the problem of mode of contact head image is more complicated, improve user and set contact
The efficiency of human head picture.
Preferably, above-mentioned another head portrait sharing means can also include:Trigger module 46, is connected with searching modul 42,
For recognizing the insertion of storage card;And/or, mail, multimedia message are received, or when receiving file, trigger searching modul
42 search the file for including agreement condition code.
In the present embodiment, a kind of head portrait shared system is additionally provided, Fig. 5 is that head portrait according to embodiments of the present invention is shared
The structured flowchart of system, as shown in figure 5, the system includes the above-mentioned head portrait being located in the first mobile terminal 20 as shown in Figure 2
Sharing means, in addition to the above-mentioned head portrait sharing means being located in the second mobile terminal 40 as shown in Figure 4.
Illustrated with reference to preferred embodiment, preferred embodiment below combines above-described embodiment and its is preferable to carry out
Mode.
In the preferred embodiment there is provided a kind of contact photo setting method, set for mobile phone contact head portrait,
Solve the puzzlement that user contact person in for mobile phone sets head portrait.
This preferred embodiment is illustrated exemplified by the shared setting of contact head image is carried out between the mobile phone of two users, is used
The mobile phone of family first, user's second, the head portrait for being assembled with developing based on this preferred embodiment sets application program, in such case
Under, the operating process of user is:User's first is provided for the head portrait of contact person in oneself mobile phone(User's first), user's first lead to
Cross certain approach(For example, by multimedia message, mail, bluetooth, LAN, computer is downloaded, storage card, near-field communication(Near
FieldCommunication, referred to as NFC)Etc. mode, but it is not limited to these modes)Head portrait is passed into user's second, user
The mobile phone of second is obtained after the head portrait of user's first, and the head portrait of user's first is arranged in user's second cell phone address book by the mobile phone of user's second
User's first head portrait position, installation process could be arranged to automatic installation, user's second without operation, installation process it can also be provided that
User installs again after confirming.
Fig. 6 is transmission equipment according to the preferred embodiment of the invention(That is above the first mobile terminal 20)Structural frames
Figure, as shown in fig. 6, user's first determines certain photo, passes through head portrait editor module(Realize the function of editor module 22)Should
Photo is cut, processing, and is placed on the catalogue of mobile phone fixation.
Head portrait coding module(Realize the function of coding module 24)The editor of user's first is obtained from the catalogue of the fixation
Photo, this photo is encoded, add characteristic information, include the phone number of user, be used as the agreement condition code of head portrait
Deng.
The head portrait transfer module of user's first(Realize the function of sending module 26)By certain approach by the volume of user's first
Harbour Image relaying gives user's second.The approach of transmission includes but is not limited to by multimedia message, bluetooth, LAN, and computer is downloaded, storage
Block, the file transmission channels between the mobile phone such as NFC.
Fig. 7 is receiving device according to the preferred embodiment of the invention(The second mobile terminal 40 i.e. above)Structural frames
Figure, as shown in fig. 7, the head portrait coding file of acquisition user's first of user's second mobile phone, and be placed under certain catalogue of mobile phone.
Head portrait decoder module(Realize the function of searching modul 42)To the file scan investigation in mobile phone, as found have about
The file of fixed head portrait condition code, i.e., decode to this document, extracts phone number, user picture, and pass to head portrait and set
Put module.
Head portrait setup module(Realize the function of setup module 44), according to the phone number and user picture parsed,
The contact person with the numbers match is searched from address list, the picture is arranged on the contact head image position.As in address list
The contact person not matched with the phone number that head portrait is parsed, setup module ejection prompting frame, explanation can not be matched, and be carried
Show whether add the contact person in address list.It is intended to the addition of the contact person in address list as user is same, head portrait is set
Module just creates the contact person in address list and head portrait is preset at before the contact person automatically.
Fig. 8 is the flow chart of contact photo setting method according to the preferred embodiment of the invention, as shown in figure 8, the party
Method comprises the following steps:
Step S802:Mobile phone is initialized, and user starts head portrait editor module, and the photograph for needing to edit is obtained from picture library
Piece, carries out cutting adjustment to photo, is fabricated to the photo of contact head image.Click on after preserving, the photo that editor completes is placed
Under certain fixation catalogue, head portrait editor module photo storage maximum capacity carries out limitation processing, to save mobile phone resources.And open
Dynamic head portrait coding module.
Step S804:Head portrait coding module, obtains the photo that mobile phone is fixed under catalogue, photo is encoded, add and use
Family phone number, arranges head portrait condition code(It is different from other pictures), and other necessary information.
Step S806:Mobile phone is in holding state.
Step S808:Whether user initiates head portrait transmissionIf it is, into step S810, otherwise return to step S806.
Step S810:Head portrait coding file is passed to targeted customer by user by certain passage.Pipeline include but
Multimedia message, or bluetooth, or NFC, or memory card are not limited by, or computer is downloaded, or other approach.
Step S812:Targeted customer is in holding state.
Step S814:Judge whether to receive fileIf it is, into step S816, otherwise return to step S812.
Step S816:Targeted customer obtains the head portrait coding file of head portrait sender.Head portrait decoder module is to the text that receives
Part is checked, such as finds the head portrait condition code that file is had an agreement, i.e., into step S818, such as do not find head portrait condition code,
Into step S820.
Step S818:This document is decoded, preset information during coding is extracted, and information is transmitted together with head portrait
Give head portrait setup module;In the head portrait setup module of targeted customer, the coding information of processing head portrait decoder module transmission, the information
Phone number and photo including transmitting user.Head portrait setup module searches the contact person with the numbers match from address list,
The picture is installed automatically or confirms to install by user(The setting that can be carried out according to user to the mounting means of head portrait, comes
Selection install automatically or user confirms to install)In the contact head image position.As do not parsed in address list with head portrait
Whether the contact person of the phone number matching come, setup module ejection prompting frame, explanation can not be matched, and point out to contact this
People is added in address list.It is intended to the addition of the contact person in address list as user is same, setup module is just automatic in address list
Create the contact person and head portrait is preset at before the contact person.
Step S820:This document is handled by mobile phone normal flow.
Step S822:Terminate flow.
The method set by the contact head image in this preferred embodiment, can greatly reduce user in head portrait setting up procedure
In operating burden.Using this preferred embodiment head portrait set technological development mobile phone, head portrait receive can set automatically or
Confirm to set the head portrait of contact person in address list by user.Head portrait sender is completed after the setting of oneself head portrait, can be by many
The approach of kind transmission head portrait coding file, user can easily exchange head portrait and complete to set.
Head portrait is set for the convenience of the user, realizes the carry out head portrait transmission between different mobile phones, can be according to being originally preferable to carry out
One application software of technological development of example, is mounted with the mobile phone of the software, user can easily carry out head portrait and set
Put operation.As the head portrait based on this preferred embodiment transmits the increase of application software installation amount, cell phone address book head portrait
Function is set, can be used by increasing user.
In such as cell phone address book of certain user's first, with the presence of on the head portrait memory cards of 20 colleagues, the mobile phone of user's second leads to
There are wherein 15 colleague's telephone numbers in news record, the memory card of user's first is arranged on the mobile phone of user's second, runs the business soft
In part, the cell phone address book of user's second, the head portrait of this 15 colleagues will be mounted with automatically.So, head portrait installs just energy batch
Processing, is borrowed by storage card several times between colleague, and tens or hundreds of head portraits can just handle completion quickly in address list.
Fig. 9 is system architecture diagram according to the preferred embodiment of the invention, as shown in figure 9, using this preferred embodiment
Head portrait is transmitted includes head portrait transmitting element, head portrait receiving unit with setting technology and the mobile phone application software developed, its function.
The software installation is in the mobile phone of user, and the head portrait transmission between cellphone subscriber just becomes very simple with setting.
Figure 10 is head portrait coded system schematic diagram according to the preferred embodiment of the invention, as shown in Figure 10, and head portrait is special in figure
Code, phone number form are levied, user's head portrait sequence number is coding signal, and the phone number form of country variant user has certain poor
It is different.To head portrait coded format, order etc. is not limited to form cited by Figure 10.
In summary, the method that the contact head image of this preferred embodiment is set includes following characteristics:
1st, the head portrait coding of this preferred embodiment, contains the phone number of user, so that head portrait connects in head portrait file
Debit is extracted after the head portrait, and head portrait is arranged on into the phone number relative position.Wherein, the user mobile phone included in head portrait file
Number is a kind of form of characteristic information, and this feature information can also be the information of subscriber phone number change process to obtain.
For example, carrying out certain algorithm by using the phone number of user obtains this feature information, so, subscriber phone number will not be straight
Connect and be shown in filename or file, but software can parse and extract the phone number of head portrait user for matching.
2nd, the phone number of head portrait user is included in head portrait coding file, this document can be transmitted in several ways
Afterwards, the position associated with the phone number can be still automatically installed after the decoding of its head portrait.
3rd, the head portrait coding file of this preferred embodiment, includes user's head portrait and subscriber directory number or telephone number
Deformation coding, or user's head portrait, the deformation coding of subscriber directory number or telephone number, arrange head portrait condition code.Head portrait feature
Code may also be telephone number in itself or telephone number deformation coding.
4th, the head portrait coding of this preferred embodiment is contained sets code for distinguishing the agreement head portrait of other pictures, so as to head
As recipient is received after this document, it can recognize that this document is handled for head portrait setting.
5th, the head portrait decoding of this preferred embodiment, with the locating file function in mobile phone automatically, has to find
Arrange the file of head portrait condition code.The mode that triggering is searched includes but is not limited to mobile phone memory card plug installation, and mobile phone receives postal
Part, multimedia message etc., the new file that mobile phone is received by certain mode.Also have to search manually simultaneously and there is agreement head portrait condition code text
The function of part.
6th, the head portrait transfer module of this preferred embodiment, you can to transmit the coding file of oneself head portrait, can also send
Existing other contact head images coding file in the machine.
7th, encode, the technology such as decoding, can also be developed with automatic setting head portrait using the head portrait of this preferred embodiment
Service application software, is user-friendly.
8th, it is stored in if any multiple user's head portraits coding file in certain memory card, user can be by disposably to be multiple
The phone number mounting head picture of user.
In another embodiment, a kind of software is additionally provided, the software is used to perform above-described embodiment and preferred real
Apply the technical scheme described in example.
In another embodiment, a kind of storage medium is additionally provided, be stored with above-mentioned software in the storage medium, should
Storage medium includes but is not limited to CD, floppy disk, hard disk, scratch pad memory etc..
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each step can be with general
Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing devices and constituted
Network on, alternatively, the program code that they can be can perform with computing device be realized, it is thus possible to they are stored
Performed in the storage device by computing device, and in some cases, can be shown to be performed different from order herein
The step of going out or describe, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or
Step is fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.