WO2010063218A1 - Mobile email service processing method and device - Google Patents

Mobile email service processing method and device Download PDF

Info

Publication number
WO2010063218A1
WO2010063218A1 PCT/CN2009/075090 CN2009075090W WO2010063218A1 WO 2010063218 A1 WO2010063218 A1 WO 2010063218A1 CN 2009075090 W CN2009075090 W CN 2009075090W WO 2010063218 A1 WO2010063218 A1 WO 2010063218A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile email
link
mem
client
server
Prior art date
Application number
PCT/CN2009/075090
Other languages
French (fr)
Chinese (zh)
Inventor
卢艳
姚立哲
邵伟
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2010063218A1 publication Critical patent/WO2010063218A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/142Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Definitions

  • the present invention relates to the field of communications, and in particular to a mobile email (MEM, Mobile Email) service processing method and apparatus.
  • MEM Mobile Email
  • the e-mail service has become a common way of business electronic communication, and MEM is more and more widely used by people. It has the advantages of convenience and speed. Obviously, its superiority is such as SMS and MMS business. The news business is unmatched.
  • a mobile network or wireless fidelity (WiFi, Wireless Fidelity) environment there are the following problems in using the E-mail service through the mobile terminal: Frequently, WiFi and mobile network signals are temporarily interrupted and then restored, which causes the upper MEM service. Temporary interruption.
  • MEM client is a MEM running on a mobile terminal.
  • Client Agent is a MEM running on a mobile terminal.
  • MEM Server A gateway device between the MEM Client and the Email Server. It is used to implement session management, email data management, media format conversion, and filtering rules between MEM clients.
  • Email Server refers to the usual World Wide Web (WEB) mailbox, Post Office Protocol 3 (POP3, Post Office Protocol) mailbox, Domino mailbox (IBM's mail system), Network to Message Access Protocol (IMAP, Internet Message Access) Protocol) E-mail; Outband Notification Function (ONF, Outband Notification Function).
  • WEB World Wide Web
  • POP3, Post Office Protocol Post Office Protocol 3
  • Domino mailbox IBM's mail system
  • IMAP Internet Message Access Protocol
  • OMF Outband Notification Function
  • ⁇ -1 and ⁇ -2 are the interfaces between MEM Client and MEM Server, which represent the two data flows when communicating between MEM Client and MEM Server
  • 12 is The interface between MEM Server and Email Server
  • MEM-3 is the interface between MEM Server and ONF
  • ⁇ -4 is the interface between MEM Client and ONF.
  • MEM-1 and MEM-2 are link-oriented, stateful protocols, such as the IMAP protocol.
  • Figure 1 depicts several of the most important MEM business entities.
  • other related communication entities are often included, for example, a user agent bucket table (UA Profile, User-Agent) connected to the MEM Server through an interface. Profile) server.
  • U Profile User Agent
  • Profile User-Agent
  • the email service may be discontinuous.
  • the MEM client often needs to log in to the MEM server again. That is, the login information such as account number and password needs to be re-entered, and the current operation interface is often cancelled, resulting in poor user experience.
  • the present invention has been made in view of the problem that the MEM Client user experience is poor after the temporary interruption of the bearer network is restored. Therefore, the present invention aims to provide a mobile email service processing method and apparatus to solve the above problem.
  • a mobile email service processing method comprises: after the mobile email server determines that the link between itself and the mobile email client is abnormally interrupted, retains temporary information of the mobile email client, wherein the temporary information is used in the chain After the road is restored, the mobile email client communicates with the mobile email server.
  • the above method further comprises: setting a first timer in the mobile email server, wherein the duration of the temporary information retained by the mobile email server is controlled by setting a first timer.
  • the temporary information comprises: protocol status information of the mobile email client.
  • the method further includes: after the link is abnormally interrupted, in the mobile email client, continuing to run the mobile email client program, retaining protocol status information and protocol events; moving the email client to the mobile email server Send a link rebuild request.
  • the method further includes: if establishing a link between the mobile email server and the mobile email client, the mobile email client The mobile email server sends a login request and carries the login information therein.
  • the mobile email client sends a link re-establishment request to the mobile e-mail server, including one of the following: sending a link re-establishment request when the preset second timer expires; after receiving the link recovery notification, the mobile e-mail client receives the link recovery notification Sending a link reestablishment request; transmitting a link reestablishment request when the mobile e-mail client detects that the network carrying the link is available.
  • the mobile email service processing method includes: after the link of the mobile email server and the mobile email client is abnormally interrupted, the mobile email client continues to run the mobile email client program, retaining protocol status information and protocol events. The mobile email client sends a link rebuild request to the mobile email server.
  • a mobile email server is provided.
  • the mobile email server includes: a link management module, configured to determine whether a link between the mobile email server and the mobile email client is abnormally interrupted; and a buffer management module, configured to determine at the link management module After the link is abnormally interrupted, the temporary information of the mobile email client is reserved, wherein the temporary information is used for the mobile email client to communicate with the mobile email server after the link is restored.
  • the mobile email server further includes: a timer management module, configured to start a first timer, and control a buffer management module to retain temporary information by starting a first timer The length of time.
  • a timer management module configured to start a first timer
  • control a buffer management module to retain temporary information by starting a first timer The length of time.
  • a mobile email client is also provided.
  • the mobile email client comprises: an interface logic control module, for continuing to run the mobile email client program and retaining protocol status information if the link of the mobile email server and the mobile email client is abnormally interrupted And a protocol event; the link management module is configured to send a link reestablishment request to the mobile email server if the link of the mobile email server and the mobile email client is abnormally interrupted.
  • FIG. 1 is a schematic diagram of a system networking of a MEM according to the related art
  • FIG. 2 is a flowchart of a method for processing a mobile email service according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an upper layer service interruption caused by an interruption of an access network signal of a mobile terminal according to an embodiment of the present invention
  • FIG. 6 is a structural block diagram of a mobile email client in accordance with an embodiment of the present invention.
  • the embodiment of the present invention provides a mobile email service processing solution.
  • the MEM Server In the case of a network interruption, the MEM Server is in a certain situation, in consideration of the problem that the MEM Client user experience is poor after the temporary interruption of the bearer network is resumed.
  • the temporary information of the interrupted user is reserved during the time, and the MEM Client keeps the user interface unchanged by running the MEM Client program to ensure the MEM Client.
  • the previous protocol status can be restored when logging in again, which can achieve the user experience of seamlessly switching the MEM Client.
  • a mobile email service processing method is provided. Run the MEM Client on the mobile terminal.
  • the MEM Client communicates with the MEM Server using a link-oriented stateful protocol.
  • the communication interfaces are MEM-1 and MEM-2.
  • the implementation process of the embodiment of the present invention mainly relates to the improvement of the functions of the MEM Client and the MEM Server software.
  • the following is an example of the implementation of the mobile mail service on the MEM Server side and the MEM Client side by using the IMAP or the IMAP protocol-based extension protocol as the MEM-1 and MEM-2 interfaces.
  • the IMAP protocol is exchanged between the MEM Client and the MEM Server.
  • the IMAP is established on the link of the Transmission Control Protocol (TCP), which is close to the air interface link on the mobile terminal side.
  • TCP Transmission Control Protocol
  • the IMAP underlying network is carried over the mobile network or WiFi.
  • the MEM Client acts as the IMAP client and the MEM Server acts as the IMAP server.
  • IMAP is a stateful connection-oriented protocol. After logging in, the user is in a specific protocol state, for example, Authenticated state. IMAP can send instructions to the server in this state, in the client and service. During the idle period of communication, IMAP needs to be sent: noop command keeps the link, noop is an instruction name of IMAP protocol, and the link is "keep alive".
  • the MEM Client software described in the embodiments of the present invention includes but is not limited to a user interface (UI) module, a mailbox management module, a multi-purpose Internet Mail Extensions (MIME) codec module, and an IMAP ten-party stack.
  • UI user interface
  • MIME multi-purpose Internet Mail Extensions
  • IMAP ten-party stack IMAP ten-party stack.
  • Push information processing module The UI module is used to provide user operation interfaces such as editing, displaying, and mailbox maintenance of the mail; the mailbox management module is used to complete mail management and access of the inbox, the outbox, etc.; the MIME codec module is used to complete the mail. Data encoding and decoding functions; IMAP protocol The module is used to complete the IMAP protocol client function; the Push information processing module is used to complete the email notification information from the ONF "push".
  • a mobile email service processing method includes: after the MEM Server determines that the link between the MEM client and the MEM Client is abnormally interrupted, the temporary information of the MEM Client is retained within a certain period of time, wherein the temporary information After the link is restored, the MEM Client communicates with the MEM Server.
  • the temporary information may include, but is not limited to, protocol status information of the MEM Client, for example, the current status of the IMAP protocol.
  • a first timer may be set, wherein the duration of the temporary information retained by the MEM server is controlled by setting the first timer.
  • the MEM Server can add a timer function.
  • the period of the timer is the length of the temporary information related to the MEM Client when a MEM Client is abnormally interrupted, and the temporary information such as the protocol status of the MEM Client is retained within the duration. Within this duration, if the MEM Client logs in again, subsequent communication is continued in accordance with temporary information such as the saved protocol status.
  • a processing method for the mobile email service when the link is abnormally interrupted by the MEM Server is provided, and the function of establishing the temporary record information with the client in the memory area is improved by the MEM Server, and the MEM is improved together with the improvement of the MEM Client.
  • the client maintains continuity requirements when the bearer network is temporarily interrupted.
  • FIG. 2 is a flowchart of a method for processing a mobile email service according to an embodiment of the present invention.
  • another method for processing a mobile email service according to an embodiment of the present invention includes the following steps S202 to S204:
  • Step S202 When the link between the MEM Server and the MEM Client is abnormally interrupted, for example, the underlying network is temporarily interrupted, to ensure the continuity of the user experience, the MEM Client may continue to run the MEM Client program, that is, does not exit; retain protocol status information and protocol events. , for example, the association The event may be receiving mail or sending mail, etc., so that when the link is restored, subsequent communication with the MEM Server may be performed according to the retained protocol state information and protocol events, and the current UI may be maintained.
  • Step S204 the MEM Client sends a link reestablishment request to the MEM Server. Thereafter, if a link between the mobile email server and the mobile email client is established, the MEM Client sends a login request to the MEM Server and carries the login information therein.
  • the MEM Client after the network is interrupted and restored within a certain period of time, the MEM Client automatically logs in. Specifically, after the MEM Client detects that the IMAP link is interrupted, the timer can be started to re-link, and when the access network signal is restored, the re-link is successful. The MEM Client can also re-link after receiving the notification of the underlying network recovery, after which the MEM Client automatically logs in without the user having to re-enter the password and other information.
  • step S204 the MEM Client sends a link reestablishment request to the MEM Server, including one of the following cases:
  • a link re-establishment request is sent when the preset second timer expires. That is, the MEM Client of the mobile terminal can start a periodic link retry after the temporary interruption of the underlying network.
  • the MEM Client After receiving the link recovery notification, the MEM Client sends a link reestablishment request. That is, after the temporary failure of the underlying network, the MEM Client of the mobile terminal can automatically re-establish the link with the MEM Server after receiving the notification of the underlying network recovery.
  • the MEM Client sends a link reestablishment request when it detects that the network carrying the link is available. It should be noted that, according to the agreement with the MEM Server in advance, the MEM Client may carry or not carry the login information of the MEM Client in the above link reestablishment request, including the account and password of the MEM Client, for example, if the interrupt duration does not reach the threshold, If you do not need login information, you can link. If the interruption time reaches the threshold, you need to carry the login information to link.
  • the MEM client is provided to the mobile email industry when the link is abnormally interrupted.
  • the processing method In order to ensure the seamless user experience of the MEM Client, the user interface can maintain the original user interface content without exiting the MEM Client during the network interruption time. For example, when the user browses the contents of the inbox, a temporary network interruption occurs. Then, the content of the interface remains unchanged.
  • the MEM Client performs a network exchange request with the MEM Server, for example, receiving an email
  • the interface is The information prompt of the network interruption is given, and the content of the interface after the prompt can be kept consistent with before the interruption.
  • the following is a method for maintaining the continuity of the MEM Server service described in the embodiment of the present invention in combination with the function improvement of the MEM Client and the MEM Server.
  • Step 1 The MEM Client of the mobile terminal logs in (login) to the MEM Server.
  • the MEM-1 and MEM-2 interfaces between the MEM Client and the MEM Server are IMAP protocols, and the air interface bearer network close to the mobile terminal side may be Global System for Mobile Communications (GSM), code division multiple access (CDMA (Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA), etc., or wireless local area such as WiFi, Worldwide Interoperability for Microwave Access, Metropolitan area network.
  • GSM Global System for Mobile Communications
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • WiFi Worldwide Interoperability for Microwave Access, Metropolitan area network.
  • Step 2 After the user logs in, some operations of the mailbox and the mail can be performed without loss of generality. It is assumed that the protocol state of the user on the IMAP server is Authenticated. Thereafter, the underlying bearer network is temporarily interrupted.
  • 3 is a schematic diagram of an upper layer service interruption caused by an interruption of an access network signal of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 3, an IMAP/TCP link of a communication network between the MEM Client and the MEM Server is interrupted, where The communication network can be one of the following: WiFi, GSM, CDMA, WCDMA.
  • Step 3 When a network interruption occurs, the MEM Client does not exit, retains the protocol status information and the protocol event, and can maintain the current UI unchanged.
  • the MEM Client starts the timer to perform the link operation between the reconstruction and the MEM Server, that is, the above steps.
  • Step 4 After detecting that the link with a certain client is abnormally interrupted, the server starts to control the temporary information of the client to a certain time interval.
  • Step 5 During a certain period of time, the mobile terminal recovers from the access network signal. At this time, the MEM Client link heavy chain is successful, the IMAP link is restored, and the MEM Client can automatically log in again. In this step, for the temporary interruption, the client can automatically log in by saving the login name and password in the buffer, that is, the above step S204.
  • Step 6 The MEM Server receives the login request of the user, retrieves the temporary interrupt MEM Client record in the memory, cancels the timer of the record after the search, and "connects" the temporary information saved in the record to the new link to continue. Communication.
  • Step 7 The MEM Client resumes the user operation and completes the MEM business continuity.
  • the present invention uses the IMAP protocol as an interface between MEM-1 and MEM-2, but the method for maintaining MEM Server service continuity described in the present invention is applicable to a client-server based on other protocols such as SMTP.
  • the model's mobile mail system for example, the MEM-1 interface is based on the Simple Mail Transfer Protocol (SMTP) and the MEM-2 based IMAP protocol.
  • SMTP Simple Mail Transfer Protocol
  • the foregoing embodiment is applicable to the problem of temporarily interrupting the upper MEM service caused by the temporary interruption of the access network, and is applicable to solving the MEM service interruption caused by the handover of the multimode mobile terminal between different access networks.
  • a MEM Server is provided.
  • 4 is a structural block diagram of a MEM Server according to an embodiment of the present invention. As shown in FIG. 4, the MEM Server includes: a link management module 42 and a buffer management module 44. The above structure will be described below.
  • the link management module 42 is configured to determine that the link of the MEM Client is abnormally interrupted.
  • the buffer management module 44 is connected to the link management module 42 for retaining the MEM Client after the link management module 42 determines that the link is abnormally interrupted.
  • Temporary information where temporary information is used for link recovery After that, the MEM Client communicates with the MEM Server.
  • FIG. 5 is a block diagram of a specific structure of a MEM server according to an embodiment of the present invention.
  • the apparatus further includes: a timer management module 52 connected to the buffer management module 44, configured to set and start the first timer. The duration of the temporary information retained by the buffer management module 44 is controlled by starting the first timer.
  • a MEM Server that can handle mobile email service when the link is abnormally interrupted is provided, and the MEM Server can cooperate with the MEM Client to implement the requirement that the MEM Client maintain continuity when the network is temporarily interrupted.
  • a MEM Client is provided.
  • 6 is a structural block diagram of a MEM Client according to an embodiment of the present invention. As shown in FIG. 6, the MEM Client includes: an interface logic control module 62 and a link management module 64. The above structure will be described below.
  • the interface logic control module 62 is configured to continue to run the MEM Client program if the link between the MEM Server and the MEM Client is abnormally interrupted, that is, the application is not exited, the protocol status information and the protocol event are retained, and the current user operation interface can be maintained. The same, that is, maintaining a continuous user experience of the operation interface by controlling the logical jump of the user interface; the link management module 64 is connected to the interface logic control module 62 for using the MEM after the link is interrupted. Server sends a link rebuild request.
  • a MEM Client that can handle mobile email service when the link is abnormally interrupted.
  • the MEM Client can cooperate with the MEM Server to implement the requirement that the MEM Client maintain continuity when the network is temporarily interrupted.
  • the MEM Server retains the method of interrupting the temporary information of the user, and solves the problem that the MEM Client user experience is poor after the recovery of the bearer network, thereby improving the user experience.

Abstract

A mobile email service processing method is disclosed. In case of network being disconnected, mobile email server (MEM server) maintains temporary information of disconnected user for a certain time. Mobile email client (MEM client) keeps user interface unchanged by executing MEM client application, so as to ensure the MEM client can recover the prior protocol state when re-logging on after the network is switched, and achieve the user experience effect of seamless switch for MEM client. A MEM server and MEM client are also disclosed. The invention solves the existing problem that the MEM client has bad user experience after the carrier network is recovered, thus improves the user experience.

Description

移动电子邮件业务处理方法和装置 技术领域  Mobile email service processing method and device
本发明涉及通信领域,具体而言,涉及一种移动电子邮件( MEM, Mobile Email ) 业务处理方法和装置。 背景技术  The present invention relates to the field of communications, and in particular to a mobile email (MEM, Mobile Email) service processing method and apparatus. Background technique
目前, 电子邮件(Email )业务已经成为一种常用的商务电子交流途径, 而 MEM也越来越受到人们的广泛应用, 其具有方便快捷等优点, 显然, 其 优越性是诸如短信和彩信业务等消息类业务所无法比拟的。 在移动网络或 者无线保真 (WiFi, Wireless Fidelity )环境下, 通过移动终端使用 Email 业务会存在如下问题: 经常会发生 WiFi、 移动网络信号临时中断然后又恢 复的现象, 这会造成上层 MEM业务的临时中断。  At present, the e-mail service has become a common way of business electronic communication, and MEM is more and more widely used by people. It has the advantages of convenience and speed. Obviously, its superiority is such as SMS and MMS business. The news business is unmatched. In a mobile network or wireless fidelity (WiFi, Wireless Fidelity) environment, there are the following problems in using the E-mail service through the mobile terminal: Frequently, WiFi and mobile network signals are temporarily interrupted and then restored, which causes the upper MEM service. Temporary interruption.
图 1是根据相关技术的 MEM的系统组网的示意图, 如图 1所示, 在 MEM系统中, 主要包括以下几个网络功能实体: MEM客户端 (Client ) : 为运行在移动终端上的 MEM客户端代理程序; MEM服务器(Server ) : 为 MEM Client与邮件服务器( Email Server )之间的一个网关设备, 用于实 现 MEM客户端之间的会话管理、 Email数据管理、 媒体格式转换、 过滤规 则管理等功能; Email Server: 是指通常的环球网 (WEB )邮箱、 邮局协议 3 ( POP3, Post Office Protocol )邮箱、 Domino邮箱 ( IBM的邮件系统 ) 、 网给消息访问协议 ( IMAP , Internet Message Access Protocol )邮箱等; 带 外通知功能实体(ONF, Outband Notification Function ) , 当 MEM Client 与 MEM Server断开链接时, ONF将邮件信息通知到 MEM Client。  1 is a schematic diagram of a system networking of a MEM according to the related art. As shown in FIG. 1, in a MEM system, mainly includes the following network functional entities: MEM client (Client): is a MEM running on a mobile terminal. Client Agent; MEM Server (Server): A gateway device between the MEM Client and the Email Server. It is used to implement session management, email data management, media format conversion, and filtering rules between MEM clients. Management and other functions; Email Server: refers to the usual World Wide Web (WEB) mailbox, Post Office Protocol 3 (POP3, Post Office Protocol) mailbox, Domino mailbox (IBM's mail system), Network to Message Access Protocol (IMAP, Internet Message Access) Protocol) E-mail; Outband Notification Function (ONF, Outband Notification Function). When the MEM Client disconnects from the MEM Server, the ONF notifies the MEM Client of the mail information.
其中, ΜΕΜ-1和 ΜΕΜ-2为 MEM Client与 MEM Server之间的接口, 分别代表 MEM Client与 MEM Server之间通信时的两个数据流向, 12为 MEM Server与 Email Server之间的接口, MEM-3为 MEM Server与 ONF 之间的接口, ΜΕΜ-4为 MEM Client与 ONF之间的接口。 通常, MEM-1、 MEM-2为面向链接的、 有状态的协议, 例如 IMAP协议。 Among them, ΜΕΜ-1 and ΜΕΜ-2 are the interfaces between MEM Client and MEM Server, which represent the two data flows when communicating between MEM Client and MEM Server, 12 is The interface between MEM Server and Email Server, MEM-3 is the interface between MEM Server and ONF, and ΜΕΜ-4 is the interface between MEM Client and ONF. Generally, MEM-1 and MEM-2 are link-oriented, stateful protocols, such as the IMAP protocol.
图 1中描述了几个最主要的 MEM业务实体,在实际系统中,往往还会 包含其他相关的通信实体, 例如, 通过某接口与 MEM Server相连的用户代 理筒表(UA Profile, User- Agent Profile )服务器。  Figure 1 depicts several of the most important MEM business entities. In actual systems, other related communication entities are often included, for example, a user agent bucket table (UA Profile, User-Agent) connected to the MEM Server through an interface. Profile) server.
当底层承载网络临时中断时, 例如, WiFi信号临时中断, 或者由于不 在移动网覆盖区而导致移动网络信号中断, 会导致 Email业务不连续。  When the underlying bearer network is temporarily interrupted, for example, the WiFi signal is temporarily interrupted, or the mobile network signal is interrupted due to not being in the mobile network coverage area, the email service may be discontinuous.
具体地, 如果当前承载 MEM Client与 MEM Server之间的链路的底层 网络中断, 则会导致上层链路中断, MEM Server为这个用户保留的协议状 态和临时信息往往会由于失去链路而丟失。 当承载网络恢复之后, MEM Client往往需要重新登录 MEM Server, 即, 需要重新输入帐号和密码等登 录信息, 当前的操作界面往往会被取消, 导致用户体验较差。 发明内容  Specifically, if the underlying network of the link between the current MEM Client and the MEM Server is interrupted, the upper link is interrupted, and the protocol status and temporary information reserved by the MEM Server for the user are often lost due to the loss of the link. After the bearer network is restored, the MEM client often needs to log in to the MEM server again. That is, the login information such as account number and password needs to be re-entered, and the current operation interface is often cancelled, resulting in poor user experience. Summary of the invention
针对目前在承载网络临时中断又恢复后,会导致 MEM Client用户体验 较差的问题而提出本发明, 为此, 本发明旨在提供一种移动电子邮件业务 处理方法和装置, 以解决上述问题。  The present invention has been made in view of the problem that the MEM Client user experience is poor after the temporary interruption of the bearer network is restored. Therefore, the present invention aims to provide a mobile email service processing method and apparatus to solve the above problem.
根据本发明的一个方面, 提供了一种移动电子邮件业务处理方法。 根据本发明的移动电子邮件业务处理方法包括: 移动电子邮件服务器 判定自身与移动电子邮件客户端之间的链路异常中断后, 保留移动电子邮 件客户端的临时信息, 其中, 临时信息用于在链路恢复后, 移动电子邮件 客户端和移动电子邮件服务器进行通信。  According to an aspect of the present invention, a mobile email service processing method is provided. The mobile email service processing method according to the present invention comprises: after the mobile email server determines that the link between itself and the mobile email client is abnormally interrupted, retains temporary information of the mobile email client, wherein the temporary information is used in the chain After the road is restored, the mobile email client communicates with the mobile email server.
优选地, 上述方法还包括: 在所述移动电子邮件服务器中设置第一定 时器, 其中, 通过设置第一定时器来控制移动电子邮件服务器保留临时信 息的时长。 优选地, 临时信息包括: 移动电子邮件客户端的协议状态信息。 Preferably, the above method further comprises: setting a first timer in the mobile email server, wherein the duration of the temporary information retained by the mobile email server is controlled by setting a first timer. Preferably, the temporary information comprises: protocol status information of the mobile email client.
优选地, 上述方法还包括: 所述链路异常中断后, 在移动电子邮件客 户端, 继续运行移动电子邮件客户端程序, 保留协议状态信息和协议事件; 移动电子邮件客户端向移动电子邮件服务器发送链接重建请求。  Preferably, the method further includes: after the link is abnormally interrupted, in the mobile email client, continuing to run the mobile email client program, retaining protocol status information and protocol events; moving the email client to the mobile email server Send a link rebuild request.
优选地, 在移动电子邮件客户端向移动电子邮件服务器发送链接重建 请求之后, 上述方法还包括: 如果建立移动电子邮件服务器与移动电子邮 件客户端之间的链路, 则移动电子邮件客户端向移动电子邮件服务器发送 登录请求, 并在其中携带登录信息。  Preferably, after the mobile email client sends the link re-establishment request to the mobile email server, the method further includes: if establishing a link between the mobile email server and the mobile email client, the mobile email client The mobile email server sends a login request and carries the login information therein.
优选地, 移动电子邮件客户端向移动电子邮件服务器发送链接重建请 求包括以下之一: 在预先设置的第二定时器到时时, 发送链接重建请求; 移动电子邮件客户端接收到链路恢复通知后, 发送链接重建请求; 在所述 移动电子邮件客户端检测到承载链路的网络可用时, 发送链接重建请求。  Preferably, the mobile email client sends a link re-establishment request to the mobile e-mail server, including one of the following: sending a link re-establishment request when the preset second timer expires; after receiving the link recovery notification, the mobile e-mail client receives the link recovery notification Sending a link reestablishment request; transmitting a link reestablishment request when the mobile e-mail client detects that the network carrying the link is available.
根据本发明的一个方面, 提供了另一种移动电子邮件业务处理方法。 根据本发明的移动电子邮件业务处理方法包括: 当移动电子邮件服务 器与移动电子邮件客户端的链路异常中断后, 移动电子邮件客户端继续运 行移动电子邮件客户端程序, 保留协议状态信息和协议事件; 移动电子邮 件客户端向移动电子邮件服务器发送链接重建请求。  According to one aspect of the present invention, another mobile email service processing method is provided. The mobile email service processing method according to the present invention includes: after the link of the mobile email server and the mobile email client is abnormally interrupted, the mobile email client continues to run the mobile email client program, retaining protocol status information and protocol events. The mobile email client sends a link rebuild request to the mobile email server.
根据本发明的另一个方面, 提供了一种移动电子邮件服务器。  According to another aspect of the present invention, a mobile email server is provided.
根据本发明的移动电子邮件服务器包括: 链路管理模块, 用于判断移 动电子邮件服务器与移动电子邮件客户端之间的链路是否异常中断; 緩沖 区管理模块, 用于在链路管理模块判定链路异常中断之后, 保留移动电子 邮件客户端的临时信息, 其中, 临时信息用于在链路恢复后, 移动电子邮 件客户端和移动电子邮件服务器进行通信。  The mobile email server according to the present invention includes: a link management module, configured to determine whether a link between the mobile email server and the mobile email client is abnormally interrupted; and a buffer management module, configured to determine at the link management module After the link is abnormally interrupted, the temporary information of the mobile email client is reserved, wherein the temporary information is used for the mobile email client to communicate with the mobile email server after the link is restored.
优选地, 上述移动电子邮件服务器还包括: 定时器管理模块, 用于启 动第一定时器, 通过启动第一定时器来控制緩沖区管理模块保留临时信息 的时长。 Preferably, the mobile email server further includes: a timer management module, configured to start a first timer, and control a buffer management module to retain temporary information by starting a first timer The length of time.
根据本发明的另一个方面, 还提供了一种移动电子邮件客户端。  According to another aspect of the present invention, a mobile email client is also provided.
根据本发明的移动电子邮件客户端包括: 界面逻辑控制模块, 用于在 移动电子邮件服务器与移动电子邮件客户端的链路异常中断的情况下, 继 续运行移动电子邮件客户端程序, 保留协议状态信息和协议事件; 链路管 理模块, 用于在移动电子邮件服务器与移动电子邮件客户端的链路异常中 断的情况下, 向移动电子邮件服务器发送链接重建请求。  The mobile email client according to the present invention comprises: an interface logic control module, for continuing to run the mobile email client program and retaining protocol status information if the link of the mobile email server and the mobile email client is abnormally interrupted And a protocol event; the link management module is configured to send a link reestablishment request to the mobile email server if the link of the mobile email server and the mobile email client is abnormally interrupted.
通过本发明, 采用 MEM Server保留中断用户的临时信息的方法, 解决 了目前在承载网络恢复后, 会导致 MEM Client用户体验较差的问题, 进而 提高了用户体验。 附图说明 图 1是根据相关技术的 MEM的系统组网的示意图;  Through the invention, the MEM Server retains the temporary information of interrupting the user, and solves the problem that the MEM Client user experience is poor after the recovery of the bearer network, thereby improving the user experience. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a schematic diagram of a system networking of a MEM according to the related art;
图 2是根据本发明实施例的移动电子邮件业务处理方法的流程图; 图 3是根据本发明实施例的移动终端的接入网信号中断引发的上层业 务中断的示意图;  2 is a flowchart of a method for processing a mobile email service according to an embodiment of the present invention; FIG. 3 is a schematic diagram of an upper layer service interruption caused by an interruption of an access network signal of a mobile terminal according to an embodiment of the present invention;
图 6是根据本发明实施例的移动电子邮件客户端的结构框图。 具体实施方式 考虑到目前在承载网络临时中断又恢复后,会导致 MEM Client用户体 验较差的问题, 本发明实施例提供了移动电子邮件业务处理方案, 在网络 中断的情况下, MEM Server在一定时间内保留中断用户的临时信息, MEM Client通过运行 MEM Client程序保持用户界面不变, 来保证 MEM Client 进行网络切换后再次登陆时仍能恢复以前的协议状态, 可以达到 MEM Client无缝切换的用户体验效果。 6 is a structural block diagram of a mobile email client in accordance with an embodiment of the present invention. The embodiment of the present invention provides a mobile email service processing solution. In the case of a network interruption, the MEM Server is in a certain situation, in consideration of the problem that the MEM Client user experience is poor after the temporary interruption of the bearer network is resumed. The temporary information of the interrupted user is reserved during the time, and the MEM Client keeps the user interface unchanged by running the MEM Client program to ensure the MEM Client. After the network is switched, the previous protocol status can be restored when logging in again, which can achieve the user experience of seamlessly switching the MEM Client.
需要说明的是, 在不沖突的情况下, 本申请中的实施例及实施例中的 特征可以相互组合。 下面将参考附图并结合实施例来详细说明本发明。  It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
根据本发明的实施例, 提供了移动电子邮件业务处理方法。 在移动终 端上运行 MEM Client, MEM Client与 MEM Server采用面向链接的有状态 的协议通信, 通信接口为 MEM- 1和 MEM-2。 本发明实施例的实现过程主 要涉及到 MEM Client与 MEM Server软件功能的改进。  According to an embodiment of the present invention, a mobile email service processing method is provided. Run the MEM Client on the mobile terminal. The MEM Client communicates with the MEM Server using a link-oriented stateful protocol. The communication interfaces are MEM-1 and MEM-2. The implementation process of the embodiment of the present invention mainly relates to the improvement of the functions of the MEM Client and the MEM Server software.
下面将以 IMAP、 或基于 IMAP协议的扩充协议为 MEM-1、 MEM-2接 口为实施例, 分别对 MEM Server侧和 MEM Client侧实现移动电子邮件业 务的处理过程进行描述。  The following is an example of the implementation of the mobile mail service on the MEM Server side and the MEM Client side by using the IMAP or the IMAP protocol-based extension protocol as the MEM-1 and MEM-2 interfaces.
MEM Client与 MEM Server之间通过 IMAP协议进行交互, IMAP建立 在传输控制协议(TCP, Transfer Control Protocol )链路之上, 靠近移动终 端侧的空口链路, IMAP底层网络通过移动网络或者 WiFi承载。 通信双方 中, MEM Client作为 IMAP客户端, MEM Server作为 IMAP服务端。 IMAP 为有状态的面向连接的协议, 用户登录后就处于某个特定的协议状态, 例 如, 已验证(Authenticated )状态; IMAP可以向服务端发送该状态下允行 的指令, 在客户端与服务端的通信空闲时段内, 需要发送 IMAP: noop指 令保持链路, noop为 IMAP协议的一个指令名, 作用为链路 "保活" 。  The IMAP protocol is exchanged between the MEM Client and the MEM Server. The IMAP is established on the link of the Transmission Control Protocol (TCP), which is close to the air interface link on the mobile terminal side. The IMAP underlying network is carried over the mobile network or WiFi. Among the two communicating parties, the MEM Client acts as the IMAP client and the MEM Server acts as the IMAP server. IMAP is a stateful connection-oriented protocol. After logging in, the user is in a specific protocol state, for example, Authenticated state. IMAP can send instructions to the server in this state, in the client and service. During the idle period of communication, IMAP needs to be sent: noop command keeps the link, noop is an instruction name of IMAP protocol, and the link is "keep alive".
本发明实施例描述的 MEM Client软件包括但不限于用户界面( UI, User Interface ) 模块、 邮箱管理模块、 多用途网际邮件扩充协议 ( MIME , Multipurpose Internet Mail Extensions )编解码模块、 IMAP十办议栈模块、 Push 信息处理模块。 其中, UI模块用于提供邮件的编辑、 显示和邮箱维护等用 户操作界面; 邮箱管理模块用于完成收件箱、 发件箱等邮箱的邮件管理和 存取; MIME编解码模块用于完成邮件数据的编码和解码功能; IMAP协议 模块用于完成 IMAP协议客户端功能; Push信息处理模块用于完成 ONF"推 送" 过来的邮件通知信息。 The MEM Client software described in the embodiments of the present invention includes but is not limited to a user interface (UI) module, a mailbox management module, a multi-purpose Internet Mail Extensions (MIME) codec module, and an IMAP ten-party stack. Module, Push information processing module. The UI module is used to provide user operation interfaces such as editing, displaying, and mailbox maintenance of the mail; the mailbox management module is used to complete mail management and access of the inbox, the outbox, etc.; the MIME codec module is used to complete the mail. Data encoding and decoding functions; IMAP protocol The module is used to complete the IMAP protocol client function; the Push information processing module is used to complete the email notification information from the ONF "push".
方法实施例一:  Method embodiment one:
本发明实施例的一种移动电子邮件业务处理方法, 包括: MEM Server 判定它与 MEM Client之间的链路异常中断后, 则保留该 MEM Client的临 时信息到一定时间段以内,其中, 临时信息用于在链路恢复后, MEM Client 和 MEM Server进行通信, 该临时信息可以包括但不限于该 MEM Client的 协议状态信息, 例如, IMAP协议当前的状态。  A mobile email service processing method according to an embodiment of the present invention includes: after the MEM Server determines that the link between the MEM client and the MEM Client is abnormally interrupted, the temporary information of the MEM Client is retained within a certain period of time, wherein the temporary information After the link is restored, the MEM Client communicates with the MEM Server. The temporary information may include, but is not limited to, protocol status information of the MEM Client, for example, the current status of the IMAP protocol.
进一步地, 可以设置第一定时器, 其中, 通过设置第一定时器来控制 MEM Server保留临时信息的时长。 也就是说, MEM Server可以新增定时 器功能, 定时器的周期为某 MEM Client异常中断时保留该 MEM Client相 关临时信息的间长,在该时长内保留该 MEM Client的协议状态等临时信息, 在该时长内, 如果该 MEM Client再次登录, 则按照保存的协议状态等临时 信息继续后续的通信。  Further, a first timer may be set, wherein the duration of the temporary information retained by the MEM server is controlled by setting the first timer. In other words, the MEM Server can add a timer function. The period of the timer is the length of the temporary information related to the MEM Client when a MEM Client is abnormally interrupted, and the temporary information such as the protocol status of the MEM Client is retained within the duration. Within this duration, if the MEM Client logs in again, subsequent communication is continued in accordance with temporary information such as the saved protocol status.
通过该实施例,提供了 MEM Server对链路异常中断时移动电子邮件业 务的处理方法,对 MEM Server会在内存区建立与客户端的临时记录信息的 功能加以改进, 配合 MEM Client的改进共同实现 MEM Client在承载网临 时中断时维持连续性的要求。  Through this embodiment, a processing method for the mobile email service when the link is abnormally interrupted by the MEM Server is provided, and the function of establishing the temporary record information with the client in the memory area is improved by the MEM Server, and the MEM is improved together with the improvement of the MEM Client. The client maintains continuity requirements when the bearer network is temporarily interrupted.
方法实施例二:  Method Embodiment 2:
图 2是根据本发明实施例的移动电子邮件业务处理方法的流程图, 如 图 2所示, 本发明实施例的另一种移动电子邮件业务处理方法, 包括如下 的步骤 S202至步骤 S204:  FIG. 2 is a flowchart of a method for processing a mobile email service according to an embodiment of the present invention. As shown in FIG. 2, another method for processing a mobile email service according to an embodiment of the present invention includes the following steps S202 to S204:
步骤 S202, 当 MEM Server与 MEM Client的链路异常中断时, 例如底 层网络临时中断, 为保证用户体验的连续性, MEM Client 可以继续运行 MEM Client程序, 即不退出; 保留协议状态信息和协议事件, 例如, 该协 议事件可以为接收邮件或者发送邮件等, 以便在链路恢复时, 可以按照保 留的协议状态信息和协议事件进行后续与 MEM Server的通信,并且可以维 持当前 UI不变。 Step S202: When the link between the MEM Server and the MEM Client is abnormally interrupted, for example, the underlying network is temporarily interrupted, to ensure the continuity of the user experience, the MEM Client may continue to run the MEM Client program, that is, does not exit; retain protocol status information and protocol events. , for example, the association The event may be receiving mail or sending mail, etc., so that when the link is restored, subsequent communication with the MEM Server may be performed according to the retained protocol state information and protocol events, and the current UI may be maintained.
步骤 S204, MEM Client向 MEM Server发送链接重建请求。 此后, 如 果建立移动电子邮件服务器与移动电子邮件客户端之间的链路, 则 MEM Client向 MEM Server发送登录请求, 并在其中携带登录信息。  Step S204, the MEM Client sends a link reestablishment request to the MEM Server. Thereafter, if a link between the mobile email server and the mobile email client is established, the MEM Client sends a login request to the MEM Server and carries the login information therein.
也就是说, 对于 MEM Client来说, 在网络中断后, 在一定时间内又恢 复的情况下, MEM Client自动登录。 具体地, 当 MEM Client检测到 IMAP 链路中断之后, 可以启动定时器进行重新链接, 当接入网信号恢复后, 重 新链接成功。 MEM Client也可以在接收到底层网络恢复的通知后重新链接, 之后 MEM Client自动登录而无需用户重新输入密码等信息。  That is to say, for the MEM Client, after the network is interrupted and restored within a certain period of time, the MEM Client automatically logs in. Specifically, after the MEM Client detects that the IMAP link is interrupted, the timer can be started to re-link, and when the access network signal is restored, the re-link is successful. The MEM Client can also re-link after receiving the notification of the underlying network recovery, after which the MEM Client automatically logs in without the user having to re-enter the password and other information.
步骤 S204中 MEM Client向 MEM Server发送链接重建请求包括以下情 况之一:  In step S204, the MEM Client sends a link reestablishment request to the MEM Server, including one of the following cases:
( 1 )在预先设置的第二定时器到时时, 发送链接重建请求。 即, 移动 终端的 MEM Client在底层网络临时中断后, 可以启动定时器进行周期链接 重试。  (1) A link re-establishment request is sent when the preset second timer expires. That is, the MEM Client of the mobile terminal can start a periodic link retry after the temporary interruption of the underlying network.
( 2 ) MEM Client接收到链路恢复通知后, 发送链接重建请求。 即, 移 动终端的 MEM Client在底层网络临时中断后, 可以在接收到底层网络恢复 的通知后, 自动重新建立与 MEM Server的链接。  (2) After receiving the link recovery notification, the MEM Client sends a link reestablishment request. That is, after the temporary failure of the underlying network, the MEM Client of the mobile terminal can automatically re-establish the link with the MEM Server after receiving the notification of the underlying network recovery.
( 3 )MEM Client在检测到承载链路的网络可用时,发送链接重建请求。 需要说明的是, MEM Client可以根据预先与 MEM Server的约定, 在 上述的链接重建请求中携带或不携带 MEM Client的登录信息, 包括 MEM Client的帐号和密码, 例如, 如果中断时长未达到阈值, 则不需要登录信息 即可链接, 如果中断时长达到阈值, 则需要携带登录信息才能链接。  (3) The MEM Client sends a link reestablishment request when it detects that the network carrying the link is available. It should be noted that, according to the agreement with the MEM Server in advance, the MEM Client may carry or not carry the login information of the MEM Client in the above link reestablishment request, including the account and password of the MEM Client, for example, if the interrupt duration does not reach the threshold, If you do not need login information, you can link. If the interruption time reaches the threshold, you need to carry the login information to link.
通过该实施例,提供了 MEM Client对链路异常中断时移动电子邮件业 务的处理方法。 为了保证 MEM Client的无缝用户体验, 用户界面在网络中 断时间, 可以不退出 MEM Client , 可以保持原有的用户界面内容。 例如, 用户在浏览收件箱内容时, 发生网络临时中断, 那么, 此时界面内容保持 原有数据不变; 此时, 如果 MEM Client进行与 MEM Server的网络交换请 求, 例如接收邮件, 界面则给出网络中断的信息提示, 提示后的界面显示 内容可以保持与中断前一致。 With this embodiment, the MEM client is provided to the mobile email industry when the link is abnormally interrupted. The processing method. In order to ensure the seamless user experience of the MEM Client, the user interface can maintain the original user interface content without exiting the MEM Client during the network interruption time. For example, when the user browses the contents of the inbox, a temporary network interruption occurs. Then, the content of the interface remains unchanged. At this time, if the MEM Client performs a network exchange request with the MEM Server, for example, receiving an email, the interface is The information prompt of the network interruption is given, and the content of the interface after the prompt can be kept consistent with before the interruption.
下面结合对 MEM Client和 MEM Server的功能改进, 在接入网络中断 情况下,实现本发明实施例描述的维持 MEM Server业务连续性的方法如下 步骤:  The following is a method for maintaining the continuity of the MEM Server service described in the embodiment of the present invention in combination with the function improvement of the MEM Client and the MEM Server.
步骤 1 , 移动终端的 MEM Client登录( login ) MEM Server中。 其中, MEM Client与 MEM Server之间的 MEM-1、 MEM-2接口为 IMAP协议, 靠近移动终端侧的空口承载网可以是全球移动通信( GSM, Global system for Mobile Communication )、码分多址 ( CDMA, Code Division Multiple Access )、 宽带码分多址接入( WCDMA, Wideband Code Division Multiple Access )等, 也可以是 WiFi、 微波接入全球互通(WiMax, Worldwide Interoperability for Microwave Access )等无线局域、 城域网。  Step 1. The MEM Client of the mobile terminal logs in (login) to the MEM Server. The MEM-1 and MEM-2 interfaces between the MEM Client and the MEM Server are IMAP protocols, and the air interface bearer network close to the mobile terminal side may be Global System for Mobile Communications (GSM), code division multiple access ( CDMA (Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA), etc., or wireless local area such as WiFi, Worldwide Interoperability for Microwave Access, Metropolitan area network.
步骤 2, 用户登录后, 可以进行邮箱和邮件的某些操作, 不失一般性, 假定此时用户在 IMAP服务端的协议状态是 Authenticated状态。 此后, 底 层承载网络临时中断。 图 3是根据本发明实施例的移动终端的接入网信号 中断引发的上层业务中断的示意图,如图 3所示, MEM Client和 MEM Server 之间的通信网络的 IMAP/TCP链路中断,这里的通信网络可以是以下之一: WiFi、 GSM、 CDMA, WCDMA。  Step 2: After the user logs in, some operations of the mailbox and the mail can be performed without loss of generality. It is assumed that the protocol state of the user on the IMAP server is Authenticated. Thereafter, the underlying bearer network is temporarily interrupted. 3 is a schematic diagram of an upper layer service interruption caused by an interruption of an access network signal of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 3, an IMAP/TCP link of a communication network between the MEM Client and the MEM Server is interrupted, where The communication network can be one of the following: WiFi, GSM, CDMA, WCDMA.
步骤 3 , 当发生网络中断时, MEM Client不退出, 保留协议状态信息 和协议事件,并可以维持当前的 UI不变, MEM Client启动定时器进行重建 与 MEM Server之间链路操作, 即上述步骤 S202。 步骤 4, 服务端检测到与某个 Client的链路异常中断后, 启动定时器控 制维持该 Client的临时信息到一定时间间隔。 Step 3: When a network interruption occurs, the MEM Client does not exit, retains the protocol status information and the protocol event, and can maintain the current UI unchanged. The MEM Client starts the timer to perform the link operation between the reconstruction and the MEM Server, that is, the above steps. S202. Step 4: After detecting that the link with a certain client is abnormally interrupted, the server starts to control the temporary information of the client to a certain time interval.
步骤 5 ,在一定时间内,移动终端在接入网络信号恢复,此时 MEM Client 链路重链成功, IMAP链路恢复, MEM Client可以自动重新登录。 在该步 骤中, 对于临时中断, 客户端可以采用在緩沖区中保存登录名和密码自动 登录, 即上述步骤 S204。  Step 5: During a certain period of time, the mobile terminal recovers from the access network signal. At this time, the MEM Client link heavy chain is successful, the IMAP link is restored, and the MEM Client can automatically log in again. In this step, for the temporary interruption, the client can automatically log in by saving the login name and password in the buffer, that is, the above step S204.
步骤 6 , MEM Server接收到用户的登录请求, 在内存中检索临时中断 MEM Client记录, 查找到后将该记录的定时器取消, 将记录中保存的临时 信息 "接续" 到新链路继续后续的通信。  Step 6: The MEM Server receives the login request of the user, retrieves the temporary interrupt MEM Client record in the memory, cancels the timer of the record after the search, and "connects" the temporary information saved in the record to the new link to continue. Communication.
步骤 7 , MEM Client恢复用户操作, 完成了 MEM业务连续性。  Step 7: The MEM Client resumes the user operation and completes the MEM business continuity.
需要说明的是, 本发明以 IMAP协议为 MEM-1、 MEM-2之间的接口 为例, 但本发明描述的维持 MEM Server 业务连续性的方法适用于基于 SMTP 等其它协议的客户端 -服务器模型的移动邮件系统, 例如, MEM-1 接口基于筒单邮件传输协议( SMTP, Simple Mail Transfer Protocol )、 MEM-2 基于 IMAP协议。  It should be noted that the present invention uses the IMAP protocol as an interface between MEM-1 and MEM-2, but the method for maintaining MEM Server service continuity described in the present invention is applicable to a client-server based on other protocols such as SMTP. The model's mobile mail system, for example, the MEM-1 interface is based on the Simple Mail Transfer Protocol (SMTP) and the MEM-2 based IMAP protocol.
上述实施例适用于解决接入网络临时中断造成的上层 MEM 业务临时 中断的问题, 用样适用于解决多模移动终端在不同接入网之间切换时造成 的 MEM业务中断问题。  The foregoing embodiment is applicable to the problem of temporarily interrupting the upper MEM service caused by the temporary interruption of the access network, and is applicable to solving the MEM service interruption caused by the handover of the multimode mobile terminal between different access networks.
装置实施例一:  Device embodiment 1:
根据本发明的实施例, 提供了一种 MEM Server。 图 4是根据本发明实 施例的 MEM Server的结构框图, 如图 4所示, 该 MEM Server包括: 链路 管理模块 42和緩沖区管理模块 44, 下面对上述结构进行描述。  According to an embodiment of the present invention, a MEM Server is provided. 4 is a structural block diagram of a MEM Server according to an embodiment of the present invention. As shown in FIG. 4, the MEM Server includes: a link management module 42 and a buffer management module 44. The above structure will be described below.
链路管理模块 42,用于判断 MEM Client的链路异常中断;緩沖区管理 模块 44, 连接至链路管理模块 42, 用于在链路管理模块 42确定链路异常 中断之后, 保留 MEM Client的临时信息, 其中, 临时信息用于在链路恢复 后, MEM Client和 MEM Server进行通信。 The link management module 42 is configured to determine that the link of the MEM Client is abnormally interrupted. The buffer management module 44 is connected to the link management module 42 for retaining the MEM Client after the link management module 42 determines that the link is abnormally interrupted. Temporary information, where temporary information is used for link recovery After that, the MEM Client communicates with the MEM Server.
图 5是根据本发明实施例的 MEM Server的具体结构框图,如图 5所示, 该装置还包括: 定时器管理模块 52, 连接至緩沖区管理模块 44, 用于设置 和启动第一定时器, 其中, 通过启动第一定时器来控制緩沖区管理模块 44 保留临时信息的时长。  FIG. 5 is a block diagram of a specific structure of a MEM server according to an embodiment of the present invention. As shown in FIG. 5, the apparatus further includes: a timer management module 52 connected to the buffer management module 44, configured to set and start the first timer. The duration of the temporary information retained by the buffer management module 44 is controlled by starting the first timer.
通过该实施例, 提供了可以对链路异常中断时处理移动电子邮件业务 的 MEM Server,该 MEM Server可以配合 MEM Client共同实现 MEM Client 在^载网临时中断时维持连续性的要求。  With this embodiment, a MEM Server that can handle mobile email service when the link is abnormally interrupted is provided, and the MEM Server can cooperate with the MEM Client to implement the requirement that the MEM Client maintain continuity when the network is temporarily interrupted.
装置实施例二:  Device embodiment 2:
根据本发明的实施例, 提供了一种 MEM Client。 图 6是根据本发明实 施例的 MEM Client的结构框图, 如图 6所示, 该 MEM Client包括: 界面 逻辑控制模块 62和链路管理模块 64, 下面对上述结构进行描述。  According to an embodiment of the present invention, a MEM Client is provided. 6 is a structural block diagram of a MEM Client according to an embodiment of the present invention. As shown in FIG. 6, the MEM Client includes: an interface logic control module 62 and a link management module 64. The above structure will be described below.
界面逻辑控制模块 62, 用于在 MEM Server与 MEM Client的链路异常 中断的情况下, 继续运行 MEM Client程序, 即不退出该应用, 保留协议状 态信息和协议事件, 并且可以维持当前用户操作界面不变, 也就是说, 通 过控制用户界面的逻辑跳转, 维持操作界面的连续性用户体验; 链路管理 模块 64, 连接至界面逻辑控制模块 62, 用于在上述链路中断后, 向 MEM Server发送链接重建请求。  The interface logic control module 62 is configured to continue to run the MEM Client program if the link between the MEM Server and the MEM Client is abnormally interrupted, that is, the application is not exited, the protocol status information and the protocol event are retained, and the current user operation interface can be maintained. The same, that is, maintaining a continuous user experience of the operation interface by controlling the logical jump of the user interface; the link management module 64 is connected to the interface logic control module 62 for using the MEM after the link is interrupted. Server sends a link rebuild request.
通过该实施例, 提供了可以对链路异常中断时处理移动电子邮件业务 的 MEM Client,该 MEM Client可以配合 MEM Server共同实现 MEM Client 在^载网临时中断时维持连续性的要求。  With this embodiment, a MEM Client that can handle mobile email service when the link is abnormally interrupted is provided. The MEM Client can cooperate with the MEM Server to implement the requirement that the MEM Client maintain continuity when the network is temporarily interrupted.
综上, 通过本发明的上述实施例, 采用 MEM Server保留中断用户的临 时信息的方法, 解决了目前在承载网络恢复后, 会导致 MEM Client用户体 验较差的问题, 进而提高了用户体验。  In summary, with the above embodiment of the present invention, the MEM Server retains the method of interrupting the temporary information of the user, and solves the problem that the MEM Client user experience is poor after the recovery of the bearer network, thereby improving the user experience.
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤 可以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者 分布在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执 行的程序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来 执行, 或者将它们分别制作成各个集成电路模块, 或者将它们中的多个模 块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特 定的硬件和软件结合。 It will be apparent to those skilled in the art that the various modules or steps of the invention described above are apparent. It can be implemented by a general-purpose computing device, which can be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they can be implemented by program code executable by the computing device. They may be stored in a storage device by a computing device, or they may be fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be implemented as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于 本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精 神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明 的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权利要求书 Claim
1、 一种移动电子邮件业务处理方法, 其特征在于, 包括:  A mobile email service processing method, comprising:
移动电子邮件服务器判定自身与移动电子邮件客户端之间的链路异常 中断后, 保留移动电子邮件客户端的临时信息, 其中, 所述临时信息用于 在链路恢复后, 所述移动电子邮件客户端和所述移动电子邮件服务器进行 通信。  After the mobile email server determines that the link between the user and the mobile email client is abnormally interrupted, the temporary information of the mobile email client is retained, wherein the temporary information is used after the link is restored, the mobile email client The end communicates with the mobile email server.
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 在所述移动电子邮件服务器中设置第一定时器, 通过设置所述第一定 时器来控制所述移动电子邮件服务器保留所述临时信息的时长。  2. The method according to claim 1, wherein the method further comprises: setting a first timer in the mobile email server, and controlling the mobile email by setting the first timer The length of time the server retains the temporary information.
3、 根据权利要求 1所述的方法, 其特征在于, 所述临时信息包括: 所 述移动电子邮件客户端的协议状态信息。  The method according to claim 1, wherein the temporary information comprises: protocol status information of the mobile email client.
4、 根据权利要求 1至 3任一项所述的方法, 其特征在于, 所述方法还 包括:  The method according to any one of claims 1 to 3, wherein the method further comprises:
所述链路异常中断后, 在所述移动电子邮件客户端, 继续运行移动电 子邮件客户端程序, 保留协议状态信息和协议事件;  After the link is abnormally interrupted, the mobile email client continues to run the mobile email client program, and retains protocol status information and protocol events;
所述移动电子邮件客户端向所述移动电子邮件服务器发送链接重建请 求。  The mobile email client sends a link rebuild request to the mobile email server.
5、 根据权利要求 4所述的方法, 其特征在于, 在所述移动电子邮件客 户端向所述移动电子邮件服务器发送链接重建请求之后, 所述方法还包括: 如果建立所述移动电子邮件服务器与所述移动电子邮件客户端之间的 链路, 则所述移动电子邮件客户端向所述移动电子邮件服务器发送登录请 求, 并在其中携带登录信息。  5. The method according to claim 4, wherein after the mobile email client sends a link re-establishment request to the mobile email server, the method further comprises: if the mobile email server is established With the link between the mobile email client, the mobile email client sends a login request to the mobile email server and carries the login information therein.
6、 根据权利要求 4所述的方法, 其特征在于, 所述移动电子邮件客户 端向所述移动电子邮件服务器发送链接重建请求包括以下之一:  6. The method according to claim 4, wherein the mobile email client sends a link reestablishment request to the mobile email server to include one of the following:
在预先设置的第二定时器到时时, 发送所述链接重建请求; 所述移动电子邮件客户端接收到链路恢复通知后, 发送所述链接重建 请求; Sending the link re-establishment request when the preset second timer expires; After receiving the link recovery notification, the mobile email client sends the link re-establishment request;
在所述移动电子邮件客户端检测到承载链路的网络可用时, 发送所述 链接重建请求。  The link re-establishment request is sent when the mobile email client detects that the network carrying the link is available.
7、 一种移动电子邮件业务处理方法, 其特征在于, 包括:  A mobile email service processing method, comprising:
当移动电子邮件服务器与移动电子邮件客户端的链路异常中断后, 所 述移动电子邮件客户端继续运行移动电子邮件客户端程序, 保留协议状态 信息和协议事件;  When the link between the mobile email server and the mobile email client is abnormally interrupted, the mobile email client continues to run the mobile email client program, retaining protocol status information and protocol events;
所述移动电子邮件客户端向所述移动电子邮件服务器发送链接重建请 求。  The mobile email client sends a link rebuild request to the mobile email server.
8、 一种移动电子邮件服务器, 其特征在于, 包括:  8. A mobile email server, comprising:
链路管理模块, 用于判断移动电子邮件服务器与移动电子邮件客户端 之间的链路是否异常中断;  a link management module, configured to determine whether a link between the mobile email server and the mobile email client is abnormally interrupted;
緩沖区管理模块, 用于在所述链路管理模块判定所述链路异常中断之 后, 保留所述移动电子邮件客户端的临时信息, 其中, 所述临时信息用于 在链路恢复后, 所述移动电子邮件客户端和所述移动电子邮件服务器进行 通信。  a buffer management module, configured to: after the link management module determines that the link is abnormally interrupted, retain temporary information of the mobile email client, where the temporary information is used after the link is restored, The mobile email client communicates with the mobile email server.
9、根据权利要求 8所述的移动电子邮件服务器, 其特征在于,还包括: 定时器管理模块, 用于启动第一定时器, 通过启动所述第一定时器来 控制所述緩沖区管理模块保留所述临时信息的时长。  The mobile email server according to claim 8, further comprising: a timer management module, configured to start a first timer, and control the buffer management module by starting the first timer The length of time to retain the temporary information.
10、 一种移动电子邮件客户端, 其特征在于, 包括:  10. A mobile email client, comprising:
界面逻辑控制模块, 用于在移动电子邮件服务器与移动电子邮件客户 端的链路异常中断的情况下, 继续运行移动电子邮件客户端程序, 保留协 议状态信息和协议事件;  An interface logic control module, configured to continue to run the mobile email client program, retain protocol status information and protocol events if the link between the mobile email server and the mobile email client is abnormally interrupted;
链路管理模块, 用于在移动电子邮件服务器与移动电子邮件客户端的 链路异常中断的情况下, 向所述移动电子邮件服务器发送链接重建请求。 Link management module for use in mobile email servers and mobile email clients In the case where the link is abnormally interrupted, a link re-establishment request is sent to the mobile email server.
PCT/CN2009/075090 2008-12-05 2009-11-23 Mobile email service processing method and device WO2010063218A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810182518.6 2008-12-05
CN200810182518A CN101754112A (en) 2008-12-05 2008-12-05 Method and device for processing mobile electronic mail service

Publications (1)

Publication Number Publication Date
WO2010063218A1 true WO2010063218A1 (en) 2010-06-10

Family

ID=42232889

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/075090 WO2010063218A1 (en) 2008-12-05 2009-11-23 Mobile email service processing method and device

Country Status (2)

Country Link
CN (1) CN101754112A (en)
WO (1) WO2010063218A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105813143A (en) * 2014-12-29 2016-07-27 北京新媒传信科技有限公司 Method and device for supporting network handover of application program

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5889542B2 (en) * 2011-04-07 2016-03-22 クラリオン株式会社 Wireless communication terminal and operation system
CN103532919B (en) * 2012-07-06 2018-06-12 腾讯科技(深圳)有限公司 User account keeps logging in the method and system of state
CN104796271A (en) * 2014-01-17 2015-07-22 中兴通讯股份有限公司 Connecting method and connecting device
CN108055346B (en) * 2017-12-26 2020-12-22 广东睿江云计算股份有限公司 Method for optimizing mail terminal link
CN115004633A (en) * 2020-03-17 2022-09-02 Oppo广东移动通信有限公司 Cloud connection method and terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0371607A2 (en) * 1988-11-29 1990-06-06 International Business Machines Corporation Electronic mail systems
US5832218A (en) * 1995-12-14 1998-11-03 International Business Machines Corporation Client/server electronic mail system for providng off-line client utilization and seamless server resynchronization
CN1487425A (en) * 2002-09-30 2004-04-07 ��ʽ���綫֥ Electronic equipment for radio transmitting content data and content repro ducing method for reproducing content data utilizing external equipment
JP2007018373A (en) * 2005-07-08 2007-01-25 Mitsubishi Electric Corp Information management apparatus
CN101142567A (en) * 2004-11-19 2008-03-12 福伦特布里奇技术股份有限公司 System and method for disaster recovery and management of an email system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0371607A2 (en) * 1988-11-29 1990-06-06 International Business Machines Corporation Electronic mail systems
US5832218A (en) * 1995-12-14 1998-11-03 International Business Machines Corporation Client/server electronic mail system for providng off-line client utilization and seamless server resynchronization
CN1487425A (en) * 2002-09-30 2004-04-07 ��ʽ���綫֥ Electronic equipment for radio transmitting content data and content repro ducing method for reproducing content data utilizing external equipment
CN101142567A (en) * 2004-11-19 2008-03-12 福伦特布里奇技术股份有限公司 System and method for disaster recovery and management of an email system
JP2007018373A (en) * 2005-07-08 2007-01-25 Mitsubishi Electric Corp Information management apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105813143A (en) * 2014-12-29 2016-07-27 北京新媒传信科技有限公司 Method and device for supporting network handover of application program
CN105813143B (en) * 2014-12-29 2019-11-29 北京新媒传信科技有限公司 A kind of method and apparatus for supporting application program network switching

Also Published As

Publication number Publication date
CN101754112A (en) 2010-06-23

Similar Documents

Publication Publication Date Title
EP2524478B1 (en) Explicit congestion notification based rate adaptation using binary marking in communication systems
EP2122990B1 (en) Dynamic adjustment of inactivity timer threshold for call control transactions
EP2596673B1 (en) User device dormancy
JP4187734B2 (en) Method and apparatus for handling packet data loss in a wireless network
KR100807654B1 (en) Method, and associated apparatus, for transitioning communications of hybrid access terminal between communication systems
US9438448B2 (en) Maintaining communication connections during temporary network disruptions
WO2010063218A1 (en) Mobile email service processing method and device
JP5108778B2 (en) Voice instant messaging between mobile and computing devices
US20070140193A1 (en) Managing connections in a wireless communications network
WO2013097452A1 (en) Method for receiving data, method for transmitting data, mobile terminal, and server
JP3509684B2 (en) Connection control device, connection control method, recording medium storing connection control program, and data communication system
WO2009039754A1 (en) Method, media gateway and system for controlling redundant data packets transport
WO2011137830A1 (en) Message pushing method of service delivery platform, relevant device and system
KR101944556B1 (en) Controlling power saving mode in radio
WO2013029521A1 (en) Method, flow-distribution equipment, user terminal and system for data transmission
WO2015061957A1 (en) Service agent method, modem, and terminal
WO2013064058A1 (en) Instant messaging method, system and device
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
WO2012155651A1 (en) Online processing system and method for implementing terminal application
WO2012162672A1 (en) Multipath overlay network and its multipath management protocol
WO2012162674A1 (en) Multipath overlay network and its multipath management protocol
JP2009182956A (en) Network connection control method and terminal
JP2000174824A (en) Communication system, gateway used for the communication system, radio information terminal and radio communication method
CN103516766A (en) Method and system of communication between client-side and application server
CN112564990B (en) Management method for switching audio management server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09830002

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09830002

Country of ref document: EP

Kind code of ref document: A1