Detailed description of the invention
Illustrate below in conjunction with accompanying drawing and specific embodiment.
Consulting Fig. 1, Fig. 1 is that the present invention automatically generates mail and starts the flow chart of an embodiment, and embodiment of the present invention comprises the following steps:
Step S101: the email address of acquisition for mobile terminal addressee.
When user uses mobile terminal to create mail, the email address of acquisition for mobile terminal addressee. Such as, user extracts the email address of addressee in mobile terminal addressbook and carries out mailbox creating, when mail creation, and the recipient mailbox address that acquisition for mobile terminal extracts. But it should be recognized that this method step is not limited to only carry out in mail creation process. In other application implementation modes, this method step performs when mail sends, and after namely user completes not include the text editing of mail beginning, when performing to send, mobile terminal obtains the email address of mail recipient automatically, and carries out following step.
Step S102: the mobile terminal email address according to described addressee, it is judged that whether described addressee is known addressee.
After the email address of acquisition for mobile terminal addressee, the mobile terminal email address according to addressee, it is judged that whether addressee is known addressee. Specifically, after the email address of acquisition for mobile terminal addressee, whether the associated person information that enquiry mobile terminal has been deposited includes the email address of addressee, if the associated person information that mobile terminal has been deposited includes the email address of addressee, then mobile terminal judges the artificial known addressee of addressee, and enters step S103. If not including the email address of mail recipient in the associated person information deposited, then mobile terminal judges that mail recipient is not known addressee, and process ends. Wherein, the associated person information deposited can be the associated person information etc. of associated person information or this storage of email address stored in mobile terminal addressbook, in this no limit. Wherein, associated person information at least includes name information.
Step S103: the general purpose mail start information that acquisition for mobile terminal is preset, and show the general purpose mail start information after arranging.
Mobile terminal is after confirmation mail recipient is known addressee, obtain the general purpose mail start information preset, and in the above-mentioned associated person information deposited, obtain the name information of addressee, the address item of default general purpose mail start information is set to addressee's name information, and the general purpose mail start information after mail beginning display is arranged, to realize automatically entering of mail beginning. Wherein, the general purpose mail start information preset is in advance by the general purpose mail start information of user setup. Certainly, when user is not configured, default general purpose mail start information is then for the general purpose mail start information of acquiescence.
Specifically, according to the form of postagram beginning, general purpose mail start information includes address item, greets item and the form of general purpose mail beginning. Such as, the general purpose mail start information preset is:
" ###:(carriage return)
(two characters of first trip indentation) recently? "
Wherein, address item i.e. " ### " of the general purpose mail beginning preset is identification item, it is not necessary to user setup, in use, the name of the mail recipient obtained replaces. Preset general purpose mail beginning greeting item be " recently? ", the form of the general purpose mail beginning preset is colon carriage return and at two characters of first trip indentation greeting item after address item. It should be noted that the greeting item of general purpose mail start information and form then can freely be arranged, namely user according to self custom or demand, can arrange greeting item and the form of mail start information.
The name information of acquisition for mobile terminal addressee, and the address item of default general purpose mail start information is set to addressee's name information, the general purpose mail start information after arranging is:
" Zhang San: (carriage return)
(two characters of first trip indentation) recently? "
Mobile terminal shows the general purpose mail start information after arranging in mail.
Further, before step S101, the general purpose mail start information of acquisition for mobile terminal user input, and using the general purpose mail start information of input as default general purpose mail start information. In present embodiment, mobile terminal provides a user with specific inputting interface, so that general purpose mail start information to be inputted. Acquisition for mobile terminal user input greet item and form as the greeting item of general purpose mail start information and form. Such as, the acquiescence inputting interface that mobile terminal provides is:
" ###:(carriage return)
Hello! "
Wherein, address item can not edit item, additionally, the greeting item in inputting interface namely " you are good! " and form namely call item after put in a colon and carriage return, be editable, user after being configured is:
" ###:(carriage return)
(two characters of first trip indentation) recently? "
General purpose mail start information after user setup is preserved by mobile terminal, and using the general purpose mail start information of user setup as default general purpose mail start information. Certainly, general purpose mail start information need not necessarily include greeting item or form, and user can pass through to delete in inputting interface to greet item or form, does not include greeting item or form realizing general purpose mail start information. In addition, in other embodiments, mobile terminal is also not limited to provide a user with specific inputting interface to obtain the form of user setup and to greet item, mobile terminal can also to user selection interface, to carry out the form to general purpose mail start information and to greet the selection of item.In concrete application implementation mode, the mode of mobile terminal form and greeting item in order to obtain user setup has a lot. Regardless of utilizing which kind of mode carry out the form of user setup and greet the acquisition of item, all within scope.
Referring to Fig. 2, Fig. 2 is the flow chart that the present invention automatically generates another embodiment of method of mail beginning. Wherein, step S201, S202 in present embodiment are consistent with the step S101 of upper embodiment, S102, therefore refer to the word of upper embodiment for the explanation of the step S201 in present embodiment, S202 and describe, and do not repeat them here. Additionally, present embodiment is further comprising the steps of:
Step S203: the information of acquisition for mobile terminal addressee, and judge whether addressee information includes individual's mail start information.
Mobile terminal is after confirming the artificial known addressee of mailbox addressee, inquire about and obtain the information of mobile terminal storage mail recipient used, and judge whether the addressee information obtained includes individual's mail start information, if addressee information includes individual's mail start information, then enter step S204, otherwise enter step S205. Wherein, individual's mail start information is the personalized mail start information that particular contact is pre-set by user, and this individual's mail start information only can as the mail beginning sent to this contact person. Such as, address item can be set to distinction other " Mr. # " or " Miss # " etc., maybe address item is set to " # manager " or " # manager " etc. with post.
Specifically, according to the form of postagram beginning, individual's mail start information also includes address item, greets item and the form of mail beginning. Such as, individual's mail start information is:
" Mr. Zhang: (carriage return)
(two characters of first trip indentation) you are good! It is busy recently? "
Wherein, the address item of individual's mail start information is " Mr. Zhang ", and greeting item is that " you are good! It is busy recently? ", form is put in a colon after address item also carriage return and two characters of first trip indentation at greeting item. The address item of individual's mail start information, greeting item and form can freely be arranged, and namely user for different addressees, can arrange the address item of different individual mail start information, greet item and form.
Step S204: acquisition for mobile terminal also shows the individual mail start information of addressee.
When mail recipient's information includes individual's mail start information, the individual mail start information in acquisition for mobile terminal addressee information, and show this individual's mail start information in mail beginning.
Step S205: the general purpose mail start information that acquisition for mobile terminal is preset, and show the general purpose mail start information after arranging.
Mobile terminal is after confirmation mail recipient is known addressee, obtain the general purpose mail start information preset, and in the above-mentioned associated person information deposited, obtain the name information of addressee, the address item of default general purpose mail start information is set to addressee's name information, and the general purpose mail start information after mail beginning display is arranged, to realize automatically entering of mail beginning. Wherein, the general purpose mail start information preset is in advance by the general purpose mail start information of user setup. Certainly, when user is not configured, default general purpose mail start information is then for the general purpose mail start information of acquiescence.
Specifically, according to the form of postagram beginning, general purpose mail start information includes address item, greets item and the form of general purpose mail beginning.Such as, the general purpose mail start information preset is:
" ###:(carriage return)
(two characters of first trip indentation) recently? "
Wherein, address item i.e. " ### " of the general purpose mail beginning preset is identification item, it is not necessary to user setup, in use, the name of the mail recipient obtained replaces. Preset general purpose mail beginning greeting item be " recently? ", the form of the general purpose mail beginning preset is colon carriage return and at two characters of first trip indentation greeting item after address item. It should be noted that the greeting item of general purpose mail start information and form then can freely be arranged, namely user according to self custom or demand, can arrange greeting item and the form of mail start information.
The name information of acquisition for mobile terminal addressee, and the address item of default general purpose mail start information is set to addressee's name information, the general purpose mail start information after arranging is:
" Zhang San: (carriage return)
(two characters of first trip indentation) recently? "
Mobile terminal shows the general purpose mail start information after arranging in mail.
Further, before step S201, the individual mail start information of acquisition for mobile terminal user input, and individual mail start information user inputted is as the individual mail start information of corresponding relationship people. In present embodiment, mobile terminal provides a user with specific inputting interface, so that individual's mail start information to be inputted. The address item of acquisition for mobile terminal user input, greeting item and form are respectively as the address item of the individual mail start information of corresponding relationship people, greeting item and form. Such as, the acquiescence inputting interface that mobile terminal provides is:
" sir/Miss: (carriage return)
Hello! "
Wherein, the address item in the inputting interface of acquiescence is " sir/Miss ", and namely " you are good to greet item! ", form is for putting in a colon and carriage return after address item, and user after being configured is:
" Mr. Zhang: (carriage return)
(two characters of first trip indentation) you are good! It is busy recently? "
The individual mail start information of acquisition for mobile terminal user setup, using the individual mail start information as corresponding relationship people, and is saved in individual's mail start information in corresponding relationship people's information. Must illustrating, above-mentioned inputting interface is only a kind of mode of acquisition for mobile terminal user setup individual's mail start information, can not think that mobile terminal is only by providing above-mentioned inputting interface to carry out the setting of individual's mail start information. Additionally, individual's mail start information need not necessarily include greeting item or form, user can pass through to delete in inputting interface to greet item or form, does not include greeting item or form realizing general purpose mail start information. More optimally, mobile terminal can by the menu item of contact person in address list, directly the individual mail start information of this contact person is configured and preserves, further, when entering the inputting interface of individual mail start information arranging this contact person, the name of this contact person of acquisition for mobile terminal calls item by default.
Being different from prior art, embodiment of the present invention is passed through to judge the whether known addressee of addressee, and when the artificial known addressee of addressee, obtain the mail start information preset, to realize automatically generating of mail beginning, simplify the editor of mail, improve the efficiency that mail sends; And, reduce the input of the repeatability to mail fix information, bring good Consumer's Experience. Further, contact person can also be arranged individual's mail start information by embodiment of the present invention, adds the motility of mail beginning, the more convenient user transmission to different contact person's mails.
Referring to Fig. 3, Fig. 3 is the functional block diagram that the present invention automatically generates one embodiment of device of mail beginning, and in present embodiment, the device automatically generating mail beginning includes acquisition module the 310, first judge module 320 and generation module 330.
Acquisition module 310 is for when creating mail, obtaining the email address of addressee, and sent to the first judge module 320 by the email address of addressee. Such as, user extracts the email address of addressee in mobile terminal addressbook and carries out mailbox creating, and when mail creation, acquisition module 310 carries out obtaining the recipient mailbox address extracted. But it should be recognized that acquisition module 310 is not limited to only obtain in mail creation process the email address of addressee. In other application implementation modes, acquisition module 310 also can obtain the email address of addressee when mail sends, namely after user is done without the text editing of mail beginning, when performing to send, acquisition module 310 obtains the email address of mail recipient automatically, and is sent to the first judge module 320 by the email address of addressee.
First judge module 320 is for receiving the email address of the addressee that acquisition module 310 sends, and the email address according to described addressee, it is judged that whether described addressee is known addressee, and will determine that result sends to generation module 330.
Specifically, after first judge module 320 obtains the email address of addressee, whether the associated person information that enquiry mobile terminal has been deposited includes the email address of mail recipient, if the associated person information that mobile terminal has been deposited includes the email address of mail recipient, then the first judge module 320 judges that mail recipient is known addressee. If not including the email address of mail recipient in the associated person information deposited, then the first judge module 320 judges that mail recipient is not known addressee. First judge module 320 will determine that result sends to generation module 330. Wherein, the associated person information deposited can be the associated person information etc. of the associated person information of the storage in mobile terminal addressbook or this storage of email address, in this no limit. Wherein, associated person information at least includes name information.
Generation module 330 is for receiving the judged result that the first judge module 320 sends, when the artificial known addressee of addressee, obtain the name information of general purpose mail start information and the addressee preset, and after the address item of described default general purpose mail start information is set to addressee's name information, show the general purpose mail start information after arranging. Wherein, the general purpose mail start information preset is in advance by the general purpose mail start information of user setup, and certainly, when user is not configured, default general purpose mail start information is then for the general purpose mail start information of acquiescence.
Specifically, according to the form of postagram beginning, general purpose mail start information includes address item, greets item and the form of general purpose mail beginning. Such as, the general purpose mail start information preset is:
" ###:(carriage return)
(two characters of first trip indentation) recently? "
Wherein, address item i.e. " ### " of the general purpose mail beginning preset is identification item, it is not necessary to user setup, in use, the name of the mail recipient obtained replaces. Preset general purpose mail beginning greeting item be " recently? ", the form of the general purpose mail beginning preset is colon carriage return and at two characters of first trip indentation greeting item after address item. It should be noted that the greeting item of general purpose mail start information and form then can freely be arranged, namely user according to self custom or demand, can arrange greeting item and the form of mail start information.
Generation module 330 obtains the name information of addressee, and the address item of default general purpose mail start information is set to addressee's name information, and the general purpose mail start information after arranging is:
" Zhang San: (carriage return)
(two characters of first trip indentation) recently? "
Generation module 330 shows the general purpose mail start information after arranging in mail.
Further, acquisition module 310 is additionally operable to obtain the general purpose mail start information of user's input, and using the general purpose mail start information of input as default general purpose mail start information. In present embodiment, acquisition module 310 provides a user with specific inputting interface, so that general purpose mail start information to be inputted. What acquisition module 310 obtained user's input greets item and form as the greeting item of general purpose mail start information and form. Such as: the acquiescence inputting interface that acquisition module 310 provides is:
" ###:(carriage return)
Hello! "
Wherein, address item can not edit item, additionally, the greeting item in inputting interface namely " you are good! " and form namely call item after put in a colon and carriage return, be editable, user after being configured is:
" ###:(carriage return)
(two characters of first trip indentation) recently? "
General purpose mail start information after user setup is preserved by acquisition module 310, and using the general purpose mail start information of user setup as default general purpose mail start information. Certainly, general purpose mail start information need not necessarily include greeting item or form, and user can pass through to delete in inputting interface to greet item or form, does not include greeting item or form realizing general purpose mail start information. In addition, in other embodiments, acquisition module 310 is also not limited to provide a user with specific inputting interface to obtain the form of user setup and to greet item, acquisition module 310 can also to user selection interface, to carry out the form to general purpose mail start information and to greet the selection of item. In concrete application implementation mode, the mode of the acquisition module 310 form and greeting item in order to obtain user setup has a lot. Regardless of utilizing which kind of mode carry out the form of user setup and greet the acquisition of item, all within scope.
Refer to Fig. 4, Fig. 4 is the functional block diagram that the present invention automatically generates another embodiment of device of mail beginning, in present embodiment, the device automatically generating mail beginning includes acquisition module the 410, first judge module 420 and generation module 430, wherein, generation module 430 includes the second judging unit 431 and generates unit 432. Wherein, acquisition module the 410, first judge module 420 and the acquisition module of upper embodiment in present embodiment, the first judge module are consistent, therefore the word of upper embodiment is referred to for the explanation of acquisition module the 410, first judge module 420 in present embodiment and describes, do not repeat them here.
Second judging unit 431 is used for obtaining addressee information, it is judged that whether includes individual's mail start information in described addressee information, and will determine that result sends to generating unit 432.
Second judging unit 431 is after confirming the artificial known addressee of mailbox addressee, inquire about and obtain the information of mobile terminal storage mail recipient used, and judge whether the addressee information obtained includes individual's mail start information, and will determine that result sends to generating unit 432. Wherein, individual's mail start information is the personalized mail start information that particular contact is pre-set by user, and this individual's mail start information only can as the mail beginning sent to this contact person. Such as, address item can be set to distinction other " Mr. # " or " Miss # " etc., maybe address item is set to " # manager " or " # manager " etc. with post.
Specifically, according to the form of postagram beginning, individual's mail start information also includes address item, greets item and the form of mail beginning. Such as, individual's mail start information is:
" Mr. Zhang: (carriage return)
(two characters of first trip indentation) you are good! It is busy recently? "
Wherein, the address item of individual's mail start information is " Mr. Zhang ", and greeting item is that " you are good! It is busy recently? ", form is put in a colon after address item also carriage return and two characters of first trip indentation at greeting item. The address item of individual's mail start information, greeting item and form can freely be arranged, and namely user for different addressees, can arrange the address item of different individual mail start information, greet item and form.
Generate unit 432 for receiving the judged result that the second judging unit 431 sends, when addressee information includes individual's mail start information, obtain and show in mail the individual mail start information of addressee. When addressee information does not include individual's mail start information, obtain the general purpose mail start information and addressee's name information preset, the address item of default general purpose mail start information is set to addressee's name information, and general purpose mail start information is preset in display in mail.
Further, acquisition module 410 is additionally operable to obtain the individual mail start information of user's input, and using the individual mail start information of input as the individual mail start information of corresponding relationship people. In present embodiment, acquisition module 410 provides a user with specific inputting interface, so that individual's mail start information to be inputted. Acquisition module 410 obtains the address item of user's input, greets item and form respectively as the address item of the individual mail start information of corresponding relationship people, greeting item and form. Such as: the inputting interface that acquisition module 410 provides is:
" sir/Miss: (carriage return)
Hello! "
Wherein, the address item in the inputting interface of acquiescence is " sir/Miss ", and namely " you are good to greet item! ", form is for putting in a colon and carriage return after address item, and user after being configured is:
" Mr. Zhang: (carriage return)
(two characters of first trip indentation) you are good! It is busy recently? "
Acquisition module 410 obtains the individual mail start information of user setup, using the individual mail start information as corresponding relationship people, and will be saved in corresponding relationship people's information to individual's mail start information. Must illustrating, above-mentioned inputting interface is only a kind of mode that acquisition module 410 obtains user setup individual's mail start information, can not think that acquisition module 410 is only by providing above-mentioned inputting interface to carry out the setting of individual's mail start information. Additionally, individual's mail start information need not necessarily include greeting item or form, user can pass through to delete in inputting interface to greet item or form, does not include greeting item or form realizing general purpose mail start information.
Being different from prior art, embodiment of the present invention is passed through to judge the whether known addressee of addressee, and when the artificial known addressee of addressee, obtain the mail start information preset, to realize automatically generating of mail beginning, simplify the editor of mail, improve the efficiency that mail sends; And, reduce the input of the repeatability to mail fix information, bring good Consumer's Experience. Further, contact person can also be arranged individual's mail start information by embodiment of the present invention, adds the motility of mail beginning, the more convenient user transmission to different contact person's mails.
Present invention also offers mobile terminal embodiment, this mobile terminal includes the device automatically generating mail beginning in any of the above-described embodiment.
For convenient explanation, method and apparatus in above-mentioned embodiment is all applied in mobile terminal, but can not think the present invention automatically generate mail beginning method and apparatus be only limitted to be applied to mobile terminal, in concrete application implementation mode, the present invention automatically generates the method and apparatus of mail beginning and can apply to all terminals that can send mail and have associated person information, such as, there is the computer etc. of associated person information.
The foregoing is only embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the present invention and accompanying drawing content to make or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, all in like manner include in the scope of patent protection of the present invention.