Summary of the invention
Main purpose of the present invention is the method that a kind of converged message and e-mail applications are provided, and has promoted the convenience and the efficient of communication.
The present invention proposes the method for a kind of converged message and e-mail applications, comprises step:
Receiving terminal user's information input and/or editor; Said information comprises opposite end information and message content;
Send mode according to opposite end Information Selection message content.
Preferably, said opposite end information comprises:
Software information, mobile communication number and E-mail address;
Said send mode comprises:
Traffic messages is sent, system message is sent and E-mail sends.
Preferably, also comprise after input of said receiving terminal user's information and/or the editing steps:
To what select in client information and the address list client information is formed the opposite end information table according to interim input.
Preferably, the step of said send mode according to opposite end Information Selection message content specifically comprises:
Search said opposite end information table, judge whether the opposite end has installed corresponding software;
When existing, select to send message content with traffic messages, system message and/or E-mail;
When not existing, select to send message content with system message and/or E-mail.
Preferably, said selection specifically comprises with the step that system message and/or E-mail send message content:
Judge whether the opposite end exists the E-mail address;
When existing, select to send message content with system message and/or E-mail;
When not existing, only select to send message content with system message.
The present invention also proposes the device of a kind of converged message and e-mail applications, comprising:
Information process unit, the information that is used for the receiving terminal user is imported and/or editor; Said information comprises opposite end information and message content;
Send selected cell, be used for send mode according to opposite end Information Selection message content.
Preferably, said opposite end information comprises:
Software information, mobile communication number and E-mail address;
Said send mode comprises:
Traffic messages is sent, system message is sent and E-mail sends.
Preferably, said transmission selected cell specifically comprises:
The code parsing module is used to search said opposite end information table, judges whether the opposite end has installed corresponding software;
Message transmission module when existing, is selected to send message content with traffic messages, system message and/or E-mail; When not existing, select to send message content with system message and/or E-mail.
Preferably, said code parsing module also is used for: judge whether the opposite end exists the E-mail address;
Said message transmission module also is used for: when existing, select to send message content with system message and/or E-mail; When not existing, only select to send message content with system message.
Preferably, said code parsing module also is used for:
Judge according to the opposite end log-on message of server push whether the opposite end has installed corresponding software, and judged result is saved in the information table of opposite end; Said log-on message comprises the unregistered message of registered message in opposite end or opposite end.
The present invention can be merged multiple communication modes, makes things convenient for the terminal use that the message through different modes transmission is carried out unified management, gives that the terminal use is follow-up to check, edit and bookkeeping such as deletion brings very big facility message; Simultaneously; Can be when the terminal use need send message; According to client information being provided corresponding send mode supply the terminal use to select, make the terminal use can select one or more modes wherein to send message, can increase the flexibility of message transmission and promote the efficient that message is sent.In addition, can be to realize additional message enhancement function also in the message communication, such as in system message, realizing functions such as self-destruction, recovery, in traffic messages, then can realize inserting annex arbitrarily and not limit function such as text number of words.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
With reference to Fig. 1, an embodiment of the method for a kind of converged message of the present invention and e-mail applications is proposed.The method of this converged message and e-mail applications can comprise:
Step S10, receiving terminal user's information input and/or editor; Said information comprises opposite end information and message content;
Step S11, according to the send mode of opposite end Information Selection message content.
Considering that the terminal type that the terminal use that need to transmit message maybe most convenient uses under different scenes is different, is best receiving terminal such as portable terminal under mobile status, office or at home PC then be best receiving terminal; While, owing to the difference of message mode, feasible transmission and reception to message was difficult to unified management in various terminals; Therefore, be necessary multiple message communication modes to be merged,,, but also can promote the efficient of message communication for the terminal use offers convenience to realize unified management to message through fusion software.This terminal can comprise portable terminal (such as mobile phone), PC and panel computer etc.The client of this fusion software can be arranged in each terminal, realizes effective fusion of message communication.
Of above-mentioned step S10, the terminal use can be when needs send information, carry out the operation such as input and editor of the information content; And carry out operations such as the input of client information and editors.Input to client information can be that interim input is client information is imported beyond the address list, also can be that the selection of user in the address list scope comprises selection telephone number and/or E-mail address etc., forms the opposite end information table.
Of above-mentioned step S11, above-mentionedly can comprise: software information, mobile communication number (such as phone number) and E-mail address etc. client information; Above-mentioned send mode can comprise: traffic messages is sent, system message is sent (such as SMS) and E-mail sends.This software information can be the ID of fusion software client in the present embodiment, and this software information is the unique identification that is arranged at the fusion software client at each terminal.This software information can with phone number and E-mail map addresses.Said software information can reflect whether the opposite end uses fusion software.
Behind good send mode, can call corresponding Communications service interface (API) and realize sending according to the opposite end Information Selection.The corresponding communication modes of this Communications service interface can comprise traffic messages communication interface, system's SMS communication interface and E-mail communication interface etc.
With reference to Fig. 2, in another embodiment of the present invention, also can comprise after the above-mentioned steps S10:
What step S100, basis were imported temporarily forms the opposite end information table to what select in client information and the address list to client information.
Can comprise in the above-mentioned coded message table client information and corresponding message mode etc.; Also can comprise when using this kind message mode the corresponding function module of the above-mentioned fusion software that needs to use simultaneously.This opposite end information table can be according to the information integrated formation in the opposite end to selecting in client information and the address list of the interim input in terminal.This opposite end information table can be the associated person information table of fusion software etc.
Above-mentioned opposite end information table can be said with reference to following table 1:
Table 1
With reference to Fig. 3, above-mentioned steps S11 can specifically comprise in another embodiment of the present invention:
Step S110, search said opposite end information table, judge whether the opposite end has installed corresponding software; When existing, carry out step S111; When not existing, carry out step S112;
Step S11 1, selection are sent message content with traffic messages, system message and/or E-mail;
Step S112, selection are sent message content with system message and/or E-mail.
With reference to Fig. 4, above-mentioned steps S112 can specifically comprise:
Step S1120, judge whether the opposite end exists the E-mail address; When existing, carry out step S1121; When not existing, carry out step S1122;
Step S1121, selection are sent message content with system message and/or E-mail;
Step S1122, a selection are sent message content with system message.
Consider one or more that possibly store the opposite end communication modes in the information table of above-mentioned opposite end, therefore can client information be judged that the communication modes of selecting to be fit to sends message content according to what store in this opposite end information table.
In the above-mentioned communication modes top-priority be immediately, traffic messages mode cheaply, can whether exist the software information of fusion software client to get final product in the opposite end through judging during selection.As existing software information to explain that then the opposite end is equipped with the fusion software client and can carries out the traffic messages communication, the terminal use can select the traffic messages mode that message content is sent; If also store phone number and/or E-mail address in this opposite end information table, then also can select a kind of transmission wherein, or select the multiple while.As there is not a software information; Then need select the mode except that the traffic messages mode to carry out communication; Such as continuing to judge whether to exist the E-mail address; If have the E-mail address then can carry out communication through E-mail mode and/or system message mode, then the using system message mode carries out communication when not existing.Because the terminal is example with the mobile phone in the present embodiment, then the system message mode is the most basic communication modes.
Three kinds of communication modes that merge in the present embodiment have more common ground, as information addressee, Message-text and annex etc. are all arranged, for fusion application provides possibility; Difference is also arranged certainly; People, information are close makes a gift to someone etc. such as there being information to make a copy in the mail; Legacy system message is not handled above-mentioned information; Therefore can finally realize appearing of mail style in the messages application through in message body, inserting information such as make a copy for people and Mi make a gift to someone in the fusion process, solve the problems such as information format compatibility of mail and message.
After message content sent with above-mentioned three kinds of modes, the opposite end can receive through these three kinds of message contents that mode is sent.
Can support three kinds of patterns to collecting of mail in the present embodiment:
1, regularly connect mail server, the time interval of connection can be provided with by the terminal use;
2, receive special short message (comprising the mail server address in the content); In the regular hour, connect mail server (time interval and frequency can be provided with) with specific frequency, this special short message was sent or be equipped with fusion software by mail server mobile phone directly sends;
3, support IMAP IDLE (Internet Mail Access Protocol; Mail obtains agreement) pattern; The fusion software that promptly is arranged at the terminal connects mail server all the time, but rests on idle condition, after mail server is received new mail; Fusion software can be received sending out notice, initiates to mail.
Two kinds of patterns are supported in demonstration for mails/message in the present embodiment:
1, to mail be provided with traditional outbox, inbox, send mail, delete forms such as mail and draft;
2, to the conversation modes of message based on transmit leg or recipient.
The communication of above-mentioned mail also can be sent the fail safe that dynamic password guarantees that message is transmitted through system's note.Such as,, use in mail dynamic password to encrypt when sending, send to the opposite end through system's note, and make the opposite end can use this dynamic password reading mail content.
The method of above-mentioned converged message and e-mail applications can merge multiple communication modes; Make things convenient for the terminal use that the message through different modes transmission is carried out unified management, give that the terminal use is follow-up to check, edit and bookkeeping such as deletion brings very big facility message; Simultaneously; Can be when the terminal use need send message; According to client information being provided corresponding send mode supply the terminal use to select, make the terminal use can select one or more modes wherein to send message, can increase the flexibility of message transmission and promote the efficient that message is sent.In addition, can be to realize additional message enhancement function also in the message communication, such as in system message, realizing functions such as self-destruction, recovery, in traffic messages, then can realize inserting annex arbitrarily and not limit function such as text number of words.
With reference to Fig. 5, an embodiment of the device of a kind of converged message of the present invention and e-mail applications is proposed.The device of this converged message and e-mail applications can comprise: information process unit 21 and transmission selected cell 22; This information process unit 21, the information that is used for the receiving terminal user is imported and/or editor; Said information comprises opposite end information and message content; This sends selected cell 22, is used for the send mode according to opposite end Information Selection message content.
Considering that the terminal type that the terminal use that need to transmit message maybe most convenient uses under different scenes is different, is best receiving terminal such as portable terminal under mobile status, office or at home PC then be best receiving terminal; While, owing to the difference of message mode, feasible transmission and reception to message was difficult to unified management in various terminals; Therefore, be necessary multiple message communication modes to be merged,,, but also can promote the efficient of message communication for the terminal use offers convenience to realize unified management to message through the device of converged message and e-mail applications.This terminal can comprise portable terminal (such as mobile phone), PC and panel computer etc.The client of the device of this converged message and e-mail applications can be arranged in each terminal, realizes effective fusion of message communication.
When but above-mentioned information process unit 21 receiving terminal users send information at needs, carry out the operations such as input and editor of the information content; And, carry out operations such as the input of client information and editors.Input to client information can be that interim input is client information is imported beyond the address list, also can be that the selection of user in the address list scope comprises selection telephone number and/or E-mail address etc., forms the opposite end information table.
Above-mentionedly can comprise: software information, mobile communication number (such as phone number) and E-mail address etc. client information; Above-mentioned send mode can comprise: traffic messages is sent, system message is sent (such as SMS) and E-mail sends.This software information can be the ID of the device client of converged message and e-mail applications in the present embodiment, and this software information is the unique identification of device client that is arranged at converged message and the e-mail applications at each terminal.This software information can with phone number and E-mail map addresses.Said software information can reflect whether the opposite end uses fusion software.
Above-mentioned transmission selected cell 22 can call corresponding Communications service interface (API) and realize sending according to the good send mode of opposite end Information Selection.The corresponding communication modes of this Communications service interface can comprise traffic messages communication interface, system's SMS communication interface and E-mail communication interface etc.
With reference to Fig. 6, above-mentioned transmission selected cell 22 specifically comprises in another embodiment of the present invention: code parsing module 221 and message transmission module 222; This code parsing module 221 is used to search said opposite end information table, judges whether the opposite end has installed corresponding software; This message transmission module 222 when existing, is selected to send message content with traffic messages, system message and/or E-mail; When not existing, select to send message content with system message and/or E-mail.
Above-mentioned code parsing module 221 also is used for: judge whether the opposite end exists the E-mail address; Above-mentioned message transmission module 222 also is used for: when existing, select to send message content with system message and/or E-mail; When not existing, only select to send message content with system message.
Consider one or more that possibly store the opposite end communication modes in the information table of above-mentioned opposite end; Therefore above-mentioned code parsing module 221 can be judged client information according to what store in this opposite end information table, and the communication modes of selecting to be fit to through message transmission module 222 sends message content.
Above-mentioned code parsing module also is used for: judge according to the opposite end log-on message of server push whether the opposite end has installed corresponding software, and judged result is saved in the information table of opposite end; Said log-on message comprises the unregistered message of registered message in opposite end or opposite end.
Above-mentioned code parsing module can judge whether the opposite end installs this software; Judge whether the opposite end installs the method for this software: because the terminal that above-mentioned fusion software is installed all need be to specific server registration, fusion software can be uploaded onto the server terminal use's number (such as phone number etc.) during registration; When also unregistered, server will push the unregistered message in opposite end to this terminal in the opposite end; Registered like the opposite end, server then pushes the registered message in opposite end to this terminal; Carry out state when changing like the opposite end, when unregistered state became login state, the registered message of server push user was to this terminal such as the opposite end.Whether above-mentioned code parsing module can register to judge whether the opposite end is equipped with above-mentioned fusion software according to the opposite end, and is saved in judged result in the information table of opposite end.
In the above-mentioned communication modes top-priority be immediately, traffic messages mode cheaply, can judge that the software information of the device client that whether has converged message and e-mail applications in the opposite end gets final product earlier through code parsing module 221 during selection.As existing software information to explain that then the opposite end is equipped with client and can carries out the traffic messages communication, the terminal use can select the traffic messages mode that message content is sent through message transmission module 222; If also store phone number and/or E-mail address in this opposite end information table, then also can select a kind of transmission wherein, or select the multiple while.As there is not a software information; Then need select the mode except that the traffic messages mode to carry out communication; Utilize code parsing module 221 to judge whether to exist the E-mail address such as continuing; If have the E-mail address then can select E-mail modes and/or system message mode carry out communication through message transmission module 222, then the using system message mode carries out communication when not existing.Because the terminal is example with the mobile phone in the present embodiment, then the system message mode is the most basic communication modes.
Three kinds of communication modes that merge in the present embodiment have more common ground, as information addressee, Message-text and annex etc. are all arranged, for fusion application provides possibility; Difference is also arranged certainly; People, information are close makes a gift to someone etc. such as there being information to make a copy in the mail; Legacy system message is not handled above-mentioned information; Therefore can in message body, insert information such as make a copy for people and Mi make a gift to someone through message transmission module 222 in the fusion process and finally realize appearing of mail style in the messages application, solve the problems such as information format compatibility of mail and message.
After message content sent with above-mentioned three kinds of modes, the opposite end can receive through these three kinds of message contents that mode is sent.
Can support three kinds of patterns to collecting of mail in the present embodiment:
1, regularly connect mail server, the time interval of connection can be provided with by the terminal use;
2, receive special short message (comprising the mail server address in the content); In the regular hour, connect mail server (time interval and frequency can be provided with) with specific frequency, this special short message was sent or be equipped with the device of converged message and e-mail applications by mail server mobile phone directly sends;
3, support IMAP IDLE (Internet Mail Access Protocol; Mail obtains agreement) pattern; The device that promptly is arranged at the fusion Tongxu at terminal connects mail server all the time, but rests on idle condition, after mail server is received new mail; The device of converged message and e-mail applications can be received sending out notice, initiates to mail.
Two kinds of patterns are supported in demonstration for mails/message in the present embodiment:
1, to mail be provided with traditional outbox, inbox, send mail, delete forms such as mail and draft;
2, to the conversation modes of message based on transmit leg or recipient.
The communication of above-mentioned mail also can be sent the fail safe that dynamic password guarantees that message is transmitted through system's note.Such as,, use in mail dynamic password to encrypt when sending, send to the opposite end through system's note, and make the opposite end can use this dynamic password reading mail content.
The device of above-mentioned converged message and e-mail applications can merge multiple communication modes; Make things convenient for the terminal use that the message through different modes transmission is carried out unified management, give that the terminal use is follow-up to check, edit and bookkeeping such as deletion brings very big facility message; Simultaneously; Can be when the terminal use need send message; According to client information being provided corresponding send mode supply the terminal use to select, make the terminal use can select one or more modes wherein to send message, can increase the flexibility of message transmission and promote the efficient that message is sent.In addition, can be to realize additional message enhancement function also in the message communication, such as in system message, realizing functions such as self-destruction, recovery, in traffic messages, then can realize inserting annex arbitrarily and not limit function such as text number of words.
The above is merely the preferred embodiments of the present invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; 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.