Abstract:
The present invention discloses a method and system for mobile email adaptation, which sets an adaptation server separated from the mail proxy server, while a mobile email server can ask the adaptation server to fulfill the adaptation function for the content of the mail. Therefore, the adaptation function is stripped from the mail proxy server, the burden on the proxy server is decreased, and the possible bottleneck of the system is avoided. And the adaptation is concentrated in the adaptation server of the mobile email server end, instead of being distributed into each proxy server. So it is more convenient for concentrative manage and function upgrade. As a plurality of mobile email servers could access the same adaptation server, the network organization is more convenient and flexible.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
       [0001]    This application is a continuation of International Patent Application No. PCT/CN2006/002837, filed Oct. 24, 2006, which claims priority to Chinese Patent Application No. 200510101683.0, filed Nov. 19, 2005, entitled “ADAPTING METHOD AND SYSTEM FOR MOBILE MAIL TERMINAL,” both of which are hereby incorporated by reference in their entirety. 
     
    
     FIELD OF THE INVENTION 
       [0002]    The present invention relates to communication technology and more particularly to a method and system for mobile email adaptation. 
       BACKGROUND OF THE INVENTION 
       [0003]    With the development of mobile communication technology, application of the Internet has been widely extended to mobile communication field. The third generation mobile communication technology accelerated the convergence of the telecom network and the Internet. The extension of the Internet application to the mobile network expands the service capability of mobile network, but the inherent characteristics of the mobile network raises new requirement for these applications. Email is playing an important role in the application of the Internet. The mobile email service is the extension of conventional Internet email, which supports editing, receiving and sending email through a mobile terminal, and may perform seamless convergence with email service of the Internet. 
         [0004]    The mobile email service mentioned above is an application for safely accessing email server through wireless access manner and performing corresponding processing for the information. With the development of mobile data service, terminals adapted for various services are characterized by diversity. Network equipment has to inevitably confront diverse terminals. In the meantime, in order to improve user loyalty and user experience, it will become a certain trend of service operation to provide individualized service for users. The diversity of mobile terminals and the differentiation of the software and hardware platform of mobile terminals need the service provider to adapt the content to achieve a maximal matching for the terminals when the service provider provides service. In addition, individualization demand becomes more and more intense when a mobile user subscribes to the service. This requests the operator and the service provider to provide individualized service for users. The individualized customization demand for the content pages of service is usually included. 
         [0005]    In a word, in order to support the mobile terminal to send or receive email and seamlessly converge with the email service of the Internet, the following problems should be solved firstly: the display of email pictures (format, size, color bit), the display of mail text attachments (formats of files with diverse category, big mail), and the individualized display based on a user terminal. All of these should be adapted according to the capability of the mobile terminal so as to be smoothly displayed in the mobile terminal. 
         [0006]    A method for realizing email adaptation function discussed in “Explore of Service Model Based on Storage and Forward” (Lin Wenhong, ASPire Digital Technologies (Shenzhen) Co., Ltd., CHINA DATA COMMUNICATIONS, APR. 2005, No. 4) includes: introducing a mail proxy server serving as a front-end equipment of each mail server and realizing the adaptation in the proxy server. As shown in  FIG. 1 , the flow of the traffic mode is as follows. 
         [0007]    Step a) A user A, via a terminal like a mobile phone, or a computer, sends a mail to a mail server, where the mail is to be sent to a user B. 
         [0008]    Step b) The mail server sends an arrival notification of new mail to the user B; 
         [0009]    Step c) The user B sends a mail request to a mail proxy server via the current terminal. 
         [0010]    Step d) The mail proxy server transfers the mail request to the mail server via the protocol of Post Office Protocol 3 (POP3) or the Simple Mail Transfer Protocol (SMTP). 
         [0011]    Step e) The mail server sends the requested mail to the mail proxy server; 
         [0012]    Step f) The mail proxy server adapts the mail according to the capability set information in the mail request of the user B. 
         [0013]    Step g) The mail proxy server sends the adapted mail to the user B. 
         [0014]    This provides a method for realizing an email adaptation function has the following disadvantages. The regular mail proxy function and the adaptation function are both achieved in the mail proxy server because the mail proxy server is located between the mail server and a client. This may become the system bottleneck in some cases. Besides, it is not convenient for centralized management and upgrading because the adaptation is achieved in every mail proxy server. 
       SUMMARY OF THE INVENTION 
       [0015]    The object of the present invention is to provide a method and system for mobile email adaptation to solve the problem of system bottleneck easily happening in the prior art and the inconvenience for centralized management and upgrading. 
         [0016]    In order to accomplish the above object, the present invention provides a method for mobile email adaptation, including following steps. 
         [0017]    A mobile email server receives a mail request from a terminal; 
         [0018]    The mobile email server acquires capability set information of the terminal according to the mail request; 
         [0019]    The mobile email server sends the capability set information and the requested mail to an adaptation server; 
         [0020]    The mobile email server receives an adapted mail, wherein the adapted mail is adapted according to the capability set information and returned by the adaptation server which performs adaptation for the mail; and 
         [0021]    The mobile email server sends the adapted mail to the terminal. 
         [0022]    In the method mentioned above, the mobile email server preliminarily judges whether the mail needs to be adapted according to the capability set information; and directly sends the requested mail to the terminal if the mail does not need to be adapted. 
         [0023]    In the method mentioned above, the preliminary judgment is about whether the sending terminal of the mail and the terminal are the same type of terminal; and the adaptation is not needed if the sending terminal of the mail and the terminal are the same type of terminal. 
         [0024]    In the method mentioned above, the mobile email server judges whether the requested mail has portions needing to be adapted according to the capability set information; the mobile email server directly sends the mail to the terminal if there is not portion needing to be adapted; and the mobile email sever sends the portion needing to be adapted and the capability set information to the adaptation server if there are portions needing to be adapted. The adaptation server performs adaptation for the portions needing to be adapted according to the capability set information and returns the adapted portion back. 
         [0025]    In the method mentioned above, the mobile email server acquires the capability set information of the terminal according to the uniform resource identifier in the mail request. 
         [0026]    In the method mentioned above, the adaptation server judges whether the content of the mail needs to be adapted before performing the adaptation for the mail according to the capability set information. 
         [0027]    In the method mentioned above, the step of judging whether the content of the mail needs to be adapted by the adaptation server includes any one or more of the following: judging whether the terminal is compatible with the attachment format of the mail, judging whether the terminal is compatible with the size of the mail, judging whether the terminal is compatible with the multimedia information contained in the mail. 
         [0028]    In order to accomplish above object, the present invention further provides a system for mobile email adaptation, including: a mobile email server configured to be capable of communicating with an adaptation server and receive a mail request sent by a terminal, acquire capability set information of the terminal according to the mail request, send the capability set information and requested mail to an adaptation server, receive an adapted mail, wherein the adapted mail is adapted according to the capability set information and returned by the adaptation server which performs adaptation for the mail, and send the adapted mail to the terminal; 
         [0029]    The adaptation server is configured to receive the capability set information and the requested mail sent by the mobile email server, perform adaptation for the mail according to the capability set information, and return the adapted mail back to the mobile email server. 
         [0030]    In the system mentioned above, the adaptation server is connected with a plurality of mobile email servers. 
         [0031]    In order to accomplish above objects, the present invention further provides a mobile email server, including: 
         [0032]    a module configured to receive a mail request sent by a terminal; 
         [0033]    a module configured to acquire capability set information of the terminal according to the mail request; 
         [0034]    a module configured to send the capability set information and requested mail to an adaptation server; 
         [0035]    a module configured to receive the adapted mail, wherein the adapted mail is adapted according to the capability set information and returned by the adaptation server which performs adaptation for the mail; and 
         [0036]    a module, configured to send the adapted mail to the terminal. 
         [0037]    By adopting above-mentioned technical solution, the present invention may achieve following advantages: 
         [0038]    1) In the present invention, the adaptation function is realized by being concentrated in the adaptation server which is separated from the mail proxy server, while the mobile email server can ask the adaptation server to fulfill the adaptation function for the content of the mail. It is convenient for the centralized management. The adaptation upgrading for the whole system can be simply completed in AS. This is equivalent to provide a uniform mail adaptation service entity and interface for terminals and other servers, e.g. mail proxy servers located at every enterprise, provide a much more effective approach for the interaction and share, and meet the need of fast increase of network mail information. Furthermore, in practical application, a plurality of mobile email servers may access the same adaptation server. The network organization becomes more flexible and convenient. The corresponding configuration and optimization may be performed according to the specific demand of mail information and the network information flow to further improve the operation efficiency of the system. 
         [0039]    2) In the present invention, the adaptation function is stripped from the mail proxy server of the prior art to make the mail proxy server only perform the conventional mail proxy function from the mobile email server to the terminal so as to effectively reduce the burden of the mail proxy server and avoid the system bottleneck in the prior art. Furthermore, repeated configuration for the same adaptation function resource is avoided by stripping the function from numerous mail proxy servers in the prior art. To a large extent, the present invention optimizes the whole resource configuration of the society and has good economy and society benefit. 
         [0040]    The present invention will be described in more detail with reference to the drawings and embodiments. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0041]      FIG. 1  is a schematic diagram illustrating a traffic model of a method for mobile email adaptation; 
           [0042]      FIG. 2  is a schematic diagram illustrating a system for realizing the adaptation of the mobile email in accordance with the present invention; 
           [0043]      FIG. 3  is a schematic diagram illustrating a traffic flow of a mobile email in accordance with the present invention; 
           [0044]      FIG. 4  is a schematic diagram illustrating a signaling flow of a mobile email in accordance with the present invention. 
       
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
       [0045]    As shown in  FIG. 2 , the present invention includes a mobile email server (MEM Server) and an adaptation server (AS). The adaptation server performs information interaction with the mobile email server, judges the adaptation capability of a mail according to the capability set information, fulfills the corresponding adaptation and returns the adapted mail to the mobile email server. The mobile email server receives a mail request from a receiving terminal, acquires an user agent profile (UAprofile) (in this invention, UAprofile is specifically taken as an example of capability set information) of the receiving terminal, sends the UAprofile and the related mail to the adaptation server, and sends the adapted mail to the receiving terminal. Furthermore, the mobile email server can fulfill a preliminary judgment for the mail adaptation according to the UAprofile. For the sake of clear illustration, the mail proxy server between the mobile email server and the user B, simply adapted to complete the conventional mail proxy function, is omitted in the drawings and following descriptions. 
         [0046]    The mobile email server, serving as the core equipment for receiving and sending mails, needs to complete the functions of a conventional mail server as follows: receiving the mail sent by the mail sender, i.e. the user A and sending an arrival notification of new mail to the mail receiver, i.e. the user B. The mobile email server also needs to complete the following: receiving the mail request including a uniform resource identifier (URI) in the request information thereof sent by the user B; acquiring the UAprofile according to the URI of the receiving terminal; sending the requested mail and the UAprofile to the adaptation server; receiving and sending the adapted mail. The mobile email server may also have the ability to judge whether the requested mail needs to be adapted, and if it&#39;s judged that portion of the requested mail needs to be adapted, the portion, needing to be adapted, of the requested mail and the UAprofile may be sent to the adaptation server 
         [0047]    The adaptation server may be configured to complete the adaptation function of a mail, perform the adaptation for the mail or portion of the mail (if what the mobile email server sends is portion of the email) according to the UAprofile transferred by the mobile email server, and return the adapted mail or portion of the mail to the mobile email server. The adaptation sever may also have the ability to judge whether the requested mail needs to be adapted and adapt the mail only after judging that the requested mail needs to be adapted. The content of the mail adaptation completed by the adaptation server may be text adaptation, and/or picture adaptation and/or attachment adaptation according to practical demand. 
         [0048]    Accompanying  FIG. 2  and  FIG. 3 , the realization process of a method for mobile email adaptation in accordance with the present invention is described in detail by describing the flow of mobile email traffic. 
         [0049]    I. one mail from the user A to the user B arrives at the mobile email server. The communication may adopt the protocol of SMTP; 
         [0050]    II. the mobile email server sends a notification to the user B to inform the user B that a new mail has arrived. The notification may adopts the notice manner of an inband notification (mobile e-mail protocol), an outband notification (SMS or WAP or SIP Push); 
         [0051]    III. the user B initiates a mail request to the mobile email server to request to download the entire or portion of the content of the mail. The request information includes the URI of the receiving terminal. The request may be based on the mail protocol of POP3/IMAP4; 
         [0052]    IV. the mobile email server acquires the UAprofile information of the receiving terminal according to the URI of the receiving terminal, preliminarily judges whether the mail to be downloaded needs to be adapted. The preliminary judgment may include judging the content that whether the sending terminal and the receiving terminal are the same type of mobile terminal. The specific content of judgment may be adjusted and modified according to practical need. 
         [0053]    If the preliminary judgment shows that the content of the mail does not need to be adapted, for example, the type of the sending terminal is the same as the type of the receiving terminal, the mobile email server directly sends the mail to the user B. If the judgment shows that the content of the mail needs to be adapted, the mail requested to be downloaded and the UAprofile are sent to the adaptation server together to perform adaptation. The adaptation request may be based on the protocol of HTTP; 
         [0054]    V. the adaptation server further judges whether the content of the mail needs to be adapted according to the UAprofile. The further judgment is about whether the receiving terminal is compatible with the content of the mail attachment format, and/or the mail size, and/or the multimedia information contained in the mail text according to the content of the UAprofile including screen size, browser edition. If the receiving terminal is compatible with the content, it&#39;s judged that the adaptation is not needed, the adaptation server returns the mail to the mobile email server directly; 
         [0055]    If the receiving terminal is not compatible with the content, it&#39;s judged that the adaptation is needed. The adaptation server performs corresponding content adaptation for the mail according to the UAprofile, including picture adaptation, text adaptation, and/or attachment adaptation according to practical demand. 
         [0056]    VI. the adaptation server returns the adapted mail to the mobile email server. The transmission may be based on the protocol of HTTP; 
         [0057]    VII. the mobile email server sends the adapted mail to the user B and stores the original mail in mailbox. Usually, the transmission is based on the mail protocol of POP3/IMAP4, etc. 
         [0058]    As a substitute for the method mentioned above, the preliminary judgment process in step IV, performed by the mobile email server for judging whether the mail needs to be adapted, may be omitted. The mail and the UAprofile are directly sent to the adaptation server. The adaptation server directly performs the adaptation, or judges whether the adaptation is needed and performs the adaptation when it&#39;s needed. The method decreases the burden of the mobile email server, but may increase the network flow to some extent between the mobile email server and the adaptation server. 
         [0059]    As another substitute for the method mentioned above, the further judgment process in step V, performed by the adaptation server for judging whether the mail needs to be adapted, may be moved to step IV and be completed together by the mobile email server, after the mobile email server performs the preliminary judgment. Therefore, the mobile email server may only send the portions needing to be adapted to the adaptation server for adaptation after the further judgment is made so as to decrease the network flow between the mobile email server and the adaptation server. However, this method may cause burden for the mobile email server. 
         [0060]    Each method mentioned above has its own advantage. In practical application, the method may be measured and chosen according to the characteristics of practical traffic. It should be noted that the “adaptation server” represents an entity providing the adaptation function in the present invention. The name itself of the entity should not limit the present invention. 
         [0061]    In practical operation, the process of information transmission and communication in each step of the present invention may be performed by choosing suitable protocols. The signaling flowchart of the first method mentioned above is described by choosing specific protocols as follows. Other signaling flow for substitution can be inferred similarly. In the mobile email traffic, a mobile email server may send a push notification to a client by many methods (SMS or WAP Push or SIP Push, etc.). The following signaling flows take SIP push as an example. Other methods of push notification may be inferred similarly. Mail receiving protocols have POP, and IMAP, etc. The following signaling flow takes IMAP4 as an example. The signaling flows of other mail receiving protocols may be inferred similarly. 
         [0062]    The signaling flowchart in accordance with the present embodiment is shown in  FIG. 4 . 
         [0063]    1. A new mail sent by the user A aiming at the user B arrives at the mobile email server. The mobile email server sends a notification to an SIP/IP Core. The SIP/IP Core is a uniform transmission service network for providing the traffic of routing, authentication, compression, etc. The push notification mentioned here provides function of routing and addressing. SIP/IP signaling is routed between a client and a server. 
         [0064]    2. The SIP/IP Core transfers the notification to the user B to notify the user B that a new mail has arrived. 
         [0065]    3. The user B sends 200 OK to the SIP/IP Core demonstrating that the above-mentioned push notification has been received. 
         [0066]    4. The SIP/IP Core sends 200 OK to the mobile email server. 
         [0067]    5. The user B sends a login order to the mobile email server to request login. 
         [0068]    6. The mobile email server returns OK LOGIN completed to the user B demonstrating that the login is successful. 
         [0069]    7. The user B sends SELECT inbox to the mobile email server to request to choose an inbox for downloading the mail. 
         [0070]    8. The mobile email server returns OK SELECT completed to the user B demonstrating that the choosing is completed and it is allowed to download the mail. 
         [0071]    9. The user B sends fetch num portion to the mobile email server to request to download the entire or portion of the numth mail. The portion may be full, body [header], and body [text], etc. The URI of the receiving terminal is contained in the request information. 
         [0072]    10. The mobile email server acquires the UAprofile of the receiving terminal according to the URI of the receiving terminal and preliminarily judges that the content of the mail to be downloaded needs to be adapted (e.g. the sending terminal and the receiving terminal are not the same type of mobile terminal). 
         [0073]    11. The mobile email server applies for a socket to establish the connection between the adaptation server and the mobile email server. 
         [0074]    12. The mobile email server sends an adaptation request to the adaptation server. The method in the request line is post. 
         [0075]    13. The adaptation server further judges that the adaptation is needed according to the UAprofile and the mail information of the receiving terminal (e.g. the receiving part mobile terminal can not be completely compatible with the attachment format/mail size sent by the sending part) and adapts the content of the mail. 
         [0076]    14. The adaptation server returns 200 OK to the mobile email server demonstrating a confirmation and returns HTTP response (with adapted email data). Finally the mobile email server or the adaptation server closes the socket. The TCP/IP session ends. 
         [0077]    15. The mobile email server sends Ok FETCH completed demonstrating that the mail has been successfully sent after sending the adapted numth mail to the user B. 
         [0078]    16. The user B sends LOGOUT to the mobile email server requesting to end the IMAP conversation. 
         [0079]    17. The mobile email server email server sends OK LOGOUT completed to the user B demonstrating the end of the IMAP session of this time. 
         [0080]    Though illustration and description of the present disclosure have been given in conjunction with the exemplary embodiments thereof, it should be appreciated by persons of ordinary skill in the art that various changes in forms and details can be made without deviation from the spirit and scope of this disclosure, which are defined by the appended claims.