Embodiment
Describe below in conjunction with accompanying drawing and concrete embodiment.
Consult Fig. 1, Fig. 1 is that the present invention generates the process flow diagram that mail starts an embodiment automatically, and embodiment of the present invention may further comprise the steps:
Step S101: acquisition for mobile terminal addressee's email address.
When the user uses portable terminal to create mail, acquisition for mobile terminal addressee's email address.For example, the user extracts addressee's email address and carries out mailbox creating in mobile terminal addressbook, when mail creation, and addressee's email address that acquisition for mobile terminal extracts.But need to prove, this method step is not limited to only carry out in the mail creation process.In other application implementation modes, when this method step is executed in the mail transmission, after namely the user finishes the text editing who does not comprise the mail beginning, carry out when sending, portable terminal automatic acquisition mail recipient's email address, and carry out following step.
Step S102: portable terminal judges according to described addressee's email address whether described addressee is known addressee.
Behind acquisition for mobile terminal addressee's the email address, portable terminal judges according to addressee's email address whether the addressee is known addressee.Particularly, behind acquisition for mobile terminal addressee's the email address, the email address that whether comprises the addressee in the associated person information that enquiry mobile terminal has been deposited, if comprise addressee's email address in the associated person information that portable terminal has been deposited, then portable terminal is judged the artificial known addressee of addressee, and enters step S103.If do not comprise mail recipient's email address in the associated person information of having deposited, then portable terminal judges that the mail recipient is not known addressee, and process ends.Wherein, the associated person information of having deposited can for the associated person information stored in the mobile terminal addressbook or associated person information of this storage of email address etc., be not construed as limiting at this.Wherein, associated person information comprises name information at least.
Step S103: the general mail start information that acquisition for mobile terminal is default, and show general mail start information after arranging.
Portable terminal is after confirming that the mail recipient is known addressee, obtain default general mail start information, and in the above-mentioned associated person information of having deposited, obtain addressee's name information, the address item of default general mail start information is set to addressee's name information, and the general mail start information after mail beginning demonstration arranges, to realize the automatic input of mail beginning.Wherein, default general mail start information is the general mail start information that is arranged by the user in advance.Certainly, when the user did not arrange, default general mail start information is the general mail start information for giving tacit consent to then.
Particularly, according to the form of postagram beginning, general mail start information comprises the address item, greets the form of item and the beginning of general mail.For example, default general mail start information is:
" the ###:(carriage return)
(two characters of first trip indentation) recently? "
Wherein, the address item of default general mail beginning i.e. " ### " is identification item, need not the user and arrange, in use, by the mail recipient's who obtains name replacement.Default general mail beginning the greeting item is " recently? ", the form of default general mail beginning is colon after the address and carriage return and two characters of first trip indentation of greeting.The greeting item and the form that it should be noted that general mail start information then can freely arrange, and namely the user can according to self custom or demand, arrange greeting item and the form of mail start information.
Acquisition for mobile terminal addressee's name information, and the address item of the general mail start information of presetting is set to addressee's name information, the general mail start information after arranging is:
" Zhang San: (carriage return)
(two characters of first trip indentation) recently? "
Portable terminal shows the general mail start information after arranging in mail.
Further, before step S101, the general mail start information of acquisition for mobile terminal user input, and the general mail start information that will input is as default general mail start information.In the present embodiment, portable terminal provides specific inputting interface to the user, so that general mail start information is inputted.The greeting item of acquisition for mobile terminal user input and form are as greeting item and the form of general mail start information.For example, the acquiescence inputting interface that provides of portable terminal is:
" the ###:(carriage return)
Hello! "
Wherein, address could not edit item, and in addition, namely " you are good for the greeting item in the inputting interface! ", namely call with form and to put in a colon behind the item and carriage return, be editable, after the user arranges be:
" the ###:(carriage return)
(two characters of first trip indentation) recently? "
General mail start information after portable terminal arranges the user is preserved, and the general mail start information that the user is arranged is as the general mail start information of presetting.Certainly, general mail start information must not comprise greeting item or form, and the user can pass through deletion greeting item or form in inputting interface, does not comprise greeting item or form to realize general mail start information.In addition, in other embodiments, the form and greeting item that provides specific inputting interface to arrange to obtain the user to the user also is provided portable terminal, and portable terminal also can be to user selection interface, to carry out the form and the selection of greeting item to general mail start information.In concrete application implementation mode, the form that arranges and the mode of greeting item have much portable terminal in order to obtain the user.And no matter utilize which kind of mode to carry out the form of user's setting and obtaining of greeting item, all within protection domain of the present invention.
See also Fig. 2, Fig. 2 is the process flow diagram that the present invention generates another embodiment of method of mail beginning automatically.Wherein, the step S201 in the present embodiment, S202 are consistent with step S101, the S102 of upper embodiment, therefore see also the text description of upper embodiment for the explanation of the step S201 in the present embodiment, S202, do not repeat them here.In addition, present embodiment is further comprising the steps of:
Step S203: acquisition for mobile terminal addressee's information, and judge whether comprise individual mail start information in the addressee information.
Portable terminal is after confirming the artificial known addressee of mailbox addressee, inquire about and obtain used mobile terminal stores mail recipient's information, and judge in the addressee information that obtains whether comprise individual mail start information, if addressee information comprises individual mail start information, then enter step S204, otherwise enter step S205.Wherein, the Extraordinary mail start information that individual mail start information pre-sets particular contact for the user, this individual's mail start information only can be used as the mail beginning that sends to this contact person.For example, can call item and be set to " Mr. # " or " Miss # " of distinguishing sex etc., maybe call item and be set to " # manager " or " # manager " with post etc.
Particularly, according to the form of postagram beginning, individual mail start information also comprises the address item, greets the form of item and mail beginning.For example, individual 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 mail start information is " Mr. Zhang ", and greeting item is that " you are good! It is busy recently? ", form is for putting in a colon after the address and carriage return and two characters of first trip indentation of greeting.The address item of individual's mail start information, greeting item and form can freely arrange, and namely the user can for different addressees, arrange address item, greeting item and the form of different individual mail start information.
Step S204: acquisition for mobile terminal also shows addressee's individual mail start information.
When in mail recipient's information, comprising individual mail start information, the individual mail start information in the acquisition for mobile terminal addressee information, and in this individual's mail start information of mail beginning demonstration.
Step S205: the general mail start information that acquisition for mobile terminal is default, and show general mail start information after arranging.
Portable terminal is after confirming that the mail recipient is known addressee, obtain default general mail start information, and in the above-mentioned associated person information of having deposited, obtain addressee's name information, the address item of default general mail start information is set to addressee's name information, and the general mail start information after mail beginning demonstration arranges, to realize the automatic input of mail beginning.Wherein, default general mail start information is the general mail start information that is arranged by the user in advance.Certainly, when the user did not arrange, default general mail start information is the general mail start information for giving tacit consent to then.
Particularly, according to the form of postagram beginning, general mail start information comprises the address item, greets the form of item and the beginning of general mail.For example, default general mail start information is:
" the ###:(carriage return)
(two characters of first trip indentation) recently? "
Wherein, the address item of default general mail beginning i.e. " ### " is identification item, need not the user and arrange, in use, by the mail recipient's who obtains name replacement.Default general mail beginning the greeting item is " recently? ", the form of default general mail beginning is colon after the address and carriage return and two characters of first trip indentation of greeting.The greeting item and the form that it should be noted that general mail start information then can freely arrange, and namely the user can according to self custom or demand, arrange greeting item and the form of mail start information.
Acquisition for mobile terminal addressee's name information, and the address item of the general mail start information of presetting is set to addressee's name information, the general mail start information after arranging is:
" Zhang San: (carriage return)
(two characters of first trip indentation) recently? "
Portable terminal shows the general mail start information after arranging in mail.
Further, before step S201, the individual mail start information of acquisition for mobile terminal user input, and with the individual mail start information of the user's input individual mail start information as the corresponding relationship people.In the present embodiment, portable terminal provides specific inputting interface to the user, so that individual mail start information is inputted.The address item of acquisition for mobile terminal user input, greet and form respectively as the address item of corresponding relationship people's individual mail start information, greet and form.For example, the acquiescence inputting interface that provides of portable terminal 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 puts in a colon and carriage return after calling item, after the user arranges is:
" Mr. Zhang: (carriage return)
(two characters of first trip indentation) you are good! It is busy recently? "
The individual mail start information that the acquisition for mobile terminal user arranges with the individual mail start information as the corresponding relationship people, and is kept at individual mail start information in the corresponding relationship people information.What must describe is that above-mentioned inputting interface only is a kind of mode that the acquisition for mobile terminal user arranges individual mail start information, can not think that portable terminal is only by providing above-mentioned inputting interface to carry out the setting of individual mail start information.In addition, individual mail start information must not comprise greeting item or form, and the user can pass through deletion greeting item or form in inputting interface, does not comprise greeting item or form to realize general mail start information.More optimally, portable terminal can be by the menu item of contact person in address list, directly this contact person's individual mail start information arranged and preserve, further, when entering the inputting interface of the individual mail start information that this contact person is set, this contact person's of acquisition for mobile terminal name is called item by default.
Be different from prior art, embodiment of the present invention is by judging whether known addressee of addressee, and when the artificial known addressee of addressee, obtain default mail start information, to realize the automatic generation of mail beginning, the editor who has simplified mail has improved the efficient that mail sends; And, reduce the input to the repeatability of mail fix information, brought good user to experience.Further, embodiment of the present invention can also arrange individual mail start information to the contact person, has increased the dirigibility of mail beginning, and more convenient user is to the transmission of different contact person's mails.
See also Fig. 3, Fig. 3 is the functional block diagram that the present invention generates an embodiment of device of mail beginning automatically, and in the present embodiment, the device that automatically generates the mail beginning comprises acquisition module 310, the first judge module 320 and generation module 330.
Acquisition module 310 is used for obtaining addressee's email address when creating mail, and addressee's email address is sent to the first judge module 320.For example, the user extracts the addressee in mobile terminal addressbook email address carries out mailbox creating, and when mail creation, acquisition module 310 obtains addressee's email address of extraction.But need to prove, acquisition module 310 is not limited to only obtain addressee's email address in the mail creation process.In other application implementation modes, acquisition module 310 also can obtain addressee's email address when mail sends, be after the user finishes the text editing who does not have the mail beginning, when carrying out transmission, acquisition module 310 automatic acquisition mail recipients' email address, and addressee's email address sent to the first judge module 320.
The first judge module 320 is used for receiving the addressee's that acquisition module 310 sends email address, and according to described addressee's email address, judges whether described addressee is known addressee, and judged result is sent to generation module 330.
Particularly, after the first judge module 320 obtains addressee's email address, the email address that whether comprises the mail recipient in the associated person information that enquiry mobile terminal has been deposited, if comprise mail recipient's email address in the associated person information that portable terminal has been deposited, then the first judge module 320 judges that the mail recipient is known addressee.If do not comprise mail recipient's email address in the associated person information of having deposited, then the first judge module 320 judges that the mail recipient is not known addressee.The first judge module 320 sends judged result to generation module 330.Wherein, the associated person information of having deposited can for the associated person information of the storage in the mobile terminal addressbook or the associated person information of this storage of email address etc., be not construed as limiting at this.Wherein, associated person information comprises name information at least.
Generation module 330 is used in the judged result that receives 320 transmissions of the first judge module, when the artificial known addressee of addressee, obtain default general mail start information and addressee's name information, and after the address item of described default general mail start information is set to addressee's name information, show the general mail start information after arranging.Wherein, default general mail start information is the general mail start information that is arranged by the user in advance, and certainly, when the user did not arrange, default general mail start information is the general mail start information for giving tacit consent to then.
Particularly, according to the form of postagram beginning, general mail start information comprises the address item, greets the form of item and the beginning of general mail.For example, default general mail start information is:
" the ###:(carriage return)
(two characters of first trip indentation) recently? "
Wherein, the address item of default general mail beginning i.e. " ### " is identification item, need not the user and arrange, in use, by the mail recipient's who obtains name replacement.Default general mail beginning the greeting item is " recently? ", the form of default general mail beginning is colon after the address and carriage return and two characters of first trip indentation of greeting.The greeting item and the form that it should be noted that general mail start information then can freely arrange, and namely the user can according to self custom or demand, arrange greeting item and the form of mail start information.
Generation module 330 obtains addressee's name information, and the address item of the general mail start information of presetting is set to addressee's name information, and the general mail start information after arranging is:
" Zhang San: (carriage return)
(two characters of first trip indentation) recently? "
Generation module 330 shows the general mail start information after arranging in mail.
Further, acquisition module 310 also is used for obtaining the general mail start information of user's input, and the general mail start information that will input is as default general mail start information.In the present embodiment, acquisition module 310 provides specific inputting interface to the user, so that general mail start information is inputted.Acquisition module 310 obtains the greeting item of user input and form as greeting item and the form of general mail start information.For example: the acquiescence inputting interface that acquisition module 310 provides is:
" the ###:(carriage return)
Hello! "
Wherein, address could not edit item, and in addition, namely " you are good for the greeting item in the inputting interface! ", namely call with form and to put in a colon behind the item and carriage return, be editable, after the user arranges be:
" the ###:(carriage return)
(two characters of first trip indentation) recently? "
General mail start information after 310 couples of users of acquisition module arrange is preserved, and the general mail start information that the user is arranged is as the general mail start information of presetting.Certainly, general mail start information must not comprise greeting item or form, and the user can pass through deletion greeting item or form in inputting interface, does not comprise greeting item or form to realize general mail start information.In addition, in other embodiments, the form and greeting item that provides specific inputting interface to arrange to obtain the user to the user also is provided acquisition module 310, and acquisition module 310 also can be to user selection interface, to carry out the form and the selection of greeting item to general mail start information.In concrete application implementation mode, the form that arranges and the mode of greeting item have much acquisition module 310 in order to obtain the user.And no matter utilize which kind of mode to carry out the form of user's setting and obtaining of greeting item, all within protection domain of the present invention.
See also Fig. 4, Fig. 4 is the functional block diagram that the present invention generates another embodiment of device of mail beginning automatically, in the present embodiment, automatically the device that generates the mail beginning comprises acquisition module 410, the first judge module 420 and generation module 430, wherein, generation module 430 comprises the second judging unit 431 and generation unit 432.Wherein, acquisition module 410 in the present embodiment, the first judge module 420 are consistent with acquisition module, first judge module of upper embodiment, therefore the explanation for the acquisition module 410 in the present embodiment, the first judge module 420 sees also the text description of upper embodiment, does not repeat them here.
The second judging unit 431 is used for obtaining addressee information, judges whether comprise individual mail start information in the described addressee information, and judged result is sent to generation unit 432.
The second judging unit 431 is after confirming the artificial known addressee of mailbox addressee, inquire about and obtain used mobile terminal stores mail recipient's information, and judge in the addressee information that obtains whether comprise individual mail start information, and judged result is sent to generation unit 432.Wherein, the Extraordinary mail start information that individual mail start information pre-sets particular contact for the user, this individual's mail start information only can be used as the mail beginning that sends to this contact person.For example, can call item and be set to " Mr. # " or " Miss # " of distinguishing sex etc., maybe call item and be set to " # manager " or " # manager " with post etc.
Particularly, according to the form of postagram beginning, individual mail start information also comprises the address item, greets the form of item and mail beginning.For example, individual 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 mail start information is " Mr. Zhang ", and greeting item is that " you are good! It is busy recently? ", form is for putting in a colon after the address and carriage return and two characters of first trip indentation of greeting.The address item of individual's mail start information, greeting item and form can freely arrange, and namely the user can for different addressees, arrange address item, greeting item and the form of different individual mail start information.
Generation unit 432 is used for receiving the judged result that the second judging unit 431 sends, and when comprising individual mail start information in addressee information, obtains and show addressee's individual mail start information in mail.When in addressee information, not comprising individual mail start information, obtain default general mail start information and addressee's name information, the address item of default general mail start information is set to addressee's name information, and shows default general mail start information in mail.
Further, acquisition module 410 also is used for obtaining the individual mail start information of user's input, and the individual mail start information that will input is as corresponding relationship people's individual mail start information.In the present embodiment, acquisition module 410 provides specific inputting interface to the user, so that individual mail start information is inputted.Acquisition module 410 obtain user input the address item, greet and form respectively as the address item of corresponding relationship people's individual mail start information, greet and form.For example: 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 puts in a colon and carriage return after calling item, after the user arranges 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 that the user arranges, and with the individual mail start information as the corresponding relationship people, and will be kept in the corresponding relationship people information to individual mail start information.What must describe is that above-mentioned inputting interface only is that acquisition module 410 obtains a kind of mode that the user arranges individual 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 mail start information.In addition, individual mail start information must not comprise greeting item or form, and the user can pass through deletion greeting item or form in inputting interface, does not comprise greeting item or form to realize general mail start information.
Be different from prior art, embodiment of the present invention is by judging whether known addressee of addressee, and when the artificial known addressee of addressee, obtain default mail start information, to realize the automatic generation of mail beginning, the editor who has simplified mail has improved the efficient that mail sends; And, reduce the input to the repeatability of mail fix information, brought good user to experience.Further, embodiment of the present invention can also arrange individual mail start information to the contact person, has increased the dirigibility of mail beginning, and more convenient user is to the transmission of different contact person's mails.
The present invention also provides the portable terminal embodiment, and this portable terminal comprises the device of the automatic generation mail beginning in above-mentioned arbitrary embodiment.
For convenience of description, method and apparatus in the above-mentioned embodiment all is applied in the portable terminal, but can not think that the method and apparatus that the present invention generates mail beginning automatically only limits to be applied to portable terminal, in concrete application implementation mode, the method and apparatus that the present invention generates the mail beginning automatically can be applied to the terminal that all can send mail and have associated person information, for example, the computing machine etc. that has associated person information.
The above only is embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.