[go: up one dir, main page]

CN1250288A - Processing method and device for e-mail data synchronization - Google Patents

Processing method and device for e-mail data synchronization Download PDF

Info

Publication number
CN1250288A
CN1250288A CN 98120918 CN98120918A CN1250288A CN 1250288 A CN1250288 A CN 1250288A CN 98120918 CN98120918 CN 98120918 CN 98120918 A CN98120918 A CN 98120918A CN 1250288 A CN1250288 A CN 1250288A
Authority
CN
China
Prior art keywords
data
mentioned
mail
tag
database
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN 98120918
Other languages
Chinese (zh)
Other versions
CN1103525C (en
Inventor
何代水
陈勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN 98120918 priority Critical patent/CN1103525C/en
Publication of CN1250288A publication Critical patent/CN1250288A/en
Application granted granted Critical
Publication of CN1103525C publication Critical patent/CN1103525C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A processing method and device for email data synchronization. Before proceeding the synchronization process, the related module of event process must be used to establish the tag database or update the tag database. Each tag data is used to record a synchronization message corresponding to the e-mail data. When two user end devices are connected and the user issues synchronous command, the current mark database is read out for comparison to find out all mark data corresponding to different E-mail data. And then, exchanging the e-mail data by using the compared result so as to update the electronic database and the mark database and finish the synchronous processing of the e-mail.

Description

电子邮件数据同步的处理方法和装置Processing method and device for e-mail data synchronization

本发明有关于一种电子邮件数据同步的处理方法和装置,特别是用来同步散落在各个终端设备上的使用者电子邮件的处理方法和装置。The invention relates to a processing method and device for email data synchronization, in particular to a processing method and device for synchronizing user emails scattered on various terminal devices.

目前一般在互联网中所采用的电子邮件操作结构,主要是以用户端/服务端(client/serven)的方式达成。详言之,就是在网络上提供一个邮件服务器(mailserver),并且设置对应于各使用者(用户端)的电子邮件信箱。当电子邮件传来时,即被送到对应的电子信箱内加以保存。当使用者(用户端)连线到邮件服务器并且要求查看电子邮件信箱内容时,邮件服务器便会读出电子信箱的内容并且送到此用户端上。Currently, the e-mail operation structure generally adopted in the Internet is mainly implemented in a client/server manner. Specifically, a mail server (mailserver) is provided on the network, and an email mailbox corresponding to each user (client) is set. When an e-mail arrives, it will be sent to the corresponding e-mail box for storage. When the user (client) connects to the mail server and requests to check the contents of the e-mail box, the mail server will read the content of the e-mail box and send it to the client.

在一般电子邮件的协定中,当电子邮件数据从邮件服务端移转到用户端时,会将邮件服务器中被移转的电子邮件数据加以删除,也就是不再保留此电子邮件数据。不过也有部分的邮件系统会将所有的电子邮件保留在服务器中,例如CC-mail。这种将所有邮件数据保留在服务器的系统具有一个比较严重的问题,就是在长期使用后,服务端中会累积相当数量的电子邮件数据。每当使用者要求下载电子邮件数据时,便会花费大量的时间检查或下载许多重复的电子邮件数据,因此降低网络的效率。In general email protocols, when email data is transferred from the mail server to the client, the transferred email data in the mail server will be deleted, that is, the email data will no longer be retained. However, some mail systems will keep all emails in the server, such as CC-mail. This system that keeps all email data in the server has a serious problem, that is, after long-term use, a considerable amount of email data will accumulate in the server. Whenever a user requests to download email data, it will take a lot of time to check or download many duplicate email data, thus reducing the efficiency of the network.

不过最后电子邮件数据还是会被送到用户端的设备上。然而现代人的工作经常是在不同的终端设备上进行。例如,使用者可能白天在公司内的个人电脑中工作,但是晚上则是在家中的电脑上操作,而在旅行时则是使用便携式的笔记型电脑或是手持式个人电脑。图1即表示此一工作型态的架构示意图。使用者可能通过不同的终端设备,如办公室用电脑1、家中电脑2和便携式电脑3,来存取邮件服务器4上一个或数个电子信箱中的电子邮件。也就是说,各种电子邮件数据可能会散落在不同的终端设备中。再者,即使在同一终端设备上进行工作,也可能因为使用了不同的电子邮件软件,而使得电子邮件数据散落在各电子邮件软件对应的不同数据夹中。因此,由于电子邮件数据的分散,使用者在调阅不同电子邮件数据时,往往必须通过不同的终端设备以及不同的电子邮件软件才能进行,同时也很难将所有收发的电子邮件数据共用。However, in the end, the email data will still be sent to the client's device. However, the work of modern people is often carried out on different terminal devices. For example, a user may work on a PC in the company during the day, but at night on a computer at home, and a portable notebook or handheld PC when traveling. FIG. 1 shows a schematic diagram of the structure of this working mode. Users may access the e-mails in one or several e-mail boxes on the mail server 4 through different terminal devices, such as office computer 1 , home computer 2 and portable computer 3 . That is to say, various email data may be scattered in different terminal devices. Furthermore, even if the work is performed on the same terminal device, email data may be scattered in different folders corresponding to each email software due to the use of different email software. Therefore, due to the dispersion of e-mail data, users often have to use different terminal equipment and different e-mail software to access different e-mail data, and it is also difficult to share all e-mail data sent and received.

简言之,目前的电子邮件系统存在数据同步上的问题。对于将所有电子邮件数据保留在邮件服务器的电子邮件系统(如CC-mail)而言,日积月累的数据非常的庞大,同时在用户端载入电子邮件数据时,也必须浪费相当多的时间来处理,降低了网络的使用效率。对于邮件服务器传送电子邮件后即删除的电子邮件系统(如SMTP)而言,邮件数据可能会散落在不同的终端设备以及不同的数据夹中,增加数据整合上的困难。In short, the current e-mail system has data synchronization problems. For an email system (such as CC-mail) that keeps all email data in the mail server, the accumulated data is very large, and at the same time, a considerable amount of time must be wasted when the user end loads the email data for processing , reducing the efficiency of network usage. For the e-mail system (such as SMTP) where the e-mail server deletes the e-mail after sending it, the e-mail data may be scattered in different terminal devices and different folders, which increases the difficulty of data integration.

有鉴于此,本发明的主要目的在于提供一种电子邮件数据同步的处理方法和装置,能够将散落在不同终端设备和不同数据夹中的电子邮件数据加以同步化,也就是整合所有的电子邮件数据在同一终端设备和档案中,以方便进一步的处理。In view of this, the main purpose of the present invention is to provide a processing method and device for e-mail data synchronization, which can synchronize e-mail data scattered in different terminal devices and different data folders, that is, integrate all e-mail data The data is in the same terminal device and archive for further processing.

本发明的另一目的在于提供一种电子邮件数据同步的处理方法和装置,可以对于将邮件数据全部保留在邮件服务器的系统,减少邮件服务器和用户端之间的数据下载时的处理时间,以便提高网络的使用效率。Another object of the present invention is to provide a processing method and device for e-mail data synchronization, which can reduce the processing time when downloading data between the mail server and the client for the system that retains all mail data in the mail server, so that Improve network efficiency.

根据上述目的,本发明提出一种电子邮件数据同步的处理方法,用以同步第一装置和第二装置中所储存的多个电子邮件数据,其包括下列步骤。首先,在上述第一装置和上述第二装置中分别建立第一标记数据库和第二标记数据库,上述第一标记数据数据库用以记录上述第一装置中储存的电子邮件数据所对应的标记数据,上述第二标记数据库用以记录上第二装置中储存的电子邮件数据所对应的标记数据。接着读取上述第一标记数据库和上述第二标记库数据库。接着根据上述第一标记数据库和上述第二标记数据库,用以搜寻出所有在上述第一标记数据库和上述第二标记数据库中记录的标记数据所对应的电子邮件数据。接着根据上述搜索结果,并且至少设上述第一装置和上述第二装置中之一为一同步结果储存装置,储存所有搜寻出的电子邮件数据。最后,更新上述同步结果储存装置中的标记数据库。According to the above purpose, the present invention proposes a processing method for email data synchronization, which is used to synchronize multiple email data stored in the first device and the second device, which includes the following steps. Firstly, a first mark database and a second mark database are respectively established in the above-mentioned first device and the above-mentioned second device, and the above-mentioned first mark data database is used to record mark data corresponding to the e-mail data stored in the above-mentioned first device, The second tag database is used to record tag data corresponding to the email data stored in the second device. Then read the above-mentioned first tag database and the above-mentioned second tag library database. Next, according to the above-mentioned first tag database and the above-mentioned second tag database, it is used to search for all email data corresponding to the tag data recorded in the above-mentioned first tag database and the above-mentioned second tag database. Then, according to the search results, at least one of the first device and the second device is set as a synchronous result storage device to store all the searched email data. Finally, the tag database in the synchronization result storage device is updated.

另外,标记数据库的建立步骤是在进行电子邮件的传送和接收处理时,将其对应的标记数据储存于标记数据库来完成。另外,上述的标记数据至少由辨识数据、位置数据和时间数据所构成,上述辨识数据用以辨识对应的电子邮件数据,上述位置数据用以定义对应的电子邮件数据的储存位置,上述时间数据用以定义对应的电子邮件数据的最新更新时间。因此,根据上述标记数据中的辨识数据,可以判断储存于上述第一装置和上述第二装置的电子邮件数据中重复的电子邮件数据,藉以搜寻出在上述第一标记数据和上述第二标记数据中记录的标记数据所对应的所有电子邮件数据,并且根据上述标记数据中的时间数据,定用电子邮件数据的最新版本;而根据上述标记数据中的位置数据,可以决定电子邮件数据的读取位置。In addition, the step of establishing the tag database is completed by storing the corresponding tag data in the tag database when sending and receiving emails. In addition, the above-mentioned tag data is at least composed of identification data, location data and time data, the above-mentioned identification data is used to identify the corresponding email data, the above-mentioned location data is used to define the storage location of the corresponding email data, and the above-mentioned time data is used for to define when the corresponding email data was last updated. Therefore, according to the identification data in the above-mentioned mark data, it is possible to judge the repeated email data stored in the above-mentioned first device and the above-mentioned second device, so as to search out the email data in the above-mentioned first mark data and the above-mentioned second mark data. All e-mail data corresponding to the marked data recorded in , and according to the time data in the above marked data, the latest version of the e-mail data is used; and according to the position data in the above marked data, the reading of the e-mail data can be determined Location.

另一方面,本发明亦提供一种电子邮件数据同步处理装置,用以与一外部电子邮件数据同步处理装置进行电子邮件的同步,其包括:一启动模组,用以接收一使用者的同步命令;一电子邮件数据库,具有多个电子邮件数据;一标记数据库,具有多个标记数据,分别对应于上述电子邮件数据;一通讯模组,耦接于上述启动模组,并且接收上述同步命令,用以与外部电子邮件数据同步处理装置连线,一标记次数控制模组,耦接于上述通讯模组和上述标记数据库,其对应于上述同步命令,读出上述标记数据库的上述标记数据以及通过上述通讯模组得到上述外部电子邮件数据同步处理装置的标记数据,进行比较,搜寻出所有对应于不同电子邮件数据的标记数据;以及一邮件数据控制模组,耦接于上述通导讯模组、上述标记数据控制模组、上述标记数据库和上述电子邮件数据库,根据上述标记数据控制模组所得到的搜寻结果,通过上述通讯模组读取上述外部电子邮件数据同步处理装置的电子邮件数据,藉以更新上述电子邮件数据库和上述标记数据库。On the other hand, the present invention also provides an e-mail data synchronization processing device for synchronizing e-mails with an external e-mail data synchronization processing device, which includes: an activation module for receiving a user's synchronization Command; an email database with a plurality of email data; a tag database with a plurality of tag data corresponding to the email data; a communication module coupled to the startup module and receiving the synchronization command , used to connect with the external e-mail data synchronization processing device, a marking times control module, coupled to the above-mentioned communication module and the above-mentioned mark database, which corresponds to the above-mentioned synchronization command, reads the above-mentioned mark data of the above-mentioned mark database and Obtain the tag data of the above-mentioned external e-mail data synchronization processing device through the above-mentioned communication module, compare and search out all the tag data corresponding to different e-mail data; and a mail data control module, coupled to the above-mentioned communication module group, the above-mentioned mark data control module, the above-mentioned mark database and the above-mentioned e-mail database, according to the search result obtained by the above-mentioned mark data control module, read the e-mail data of the above-mentioned external e-mail data synchronization processing device through the above-mentioned communication module , which updates the email database above and the tag database above.

另外,亦包括一事件设备模组,用以在一邮件管理程序中设定至少一特定事件,上述特定事件对应于上述邮件管理程序对于上述电子邮件数据库的处理动作,当上述特定事件出现时,上述邮件管理程序即送出一事件通知;一事件监视模组,用以接收上述事件通知;以及一事件注册模组,根据上述事件监视模组所接收到和上述事件通知,对于上述标记数据库进行对应的修正。藉此,建立及维护标记数据库。In addition, an event device module is also included, which is used to set at least one specific event in a mail management program, and the specific event corresponds to the processing action of the above-mentioned mail management program on the above-mentioned email database. When the above-mentioned specific event occurs, The above-mentioned mail management program sends an event notification; an event monitoring module for receiving the above-mentioned event notification; and an event registration module for corresponding to the above-mentioned tag database according to the above-mentioned event monitoring module received and the above-mentioned event notification correction. Thereby, a tag database is established and maintained.

为使本发明的上述目的、特征和优点能更明显易懂,下文特举一较佳实施例,并配合附图,作详细说明如下:In order to make the above-mentioned purpose, features and advantages of the present invention more obvious and understandable, a preferred embodiment is specially cited below, and in conjunction with the accompanying drawings, the detailed description is as follows:

图1表示一般邮件服务器在使用上的方块示意图。FIG. 1 shows a schematic block diagram of a general mail server in use.

图2表示在本发明实施例中,当用户端设备通过邮件服务器收发电子邮件时的硬件结构方块图。FIG. 2 shows a block diagram of the hardware structure when the client device sends and receives emails through the mail server in the embodiment of the present invention.

图3表示在本发明实施例中,当用户端设备通过邮件服务器收发电子邮件时的数据流向图。FIG. 3 shows a data flow diagram when the client device sends and receives e-mail through the mail server in the embodiment of the present invention.

图4表示在本发明实施例中的标记数据库的结构示意图。Fig. 4 shows a schematic diagram of the structure of the tag database in the embodiment of the present invention.

图5表示在本发明实施例中,当两个用户端设备进行电子邮件数据同步时的硬件结构方块图。FIG. 5 shows a block diagram of a hardware structure when two client devices synchronize email data in an embodiment of the present invention.

图6表示在本发明实施例中,当两个用户端设备进行电子邮件数据同步时的数据流向图。FIG. 6 shows a data flow diagram when two client devices synchronize email data in an embodiment of the present invention.

图7表示本发明实施例在进行电子邮件数据同步处理时的简化流程图。FIG. 7 shows a simplified flow chart of the embodiment of the present invention when synchronizing email data.

本发明的电子邮件数据同步处理方法可以分为两个阶段,第一个阶段是在一般收发电子邮件时处理,其目的在于建立对应电子邮件数据的标记数据库(tagdatabase)。标记数据库是用来储存在进行数据同步时对应于各电子邮件数据的相关讯息。第二个阶段则是根据在各用户端设备上所建立的标记数据库,实际进行电子邮件数据的同步交换。在以下实施例中,主要是针对用户端设备之间的数据同步情况来做说明。但是对于用户端设备和邮件服务器之间的情况,同样适用以下实例。The e-mail data synchronous processing method of the present invention can be divided into two stages, the first stage is processing when sending and receiving e-mails generally, and its purpose is to establish a tag database (tagdatabase) corresponding to e-mail data. The tag database is used to store relevant information corresponding to each email data during data synchronization. The second phase is the actual synchronous exchange of e-mail data based on the tag database established on each client device. In the following embodiments, descriptions are mainly made on data synchronization between user end devices. But for the situation between the client device and the mail server, the following examples also apply.

图2表示在本实施例中,当用户端设备通过邮件服务器收发电子邮件时的硬件结构方块图。如图所示,用户端设备10通过调制解调器9连线到邮件服务器4,藉以进行电子邮件的收发动作。用户端设备10和调制解调器9一般是通过串行、,并行端和PCMCIA接口连接。而调制解调器9和邮件服务器4之间则是通过公众服务电话网(PSTN)进行信息的交换。调制解调器9的作用是将数字数据转换成模拟型式,以便在PSTN上进行传送。但是当用户端设备10是通过广域网或是互联网(Internet)直接连接到邮件服务器4时,则可能不需要调制解调器9,而是使用适当适配器(adaptor)来进行连接。FIG. 2 shows a block diagram of the hardware structure when the client device sends and receives emails through the mail server in this embodiment. As shown in the figure, the client device 10 is connected to the mail server 4 through the modem 9 to send and receive e-mails. The client equipment 10 and the modem 9 are generally connected through serial, parallel and PCMCIA interfaces. The information exchange between the modem 9 and the mail server 4 is carried out through the public service telephone network (PSTN). The role of the modem 9 is to convert the digital data into analog form for transmission over the PSTN. However, when the client device 10 is directly connected to the mail server 4 through a wide area network or the Internet (Internet), the modem 9 may not be needed, but an appropriate adapter (adaptor) is used for connection.

本实施例中的用户端设备10,无论是桌上型电脑、笔记型电脑或是个人数字助理器,都包含图2所示的各组成元件:中央处理单元100、通讯电路101、输入装置102(例如键盘)、输出装置103(例如显示器)、储存装置104(例如硬盘或快擦写存储器)和主存储器105(动态随机存取存储器,DRAM)。在收发电子邮件的过程中,中央处理单元100是负责进行电子邮件收发动机的控制,以及实际负责建立和管理对应的标记数据库。通讯电路101则是负责调制解调器9的通讯控制。输入装置102则是供使用者下达接收或传送电子邮件的指令。输出装置103则是用来显示使用者界面以及电子邮件收发的讯息。储存装置104是用来储存传送和接收的电子邮件数据以及对应各电子邮件的标记数据(标记数据库)。主存储器105则是用来实际在电子邮件传送和接收时的存储器装置。以下分别就传送电子邮件和接收电子邮件的情况,说明图2中的硬件如何建立及维护其对应的标记数据库。The client device 10 in this embodiment, whether it is a desktop computer, a notebook computer or a personal digital assistant, all includes the components shown in Figure 2: a central processing unit 100, a communication circuit 101, an input device 102 (such as a keyboard), an output device 103 (such as a display), a storage device 104 (such as a hard disk or flash memory), and a main memory 105 (Dynamic Random Access Memory, DRAM). In the process of sending and receiving e-mails, the central processing unit 100 is responsible for controlling the e-mail receiving engine, and actually responsible for establishing and managing the corresponding tag database. The communication circuit 101 is in charge of the communication control of the modem 9 . The input device 102 is for the user to give instructions to receive or send emails. The output device 103 is used for displaying user interface and sending and receiving messages of emails. The storage device 104 is used to store transmitted and received email data and tag data (tag database) corresponding to each email. The main memory 105 is a memory device used for actual e-mail transmission and reception. The following describes how the hardware in FIG. 2 establishes and maintains its corresponding tag database for the cases of sending emails and receiving emails respectively.

当使用者通过输入装置102输入传送电子邮件的指令时,中央处理单元100会将储存在储存装置104的电子邮件载入到主存储器105,再将其传送到通讯电子13。调制解调器9则将通讯电路101所提供的电子邮件数据转换成模拟信号,送到邮件服务器4,准备进行传送。当调制解调器9回应正常传送的信息后,中央处理单元100便会将在同步处理时所需要的信息(标记数据),储存到储存装置104上,藉此建立了对刚才传送的电子邮件所记录的同步处理用信息。When the user inputs an instruction to send an email through the input device 102 , the central processing unit 100 will load the email stored in the storage device 104 into the main memory 105 and then send it to the communication electronics 13 . The modem 9 converts the email data provided by the communication circuit 101 into an analog signal, and sends it to the mail server 4 for transmission. After the modem 9 responds to the information sent normally, the central processing unit 100 will store the required information (marker data) in the synchronous processing on the storage device 104, thereby establishing a record of the e-mail just sent Information for synchronous processing.

另一方面,当使用者通过输入装置14输入接收电子邮件的指令时,中央处理单元100便会将接收电子邮件的指令传送到通讯电路101上,通过调制解调器9传送到邮件服务器4。此时系统必须等待邮件服务器4的回应。当邮件服务器4传送回该使用者在其电子信臬中所接到的电子出件时,通过调制解调器9和通讯电路101,中央处理单元100将这些电子邮件数据暂存地储存在主存储器105中。经过检查无误后,中央处理单元100便将这些电子邮件数据储存到储存装置104中。在成功完成所有邮件接收步骤后,中央处理单元100便将各电子邮件数据中,会使用于同步处理时所需要的信息(标记数据),储存到储存装置104上,藉此建立了对刚才接收的电子邮件所记录的同步处理用信息。因此,对应每一个所接收的电子邮件和所传送的电子邮件,系统都会记录下其对应的标记数据,供在不同用户端设备间进行电子邮件同步处理时之用。On the other hand, when the user inputs an instruction to receive emails through the input device 14 , the central processing unit 100 will transmit the instruction to receive emails to the communication circuit 101 , and then to the mail server 4 through the modem 9 . At this moment, the system must wait for the response from the mail server 4 . When the mail server 4 transmits back the electronic documents received by the user in its electronic letter, the central processing unit 100 temporarily stores these electronic mail data in the main memory 105 through the modem 9 and the communication circuit 101 . After checking, the central processing unit 100 stores the email data in the storage device 104 . After successfully completing all mail receiving steps, the central processing unit 100 will store the information (mark data) required for synchronous processing in each e-mail data on the storage device 104, thereby establishing a record of just received Synchronization information recorded by email. Therefore, corresponding to each received email and sent email, the system will record its corresponding tag data for use in email synchronization between different client devices.

以上是以硬件的观点说明本实施例在建立标记数据库时的程序。以下参照图3,详细说明如何实施建立标记数据库的方法。图3表示在本实施例中,当用户端设备通过邮件服务器收发电子邮件时的数据流向图。在图3所示的数据流图中分为两个部分,分别为邮件服务端4和用户端设备10,对应于图2中相同标记的部分。另外在图3中所示的各模组和数据中,邮件服务端4的邮件信箱400、讯息传输代理模组401以及用户端设备10的讯息传输代理模组110、邮件管理模组112和电子邮件数据库120是一般用来进行电子邮件收发操作的必要部分。邮件信箱400是邮件服务器4储存使用者电子邮件的储存区,邮件管理模组112则是在用户端上负责让使用者管理电子邮件的应用程序模组,例如Eudora(tm)、Netscape mailbox等等。使用者可以通过邮件管理模组112下达发送或接收电子邮件的指令,通过讯息传输代理模组110和401的数据传输,便可在电子邮件数据库120和邮件信箱400之间交换讯息。储存在电子邮件数据库120中的数据,可以是加密形式,以增加其保密性。至于事件(event)设定模组113、事件监视模组114、事件注册模组115则是在本实施例中所加入的部分,其目的在于建立和维护标记数据库130。The above is a description of the procedure for creating the tag database in this embodiment from the hardware point of view. Referring to FIG. 3 , how to implement the method for establishing a tag database will be described in detail below. FIG. 3 shows a data flow diagram when the client device sends and receives emails through the mail server in this embodiment. The data flow diagram shown in FIG. 3 is divided into two parts, namely, the mail server 4 and the client device 10 , which correspond to the same marked parts in FIG. 2 . In addition, in each module and data shown in FIG. The mail database 120 is an essential part generally used for e-mail sending and receiving operations. The mailbox 400 is the storage area where the mail server 4 stores the user's email, and the mail management module 112 is an application program module responsible for allowing the user to manage email on the client side, such as Eudora(tm), Netscape mailbox, etc. . The user can issue an instruction to send or receive email through the email management module 112 , and exchange messages between the email database 120 and the mailbox 400 through the data transmission between the message transfer agent modules 110 and 401 . Data stored in the email database 120 may be in encrypted form to increase its confidentiality. As for the event (event) setting module 113, the event monitoring module 114, and the event registration module 115, they are added in this embodiment, and their purpose is to establish and maintain the tag database 130.

事件设定模组113、事件监视模组114和事件注册模组115是本实施例中的电子邮件ADS(动态数据同步)模组群中的一部分,主要是在使用者进行电子邮件收发时动作,藉以对于每一个接收或发出的电子邮件112(电子邮件应用程序)启动时,必须一并启动上述三个模组。The event setting module 113, the event monitoring module 114 and the event registration module 115 are a part of the email ADS (dynamic data synchronization) module group in the present embodiment, and mainly act when the user sends and receives emails , so that when each incoming or outgoing email 112 (email application program) is activated, the above three modules must be activated together.

要使事件设定模组113、事件监视模组114和事件注册模组115在邮件管理模组112启动同时一并启动,可以先在一般系统内的注册数据库中注册(register)一个服务,即至少包括上述三个模组的电子邮件ADS模组群,而其启动的类型则是设为请求其他特定服务程序时启动。再将这些特定服务服序设定成系统中所有的电子邮件应用程度程序,就可以在启动图3中的邮件管理模组112时,同时启动事件设定模组113、事件监视模组114和事件注册模组115。上述做法的另一个优点则是无论是利用何种电子邮件应用程序来收发电子邮件,都可以记录在相同的标记数据库130中。To make the event setting module 113, the event monitoring module 114 and the event registration module 115 start together when the mail management module 112 is started, a service can be registered (register) in the registration database in the general system earlier, namely The e-mail ADS module group including at least the above three modules, and its startup type is set to start when other specific service programs are requested. Then set these specific service orders as all email application programs in the system, when starting the mail management module 112 in Fig. 3, start the event setting module 113, event monitoring module 114 and Event registration module 115 . Another advantage of the above approach is that no matter what email application is used to send and receive emails, they can all be recorded in the same token database 130 .

在启动后,被启动的事件设定模组113会先在邮件管理模组112中注册需要通知(notify)的事件。在本实施例中,被注册的通知事件可以包括:由用户端发出电子邮件、由用户端接收电子邮件,在邮件管理模组112中修改某个电子邮件数据等等的情况。另外,注册通知事件所需要告知的对象则为事件监视模组114。After being activated, the activated event setting module 113 will first register the events to be notified in the mail management module 112 . In this embodiment, the registered notification events may include: sending out emails by the client, receiving emails by the client, modifying certain email data in the mail management module 112, and so on. In addition, the event monitoring module 114 is the object to be notified when registering the notification event.

此时,使用者可通过邮件管理模组112来进行电子邮件的管理和维护工作。一直到邮件管理模组112发现任何需要通知的事件时,便会以事件发生的讯息通知事件监视模组114。事件监视模组114接着让事件注册模组15进行此事件的注册,以便在标记数据库130中建立对应此事件的标记数据。上述的处理会持续到邮件管理模组112结束之前,藉以将所有相关的标记讯息写入标记数据库130中。At this point, the user can manage and maintain emails through the email management module 112 . Until the mail management module 112 finds any event that needs to be notified, it will notify the event monitoring module 114 with an event occurrence message. The event monitoring module 114 then allows the event registration module 15 to register the event so as to create tag data corresponding to the event in the tag database 130 . The above-mentioned processing will continue until the mail management module 112 ends, so as to write all related tagged messages into the tagged database 130 .

图4则是表示在本实施例中的标记数据库130的结构示意图,也就是每笔标记数据所包含的同步处理用相关数据。如图所示,每笔标记数据包含以下的各项数据:电子邮件编码130a、寄件地址130b、收件地址130c、邮件主题名称130d、邮件收发时间130e、邮件存放位置130f、邮件修改时间130g和邮件状态数据130h。其中电子邮件编码130a是用来记录各电子邮件在标记数据库130中的编码。FIG. 4 is a schematic diagram showing the structure of the mark database 130 in this embodiment, that is, the relevant data for synchronization processing contained in each mark data. As shown in the figure, each mark data includes the following items of data: email code 130a, sending address 130b, receiving address 130c, email subject name 130d, email sending and receiving time 130e, email storage location 130f, email modification time 130g and mail status data 130h. Wherein the email code 130a is used to record the code of each email in the tag database 130 .

寄件地址130b、收件地址130c、邮件主题名称130d和邮件收发时间130e是用来做为电子邮件的辨识数据。由于一般电子邮件数据可散布在用户端的不同设备上,因此在记录每个电子邮件数据时必须保证电子邮件的唯一性。在标记数据库130中使用了四个变量来标示电子邮件数据,亦即此电子邮件的寄件电子邮件地址(寄位地址130b)、此电子邮件所要寄送的对象(收件地址130c)、在电子邮件中主题(subject)栏位中的数据(邮件主题名称130d)、以及在用户端处收到或是发出此邮件的日期/时间(邮件收发时间130e),来标示出单一份电子邮件。The sender address 130b, receiver address 130c, mail subject name 130d and mail sending and receiving time 130e are used as identification data of the email. Because general email data can be distributed on different devices of the user end, the uniqueness of email must be guaranteed when recording each email data. Four variables have been used in the tag database 130 to mark the email data, i.e. the sender email address (post address 130b) of this email, the object (receiver address 130c) to be sent by this email, The data (mail subject name 130d) in the subject field of the email, and the date/time (mail sending and receiving time 130e) when the email is received or sent out at the client end are used to identify a single email.

邮件存放位置130f则是用标示此标记数据所对应的电子邮件数据的储存位置,亦即是在那个用户端设备中的那个数据夹中。邮件修改时间130g则是用来记录此电子邮件数据进行最后一次修改的时间,利用此信息可以在不同版本中找出最近的一个。邮件状态数据130h则是用来指示此电子邮件数据的其他讯息,在本实施例中,邮件状态数据130h共定义了四种状态,亦即清除共享(Clean-Shared)表示此份电子邮件数据已经被同步处理过)、沾污共享(Dirty-Shared)(表示此份电子邮件数据需要被同步处理,也就是其为新增或是在同步过后又被修改过)、删除(Deleted)(表示此份电子邮件数据被删除)和Exclusive(表示此份电子邮件数据被加密处理)。The mail storage location 130f is used to indicate the storage location of the email data corresponding to the tag data, that is, in the data folder in the client device. The email modification time 130g is used to record the time when the email data was last modified, and this information can be used to find the latest one among different versions. The mail status data 130h is other information used to indicate the email data. In the present embodiment, the mail status data 130h defines four states altogether, that is, Clear-Shared means that the email data has been Synchronized), Dirty-Shared (indicates that this email data needs to be synchronized, that is, it is new or has been modified after synchronization), Deleted (Deleted) (indicates that this E-mail data is deleted) and Exclusive (indicating that this e-mail data is encrypted).

上述在标记数据中的各项讯息在同步处理时的作用,可以简单描述如下。当系统要进行同步处理时,可以通过寄件地址130b、收件地址130c、邮件主题名称130d和邮件收发时间130e的辨识数据来决定电子邮件的唯一性,以避免重复记录。但是当两个电子邮件数据的辨识数据相同时,就必须根据邮件修改时间130g和邮件状态数据130h来决定出最新的版本。而在进行电子邮件传送时,则是根据邮件存储位置130f来取出对应的电子邮件数据。The functions of the above-mentioned information in the tag data in synchronous processing can be briefly described as follows. When the system is to perform synchronization, the uniqueness of the e-mail can be determined by the identification data of the sender address 130b, receiver address 130c, mail subject name 130d, and mail sending and receiving time 130e, so as to avoid duplicate records. But when the identification data of the two emails are the same, the latest version must be determined according to the email modification time 130g and the email status data 130h. When sending emails, the corresponding email data is retrieved according to the email storage location 130f.

上述说明虽然是以单一用户端设备为例,但是同样的情况是可以适用于不同的用户端设备中。也就是说,使用者在利用不同用户端设备来收发电子邮件时,可以在不同的设备上建立出个别的标记数据库。本实施例以下就说明如何利用这些标记数据库,来达到电子邮件数据同步的目的。Although the above description takes a single client device as an example, the same situation can be applied to different client devices. That is to say, when users use different client devices to send and receive emails, they can create individual tag databases on different devices. In the following, this embodiment will describe how to use these tag databases to achieve the purpose of e-mail data synchronization.

图5表示在本实施例中,当两个用户端设备进行电子邮件数据同步处理时的硬件结构立块图。如图所示,用户端设备10和用户端设备20之间连接进行电子邮件数据的同步处理。如先前所述,用户端设备10中包括中央处理单元100、通讯电路101、输入装置102、输出装置103、存储装置104和主存储器105。另外,用户端设备20中也包括中央处理单元200、通讯电路201、输入装置202、输出装置203、储存装置204和主存储器205。两者间连接的部分为通讯电路101和201,其可以利用并行端、串行端或是红外线通讯来实现,实际连线的网络也可以是广域网或是局域网。在以下说明中,是假设使用者是由用户端设备20下达电子邮件数据同步的指令,并且会一并更新用户端设备10和20中的电子邮件数据,以达到电子邮件数据一致(同步)的目的。例如,用户端设备10可以是辨公室内的电脑或是家中的桌上型电脑,而用户端设备20则可以是容易携带的笔记型电脑或个人数字助理器。然而即使利用桌上型电脑发出同步指令,或是将所有电子邮件数据集中在桌上型电脑或是个人数位助理向上的情况,也同样符合本发明的精神。FIG. 5 shows a block diagram of the hardware structure when two client devices perform email data synchronization processing in this embodiment. As shown in the figure, the client device 10 and the client device 20 are connected to perform email data synchronization. As mentioned above, the client device 10 includes a central processing unit 100 , a communication circuit 101 , an input device 102 , an output device 103 , a storage device 104 and a main memory 105 . In addition, the client device 20 also includes a central processing unit 200 , a communication circuit 201 , an input device 202 , an output device 203 , a storage device 204 and a main memory 205 . The part connected between the two is the communication circuit 101 and 201, which can be realized by parallel port, serial port or infrared communication, and the actual connection network can also be a wide area network or a local area network. In the following description, it is assumed that the user is to issue an instruction for email data synchronization from the client device 20, and the email data in the client devices 10 and 20 will be updated together to achieve consistent (synchronized) email data. Purpose. For example, the client device 10 may be a computer in an office or a desktop computer at home, and the client device 20 may be a portable notebook computer or a personal digital assistant. However, even using a desktop computer to issue a synchronization command, or concentrating all email data on a desktop computer or a personal digital assistant, is also consistent with the spirit of the present invention.

以下说明在进行电子邮件数据同步处理时的硬件操作。此时用户端设备10和20的标记数据库和其对应的电子邮件数据库,是分别储存在储存装置104和204中。当用户端设备20发出电子邮件数据同步指令时,也就是使用者通过输入装置202下达同步指令后,中央处理单元200会通过通讯电路201和101,将此指令传送到用户端设备10。在用户端设备10的中央处理单元100接收到比同步指令后,便会将储存装置104中的标记数据库(对应于用户端设备10)读出,传送到用户端设备20。当中央处理单元200接收到此传送来的标记数据库(对应于用户端设备10)时,会先将其储存到存储器205中,接着再由已方的储存装置204中读出标记数据库(对应于用户端设备20),同样地储存在主存储器205中,最后再进行两个标记数据库的比较。The hardware operation at the time of e-mail data synchronization processing is described below. At this time, the tag databases of the client devices 10 and 20 and their corresponding email databases are stored in the storage devices 104 and 204 respectively. When the client device 20 sends an email data synchronization command, that is, after the user issues a synchronization command through the input device 202 , the central processing unit 200 transmits the command to the client device 10 through the communication circuits 201 and 101 . After the central processing unit 100 of the client device 10 receives the synchronization command, it reads out the tag database (corresponding to the client device 10 ) in the storage device 104 and transmits it to the client device 20 . When the central processing unit 200 receives the transmitted tag database (corresponding to the client device 10), it will first store it in the memory 205, and then read out the tag database (corresponding to the client device 10) from its own storage device 204. The client device 20) is also stored in the main memory 205, and finally compares the two tag databases.

在上述处理过程中,主要是以用户端设备20做为比较标记数据的装置,所以所有标记数据库都是送到用户端设备20中。不过比较标记数据的装置也可以设在用户端设备10上。换言之,当用户端设备20发出同步指令的同时,也将其对应的标记数据库送到用户端设备10;接着用户端设备10就将传送来的标记数据库和本身的标记数据库一并储存到主存储105中,准备进行比较。以下的说明仍以用户端设备20做为比较的装置。In the above processing process, the client device 20 is mainly used as a device for comparing tag data, so all tag databases are sent to the client device 20 . However, the means for comparing the marked data can also be provided on the client device 10 . In other words, when the client device 20 issues a synchronization command, it also sends its corresponding tag database to the client device 10; then the client device 10 stores the transferred tag database and its own tag database in the main storage together. 105, ready for comparison. The following description still takes the UE 20 as a device for comparison.

当用户端设备20的中央处理单元200进行比较后,可以根据其中的相关讯息,决定出所有目前储存的两端的电子邮件数据。接着,先更新储存在主存储器205中的标记数据库,再根据更新后的标记数据库,发出电子邮件的搬移指令,让用户端设备10和用户端设备20之间传送电子邮件数据,以便更新两端内的电子邮件数据库。在此处是以同步更新两端数据的情况来说明,但是实际应用时,也可以指定其中一个用户端设备来集中所有更新后的数据。在完成两端内的电子邮件数据库更新处理后,接着利用暂时储存在主存储器205中的标记数据库,更新两用户端设备的标记数据库,即完成同步的处理。此时,用户端设备10和20中都储存了更新后的电子邮件数据库和标记数据库。After the comparison, the central processing unit 200 of the client device 20 can determine all currently stored email data at both ends according to the relevant information therein. Then, first update the tag database stored in the main memory 205, and then send an email transfer instruction according to the updated tag database, so that the client device 10 and the client device 20 can transmit email data, so as to update both ends Email database within. Here, the case of synchronously updating data at both ends is used for illustration, but in actual application, one of the client devices may also be designated to centralize all updated data. After completing the update processing of the e-mail databases at both ends, the tag databases temporarily stored in the main memory 205 are used to update the tag databases of the two client devices, that is, the synchronization process is completed. At this point, both the client devices 10 and 20 store the updated email database and tag database.

以上是以便件的观点说明本实施例在进行电子邮件同步处理时的程序。以下参考图6,详细说明如何实施电子邮件同步处理的方法。图6表示在本实施例中,当用户端设备10和20进行电子邮件数据同步时的数据流向图。如图所示,当进行电子邮件同步处理时,电子邮件ADS模组群包括了四个部分,分别为ADS启始模组(270,在图6中仅在用户端设备20中标示出)、通讯模组(240、140)、邮件数据控制模组(250、150)和标记数据控制模组(260、160)。换言之,图6中的ADS启始模组、通讯模组、邮件数据控制模组和标记数据控制模组以及图3的事件设定模组、事件监视模组和事件注册模组,构成本实施例中的完整电子邮件ADS模组群。The above is a description of the procedure of the present embodiment when performing e-mail synchronization processing from the point of view of software. Referring to FIG. 6 , how to implement the email synchronization method will be described in detail below. FIG. 6 shows a data flow diagram when the client devices 10 and 20 perform e-mail data synchronization in this embodiment. As shown in the figure, when performing email synchronization processing, the email ADS module group includes four parts, which are respectively the ADS initiation module (270, only marked in the client device 20 in FIG. 6 ), Communication modules (240, 140), mail data control modules (250, 150) and tag data control modules (260, 160). In other words, the ADS start module, communication module, mail data control module and tag data control module in Fig. 6 and the event setting module, event monitoring module and event registration module in Fig. 3 constitute the present implementation The complete email ADS module group in the example.

以下分别叙述上述四个模组的作用。ADS启始模组270是用来启动整个电子邮件同步处理的程序,其根据使用者7的指示,下达同步处理程序的启动指令。通讯模组(240、140)则是在同步处理过程中,负责程序的控制以及在用户端设备10和20间传达同步指令、电子邮件数据和标记数据。邮件数据控制模组(250、150)则是用来负责电子邮件数据库220的读取与更新。标记数据控制模组(260、160)则是用来控制标记数据库230的读取,除此之外,标记数据控制模组260还必须负责进行标记数据库130和230的比较,并且根据比较结果,控制相关的模组进行电子邮件数据同步的动作。以下根据图6,详细说明在本实施例中如何利用标记数据库的数据来达到数据同步的目的。The functions of the above four modules are described below. The ADS starting module 270 is a program used to start the entire email synchronization process, and it issues an instruction to start the synchronization process program according to the instructions of the user 7 . The communication module ( 240 , 140 ) is responsible for program control and communication of synchronization commands, email data and tag data between the client devices 10 and 20 during the synchronization process. The mail data control module (250, 150) is used for reading and updating the email database 220. The tag data control module (260, 160) is then used to control the reading of the tag database 230. In addition, the tag data control module 260 must also be responsible for the comparison of the tag database 130 and 230, and according to the comparison result, Control the actions of related modules to synchronize email data. Hereinafter, according to FIG. 6 , how to use the data of the tag database to achieve the purpose of data synchronization in this embodiment will be described in detail.

当用户端设备10和20经过适当的硬件连线后,使用者7首先是在用户端设备20下达ADS启动指令。ADS启始模组270在接收到此ADS启动指令后,接着便会通知通讯模组240此相关的讯息,例如同步更新后的电子邮件数据库和标记数据库必须存放在那个用户端设备中(本实施例中是将同步更新后数据同时存放在两个用户端设备上)。通讯模组240接着会将此同步指令传送到用户端设备10的通讯模组140,并且要求其送出其内的标记数据库130内数据。After the client devices 10 and 20 are properly connected by hardware, the user 7 first issues an ADS activation command on the client device 20 . The ADS start module 270 will then notify the communication module 240 of this relevant message after receiving the ADS start command, such as the e-mail database and the tag database after the synchronous update must be stored in the client device (this implementation In the example, the synchronously updated data is stored on two client devices at the same time). The communication module 240 then transmits the synchronization command to the communication module 140 of the client device 10 and requires it to send the data in the tag database 130 therein.

用户端设备10中,当通讯模组140接收到此同步指令后,即通过标记数据控制模组160读出标记数据库130。此标记数据库130再通过通讯模组140和240,送到标记数据控制模组260中。另一方面,通讯模组240也会在用户端设备20中要求标记数据控制模组260读出标记数据库230。此时在标记数据控制模组260中便保留了标记数据库130和230,准备进行两者的比较。In the client device 10 , when the communication module 140 receives the synchronization command, it reads out the tag database 130 through the tag data control module 160 . The tag database 130 is sent to the tag data control module 260 through the communication modules 140 and 240 . On the other hand, the communication module 240 also requires the tag data control module 260 to read the tag database 230 in the client device 20 . At this point, the tag databases 130 and 230 are reserved in the tag data control module 260, ready to compare the two.

参考前述标记数据库结构(图4),以下描述标记数据控制模组260中进行比较的动作。参考图4,每一标记数据中都包括了辨识数据(即寄件地址130b、收件地址130c、邮件主题名称130和邮件收发时间130e)、储存数据(即邮件存放位置130f)和时间数据)即邮件修改时间130g)。比较两个标记数据库的目的,是在于找出所有储存在用户端设备10和20中的电子邮件数据。因此,标记数据控制模组260首先根据各标记数据中的辨识数据,决定出所有对应的电子邮件数据。当两份或是两份以下的标记数据指向相同的电子邮件数据,即表示可能是重复或者是接收(或发出)此电子邮件后又进行了修正。此部分可以利用邮件修正时间130g来决定。在本实施例中,无论是重复或修正的情况,都只选择最近修正后的一份电子邮件数据。于是,标记数据控制模组260将标记数据库130和230中重复的标记数据部分去除,而对于指示不同版本的电子邮件数据则取其中对应较新版本的标记数据,建立出一个新的标记数据库(未图示)。Referring to the aforementioned tag database structure ( FIG. 4 ), the following describes the comparison actions in the tag data control module 260 . With reference to Fig. 4, identification data (being sender's address 130b, receiving address 130c, mail subject name 130 and mail sending and receiving time 130e), storage data (being mail storage location 130f) and time data) have been included in each mark data) That is, the mail modification time 130g). The purpose of comparing the two tag databases is to find out all email data stored in the client devices 10 and 20 . Therefore, the tag data control module 260 firstly determines all corresponding email data according to the identification data in each tag data. When two or less marked data points to the same e-mail data, it means that the e-mail may be repeated or that the e-mail has been received (or sent) and then corrected. This part can be determined using the mail correction time 130g. In this embodiment, no matter whether it is repetition or revision, only the most recently corrected piece of email data is selected. Thus, the marked data control module 260 removes the repeated marked data in the marked databases 130 and 230, and for the e-mail data indicating different versions, the marked data corresponding to the newer version is taken, and a new marked database ( not shown).

接着标记数据控制模组260将比较后的结果分别送到用户端设备10的邮件数据控制模组150(通过通讯模组240、140)以及用户端设备20的邮件数据控制模组250。根据新同步更新后的标记数据库,邮件数据控制模组250和150可以利用邮件存放位置130f进行部分的电子邮件数据交换,以便更新电子邮件数据库120和220。完成电子邮件的更新后,接着便同步更新标记数据库130和230。至此,即完成电子邮件的同步处理。Then the marked data control module 260 sends the compared results to the mail data control module 150 of the client device 10 (through the communication modules 240, 140) and the mail data control module 250 of the client device 20 respectively. According to the newly synchronized updated tag database, the mail data control modules 250 and 150 can use the mail storage location 130f to exchange part of the email data so as to update the email databases 120 and 220 . After the updating of the email is completed, then the tag databases 130 and 230 are updated synchronously. At this point, the email synchronization process is completed.

图7表示本发明实施例在进行电子邮件数据同步处理时的简化流程图。在进行同步处理之前,必须利用事件处理的相关模组(即事件设备模组113、事件监视模组114、事件注册模组115),建立标记数据库或是更新标记数据库(S1)。当两台用户端设备连线并且使用者下达同步命令时,先利用通讯模组(140、240)读出目前的标记数据库(130、230)(S2)。接着标记数据控制模组260比较标记数据库,并且找出所有对应于不同电子邮件数据的标记数据(S3)。利用此比较出的结果,邮件数据控制模组(150、250)交换电子邮件数据。以便更新电子邮件数据库(120、220)(S4),最后则是更新标记数据库(130、230)(S5),完成电子邮件同步的处理。FIG. 7 shows a simplified flow chart of the embodiment of the present invention when synchronizing email data. Before synchronous processing, related modules of event processing (ie, event device module 113, event monitoring module 114, event registration module 115) must be used to create or update the tag database (S1). When two client devices are connected and the user issues a synchronization command, the communication module (140, 240) is used to read out the current tag database (130, 230) (S2). Then the tag data control module 260 compares the tag database and finds out all tag data corresponding to different email data (S3). Using the result of this comparison, the mail data control modules (150, 250) exchange email data. In order to update the email database (120, 220) (S4), and finally update the tag database (130, 230) (S5), to complete the processing of email synchronization.

根据以上所述,本发明的电子邮件数据同步处理方法具有下列优点:According to the above, the e-mail data synchronization processing method of the present invention has the following advantages:

1.本发明的处理方法和装置,能够将散落在不同终端设备和不同数据夹中的电子邮件数据加以同步化,也就是整合所有的电子邮件数据在同一终端设备和档案中,以方便进一步的处理。1. The processing method and device of the present invention can synchronize the e-mail data scattered in different terminal devices and different data folders, that is, integrate all e-mail data in the same terminal device and file, to facilitate further deal with.

2.另外,本发明的处理方法和装置也同样可以适用在将邮件数据全部保留在邮件服务器的系统。亦即在用户端要载入邮件服务器中的电子邮件数据时,也可以利用本发明的方法来减少邮件服务器和用户端之间在数据下载时的处理时间,以便提高网络的使用效率。2. In addition, the processing method and device of the present invention can also be applied to a system that keeps all mail data in the mail server. That is to say, when the user end wants to load the email data in the mail server, the method of the present invention can also be used to reduce the processing time between the mail server and the user end when data is downloaded, so as to improve the use efficiency of the network.

本发明虽以一较佳实施例揭示如上,然其并非用以限定本发明,任何熟习此项技艺者,在不脱离本发明精神和范围内,当可做些许的更动与润饰,因此本发明的保护范围当由后附的权利要求来限定。Although the present invention is disclosed as above with a preferred embodiment, it is not intended to limit the present invention. Anyone skilled in this art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, this The scope of protection of the invention should be defined by the appended claims.

Claims (12)

1.一种电子邮件数据同步处理装置,用以与一外部电子邮件数据同步处理装置进行电子邮件的同步,其特征在于包括:1. A kind of electronic mail data synchronous processing device, in order to carry out the synchronous of electronic mail with an external electronic mail data synchronous processing device, it is characterized in that comprising: 一启动模组,用以接收一使用者的同步命令;an activation module for receiving a synchronization command from a user; 一电子邮件数据库,具有多个电子邮件数据;An e-mail database having a plurality of e-mail data; 一标记数据库,具有多个标记数据,分别对应于上述电子邮件数据;A tag database, having a plurality of tag data corresponding to the above-mentioned e-mail data respectively; 一通讯模组,耦接于上述启动模组并且接收上述同步命令,用以与一外部电子邮件数据同步处理装置连线;A communication module, coupled to the above-mentioned start-up module and receiving the above-mentioned synchronization command, is used to connect with an external email data synchronization processing device; 一标记数据控制模组,耦接于上述通讯模组和上述标记数据库,其对应于上述同步命令,读出上述标记数据库的上述标记数据以及通过上通讯模组得到上述外部电子邮件数据同步处理装置的标记数据,进行比较,搜寻出所有对应于不同电子邮件数据的标记数据;以及A tag data control module, coupled to the above-mentioned communication module and the above-mentioned tag database, which corresponds to the above-mentioned synchronization command, reads the above-mentioned tag data of the above-mentioned tag database and obtains the above-mentioned external e-mail data synchronization processing device through the upper communication module , compare and search out all the marked data corresponding to different email data; and 一邮件数据控制模组,耦接于上述通讯模组、上述标记数据控制模组、上述标记数据库和上述电子邮件数据库,根据上述标记数据控制模组所得到的搜寻结果,通过上述通讯模组读取上述外部电子邮件数据同步处理装置的电子邮件数据,藉以更新上述电子邮件数据库和上述标记数据库。A mail data control module, coupled to the communication module, the tag data control module, the tag database and the e-mail database, according to the search results obtained by the tag data control module, read through the communication module The e-mail data of the above-mentioned external e-mail data synchronization processing device is fetched, so as to update the above-mentioned e-mail database and the above-mentioned mark database. 2.如权利要求1所述的装置,其特征在于,还包括:2. The device of claim 1, further comprising: 一事件设定模组,用以在一邮件管理程序中设定至少一特定事件,上述特定事件是对应于上述邮件管理程序对于上述电子邮件数据库的处理动作,当上述特定事件出现时,上述邮件管理程序即送出一事件通知;An event setting module, used to set at least one specific event in a mail management program, the specific event is corresponding to the processing action of the above-mentioned mail management program for the above-mentioned email database, when the above-mentioned specific event occurs, the above-mentioned mail The management program sends an event notification; 一事件监视模组,用以接收上述事件通知;以及An event monitoring module for receiving the above-mentioned event notification; and 一事件注册模组,根据上述事件监视模组所接收到的上述事件通知,对于上述标记数据库进行对应的修正。An event registration module, according to the above-mentioned event notification received by the above-mentioned event monitoring module, performs corresponding modification on the above-mentioned tag database. 3.如权利要求2所述的装置,其特征在于,对应于每一电子邮件数据的标记数据,至少由辨识数据、位置数据和时间数据所构成,上述辨识数据用以辨识对应的电子邮件数据,上述位置数据用以定义对应的电子邮件数据的储存位置,上述时间数据用以定义对应的电子邮件数据的最新更新时间。3. The device according to claim 2, wherein the tag data corresponding to each e-mail data is at least composed of identification data, location data and time data, and the identification data is used to identify the corresponding e-mail data , the location data is used to define the storage location of the corresponding email data, and the time data is used to define the latest update time of the corresponding email data. 4.一种电子邮件数据同步的处理方法,用以同步一第一装置和一第二装置中所存储的多个电子邮件数据,其特征在于,包括下列步骤:4. A processing method for e-mail data synchronization, for synchronizing a plurality of e-mail data stored in a first device and a second device, it is characterized in that, comprising the following steps: 分别在上述第一装置和上述第二装置中建立第一标记数据库和第二标记数据,上述第一标记数据库用以记录上述第一装置中储存的电子邮件数据所对应的标记数据,上述第二标记数据库用以记录上述第二装置中储存的电子邮件数据所对应的标记数据;Establishing a first mark database and a second mark data in the above-mentioned first device and the above-mentioned second device respectively, the above-mentioned first mark database is used to record the mark data corresponding to the e-mail data stored in the above-mentioned first device, and the above-mentioned second The tag database is used to record the tag data corresponding to the email data stored in the second device; 根据一启动模组所接收的同步命令,读取上述第一标记数据库和上述第二标记数据库;reading the first tag database and the second tag database according to a synchronization command received by a startup module; 根据上述第一标记数据库和上述第二标准数据库,用以搜寻出所有在上述第一标记数据库和上述第二标记数据库中记录的标记数据所对应的电子邮件数据;According to the above-mentioned first tag database and the above-mentioned second standard database, it is used to search for all email data corresponding to the tag data recorded in the above-mentioned first tag database and the above-mentioned second tag database; 根据上述搜寻结果,并且至少设上述第一装置和上述第二装置中之一为这同步结果储存装置,储存所有搜寻出的电子邮件数据;以及According to the above-mentioned search results, and at least one of the above-mentioned first device and the above-mentioned second device is set as the synchronization result storage device, all the searched email data are stored; and 更新上述同步结果储存装置中的标记数据库。Updating the tag database in the synchronization result storage device. 5.如权利要求4所述的处理方法,其特征在于,上述第一装置和上述第二装置均为用户端装置。5. The processing method according to claim 4, wherein the first device and the second device are both client devices. 6.如权利要求4所述的处理方法,其特征在于,上述第一装置为电子邮件服务端装置,上述第二装置为用户端装置。6. The processing method according to claim 4, wherein the first device is an email server device, and the second device is a client device. 7.如权利要求4所述的处理方法,其特征在于,上述第一装置为个人电脑,上述第二装置为便携式个人电脑。7. The processing method according to claim 4, wherein the first device is a personal computer, and the second device is a portable personal computer. 8.如权利要求4所述的处理方法,其特征在于,建立上述第一标记数据库的步骤中,在上述第一装置进行电子邮件的传送和接收处理时,将其对应的标记数据储存于上述第一标记数据库而完成;建立上述第二标记数据库的步骤中,在上述第二装置进行电子邮件的传送和接收处理时,将其对应的标记数据储存于上述第二标记数据库而完成。8. The processing method as claimed in claim 4, characterized in that, in the step of establishing the above-mentioned first tag database, when the above-mentioned first device performs email transmission and reception processing, its corresponding tag data is stored in the above-mentioned In the step of establishing the second tag database, the corresponding tag data is stored in the second tag database when the second device transmits and receives emails. 9.如权利要求4所述的处理方法,其特征在于,读取上述第一标记数据库和上述第二标记数据库的步骤中包括:9. The processing method according to claim 4, wherein the step of reading the first tag database and the second tag database includes: 上述第一装置送出一同步指示信号至上述第二装置;The first device sends a synchronization indication signal to the second device; 根据上述同步指示信号,上述第二装置读取上述第二标记数据库并且送至上述第一装置;以及According to the above-mentioned synchronization instruction signal, the above-mentioned second device reads the above-mentioned second tag database and sends it to the above-mentioned first device; and 上述第一装置读取上述第一标记数据库;The above-mentioned first device reads the above-mentioned first tag database; 并且上述搜寻步骤系于上述第一装置中进行。And the above searching step is performed in the above first device. 10.如权利要求4所述的处理方法,其特征在于,对应于每一电子邮件数据的标记数据,至少由辨识数据、位置数据和时间数据所构成,上述辨识数据用以辨识对应的电子邮件数据,上述位置数据用以定义对应之电子邮件数据的储存位置,上述时间数据用以定义对应的电子邮件数据的最新更新时间。10. The processing method according to claim 4, wherein the tag data corresponding to each e-mail data is at least composed of identification data, location data and time data, and the above-mentioned identification data is used to identify the corresponding e-mail data, the location data is used to define the storage location of the corresponding email data, and the time data is used to define the latest update time of the corresponding email data. 11.如权利要求10所述的处理方法,其特征在于,上述搜寻步骤中,是根据上述标记数据中的辨识数据,判断储存于上述第一装置和上述第二装置的电子邮件数据中重复的电子邮件数据,藉以搜寻出在上述第一标准数据和上述第二标记数据中记录的标记数据所对应的所有电子邮件数据,并且根据上述标记数据中的时间数据,决定用电子邮件数据的最新版本;上述储存所有比较搜寻出的电子邮件数据的步骤中,是根据上述标记数据中的位置数据,决定电子邮件数据的读取位置。11. The processing method as claimed in claim 10, wherein in the above-mentioned search step, it is judged that the email data stored in the above-mentioned first device and the above-mentioned second device are duplicated according to the identification data in the above-mentioned tag data. E-mail data, so as to search out all e-mail data corresponding to the mark data recorded in the above-mentioned first standard data and the above-mentioned second mark data, and according to the time data in the above-mentioned mark data, determine the latest version of the e-mail data ; In the above-mentioned step of storing all the e-mail data found by comparison, the reading position of the e-mail data is determined according to the position data in the above-mentioned mark data. 12.如权利要求4所述的处理方法,其特征在于,上述电子邮件数据为通过加密处理的加密形式。12. The processing method according to claim 4, wherein the e-mail data is in an encrypted form through encryption processing.
CN 98120918 1998-10-06 1998-10-06 Processing method and device for e-mail data synchronization Expired - Fee Related CN1103525C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 98120918 CN1103525C (en) 1998-10-06 1998-10-06 Processing method and device for e-mail data synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 98120918 CN1103525C (en) 1998-10-06 1998-10-06 Processing method and device for e-mail data synchronization

Publications (2)

Publication Number Publication Date
CN1250288A true CN1250288A (en) 2000-04-12
CN1103525C CN1103525C (en) 2003-03-19

Family

ID=5226900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 98120918 Expired - Fee Related CN1103525C (en) 1998-10-06 1998-10-06 Processing method and device for e-mail data synchronization

Country Status (1)

Country Link
CN (1) CN1103525C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1302399C (en) * 2003-01-29 2007-02-28 联想(北京)有限公司 Mail transmitting-receiving system and method
CN1316397C (en) * 2001-02-12 2007-05-16 Emc公司 System and method of indexing unique electronic mail messages and uses for same
CN100336351C (en) * 2001-06-15 2007-09-05 诺基亚有限公司 Selecting synchronous data
CN100450108C (en) * 2006-03-23 2009-01-07 华为技术有限公司 A system, device and method for synchronously processing e-mails using data
CN101848432A (en) * 2009-03-26 2010-09-29 株式会社电装 The mail operating device and the method for the transmission of control e-mail messages
CN107276880A (en) * 2017-06-13 2017-10-20 青岛海信移动通信技术股份有限公司 A kind of method and apparatus for obtaining mail

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1316397C (en) * 2001-02-12 2007-05-16 Emc公司 System and method of indexing unique electronic mail messages and uses for same
CN100336351C (en) * 2001-06-15 2007-09-05 诺基亚有限公司 Selecting synchronous data
CN1302399C (en) * 2003-01-29 2007-02-28 联想(北京)有限公司 Mail transmitting-receiving system and method
CN100450108C (en) * 2006-03-23 2009-01-07 华为技术有限公司 A system, device and method for synchronously processing e-mails using data
CN101848432A (en) * 2009-03-26 2010-09-29 株式会社电装 The mail operating device and the method for the transmission of control e-mail messages
US8401524B2 (en) 2009-03-26 2013-03-19 Denso Corporation Mail operating device and method for controlling transmission of mail information
CN101848432B (en) * 2009-03-26 2014-04-09 株式会社电装 Mail operating device and method for controlling transmission of mail information
CN107276880A (en) * 2017-06-13 2017-10-20 青岛海信移动通信技术股份有限公司 A kind of method and apparatus for obtaining mail

Also Published As

Publication number Publication date
CN1103525C (en) 2003-03-19

Similar Documents

Publication Publication Date Title
US6671703B2 (en) System and method for file transmission using file differentiation
US6925476B1 (en) Updating application data including adding first change log to aggreagate change log comprising summary of changes
US7222139B2 (en) Method, system and program for synchronizing data
US9594821B2 (en) Method and apparatus for synchronizing how data is stored in different data stores
EP1825376B1 (en) Content addressed storage device configured to maintain content address mapping
US9612919B2 (en) Methods and apparatus for storing and transmitting historical configuration data associated with information technology assets
CN101416183B (en) Method and system for maintaining current data for wireless devices
US20020133515A1 (en) Method and apparatus for synchronizing multiple versions of digital data
KR101685215B1 (en) Automatic discovery of alternate mailboxes
US20070244920A1 (en) Hash-Based Access To Resources in a Data Processing Network
US9118696B2 (en) Method, data transfer arrangement, server and terminal device for updating information in a terminal device
JP2001511611A (en) System and method for synchronizing email across a network
JP2005521938A (en) Full wireless synchronization system and method for data processing apparatus using data service
CA2537448A1 (en) Mail server based application record synchronization
US20040193659A1 (en) Method, apparatus, and program for archive management based on access log
US20070022166A1 (en) System, computer program product and method of keeping track of a detached e-mail attachment
CN1250288A (en) Processing method and device for e-mail data synchronization
US20090055499A1 (en) Administration Of Time-Sensitive Email
CN1783117A (en) Cooperative system and method
JP3296570B2 (en) File transfer method
US7096236B2 (en) Change sequence number generator
US20020120678A1 (en) Locally distributed databases
JPH11184889A (en) Image data management device
JPH11282818A (en) Client configuration information management system
TW381225B (en) Processing method and apparatus for synchronizing e-mail data

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20030319

Termination date: 20101006