Summary of the invention
Main purpose of the present invention, for providing a kind of method of converged message and mail applications, improves convenience and the efficiency of communication.
The present invention proposes a kind of method of converged message and mail applications, comprises step:
The information input of receiving terminal user and/or editor; Described information comprises opposite end information and message content; Described opposite end information comprises software information, mobile communication number and E-mail address, and wherein, described software information is for judging whether there is fusion software client in opposite end;
To what select in client information and address list, opposite end information table is formed to client information according to what input temporarily; Described opposite end information table comprises the message mode to client information and correspondence;
According to the send mode of opposite end Information Selection message content; Described send mode comprises traffic messages transmission, system message sends and E-mail sends; Described message content adds copy-to list or closely send staff list information in fusion process; Practicable self-destruction and recovery in described system message; Annex can be inserted and do not limit text number of words in described traffic messages.
Preferably, the step of the described send mode according to opposite end Information Selection message content specifically comprises:
Search described opposite end information table, judge whether opposite end installs corresponding software;
When it is present, 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, the step that described selection sends message content with system message and/or E-mail specifically comprises:
Judge whether opposite end exists E-mail address;
When it is present, 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 mail applications, comprising:
Information process unit, for information input and/or the editor of receiving terminal user; Described information comprises opposite end information and message content;
Send selected cell, for forming opposite end information table to what select in client information and address list to client information according to what input temporarily; Described opposite end information table comprises the message mode to client information and correspondence; Described opposite end information comprises software information, mobile communication number and E-mail address, and wherein, described software information is for judging whether there is fusion software client in opposite end; Also for the send mode according to opposite end Information Selection message content; Described send mode comprises traffic messages transmission, system message sends and E-mail sends; Described message content adds copy-to list or closely send staff list information in fusion process; Practicable self-destruction and recovery in described system message; Annex can be inserted and do not limit text number of words in described traffic messages.
Preferably, described transmission selected cell specifically comprises:
Code parsing module, for searching described opposite end information table, judges whether opposite end installs corresponding software;
Message transmission module, when there is software information, selects to send message content with traffic messages, system message and/or E-mail; When there is not software information, select to send message content with system message and/or E-mail.
Preferably, described code parsing module also for: judge whether opposite end exists E-mail address;
Described message transmission module also for: when it is present, 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, described code parsing module also for:
Judge whether opposite end installs corresponding software according to the opposite end log-on message of server push, and judged result is saved in the information table of opposite end; Described log-on message comprises the unregistered message of the registered message in opposite end or opposite end.
The present invention can be merged multiple communication modes, facilitates terminal use to carry out unified management to the message transmitted by different modes, follow-uply to check message, to edit and the bookkeeping such as deletion brings great convenience to terminal use; Simultaneously, can when terminal use needs to send message, according to providing client information corresponding send mode to select for terminal use, making terminal use that one or more modes wherein can be selected to send message, the flexibility that message sends and the efficiency promoting message transmission can be increased.Separately, can be also realize additional message to strengthen function at message communication, such as can realize the function such as self-destruction, recovery in system message, then can realize inserting arbitrarily annex and not limiting the functions such as text number of words in traffic messages.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
With reference to Fig. 1, an embodiment of the method for a kind of converged message of the present invention and mail applications is proposed.The method of this converged message and mail applications can comprise:
The information input of step S10, receiving terminal user and/or editor; Described information comprises opposite end information and message content;
Step S11, send mode according to opposite end Information Selection message content.
Consider the terminal use that needs to transmit message may most convenient uses under different scene terminal type different, such as under mobile status, mobile terminal is best receiving terminal, office or at home PC be then best receiving terminal; Simultaneously in various terminal due to the difference of message mode, make to be difficult to unified management to the transmission of message and reception; Therefore, it may be necessary fusion software and multiple message communication mode is merged, to realize the unified management to message, for terminal use offers convenience, but also the efficiency of message communication can be promoted.This terminal can comprise mobile terminal (such as mobile phone), PC and panel computer etc.The client of this fusion software can be arranged in each terminal, realizes the effective integration of message communication.
As described in above-mentioned steps S10, terminal use when needs transmission information, can carry out the operation such as input and editor of the information content; And the operation such as input and editor carried out client information.To the input of client information can be beyond interim input i.e. address list to client information input, also can be that the selection of user within the scope of address list comprises selection telephone number and/or E-mail address etc., formation opposite end information table.
As described in above-mentioned steps S11, above-mentionedly can to comprise client information: software information, mobile communication number (such as phone number) and E-mail address etc.; Above-mentioned send mode can comprise: traffic messages sends, system message sends (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 of the fusion software client being arranged at each terminal.This software information can with phone number and E-mail address maps.Described software information can reflect whether opposite end uses fusion software.
After according to the good send mode of opposite end Information Selection, the realization of corresponding Communications service interface (API) can be called and send.The corresponding communication modes of this Communications service interface can comprise traffic messages communication interface, System Short Message communication interface and E-mail communication interface etc.
With reference to Fig. 2, in an alternative embodiment of the invention, also can comprise after above-mentioned steps S10:
What step S100, basis inputted temporarily forms opposite end information table to what select in client information and address list to client information.
The message mode etc. to client information and correspondence can be comprised in above-mentioned coded message table; When also can comprise as used this kind of message mode, need the corresponding function module of the above-mentioned fusion software used simultaneously.What this opposite end information table can input according to terminal temporarily is formed the opposite end information integration selected in client information and address list.This opposite end information table can be the associated person information table etc. of fusion software.
Above-mentioned opposite end information table can refer to described in following table 1:
Table 1
With reference to Fig. 3, above-mentioned steps S11 can specifically comprise in another embodiment of the invention:
Step S110, search described opposite end information table, judge whether opposite end installs corresponding software; When it is present, step S111 is carried out; When not existing, carry out step S112;
Step S111, select with traffic messages, system message and/or E-mail send message content;
Step S112, select to send message content with system message and/or E-mail.
Can specifically comprise with reference to Fig. 4, above-mentioned steps S112:
Step S1120, judge whether opposite end exists E-mail address; When it is present, step S1121 is carried out; When not existing, carry out step S1122;
Step S1121, select to send message content with system message and/or E-mail;
Step S1122, only selection send message content with system message.
Consider in the information table of above-mentioned opposite end one or more that may store opposite end communication modes, therefore can, according to judging client information of storing in this opposite end information table, select the communication modes be applicable to send message content.
Top-priority in above-mentioned communication modes is traffic messages mode that is instant, low cost, by judging the software information that whether there is fusion software client in opposite end during selection.Then illustrate that opposite end is provided with fusion software client and can carries out traffic messages communication as there is software information, terminal use can select traffic messages mode to be sent by message content; If also store phone number and/or E-mail address in this opposite end information table, then one wherein also can be selected to send, or the while of selecting multiple.If there is not software information, then need to select the mode except traffic messages mode to carry out communication, such as can continue to judge whether to there is E-mail address, if there is E-mail address, carrying out communication by E-mail mode and/or system message mode, then using when not existing system message mode to carry out communication.Because terminal in the present embodiment is for mobile phone, then system message mode is the most basic communication modes.
The three kinds of communication modes merged in the present embodiment, have more common ground, as having information addressee, Message-text and annex etc., for fusion application provides possibility; Certainly also difference is had, have in such as mail information make a copy for people, information is close makes a gift to someone, legacy system message does not process above-mentioned information, therefore finally realizing presenting of mail style in messages application by inserting the information such as make a copy for people and Mi make a gift to someone in message body in fusion process, solving the problems such as the information format of mail and message is compatible.
After message content sends in above-mentioned three kinds of modes, opposite end can receive the message content sent by this three kinds of modes.
Can Three models be supported to collecting of mail in the present embodiment:
1, timing connects mail server, and the time interval of connection can be arranged by terminal use;
2, special short message (comprising e-mail server address in content) is received, within the regular hour, connect mail server (time interval and frequency can be arranged) with specific frequency, this special short message was sent or be equipped with fusion software mobile phone by mail server directly sends;
3, IMAPIDLE (InternetMailAccessProtocol is supported, mail obtains agreement) pattern, namely the fusion software being arranged at terminal connects mail server all the time, but rest on idle condition, after mail server receives new mail, fusion software can receive sending out notice, initiates to mail.
In the present embodiment, two kinds of patterns are supported for the display of mails/message:
1, traditional outbox, inbox are set for mail, send mail, delete the form such as mail and draft;
2, for the conversation modes of message based on transmit leg or recipient.
The communication of above-mentioned mail also ensures the fail safe of Message Transmission by system short message sending dynamic password.Such as, use dynamic password encryption when mail sending, by system short message sending to opposite end, make opposite end can use this dynamic password reading mail content.
The method of above-mentioned converged message and mail applications can merge multiple communication modes, facilitate terminal use to carry out unified management to the message transmitted by different modes, follow-up message to be checked to terminal use, edit and the bookkeeping such as deletion brings great convenience; Simultaneously, can when terminal use needs to send message, according to providing client information corresponding send mode to select for terminal use, making terminal use that one or more modes wherein can be selected to send message, the flexibility that message sends and the efficiency promoting message transmission can be increased.Separately, can be also realize additional message to strengthen function at message communication, such as can realize the function such as self-destruction, recovery in system message, then can realize inserting arbitrarily annex and not limiting the functions such as text number of words in traffic messages.
With reference to Fig. 5, an embodiment of the device of a kind of converged message of the present invention and mail applications is proposed.The device of this converged message and mail applications can comprise: information process unit 21 and transmission selected cell 22; This information process unit 21, for information input and/or the editor of receiving terminal user; Described information comprises opposite end information and message content; This transmission selected cell 22, for the send mode according to opposite end Information Selection message content.
Consider the terminal use that needs to transmit message may most convenient uses under different scene terminal type different, such as under mobile status, mobile terminal is best receiving terminal, office or at home PC be then best receiving terminal; Simultaneously in various terminal due to the difference of message mode, make to be difficult to unified management to the transmission of message and reception; Therefore, the device that it may be necessary converged message and mail applications merges multiple message communication mode, to realize the unified management to message, for terminal use offers convenience, but also can promote the efficiency of message communication.This terminal can comprise mobile terminal (such as mobile phone), PC and panel computer etc.The client of the device of this converged message and mail applications can be arranged in each terminal, realizes the effective integration of message communication.
Above-mentioned information process unit 21 can receiving terminal user when needs transmission information, carry out the operation such as input and editor of the information content; And, carry out the operation such as input and editor to client information.To the input of client information can be beyond interim input i.e. address list to client information input, also can be that the selection of user within the scope of address list comprises selection telephone number and/or E-mail address etc., formation opposite end information table.
Above-mentionedly can to comprise client information: software information, mobile communication number (such as phone number) and E-mail address etc.; Above-mentioned send mode can comprise: traffic messages sends, system message sends (such as SMS) and E-mail sends.This software information can be the ID of the device client of converged message and mail applications in the present embodiment, and this software information is the unique identification being arranged at the converged message of each terminal and the device client of mail applications.This software information can with phone number and E-mail address maps.Described software information can reflect whether opposite end uses fusion software.
Above-mentioned transmission selected cell 22 according to the good send mode of opposite end Information Selection, can call the realization of corresponding Communications service interface (API) and sends.The corresponding communication modes of this Communications service interface can comprise traffic messages communication interface, System Short Message 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 invention: code parsing module 221 and message transmission module 222; This code parsing module 221, for searching described opposite end information table, judges whether opposite end installs corresponding software; This message transmission module 222, when it is present, selects 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 for: judge whether opposite end exists E-mail address; Above-mentioned message transmission module 222 also for: when it is present, 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 in the information table of above-mentioned opposite end one or more that may store opposite end communication modes, therefore above-mentioned code parsing module 221 can, according to judging client information of storing in this opposite end information table, select the communication modes be applicable to send message content by message transmission module 222.
Above-mentioned code parsing module also for: judge whether opposite end installs corresponding software according to the opposite end log-on message of server push, and judged result be saved in the information table of opposite end; Described log-on message comprises the unregistered message of the registered message in opposite end or opposite end.
Above-mentioned code parsing module can judge whether opposite end installs this software; Judge whether opposite end installs the method for this software: because the terminal being provided with above-mentioned fusion software all needs to specific server registration, during registration, terminal use's number (such as phone number etc.) can upload onto the server by fusion software; Time also unregistered in opposite end, server will push the unregistered message in opposite end to this terminal; As opposite end is registered, server then pushes the registered message in opposite end to this terminal; During as carried out state replacing in opposite end, when such as opposite end becomes login state from unregistered state, the registered message of server push user is to this terminal.Whether above-mentioned code parsing module can be registered according to opposite end judges whether opposite end is provided with above-mentioned fusion software, and judged result is saved in the information table of opposite end.
Top-priority in above-mentioned communication modes is traffic messages mode that is instant, low cost, first judges the software information of the device client that whether there is converged message and mail applications in opposite end during selection by code parsing module 221.Then illustrate that opposite end is provided with client and can carries out traffic messages communication as there is software information, terminal use selects traffic messages mode to be sent by message content by message transmission module 222; If also store phone number and/or E-mail address in this opposite end information table, then one wherein also can be selected to send, or the while of selecting multiple.If there is not software information, then need to select the mode except traffic messages mode to carry out communication, such as can continue to utilize code parsing module 221 to judge whether to there is E-mail address, if there is E-mail address, selecting E-mail mode and/or system message mode to carry out communication by message transmission module 222, then using when not existing system message mode to carry out communication.Because terminal in the present embodiment is for mobile phone, then system message mode is the most basic communication modes.
The three kinds of communication modes merged in the present embodiment, have more common ground, as having information addressee, Message-text and annex etc., for fusion application provides possibility; Certainly also difference is had, have in such as mail information make a copy for people, information is close makes a gift to someone, legacy system message does not process above-mentioned information, therefore in message body, insert the information such as make a copy for people and Mi make a gift to someone by message transmission module 222 in fusion process and finally realize presenting of mail style in messages application, solve the problems such as the information format of mail and message is compatible.
After message content sends in above-mentioned three kinds of modes, opposite end can receive the message content sent by this three kinds of modes.
Can Three models be supported to collecting of mail in the present embodiment:
1, timing connects mail server, and the time interval of connection can be arranged by terminal use;
2, special short message (comprising e-mail server address in content) is received, within the regular hour, connect mail server (time interval and frequency can be arranged) with specific frequency, the mobile phone that this special short message was sent by mail server or be equipped with the device of converged message and mail applications directly sends;
3, IMAPIDLE (InternetMailAccessProtocol is supported, mail obtains agreement) pattern, namely the device being arranged at the fusion Tongxu of terminal connects mail server all the time, but rest on idle condition, after mail server receives new mail, the device of converged message and mail applications can receive sending out notice, initiates to mail.
In the present embodiment, two kinds of patterns are supported for the display of mails/message:
1, traditional outbox, inbox are set for mail, send mail, delete the form such as mail and draft;
2, for the conversation modes of message based on transmit leg or recipient.
The communication of above-mentioned mail also ensures the fail safe of Message Transmission by system short message sending dynamic password.Such as, use dynamic password encryption when mail sending, by system short message sending to opposite end, make opposite end can use this dynamic password reading mail content.
The device of above-mentioned converged message and mail applications can merge multiple communication modes, facilitate terminal use to carry out unified management to the message transmitted by different modes, follow-up message to be checked to terminal use, edit and the bookkeeping such as deletion brings great convenience; Simultaneously, can when terminal use needs to send message, according to providing client information corresponding send mode to select for terminal use, making terminal use that one or more modes wherein can be selected to send message, the flexibility that message sends and the efficiency promoting message transmission can be increased.Separately, can be also realize additional message to strengthen function at message communication, such as can realize the function such as self-destruction, recovery in system message, then can realize inserting arbitrarily annex and not limiting the functions such as text number of words in traffic messages.
The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.