WO2014056276A1 - 一种多点异构邮件系统之间镜像同步的方法 - Google Patents

一种多点异构邮件系统之间镜像同步的方法 Download PDF

Info

Publication number
WO2014056276A1
WO2014056276A1 PCT/CN2012/085140 CN2012085140W WO2014056276A1 WO 2014056276 A1 WO2014056276 A1 WO 2014056276A1 CN 2012085140 W CN2012085140 W CN 2012085140W WO 2014056276 A1 WO2014056276 A1 WO 2014056276A1
Authority
WO
WIPO (PCT)
Prior art keywords
mail system
mail
operation request
synchronization
user
Prior art date
Application number
PCT/CN2012/085140
Other languages
English (en)
French (fr)
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 WO2014056276A1 publication Critical patent/WO2014056276A1/zh

Links

Classifications

    • 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/42Mailbox-related aspects, e.g. synchronisation of mailboxes

Definitions

  • the present invention relates to a mail system synchronization method, and more particularly to a method for mirror synchronization between multi-point heterogeneous mail systems.
  • the mirroring system synchronizes the site structure, users, mail, and other data of the primary mail system in real time or at a time.
  • the primary mail system maintains the same topology, site structure, and corporate organization as the mirrored system.
  • the monitoring program needs to monitor the running status of the main mail system. In the event of a failure or a network anomaly, you can switch to the mirroring system to prevent the mail system from being used properly during a single point of crash, increasing data security and system availability.
  • the primary mail system will completely synchronize all the data and site structure of the site to the mirroring system, which is equivalent to the "cloning" of the primary mail system.
  • the mail service provider can only deploy two sets of mail systems separately for each enterprise. The mail system is centrally managed.
  • the mirroring system is generally not put into use.
  • the mirroring system does not provide access to the user when the primary mail system is working normally, and the primary mail system generally only synchronizes all mail system data to the mirroring system. It is equivalent to a scheduled backup of the primary mail system.
  • the administrator Only when the main mail system is abnormal, the administrator will switch to the mirroring system.
  • the main mail system works normally, the administrator can synchronize the data of the mirroring system to the main mail system in addition to switching to the main mail system. Keep data consistent. That is, in general, only one of the primary mail system and the mirror system will be put into use, so the user can only access one of the systems and cannot fully utilize the mirroring system.
  • the primary mail system and the mirroring system are generally deployed on the same network line, such as a domestic telecommunications or a network communication network. Due to the slow access speed when different network lines communicate with each other, if other network lines are used to access the mail system deployed on different lines, or when using a foreign network to access the domestic mail system, the access may be slow.
  • the technical problem to be solved by the embodiments of the present invention is to provide a mirror synchronization between multi-point heterogeneous mail systems.
  • the method can deploy the first mail system and the second mail system with different structures on different network lines, and work at the same time, and only synchronize the required organization or user, and has strong flexibility.
  • an embodiment of the present invention provides a method for mirroring synchronization between a multi-point heterogeneous mail system, including: the first mail system acquires an operation request of a synchronized user to be synchronized in real time, The operation request includes a user attribute change, a mail operation; the first mail system sends the operation request to a second mail system; the second mail system runs the operation request to implement synchronization with the first mail system .
  • the method for mirroring synchronization between the multi-point heterogeneous mail systems further includes: the first mail system determining whether the second mail system successfully runs the operation request; The second mail system does not successfully run the operation request, and the first mail system periodically notifies the second mail system to perform synchronization.
  • the step of determining, by the first mail system, whether the second mail system successfully runs the operation request comprises: generating, by the second mail system, a response result according to the running condition of the operation request; The second mail system sends the response result to the first mail system; the first mail system determines, according to the response result, whether the second mail system successfully runs the operation request.
  • the step of the first mail system periodically notifying the second mail system to perform the synchronization includes: the first mail system acquiring the user information corresponding to the operation request according to the operation request, where The user information includes a user name; the first mail system stores the user information; the first mail system generates synchronization information according to the user information, where the user information is recorded in the synchronization information; The mail system periodically transmits the synchronization information to the second mail system to notify the second mail system to synchronize.
  • the method for mirroring synchronization between the multi-point heterogeneous mail systems further includes: the second mail system acquiring the user in the first mail system according to the synchronization information Information related data; the second mail system updates according to the data; the first mail system stops transmitting the synchronization information.
  • the first mail system and the second mail system are respectively deployed in different network lines.
  • the first mail system is different from the structure of the second mail system, and the structure includes a topology, a site structure, and an enterprise organization.
  • the method for mirror synchronization between the multi-point heterogeneous mail system further includes: setting target content to be synchronized in the first mail system and the second mail system, the target content Including corporate organizations, users.
  • the enterprise organization or user in the mail system that needs to be synchronized is set, so that the first mail system and the second mail system do not need to maintain the same topology, site structure, and enterprise organization.
  • synchronizing there is no need to synchronize the entire site structure of the first mail system and the second mail system with all enterprise organizations, and it is possible to flexibly specify the same Some enterprise organizations or users can also specify the content that needs to be synchronized, which is convenient for management.
  • users who are synchronizing can choose to access one of the systems at any time to achieve the effect of diversion. When one of the system's user attributes or mail data changes, it will be synchronized to another system in real time.
  • the affected synchronous user can switch to another system to work normally, and reduce the loss caused by the abnormality of the mail system.
  • an abnormal system works normally, the system automatically synchronizes another normal system data, adopts an incremental synchronization mechanism, synchronizes only the changed mail system data, reduces the amount of data transmission, and ensures the first mail system and the second mail system. Data consistency. The user switches back to the originally accessed mail system, and without having to repeat the operation, the corresponding changes can be seen, just as the mail system does not fail.
  • the high availability of the mail system is ensured, and the user can continuously and stably access the mail system, and work normally, thereby reducing the loss caused by the inability to access the mail system due to computer hardware failure or network.
  • first mail system and the second mail system may be separately deployed in different network lines, and the synchronized enterprise organization or user may select an appropriate network line to access and improve the access speed.
  • FIG. 1 is a flow chart of a first embodiment of a method for mirror synchronization between multi-point heterogeneous mail systems according to the present invention
  • FIG. 2 is a diagram of a method for mirror synchronization between multi-point heterogeneous mail systems according to the present invention
  • Second embodiment flow chart
  • FIG. 3 is a flow chart showing a third embodiment of a method for mirror synchronization between multi-point heterogeneous mail systems according to the present invention.
  • FIG. 4 is a flow chart showing a fourth embodiment of a method for mirror synchronization between multi-point heterogeneous mail systems according to the present invention.
  • FIG. 1 is a flow chart of a first embodiment of a method for mirror synchronization between multi-point heterogeneous mail systems according to the present invention, including:
  • the first mail system acquires an operation request of the synchronized user to be synchronized in real time.
  • the operation request includes a user attribute change, a mail operation.
  • the first mail system sends the operation request to a second mail system.
  • the first mail system may be a primary mail system or a mirrored mail system. If the first mail system is a primary mail system, correspondingly, the second mail system is a mirrored mail system; When the mail system is a mirrored mail system, the second mail system is the primary mail system accordingly.
  • the second mail system runs the operation request to implement synchronization with the first mail system.
  • the primary mail system is the first mail system
  • the mirror mail system is the second mail system.
  • the mail is sent through the main mail system.
  • the main mail system obtains the mail in real time.
  • Operation The request is sent to the mirrored mail system, and the mirrored mail system runs the operational request to achieve real-time synchronization with the primary mail system.
  • the mirrored mail system is the first mail system
  • the primary mail system is the second mail system.
  • the mirror mail system obtains the mail sending operation in real time.
  • the request, and the operation request is sent to the primary mail system, and the primary mail system runs the operation request to achieve real-time synchronization with the mirrored mail system. Therefore, the user can choose to access any one of the main mail system and the mirror mail system at any time, and the main mail system and the mirror mail system work at the same time to achieve two-way synchronization and achieve the effect of shunting.
  • the first mail system is different in structure from the second mail system.
  • the structure includes a topology, a site structure, and an enterprise organization.
  • the primary mail system is the first mail system
  • the mirror mail system is the second mail system. Accordingly, the primary mail system and the mirrored mail system do not need to have the same topology, site structure, and enterprise organization.
  • the mirroring system has the flexibility to specify certain enterprise organizations or users that synchronize the primary mail system.
  • the first mail system and the second mail system are respectively deployed in different network lines.
  • the enterprise or user who performs the synchronization can select the appropriate network line to access, and achieve the purpose of speeding up the access.
  • telecommunications subscribers can access mail systems deployed on telecommunications lines.
  • FIG. 2 is a flow chart of a second embodiment of a method for mirror synchronization between multi-point heterogeneous mail systems according to the present invention, including:
  • S200 Set target content to be synchronized in the first mail system and the second mail system, where the target content includes an enterprise organization and a user.
  • the first mail system may be a primary mail system or a mirrored mail system. If the first mail system is a primary mail system, the second mail system is a mirrored mail system. If the first mail system is a mirrored mail system, accordingly, the second mail system is the primary mail system.
  • the first mail system is different from the structure of the second mail system.
  • the structure includes topology, site structure, and enterprise organization.
  • the primary mail system is the first mail system
  • the mirror mail system is the second mail system.
  • the mirroring system has the flexibility to set up certain enterprise organizations or users who need to synchronize the primary mail system.
  • When synchronizing only some enterprise organizations or users that need to be synchronized are not required to synchronize all the primary mail system data to the mirrored mail system.
  • the mail system service provider can add an enterprise organization to the main mail system serving many enterprises, and deploy the mirroring system on the internal network of the enterprise, then the mirroring system only needs to synchronize in the main mail system.
  • the current enterprise organization does not need to synchronize the site structure of the entire primary mail system with all enterprise organizations, and the mirroring system can specify the users that need to be synchronized. Users who need to synchronize can access the mirroring system without accessing the main mail system, achieving accelerated access to the mail system Effect.
  • the first mail system acquires an operation request of the synchronized user to be synchronized in real time.
  • the operation request includes a user attribute change, a mail operation.
  • the first mail system sends the operation request to a second mail system.
  • the second mail system runs the operation request to implement synchronization with the first mail system.
  • the primary mail system is the first mail system
  • the mirror mail system is the second mail system.
  • the primary mail system obtains the deleted mail in real time.
  • the operation request, and the operation request is sent to the mirror mail system, and the mirror mail system runs the operation request to realize real-time synchronization with the main mail system.
  • the mirrored mail system is the first mail system
  • the primary mail system is the second mail system.
  • the mirrored mail system obtains the delete mail in real time.
  • the request, and the operation request is sent to the primary mail system, and the primary mail system runs the operation request to achieve real-time synchronization with the mirrored mail system. Therefore, the user can select any one of the main mail system and the mirror mail system at any time, and the main mail system and the mirror mail system work at the same time to realize two-way synchronization and achieve the effect of shunting.
  • the first mail system and the second mail system are respectively deployed in different network lines.
  • the enterprise or user who performs the synchronization can select the appropriate network line to access, and achieve the purpose of speeding up the access.
  • telecommunications subscribers can access mail systems deployed on telecommunications lines.
  • FIG. 3 is a flow chart of a third embodiment of a method for mirror synchronization between multi-point heterogeneous mail systems according to the present invention, including:
  • S300 Set target content to be synchronized in the first mail system and the second mail system, where the target content includes an enterprise organization and a user.
  • the first mail system may be a main mail system or a mirror mail system. If the first mail system is a main mail system, the second mail system is a mirror mail system. If the first mail system is a mirrored mail system, accordingly, the second mail system is the primary mail system.
  • the first mail system is different from the structure of the second mail system.
  • the structure includes topology, site structure, and enterprise organization.
  • the primary mail system is the first mail system
  • the mirror mail system is the second mail system. Accordingly, the primary mail system and the mirrored mail system do not need to have the same topology, site structure, and enterprise organization.
  • the mirroring system provides the flexibility to set up certain enterprise organizations or users who need to synchronize their primary mail systems. When synchronizing, only certain enterprise organizations or users that need to be synchronized are not required to synchronize all primary mail system data to the mirrored mail system.
  • the first mail system acquires an operation request of the synchronized user to be synchronized in real time.
  • the operation request includes a user attribute change, a mail operation. [0046] S302.
  • the first mail system sends the operation request to the second mail system.
  • S303 The second mail system runs the operation request to implement synchronization with the first mail system.
  • S304 The first mail system determines whether the second mail system successfully runs the operation request.
  • the second mail system runs an operation request to implement synchronization with the first mail system.
  • the operation request cannot be successfully executed, and the synchronization with the first mail system cannot be realized in real time. Therefore, it is necessary to determine whether the second mail successfully runs the operation request, if the second mail system does not run successfully.
  • the operation request the first mail system needs to periodically notify the second mail system to synchronize, until the second mail system returns to normal, and immediately synchronize with the first mail system.
  • the primary mail system is the first mail system
  • the mirror mail system is the second mail system.
  • the primary mail system obtains the deleted mail in real time.
  • the request is manipulated and the operation request is sent to the mirrored mail system.
  • the mirrored mail system is normal, the operation request is run to achieve real-time synchronization with the primary mail system; if the mirrored mail system is abnormal and the operation request cannot be run, the primary mail system periodically notifies the mirrored mail system to synchronize, Synchronization with the primary mail system is only possible when the mirrored mail system is back to normal.
  • the first mail system and the second mail system are respectively deployed in different network lines.
  • the enterprise or user who performs the synchronization can select the appropriate network line to access, and achieve the purpose of speeding up the access.
  • telecommunications subscribers can access mail systems deployed on telecommunications lines.
  • FIG. 4 is a flow chart of a fourth embodiment of a method for mirror synchronization between multi-point heterogeneous mail systems according to the present invention, including:
  • S400 Set target content to be synchronized in the first mail system and the second mail system, where the target content includes an enterprise organization and a user.
  • the first mail system may be a primary mail system or a mirrored mail system. If the first mail system is a primary mail system, the second mail system is a mirrored mail system. If the first mail system is a mirrored mail system, accordingly, the second mail system is the primary mail system.
  • the first mail system is different from the structure of the second mail system.
  • the structure includes a topology, a site structure, and an enterprise organization.
  • the primary mail system is the first mail system
  • the mirror mail system is the second mail system. Accordingly, the primary mail system and the mirrored mail system do not need to have the same topology, site structure, and enterprise organization.
  • the mirroring system has the flexibility to set up certain enterprise organizations or users who need to synchronize the primary mail system. When synchronizing, only some enterprise organizations or users that need to be synchronized are not required to synchronize all the primary mail system data to the mirrored mail system.
  • the first mail system acquires an operation request of the synchronized user to be synchronized in real time.
  • the operation request includes a user attribute change, a mail operation.
  • S402. The first mail system sends the operation request to the second mail system.
  • the second mail system runs the operation request to implement synchronization with the first mail system.
  • S404 The second mail system generates a response result according to the running condition of the operation request.
  • the response result is used to indicate whether the operation request is successfully run.
  • the first mail system determines, according to the response result, whether the second mail system successfully runs the operation request.
  • the second mail system runs an operation request to implement synchronization with the first mail system.
  • the operation request cannot be successfully executed, and the synchronization with the first mail system cannot be realized in real time. Therefore, it is necessary to judge whether the second mail successfully runs the operation request.
  • the first mail system acquires user information corresponding to the operation request according to the operation request.
  • the user information includes a username.
  • the first mail system stores the user information.
  • the first mail system generates synchronization information according to the user information.
  • the user information is recorded in the synchronization information.
  • the first mail system periodically sends the synchronization information to the second mail system to notify the second mail system to perform synchronization.
  • the primary mail system is the first mail system
  • the mirror mail system is the second mail system.
  • the primary mail system obtains the deleted mail in real time.
  • the operation request and send the operation request to the mirrored mail system.
  • the mirrored mail system is normal, the operation request is run to achieve real-time synchronization with the primary mail system; if the mirrored mail system is abnormal and the operation request cannot be normally executed, the mirrored mail system generates and sends a response according to the running condition.
  • the primary mail system determines, by the response result, that the mirrored mail system operation operation request fails, and the primary mail system acquires and stores the operation request.
  • the user information is generated according to the user information and periodically sent synchronization information to the second mail system to notify the second mail system to synchronize.
  • the second mail system acquires data related to the user information in the first mail system according to the synchronization information.
  • the second mail system updates according to the data.
  • the first mail system stops transmitting the synchronization information.
  • the second mail system updates according to the data
  • the data of the first mail system is compared with the data of the second mail system, and the changed data is updated to the second mail system. Achieve synchronization.
  • the first mail system and the second mail system are respectively deployed in different network lines.
  • the enterprise or user who performs the synchronization can select the appropriate network line to access, and achieve the purpose of speeding up the access.
  • telecommunications subscribers can access mail systems deployed on telecommunications lines.
  • one of the system's user attributes or mail data changes it will be synchronized to another system in real time.
  • the affected synchronous user can switch to another system to work normally, reducing the loss caused by the abnormality of the mail system.
  • the system automatically synchronizes another normal system data, adopts an incremental synchronization mechanism, synchronizes only the changed mail system data, reduces the amount of data transmission, and ensures the first mail system and the second mail system. Data consistency. The user switches back to the originally accessed mail system, and without having to repeat the operation, the corresponding changes can be seen, just as the mail system does not fail.
  • first mail system and the second mail system can be separately deployed in different network lines, and the synchronized enterprise organization or user can select an appropriate network line to access and improve the access speed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

公开了一种多点异构邮件系统之间镜像同步的方法,包括:第一邮件系统实时获取已运行的需同步用户的操作请求,所述操作请求包括用户属性更改、邮件操作;所述第一邮件系统将所述操作请求发送至第二邮件系统;所述第二邮件系统运行所述操作请求以实现与所述第一邮件系统的同步。采用本发明,使第一邮件系统及第二邮件系统不需要相同的拓扑结构、站点结构及企业组织,可灵活地指定需同步的企业组织或用户,同时,任一邮件系统的更改可实时同步到另一邮件系统,还可随时切换邮件系统,保证用户正常工作,另外,第一邮件系统及第二邮件系统部署于不同的网络线路,同步用户可以选择合适的网络线路进行访问,提高访问速度,达到分流的效果。

Description

说 明 书 一种多点异构邮件系统之间镜像同步的方法 技术领域
[0001] 本发明涉及一种邮件系统同步方法, 尤其涉及一种多点异构邮件系统之间镜像同步 的方法。
背景技术
[0002] 为了保证邮件服务器的高可用性与稳定性, 减少因为计算机硬件故障或网络等原因 导致不能访问邮件系统带来的损失, 一些邮件系统服务器会采用双机热备方案, 分别部署两 套邮件系统: 主邮件系统与镜像系统。
[0003] 镜像系统会实时或定时同步主邮件系统的站点结构、 用户、 邮件及其他数据, 主邮 件系统与镜像系统保持相同的拓扑结构、 站点结构及企业组织。 监控程序需要监视主邮件系 统的运行状态, 一旦发生故障, 或者出现网络异常, 可以切换到镜像系统, 防止单点崩溃时 不能正常使用邮件系统, 增加了数据的安全性及系统的可用性。
[0004] 但是, 由于两套系统的拓扑结构及站点结构都保持一致, 主邮件系统会把站点的所 有数据及站点结构完全同步到镜像系统, 镜像系统相当于主邮件系统的 "克隆", 而对于只 想同步邮件系统内某些组织或用户的属性及邮件数据的某些客户, 则缺乏灵活性并显得有点 浪费, 邮件服务商只能为每个企业单独部署两套邮件系统, 不能对主邮件系统进行集中式的 托管。
[0005] 另外, 镜像系统一般情况下不会投入使用, 镜像系统在主邮件系统正常工作的时候 并不提供给用户访问, 并且主邮件系统一般只会同步所有邮件系统数据到镜像系统, 镜像系 统相当于对主邮件系统进行定时备份。 只有当主邮件系统出现异常情况时, 管理员才会切换 到镜像系统; 当主邮件系统正常工作后, 管理员除了切换到主邮件系统, 还要把镜像系统变 化的数据同步到主邮件系统, 才可以保持数据的一致性。 即, 一般情况下主邮件系统与镜像 系统只有一个会投入使用, 因此用户只能访问其中一个系统, 并不能充分利用镜像系统。
[0006] 此外, 一般把主邮件系统与镜像系统只部署在同一个网络线路上, 如国内的电信或 网通网络。 由于不同网络线路互访时访问速度缓慢的情况, 如果使用其他网络线路访问部署 在不同线路的邮件系统时, 或使用国外网络访问国内邮件系统时, 会出现访问缓慢的情况。 发明内容
[0007] 本发明实施例所要解决的技术问题在于, 提供一种多点异构邮件系统之间镜像同步 的方法, 可将结构相异的第一邮件系统及第二邮件系统部署于不同的网络线路上, 同时工作, 仅同步需要的企业组织或用户、 灵活性强。
[0008] 为了解决上述技术问题, 本发明实施例提供了一种多点异构邮件系统之间镜像同步 的方法, 包括: 第一邮件系统实时获取已运行的需同步用户的操作请求, 所述操作请求包括 用户属性更改、 邮件操作; 所述第一邮件系统将所述操作请求发送至第二邮件系统; 所述第 二邮件系统运行所述操作请求以实现与所述第一邮件系统的同步。
[0009] 作为上述方案的改进, 所述的多点异构邮件系统之间镜像同步的方法还包括: 所述 第一邮件系统判断所述第二邮件系统是否成功运行所述操作请求; 若所述第二邮件系统没有 成功运行所述操作请求, 所述第一邮件系统定时通知所述第二邮件系统进行同步。
[0010] 作为上述方案的改进, 所述第一邮件系统判断第二邮件系统是否成功运行操作请求 的步骤包括: 所述第二邮件系统根据所述操作请求的运行情况生成响应结果; 所述第二邮件 系统将所述响应结果发送至所述第一邮件系统; 所述第一邮件系统根据所述响应结果判断所 述第二邮件系统是否成功运行所述操作请求。
[0011] 作为上述方案的改进, 所述第一邮件系统定时通知第二邮件系统进行同步的步骤包括: 所述第一邮件系统根据所述操作请求获取所述操作请求所对应的用户信息, 所述用户信息包 括用户名; 所述第一邮件系统存储所述用户信息; 所述第一邮件系统根据所述用户信息生成 同步信息, 所述同步信息中记录有所述用户信息; 所述第一邮件系统定时发送所述同步信息 至所述第二邮件系统以通知所述第二邮件系统进行同步。
[0012] 作为上述方案的改进, 所述的多点异构邮件系统之间镜像同步的方法还包括: 所述 第二邮件系统根据所述同步信息获取所述第一邮件系统中与所述用户信息相关的数据; 所述 第二邮件系统根据所述数据进行更新; 所述第一邮件系统停止发送所述同步信息。
[0013] 作为上述方案的改进, 所述第一邮件系统及第二邮件系统分别部署在不同的网络线 路中。
[0014] 作为上述方案的改进, 所述第一邮件系统与所述第二邮件系统的结构相异, 所述结 构包括拓扑结构、 站点结构、 企业组织。
[0015] 作为上述方案的改进, 所述的多点异构邮件系统之间镜像同步的方法还包括: 设置 所述第一邮件系统及第二邮件系统中需同步的目标内容, 所述目标内容包括企业组织、 用户。
[0016] 实施本发明实施例, 具有如下有益效果:
通过部署第一邮件系统及第二邮件系统, 设定邮件系统中需要同步的企业组织或用户, 使第 一邮件系统及第二邮件系统不需要保持相同的拓扑结构、 站点结构及企业组织。 同步时, 不 需要同步第一邮件系统及第二邮件系统的整个站点结构及所有企业组织, 可以灵活地指定同 步某些企业组织或用户, 也可以指定需要同步的内容, 方便管理。 工作时, 进行同步的用户 可以随时选择访问其中一个系统, 以达到分流的效果, 当其中一个系统的用户属性或邮件数 据更改, 都会实时同步到另一个系统。
[0017] 当第一邮件系统或第二邮件系统其中一个出现系统异常的情况, 受影响的同步用户 可以切换访问另一个系统即可正常工作, 减少因邮件系统出现异常而带来的损失。 当出现异 常的系统正常工作后, 该系统会自动同步另一个正常系统数据, 采用增量同步机制, 只同步 变化的邮件系统数据, 减少数据传输量, 保证第一邮件系统及第二邮件系统的数据一致性。 用户切换回原来访问的邮件系统, 无需作重复进行操作, 即可看到对应的更改, 就像邮件系 统没发生故障一样。 保证了邮件系统的高可用性, 使用户能连续稳定访问邮件系统, 正常工 作, 减少因为计算机硬件故障或网络等原因导致不能访问邮件系统带来的损失。
[0018] 另外, 第一邮件系统及第二邮件系统可以分别部署在不同的网络线路中, 而进行同 步的企业组织或用户可以选择合适的网络线路访问, 提升访问速度。
附图说明
[0019] 图 1是本发明一种多点异构邮件系统之间镜像同步的方法的第一实施例流程图; 图 2是本发明一种多点异构邮件系统之间镜像同步的方法的第二实施例流程图;
图 3是本发明一种多点异构邮件系统之间镜像同步的方法的第三实施例流程图;
图 4是本发明一种多点异构邮件系统之间镜像同步的方法的第四实施例流程图。
具体实施方式
[0020] 为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明作进一步 地详细描述。
[0021] 图 1 是本发明一种多点异构邮件系统之间镜像同步的方法的第一实施例流程图, 包 括:
S100, 第一邮件系统实时获取已运行的需同步用户的操作请求。
[0022] 所述操作请求包括用户属性更改、 邮件操作。
[0023] S101 , 所述第一邮件系统将所述操作请求发送至第二邮件系统;
需要说明的是, 所述第一邮件系统可以为主邮件系统, 也可以为镜像邮件系统, 若第一邮件 系统为主邮件系统时, 相应地, 第二邮件系统为镜像邮件系统; 若第一邮件系统为镜像邮件 系统时, 相应地, 第二邮件系统为主邮件系统。
[0024] S102, 所述第二邮件系统运行所述操作请求以实现与所述第一邮件系统的同步。
[0025] 例如, 以主邮件系统为第一邮件系统, 镜像邮件系统为第二邮件系统, 当需同步用 户登录主邮件系统, 通过主邮件系统发送邮件, 此时, 主邮件系统实时获取发送邮件的操作 请求, 并将所述操作请求发送至镜像邮件系统, 镜像邮件系统运行所述操作请求以实现与主 邮件系统的实时同步。 又如, 以镜像邮件系统为第一邮件系统, 主邮件系统为第二邮件系统, 当需同步用户登录镜像邮件系统, 通过镜像邮件系统发送邮件, 此时, 镜像邮件系统实时获 取发送邮件的操作请求, 并所述操作请求发送至主邮件系统, 主邮件系统运行所述操作请求 以实现与镜像邮件系统的实时同步。 因此, 用户可随时选择访问主邮件系统与镜像邮件系统 中的任意一个, 主邮件系统与镜像邮件系统同时工作, 实现双向同步, 达到分流的效果。
[0026] 更佳地, 所述第一邮件系统与所述第二邮件系统的结构相异。
[0027] 所述结构包括拓扑结构、 站点结构、 企业组织。
[0028] 例如, 以主邮件系统为第一邮件系统, 镜像邮件系统为第二邮件系统, 相应地, 主 邮件系统与镜像邮件系统不需要具有相同的拓扑结构、 站点结构、 企业组织。 镜像系统可以 灵活地指定同步主邮件系统的某些企业组织或用户。
[0029] 更佳地, 所述第一邮件系统及第二邮件系统分别部署在不同的网络线路中。 进行同 步的企业或用户可以选择合适的网络线路进行访问, 达到访问提速的目的。 例如, 电信用户 可以访问部署在电信线路的邮件系统。
[0030] 图 2 是本发明一种多点异构邮件系统之间镜像同步的方法的第二实施例流程图, 包 括:
S200, 设置所述第一邮件系统及第二邮件系统中需同步的目标内容, 所述目标内容包括企业 组织、 用户。
[0031] 需要说明的是, 所述第一邮件系统可以为主邮件系统, 也可以为镜像邮件系统, 若 第一邮件系统为主邮件系统时, 相应地, 第二邮件系统为镜像邮件系统; 若第一邮件系统为 镜像邮件系统时, 相应地, 第二邮件系统为主邮件系统。
[0032] 更佳地, 所述第一邮件系统与所述第二邮件系统的结构相异。 所述结构包括拓扑结 构、 站点结构、 企业组织。
[0033] 例如, 以主邮件系统为第一邮件系统, 镜像邮件系统为第二邮件系统, 相应地, 主 邮件系统与镜像邮件系统不需要具有相同的拓扑结构、 站点结构、 企业组织。 镜像系统可以 灵活地设置需要同步主邮件系统的某些企业组织或用户, 同步时, 仅需要同步设置的某些企 业组织或用户, 不需要同步所有主邮件系统数据到镜像邮件系统。 设置时, 若某个企业需要 使用邮件系统, 邮件系统服务商可以在为众多企业服务的主邮件系统增加一个企业组织, 并 且在企业内部网络部署镜像系统, 则镜像系统只需要同步主邮件系统中当前的企业组织, 而 不需要同步整个主邮件系统的站点结构及所有企业组织, 并且镜像系统可以指定需要同步的 用户。 需要同步的用户可以访问镜像系统而不需要访问主邮件系统, 达到加速访问邮件系统 的效果。
[0034] S201 , 第一邮件系统实时获取已运行的需同步用户的操作请求。
[0035] 所述操作请求包括用户属性更改、 邮件操作。
[0036] S202, 所述第一邮件系统将所述操作请求发送至第二邮件系统。
[0037] S203, 所述第二邮件系统运行所述操作请求以实现与所述第一邮件系统的同步。
[0038] 例如, 以主邮件系统为第一邮件系统, 镜像邮件系统为第二邮件系统, 当需同步用 户登录主邮件系统, 通过主邮件系统删除邮件, 此时, 主邮件系统实时获取删除邮件的操作 请求, 并将所述操作请求发送至镜像邮件系统, 镜像邮件系统运行所述操作请求以实现与主 邮件系统的实时同步。 又如, 以镜像邮件系统为第一邮件系统, 主邮件系统为第二邮件系统, 当需同步用户登录镜像邮件系统, 通过镜像邮件系统删除邮件, 此时, 镜像邮件系统实时获 取删除邮件的操作请求, 并所述操作请求发送至主邮件系统, 主邮件系统运行所述操作请求 以实现与镜像邮件系统的实时同步。 因此, 用户可随时选择访问主邮件系统与镜像邮件系统 中的任意一个, 主邮件系统与镜像邮件系统同时工作, 实现双向同步, 达到分流的效果。
[0039] 更佳地, 所述第一邮件系统及第二邮件系统分别部署在不同的网络线路中。 进行同 步的企业或用户可以选择合适的网络线路进行访问, 达到访问提速的目的。 例如, 电信用户 可以访问部署在电信线路的邮件系统。
[0040] 图 3 是本发明一种多点异构邮件系统之间镜像同步的方法的第三实施例流程图, 包 括:
S300, 设置所述第一邮件系统及第二邮件系统中需同步的目标内容, 所述目标内容包括企业 组织、 用户。
[0041] 需要说明的是, 所述第一邮件系统可以为主邮件系统, 也可以为镜像邮件系统, 若 第一邮件系统为主邮件系统时, 相应地, 第二邮件系统为镜像邮件系统; 若第一邮件系统为 镜像邮件系统时, 相应地, 第二邮件系统为主邮件系统。
[0042] 更佳地, 所述第一邮件系统与所述第二邮件系统的结构相异。 所述结构包括拓扑结 构、 站点结构、 企业组织。
[0043] 例如, 以主邮件系统为第一邮件系统, 镜像邮件系统为第二邮件系统, 相应地, 主 邮件系统与镜像邮件系统不需要具有相同的拓扑结构、 站点结构、 企业组织。 镜像系统可以 灵活地设置需要同步主邮件系统的某些企业组织或用户, 同步时, 仅需要同步设置的某些企 业组织或用户, 不需要同步所有主邮件系统数据到镜像邮件系统。
[0044] S301 , 第一邮件系统实时获取已运行的需同步用户的操作请求。
[0045] 所述操作请求包括用户属性更改、 邮件操作。 [0046] S302, 所述第一邮件系统将所述操作请求发送至第二邮件系统。
[0047] S303, 所述第二邮件系统运行所述操作请求以实现与所述第一邮件系统的同步。
[0048] S304, 所述第一邮件系统判断所述第二邮件系统是否成功运行所述操作请求。
[0049] S305, 若所述第二邮件系统没有成功运行所述操作请求, 所述第一邮件系统定时通知 所述第二邮件系统进行同步。
[0050] 需要说明的是, 第一邮件系统将操作请求发送至第二邮件系统后, 第二邮件系统运 行操作请求以实现与所述第一邮件系统的同步。 但是, 若第二邮件系统出现异常, 则不能成 功地运行操作请求, 导致无法实时实现与第一邮件系统的同步, 因此需要判断第二邮件是否 成功运行操作请求, 若第二邮件系统没有成功运行所述操作请求, 则第一邮件系统需要定时 通知所述第二邮件系统进行同步, 直到第二邮件系统恢复正常, 马上实现与第一邮件系统的 同步。
[0051] 例如, 以主邮件系统为第一邮件系统, 镜像邮件系统为第二邮件系统, 当需同步用 户登录主邮件系统, 并通过主邮件系统删除邮件时, 主邮件系统实时获取删除邮件的操作请 求, 并将所述操作请求发送至镜像邮件系统。 此时, 若镜像邮件系统正常, 则运行所述操作 请求以实现与主邮件系统的实时同步; 若镜像邮件系统异常, 无法运行所述操作请求, 则主 邮件系统定时通知镜像邮件系统进行同步, 只有当镜像邮件系统恢复正常才能实现与主邮件 系统的同步。
[0052] 另外, 当任意一个邮件系统出现异常, 用户可访问另一邮件系统, 保证用户的正常 工作。
[0053] 更佳地, 所述第一邮件系统及第二邮件系统分别部署在不同的网络线路中。 进行同 步的企业或用户可以选择合适的网络线路进行访问, 达到访问提速的目的。 例如, 电信用户 可以访问部署在电信线路的邮件系统。
[0054] 图 4 是本发明一种多点异构邮件系统之间镜像同步的方法的第四实施例流程图, 包 括:
S400, 设置所述第一邮件系统及第二邮件系统中需同步的目标内容, 所述目标内容包括企业 组织、 用户。
[0055] 需要说明的是, 所述第一邮件系统可以为主邮件系统, 也可以为镜像邮件系统, 若 第一邮件系统为主邮件系统时, 相应地, 第二邮件系统为镜像邮件系统; 若第一邮件系统为 镜像邮件系统时, 相应地, 第二邮件系统为主邮件系统。
[0056] 更佳地, 所述第一邮件系统与所述第二邮件系统的结构相异。 所述结构包括拓扑结 构、 站点结构、 企业组织。 [0057] 例如, 以主邮件系统为第一邮件系统, 镜像邮件系统为第二邮件系统, 相应地, 主 邮件系统与镜像邮件系统不需要具有相同的拓扑结构、 站点结构、 企业组织。 镜像系统可以 灵活地设置需要同步主邮件系统的某些企业组织或用户, 同步时, 仅需要同步设置的某些企 业组织或用户, 不需要同步所有主邮件系统数据到镜像邮件系统。
[0058] S401 , 第一邮件系统实时获取已运行的需同步用户的操作请求。
[0059] 所述操作请求包括用户属性更改、 邮件操作。
[0060] S402, 所述第一邮件系统将所述操作请求发送至第二邮件系统。
[0061] S403, 所述第二邮件系统运行所述操作请求以实现与所述第一邮件系统的同步。
[0062] S404, 所述第二邮件系统根据所述操作请求的运行情况生成响应结果。
[0063] 所述响应结果用于表示所述操作请求是否成功运行。
[0064] S405, 所述第二邮件系统将所述响应结果发送至所述第一邮件系统。
[0065] S406, 所述第一邮件系统根据所述响应结果判断所述第二邮件系统是否成功运行所述 操作请求。
[0066] 需要说明的是, 第一邮件系统将操作请求发送至第二邮件系统后, 第二邮件系统运 行操作请求以实现与所述第一邮件系统的同步。 但是, 若第二邮件系统出现异常, 则不能成 功地运行操作请求, 导致无法实时实现与第一邮件系统的同步, 因此需要判断第二邮件是否 成功运行操作请求。
[0067] S407, 若所述第二邮件系统没有成功运行所述操作请求, 所述第一邮件系统根据所述 操作请求获取所述操作请求所对应的用户信息。
[0068] 所述用户信息包括用户名。
[0069] S408, 所述第一邮件系统存储所述用户信息。
[0070] S409, 所述第一邮件系统根据所述用户信息生成同步信息。
[0071] 所述同步信息中记录有所述用户信息。
[0072] S410, 所述第一邮件系统定时发送所述同步信息至所述第二邮件系统以通知所述第二 邮件系统进行同步。
[0073] 例如, 以主邮件系统为第一邮件系统, 镜像邮件系统为第二邮件系统, 当需同步用 户登录主邮件系统, 通过主邮件系统删除邮件, 此时, 主邮件系统实时获取删除邮件的操作 请求, 并将所述操作请求发送至镜像邮件系统。 此时, 若镜像邮件系统正常, 则运行所述操 作请求以实现与主邮件系统的实时同步; 若镜像邮件系统异常, 无法正常运行所述操作请求, 则镜像邮件系统根据运行情况生成并发送响应结果至主邮件系统, 主邮件系统通过响应结果 判断出镜像邮件系统运行操作请求失败, 此时, 主邮件系统获取并存储所述操作请求所对应 的用户信息, 根据所述用户信息生成并定时发送同步信息至所述第二邮件系统以通知所述第 二邮件系统进行同步。
[0074] 更佳地, 当第二邮件系统恢复正常时, 所述第二邮件系统根据所述同步信息获取所 述第一邮件系统中与所述用户信息相关的数据。 所述第二邮件系统根据所述数据进行更新。 相应地, 所述第一邮件系统停止发送所述同步信息。
[0075] 需要说明的是, 第二邮件系统根据所述数据进行更新时, 将第一邮件系统的数据与 第二邮件系统的数据进行比对, 把变化的数据更新至第二邮件系统中, 实现同步。
[0076] 另外, 当任意一个邮件系统出现异常, 用户可访问另一邮件系统, 保证用户的正常 工作。
[0077] 更佳地, 所述第一邮件系统及第二邮件系统分别部署在不同的网络线路中。 进行同 步的企业或用户可以选择合适的网络线路进行访问, 达到访问提速的目的。 例如, 电信用户 可以访问部署在电信线路的邮件系统。
[0078] 由上可知, 通过部署第一邮件系统及第二邮件系统, 设定邮件系统中需要同步的企 业组织或用户, 使第一邮件系统及第二邮件系统不需要保持相同的拓扑结构、 站点结构及企 业组织。 同步时, 不需要同步第一邮件系统及第二邮件系统的整个站点结构及所有企业组织, 可以灵活地指定同步某些企业组织或用户, 也可以指定需要同步的内容, 方便管理。 工作时, 进行同步的用户可以随时选择访问其中一个系统, 以达到分流的效果, 当其中一个系统的用 户属性或邮件数据更改, 都会实时同步到另一个系统。 当第一邮件系统或第二邮件系统其中 一个出现系统异常的情况, 受影响的同步用户可以切换访问另一个系统即可正常工作, 减少 因邮件系统出现异常而带来的损失。 当出现异常的系统正常工作后, 该系统会自动同步另一 个正常系统数据, 采用增量同步机制, 只同步变化的邮件系统数据, 减少数据传输量, 保证 第一邮件系统及第二邮件系统的数据一致性。 用户切换回原来访问的邮件系统, 无需作重复 进行操作, 即可看到对应的更改, 就像邮件系统没发生故障一样。 保证了邮件系统的高可用 性, 使用户能连续稳定访问邮件系统, 正常工作, 减少因为计算机硬件故障或网络等原因导 致不能访问邮件系统带来的损失。 另外, 第一邮件系统及第二邮件系统可以分别部署在不同 的网络线路中, 而进行同步的企业组织或用户可以选择合适的网络线路访问, 提升访问速度。
[0079] 以上所述是本发明的优选实施方式, 应当指出, 对于本技术领域的普通技术人员来 说, 在不脱离本发明原理的前提下, 还可以做出若干改进和润饰, 这些改进和润饰也视为本 发明的保护范围。

Claims

权 利 要 求
1. 一种多点异构邮件系统之间镜像同步的方法, 其特征在于, 包括:
第一邮件系统实时获取已运行的需同步用户的操作请求, 所述操作请求包括用户属性更改、 邮件操作;
所述第一邮件系统将所述操作请求发送至第二邮件系统;
所述第二邮件系统运行所述操作请求以实现与所述第一邮件系统的同步。
2. 如权利要求 1所述的多点异构邮件系统之间镜像同步的方法, 其特征在于, 还包括: 所述第一邮件系统判断所述第二邮件系统是否成功运行所述操作请求;
若所述第二邮件系统没有成功运行所述操作请求, 所述第一邮件系统定时通知所述第二邮件 系统进行同步。
3. 如权利要求 2 所述的多点异构邮件系统之间镜像同步的方法, 其特征在于, 所述第一邮 件系统判断第二邮件系统是否成功运行操作请求的步骤包括:
所述第二邮件系统根据所述操作请求的运行情况生成响应结果;
所述第二邮件系统将所述响应结果发送至所述第一邮件系统;
所述第一邮件系统根据所述响应结果判断所述第二邮件系统是否成功运行所述操作请求。
4. 如权利要求 2 所述的多点异构邮件系统之间镜像同步的方法, 其特征在于, 所述第一邮 件系统定时通知第二邮件系统进行同步的步骤包括:
所述第一邮件系统根据所述操作请求获取所述操作请求所对应的用户信息, 所述用户信息包 括用户名;
所述第一邮件系统存储所述用户信息;
所述第一邮件系统根据所述用户信息生成同步信息, 所述同步信息中记录有所述用户信息; 所述第一邮件系统定时发送所述同步信息至所述第二邮件系统以通知所述第二邮件系统进行 同步。
5. 如权利要求 4所述的多点异构邮件系统之间镜像同步的方法, 其特征在于, 还包括: 所述第二邮件系统根据所述同步信息获取所述第一邮件系统中与所述用户信息相关的数据; 所述第二邮件系统根据所述数据进行更新;
所述第一邮件系统停止发送所述同步信息。
6. 如权利要求 1 所述的多点异构邮件系统之间镜像同步的方法, 其特征在于, 所述第一邮 件系统及第二邮件系统分别部署在不同的网络线路中。
7. 如权利要求 1 所述的多点异构邮件系统之间镜像同步的方法, 其特征在于, 所述第一邮 件系统与所述第二邮件系统的结构相异, 所述结构包括拓扑结构、 站点结构、 企业组织。
8. 如权利要求 1~7 任一项所述的多点异构邮件系统之间镜像同步的方法, 其特征在于, 还 包括:
设置所述第一邮件系统及第二邮件系统中需同步的目标内容, 所述目标内容包括企业组织、 用户。
PCT/CN2012/085140 2012-10-11 2012-11-23 一种多点异构邮件系统之间镜像同步的方法 WO2014056276A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210382380.0A CN102932236B (zh) 2012-10-11 2012-10-11 一种多点异构邮件系统之间镜像同步的方法
CN201210382380.0 2012-10-11

Publications (1)

Publication Number Publication Date
WO2014056276A1 true WO2014056276A1 (zh) 2014-04-17

Family

ID=47646943

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/085140 WO2014056276A1 (zh) 2012-10-11 2012-11-23 一种多点异构邮件系统之间镜像同步的方法

Country Status (2)

Country Link
CN (1) CN102932236B (zh)
WO (1) WO2014056276A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132476B (zh) * 2021-04-16 2022-11-04 中国工商银行股份有限公司 一种邮件同步系统、方法、装置及电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1266319A (zh) * 1998-11-19 2000-09-13 电话通有限公司 远程和本地电子邮件系统的网递同步化
CN1756170A (zh) * 2004-09-29 2006-04-05 英华达(南京)科技有限公司 移动电话和网络数据同步的方法
CN101567861A (zh) * 2009-05-20 2009-10-28 福建星网锐捷网络有限公司 异构应用系统之间的数据同步方法及应用系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1266319A (zh) * 1998-11-19 2000-09-13 电话通有限公司 远程和本地电子邮件系统的网递同步化
CN1756170A (zh) * 2004-09-29 2006-04-05 英华达(南京)科技有限公司 移动电话和网络数据同步的方法
CN101567861A (zh) * 2009-05-20 2009-10-28 福建星网锐捷网络有限公司 异构应用系统之间的数据同步方法及应用系统

Also Published As

Publication number Publication date
CN102932236B (zh) 2015-11-25
CN102932236A (zh) 2013-02-13

Similar Documents

Publication Publication Date Title
US11520808B2 (en) System and method for synchronizing data between communication devices in a networked environment without a central server
CN106331098B (zh) 一种服务器集群系统
US11734138B2 (en) Hot standby method, apparatus, and system
CN103647849A (zh) 一种业务迁移方法、装置和一种容灾系统
CN111130835A (zh) 数据中心双活系统、切换方法、装置、设备及介质
CN105471960A (zh) 一种私有云与公有云的信息交互系统及方法
US10810095B2 (en) Assigning network device subnets to perform network activities using network device information
WO2012145963A1 (zh) 数据管理系统及方法
CN109005045A (zh) 主备服务系统及主节点故障恢复方法
WO2008014639A1 (en) A distributed master and standby managing method and system based on the network element
CN103888277A (zh) 一种网关容灾备份方法、装置和系统
CN103399806A (zh) 网络备份更新管理方法及其系统
CN103036934A (zh) 基于镜像的广域网集群部署系统和方法
CN107302849B (zh) 一种光路径的分配方法及装置
CN111147312A (zh) 资源配置的管理方法及装置、资源配置缓存的管理方法及装置、配置管理系统
CN102185717A (zh) 业务处理设备、方法及系统
WO2014056276A1 (zh) 一种多点异构邮件系统之间镜像同步的方法
KR20120114484A (ko) 클라우드 컴퓨팅의 블럭 스토리지 서비스의 데이터 이중화 방법
CN106412011A (zh) 一种多节点间无共享存储的高可用集群系统和实现
CN111563719A (zh) 一种移动智能云办公平台
CN116346834A (zh) 一种会话同步方法、装置、计算设备及计算机存储介质
CN110399254A (zh) 一种服务器cmc双机热活方法、系统、终端及存储介质
CN107590032A (zh) 存储集群故障转移的方法及存储集群系统
CN108933873B (zh) 一种用户数据的同步方法及装置
CN111722988A (zh) 一种数据空间节点的故障切换方法和装置

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: 12886174

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: 12886174

Country of ref document: EP

Kind code of ref document: A1