Background technology
Address book is the tabulation with the associated person information of certain form tissue that people often use in daily life.Generally, people extensively are present in mobile phone with address book, in the electronic equipments such as computing machine.We can say an address book that has associated person information is all arranged on each mobile phone.
The present address book of a lot of mobile phones not only can be preserved contact person's Word messages such as name, phone, address, preserve an icon can also for each contact person, and this icon is intended to provide with form intuitively relevant this contact person's information.As shown in Figure 1, be exactly corresponding to the example of certain contact person's icon in the address book.When this icon is user certain contact person's in setting up address book clauses and subclauses, determine in some way that as taking pictures with camera, certain picture of perhaps selecting to have existed is as icon.As shown in Figure 2, mainly acting as of icon: when the incoming call of " andy " in contacts list incoming call, the icon of preserving in the address book related with " andy " also can be presented on the electric interface, thereby provides some information about caller " andy " with form intuitively.
In recent years, the application of name card recognition technique on mobile devices such as mobile phone and computing machine more and more widely.Name card recognition technique is analyzed automatically with scanner scanning or camera and is taken the business card image that obtains, therefrom extract Useful Informations such as name, company, address, phone, and be saved in these information in the address book automatically, saved the time that the user imports card information, provided great convenience for often using the personage of business card.The name card recognition technique such as the P660 of Dopod that take based on camera go up the business card identification software of prepackage.Based on the name card recognition technique of scanner such as Chinese king's " business card is logical ".
In people's business card used in everyday, the unit under generally all can stamping, as * * company, * * school, * * mechanism etc.These units have a specific icon usually as own unique sign, and people one see this icon, will associate the unit of its representative.In the part business card, also can stamp business card owner's head portrait.
At present existing a kind of method of in address book, adding icon automatically, be will take gained the thumbnail of business card image as this contact person's icon, add these clauses and subclauses in the address book to.Adopt the mobile phone such as the P1C of the Sony Ericsson mobile phone of this mode.Such icon adding method shortcoming is: 1. because thumbnail is too little, literal has wherein become and can't differentiate; 2. the icon that is added does not have clear and definite implication, can not give and be seen that the user of icon provides Useful Information intuitively, provides intuitively original purpose with contact associated information thereby be difficult to reach icon in the address book.
Summary of the invention
The objective of the invention is to release a kind of method that in address book, generates and add icon in conjunction with name card recognition technique automatically.This method is utilized name card recognition technique, at first checks whether to be printed on owner's head portrait in the business card, if having, just directly with the icon of this head portrait as this contact person, adds in the address book.If no, the information of the contact person affiliated unit that obtains among the result according to business card identification then, as * * company, * * school, * * mechanism etc., an icon that is associated with contact person affiliated unit produced automatically, automatically add in the address book, as the icon of this contacts entries.
To achieve these goals, the present invention by the following technical solutions.In the store memory of existing smart machine with business card recognition function, the program that control and commander CPU carry out following operation is installed: in described smart machine, analyze business card image and the literal in the business card image is discerned and classified, owner's head portrait of finding out in the image comes, if have, just, add in the address book automatically directly with the icon of this head portrait as this contact person; If there is not owner's head portrait, just give birth to an icon that is associated with contact person affiliated unit from movable property, and preservation recognition result and icon are finished the input of card information in address book according to the information of contact person affiliated unit.
Now be described with reference to the accompanying drawings technical scheme of the present invention.
A kind of method that in address book, generates and add icon in conjunction with name card recognition technique automatically, need in smart machine, to implement with business card recognition function, it is characterized in that, described image is the image that scanning or camera are taken the business card that obtains, the business card identification software that control and commander CPU realize following operation is installed in the described smart machine simultaneously: described being operating as analyzed business card image and the literal in the business card image discerned and classified, and the contact head image of finding out in the image comes.If have, just directly this head portrait is generated as this contact person's icon, add in the address book automatically; If there is not contact head image, just give birth to an icon that is associated with contact person affiliated unit from movable property, and preservation recognition result and icon are in address book according to the information of contact person affiliated unit.
Fig. 4 has provided described in conjunction with name card recognition technique automatic flow process that generates and add the method for icon in address book, and concrete steps are as follows:
Step 410, the business card image that analysis of business card identification software and identification scanning or shooting obtain, the result who is analyzed and discern.
Step 420 is judged people's the head portrait of whether being related in the business card image, if having, the head portrait of using the contact person forwards step 440 to, otherwise forwards step 430 to as icon.
Step 430, can judgement generate icon automatically according to the information of contact person affiliated unit, if can generate icon automatically, forwards step 440 to, otherwise finish.
Step 440 is preserved icon in address book.
Can Fig. 5 have provided and judged the concrete grammar that generate icon according to the information of contact person affiliated unit automatically in the described step 430, and its step is as follows:
Step 510 is judged the information whether this contact person affiliated unit is arranged in the recognition result, if do not have, forwards end to, can't add icon automatically.Otherwise forward step 520 to.
Step 520, judge whether the unit under this contact person exists an icon in the tabulation that is stored in advance in the smart machine, if this tabulation of storing does not in advance exist itself, perhaps this tabulation is for empty, perhaps the unit under this contact person is not present in this tabulation of storing in advance, then all whether answer forwards step 530 to.Otherwise forward step 560 to.The described list storage that is stored in advance in the smart machine has numerous organizations and icon corresponding with it.
Step 530 checks whether smart machine has network to connect, if any, then forward step 540 to, otherwise forward step 570 to.
Step 540 is searched the icon of this contact person affiliated unit from the particular network server.Smart machine is directly connected to a particular network server, and ways of connecting can be to connect by internet (internet), also can be to connect by note or multimedia message.Stored a tabulation in this webserver in advance, this list storage has numerous organizations and icon corresponding with it.This webserver can return the icon of the unit correspondence of being inquired about after receiving search request, perhaps do not have the information of the unit of inquiry in the return-list.If find icon, forward step 560 to.Otherwise forward step 550 to.
Step 550 is searched the webpage of this unit on the internet, and extracts the icon of this unit from the webpage that finds.If successfully find icon, forward step 560 then to.Otherwise forward step 570 to.
Step 560, the icon that uses this unit forwards end to as the icon that will be saved in the address book.
Step 570, automatically generate a literal icon according to organization: determine N literal in the affiliated organization of this contact person in some way, this N literal is changed into icon with specific font and size, be added to the icon of this contact person in the address book automatically.Forward end to.
The mode of determining N literal in the affiliated organization of this contact person comprises following three kinds:
One of mode is N the literal of directly getting in this organization, here " N " be one more than or equal to one integer.For example, suppose that the unit under this contact person is: " Shanghai Hehe Information Technology Development Co., Ltd. ", directly get continuous 4 literal in this organization, promptly " close in Shanghai " does icon, shown in Fig. 3 (a).
Two of mode is the key words commonly used that remove in this organization, does icon with remaining literal.The key word commonly used here is meant some word or speech commonly used that often appear in the various organization.The example of key word commonly used is as " company ", " company limited ", " incorporated company ", " university ", " bank ", " hospital ", " China ", " Beijing ", " Shanghai ", " Guangzhou ".For example, suppose that the unit under this contact person is: " Shanghai Hehe Information Technology Development Co., Ltd. ", remove key word commonly used " Shanghai " and " company limited ", with remaining literal, promptly " close development of information science and technology " and do icon, shown in Fig. 3 (b).
Three of mode is the key words commonly used that remove in this organization, gets N literal in remaining literal, here " N " be one more than or equal to one integer.For example, suppose that the unit under this contact person is: " Shanghai Hehe Information Technology Development Co., Ltd. ", remove key word commonly used " Shanghai " and " company limited ", in remaining literal, get preceding 2, promptly " close " and do icon, shown in Fig. 3 (c).
Compare with background technology, the present invention has following advantage:
Method of the present invention is concerning the user, the icon that is added is to generate fully automatically in the process of business card identification and add, do not need the user to carry out any extra operation, and has clear and definite implication by the icon that method of the present invention obtains, the information directly related with the contact person is provided, directly perceived and simple.
Embodiment
Now further specify technical scheme of the present invention with accompanying drawing in conjunction with the embodiments.All embodiment are all according to above-mentioned operating according to the automatic operation steps that generates the method for peculiar icon of name card recognition technique.Each embodiment is only enumerated crucial technical data.
Embodiment 1
Present embodiment needs to implement in based on the touch-screen mobile phone Dopod (dopod) 830 of windows mobile5.0 operating system, the frequency of operation of the CPU of this mobile phone is 200MHz, memory size is 48M, and camera resolution is the 2M pixel, and display is the touch-screen of 2.8 inches 320*240 pixel.Business card image to input is carried out all steps continuously.
Embodiment 2
Except for the following differences, other and embodiment 1 are identical.Leap to step 430 from step 410, i.e. execution in step 420 not, whether have owner head portrait, and only generate icon automatically according to the unit information in the business card if not detecting.
Embodiment 3
Except for the following differences, other and embodiment 1 are identical.Leap to step 440 from step 420, i.e. execution in step 430 not.Only for the business card that comprises owner's head portrait in the business card image generates owner's head portrait icon automatically, and preserve this icon this contact person in the address book.
Embodiment 4
Except for the following differences, other and embodiment 1 are identical.Step 530 checks whether this equipment has network to connect, if any, then forward step 550 to, i.e. execution in step 540 not.
Embodiment 5
Except for the following differences, other and embodiment 1 are identical.Step 540 as not finding icon, then forwards step 570 to, i.e. execution in step 550 not.
Embodiment 6
Except for the following differences, other and embodiment 1 are identical.Step 510, if answer then forwards step 530 to for being, i.e. execution in step 520 not.
Embodiment 7
Except for the following differences, other and embodiment 1 are identical.Step 520, if answer then forwards step 570 to for not, i.e. not execution in step 530, step 540 and step 550.
Embodiment 8
Except for the following differences, other and embodiment 1 are identical.Step 550 regardless of answer, all forwards end to, i.e. execution in step 570 not.
Embodiment 9
Except for the following differences, other and embodiment 1 are identical.Step 510, if answer then forwards step 570 to for being, i.e. execution in step 520 not, step 530, step 540, step 550 and step 560.
Embodiment 10
Except for the following differences, other and embodiment 1 are identical.Step 520, if answer then forwards end to for not, i.e. not execution in step 530, step 540, step 550 and step 570.
Embodiment 11
Except for the following differences, other and embodiment 1 are identical.Step 510 is if answer is for being then to forward step 530 to.Step 550 regardless of answer, all forwards end to, i.e. not execution in step 520 and step 570.