JP2006279501A - Mailbox system and device and journal transfer control method therefor - Google Patents

Mailbox system and device and journal transfer control method therefor Download PDF

Info

Publication number
JP2006279501A
JP2006279501A JP2005095215A JP2005095215A JP2006279501A JP 2006279501 A JP2006279501 A JP 2006279501A JP 2005095215 A JP2005095215 A JP 2005095215A JP 2005095215 A JP2005095215 A JP 2005095215A JP 2006279501 A JP2006279501 A JP 2006279501A
Authority
JP
Japan
Prior art keywords
journal
transfer
mail
file
storage unit
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.)
Pending
Application number
JP2005095215A
Other languages
Japanese (ja)
Inventor
Ryuta Kubota
竜太 窪田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2005095215A priority Critical patent/JP2006279501A/en
Publication of JP2006279501A publication Critical patent/JP2006279501A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a mailbox system that efficiently transfers a journal of a regular mailbox device to a backup mailbox device without deteriorating processing performance. <P>SOLUTION: The mailbox system is equipped with the regular mailbox device 30 which holds mail delivered from a mail server 20 and collects and holds a journal of mail processing results and the backup mailbox device 40 which holds for backup the journal that the regular mailbox device 30 holds. The backup mailbox device 40 connects with the regular mailbox device 30 by using a file transfer protocol and keeps seriality between a name of a untransferred file to be acquired and a transferred journal file name held by the backup mailbox device 40 without any overlap, and controls journal file transfer at a transfer rate at which the operation of the regular mailbox device 30 is not disturbed and so that a journal file is not transferred continuously in the busiest time zone. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、メール処理で採取されるジャーナルのバックアップに関し、特に、ジャーナルを採取保持するメールボックスシステムの常用メールボックス装置からバックアップ用メールボックス装置にジャーナルファイルを転送する際、ジャーナルファイル転送を所定のレートで実行と休止とによる転送速度の制御と、最繁時間帯の連続したジャーナルファイルの転送をしないようにする制御と、をバックアップ用メールボックス装置で制御するメールボックスシステム及びその装置及びそのジャーナル転送制御方法に関する。   The present invention relates to a backup of a journal collected by mail processing, and in particular, when transferring a journal file from a regular mailbox device of a mailbox system that collects and holds a journal to a backup mailbox device, the journal file transfer is performed in a predetermined manner. Mailbox system for controlling transfer speed by execution and suspension at a rate, control for preventing transfer of continuous journal files in the most busy time, and backup mailbox apparatus, apparatus and journal thereof The present invention relates to a transfer control method.

従来のジャーナルバックアップシステムの一例が、特許文献1に記載されている。この従来のジャーナルバックアップシステムは、ジャーナルを採取する転送元計算機システムと、該ジャーナルをバックアップするリモート計算機システムとから構成されている。このような構成を有する従来のジャーナルバックアップシステムは次のように動作する。転送元計算機システムにて、ジャーナル毎に通番を設定する。転送元計算機システムは、トランザクション発生時に、バッファと、外部記憶装置と、にジャーナルを出力する。転送元計算機システムは、転送済カウンタを持ち、未転送番号のジャーナルをバッファあるいは外部記憶装置から読み出して、リモート計算機システムに転送する。   An example of a conventional journal backup system is described in Patent Document 1. This conventional journal backup system includes a transfer source computer system that collects a journal and a remote computer system that backs up the journal. The conventional journal backup system having such a configuration operates as follows. Set the serial number for each journal in the transfer source computer system. The transfer source computer system outputs a journal to the buffer and the external storage device when a transaction occurs. The transfer source computer system has a transferred counter, reads the journal of the untransferred number from the buffer or the external storage device, and transfers it to the remote computer system.

このジャーナルバックアップシステムでは、転送元計算機システムに余分な負荷がかかってしまうことがある。転送元がジャーナルの管理を行っているためである。また、ジャーナル転送の速度が制御されていないためである。   In this journal backup system, an extra load may be applied to the transfer source computer system. This is because the transfer source manages the journal. This is also because the journal transfer speed is not controlled.

更に、転送元計算機システムに余分なジャーナル専用のバッファがメモリに設ける必要があることである。   Furthermore, it is necessary to provide an extra journal-dedicated buffer in the memory in the transfer source computer system.

特開平9−152985号公報(カラム0016ー0022)JP-A-9-152985 (columns 0016-0022)

従来のメールジャーナルのバックアップ手法では、メール処理する際のジャーナルを採取する常用メールボックス装置と、そのジャーナルをバックアップ用に常用メールボックス装置から転送して保持するバックアップ用メールボックス装置と、で未転送ジャーナルと、バックアップ用に保持した転送済みジャーナルとをダブらないように一連性を保つため同期させる同期情報管理を常用メールボックス装置で行っているため、処理負荷が常用メールボックス装置に余分にかかるという問題点があった。また、常用メールボックス装置からバックアップ用メールボックス装置に対して高速でジャーナル転送を行うと、常用メールボックス装置の処理能力が余分に費やされて低下し、稼動に悪影響を与える可能性があった。また、常用メールボックス装置に、ジャーナル専用バッファを用意しているため、大量のメモリが必要となった。また、ディスク用キャッシュを設けて、該キャッシュからからデータを転送する場合も、キャッシュアウトによる処理性能の低下が生じ、最も高負荷となる最繁時間帯にジャーナル転送が行われると、キャッシュアウトが処理性能に深刻な影響を与える。   In the conventional mail journal backup method, the normal mailbox device that collects the journal for mail processing and the backup mailbox device that transfers and holds the journal from the regular mailbox device for backup are not transferred. Since the regular mailbox device performs synchronization information management to synchronize the journal and the transferred journal retained for backup so as not to be duplicated, the processing load is excessive on the regular mailbox device. There was a problem. In addition, if journal transfer is performed at high speed from the regular mailbox device to the backup mailbox device, the processing capability of the regular mailbox device may be excessively consumed, which may adversely affect the operation. . In addition, since a dedicated journal buffer is prepared in the regular mailbox device, a large amount of memory is required. Also, when a disk cache is provided and data is transferred from the cache, the processing performance is reduced due to the cache-out, and if the journal transfer is performed during the most busy time period when the load is highest, the cache-out is not performed. Seriously affects processing performance.

この発明の目的は、メールボックスシステムにおける常用メールボックス装置が採取したジャーナルを処理性能に低下をさせないで効率よくバックアップ用メールボックス装置にファイル転送する制御をバックアップメールボックス装置側で行うメールボックスシステムを提供する。   An object of the present invention is to provide a mailbox system in which control is performed on the backup mailbox device side to efficiently transfer files to the backup mailbox device without degrading the processing performance of journals collected by the regular mailbox device in the mailbox system. provide.

そのため、この発明の、メールサーバがネットワークを介して送受するメールをメール記憶部に保持し、前記メールを処理する際に採取するジャーナルをジャーナル記憶部に保持するメールボックスシステムにおいて、前記ネットワークを介してメールの送受信を所定のプロトコルに基づいて実行するメールサーバと、前記メールサーバから渡されるメールの保持及びその処理に係るジャーナル採取と保持を行う常用メールボックス装置と、前記常用メールボックス部が保持する前記ジャーナルを入手して、バックアップ用に保持するバックアップ用メールボックス装置と、を備え、前記バックアップ用メールボックス装置が、前記常用メールボックス装置にファイル転送プロトコルによって接続し、前記常用メールボックス装置から入手する未転送ジャーナルファイル名と、自装置が保持する転送済みジャーナルファイル名と、を重複しないように整えて転送対象のジャーナルファイルリストを作成し、前記常用メールボックス装置の処理性能に支障を来さないよう転送実行と転送休止とを転送レートで制御し、かつ最繁時間帯の連続したジャーナルファイルの転送を行わないようにして、前記リストのジャーナルファイルを転送制御することを特徴とする。   Therefore, in the mailbox system according to the present invention, in which a mail server holds mail sent and received via a network in the mail storage unit, and a journal collected when processing the mail is held in the journal storage unit, the mailbox system includes A mail server that performs transmission / reception of mail based on a predetermined protocol, a regular mailbox device that retains and collects journals related to the processing of the mail passed from the mail server, and the regular mailbox unit A backup mailbox device that obtains the journal and retains it for backup, and the backup mailbox device is connected to the regular mailbox device by a file transfer protocol, from the regular mailbox device. Obtain Create a journal file list to be transferred by making sure that the untransferred journal file name and the transferred journal file name held by the local device do not overlap, and this will not affect the processing performance of the regular mailbox device. The transfer control of the journal files in the list is performed such that transfer execution and transfer suspension are controlled by the transfer rate, and continuous journal files are not transferred during the most busy time period.

更に、常用メールボックス装置は、メールを保持するメール記憶部と、メールサーバから渡されるメールを前記メール記憶部に格納する処理や前記メール記憶部から読み出し削除する処理を含むメール処理に係るジャーナルを採取するメールサービス部と、時系列に採取されるジャーナルをファイル分割する時間単位を示すジャーナルキャッシュアウト時間を保持するジャーナルキャッシュアウト時間記憶部と、前記メールサービス部が時系列で採取したジャーナルを前記ジャーナルキャッシュアウト時間単位でファイル分割してなるジャーナルファイルを保持するジャーナル記憶部と、を有することを特徴とする。   Further, the regular mailbox device includes a mail storage unit for storing mail, and a journal relating to mail processing including processing for storing mail received from a mail server in the mail storage unit and processing for reading out and deleting from the mail storage unit. A mail service unit to collect, a journal cache out time storage unit to hold a journal cache out time indicating a time unit for dividing a journal collected in time series into a file, and a journal collected in time series by the mail service unit A journal storage unit that holds a journal file obtained by dividing the file in units of journal cache out time.

更に、前記ジャーナル記憶部は、ジャーナルの書き込み、読み出しに対するキャッシュ領域を有し、前記キャッシュ領域が、最繁時の前記ジャーナルキャッシュアウト時間内に採取されるジャーナルファイルを少なくとも一つ以上格納できるサイズを備えることを特徴とする。   Further, the journal storage unit has a cache area for writing and reading journals, and the cache area has a size capable of storing at least one journal file collected within the journal cache out time at the most busy time. It is characterized by providing.

更に、バックアップ用メールボックス装置は、常用メールボックス装置からジャーナルを転送する時間間隔を保持するジャーナルキャッシュアウト時間記憶部と、前記時間間隔毎にジャーナル転送を開始する信号を発生するバッチ起動制御手段と、所定のサイズのジャーナルファイルを転送後、転送を休止する時間を示す転送レートを保持する転送レート記憶部と、前記常用メールボックス装置の稼動における最繁時間帯を保持する最繁時間帯記憶部と、前記常用メールボックス装置から入手した転送済みジャーナルファイル名を保持する同期情報記憶部と、前記常用メールボックス装置のジャーナル記憶部から転送されたジャーナルファイルを保持する転送済みジャーナル記憶部と、前記バッチ起動制御手段から起動され、前記常用メールボックス装置のメールサービス部にファイル転送プロトコルによって接続し、前記常用メールボックス装置から入手する未転送ジャーナルファイル名と、自装置が保持する転送済みジャーナルファイル名と、に基づいて、転送対象のジャーナルファイルリストを作成し、前記リストのジャーナルファイルを前記転送レートによる転送休止と、前記最繁時間帯のファイル転送でジャーナルファイルが複数個以上あるとき、連続したファイル転送を行わないことと、によるジャーナルファイルの転送を制御するジャーナル転送制御手段と、を有することを特徴とする。   Further, the backup mailbox device includes a journal cache-out time storage unit that holds a time interval for transferring journals from the regular mailbox device, and a batch activation control unit that generates a signal for starting journal transfer at each time interval. A transfer rate storage unit for holding a transfer rate indicating a time to stop the transfer after transferring a journal file of a predetermined size, and a most busy time zone storage unit for holding the most busy time zone in operation of the regular mailbox device A synchronization information storage unit that holds a transferred journal file name obtained from the regular mailbox device, a transferred journal storage unit that holds a journal file transferred from the journal storage unit of the regular mailbox device, The regular mail is started from the batch start control means. The journal file to be transferred based on the untransferred journal file name obtained from the regular mailbox device and the transferred journal file name held by the self device A journal file created by creating a list, stopping transfer of journal files of the list at the transfer rate, and not performing continuous file transfer when there are a plurality of journal files in the file transfer in the busy hour Journal transfer control means for controlling the transfer of the data.

更に、メールサーバがネットワークを介して送受するメールをメール記憶部に保持し、前記メールを処理する際に採取するジャーナルをジャーナル記憶部に保持するメールボックスシステムのジャーナル転送制御方法において、バックアップ用メールボックス装置のジャーナル転送制御手段が、現在時刻が最繁時間帯であるか否かを判定するステップと、最繁時間帯である場合、転送対象となるジャーナルファイルが複数個あるか否かを判定するステップと、最繁時間帯で、かつ転送対象となるジャーナルファイルが複数個ある場合、連続したジャーナルファイルの転送を行わないようにするステップと、最繁時間帯でない、あるいは最繁時間帯で、かつ転送対象のジャーナルファイルが複数個ない場合、転送対象で最古のジャーナルファイル名を取得するステップと、ジャーナル転送のためファイル転送プロトコル(FTP)による接続を常用メールボックス装置に行うステップと、前記接続後、バックアップ用メールボックス装置が有する転送対象リストから、転送用一時ファイルを作成するステップと、転送対象ジャーナルファイルが転送し終わったか否かを判定するステップと、前記転送が終わっていないとき、所定のサイズ分のジャーナルファイルを転送するステップと、前記所定のサイズ分のジャーナルファイルの転送後、転送レートで設定された時間の間、転送を休止するステップと、前記休止後、ジャーナルファイルの転送が終わったか否かを確認し、終わっていないとき、転送を続行するステップと、前記ジャーナルファイルの転送が終わっているとき、転送が成功していたか否かを判定するステップと、前記転送が成功している場合、前記転送用一時ファイルを転送対象リストから取得した最古のジャーナルファイル名にリネームするステップと、リネーム後、ジャーナルファイル名を転送済みとして同期情報に記憶するステップと、を実行することを特徴とする。   Furthermore, in the journal transfer control method of the mailbox system in which the mail server holds the mail sent and received via the network in the mail storage unit and the journal collected when processing the mail is stored in the journal storage unit, the backup mail The journal transfer control means of the box device determines whether the current time is in the most busy time zone, and if it is in the most busy time zone, determines whether there are multiple journal files to be transferred. If there are multiple journal files to be transferred in the most busy time zone and the transfer target, a step not to transfer continuous journal files and a non-busy time zone or the most busy time zone If there are no multiple journal files to be transferred, the oldest journal file to be transferred A name acquisition step, a step of connecting to a regular mailbox device for file transfer protocol (FTP) for journal transfer, and a temporary file for transfer from the transfer target list of the backup mailbox device after the connection. A step of creating, a step of determining whether or not the transfer target journal file has been transferred, a step of transferring a journal file of a predetermined size when the transfer is not completed, and a journal of the predetermined size After the file transfer, a step of pausing the transfer for a time set by the transfer rate, a step of checking whether or not the journal file has been transferred after the pause, and a step of continuing the transfer when the transfer is not completed When the journal file has been transferred, A step of determining whether or not the transfer has succeeded; and, if the transfer is successful, a step of renaming the temporary file for transfer to the oldest journal file name obtained from the transfer target list; Storing the name in the synchronization information as having been transferred.

更に、メールサーバがネットワークを介して送受するメールをメール記憶部に保持し、前記メールを処理する際に採取するジャーナルをジャーナル記憶部に保持するメールボックスシステムにおいて、前記ネットワークを通じてメールの送受信を所定のプロトコルに基づいて実行するメールサーバと、前記メールサーバから受け取るメールの保持及びその処理に係るジャーナルの採取し、前記メール対応に区分けして記憶する複数ボリュームでなるメール記憶部に前記ジャーナルを保持する常用メールボックス装置と、前記常用メールボックス部の複数のボリュームそれぞれからジャーナルを読み出して、対応するバックアップ用ボリュームに保持するバックアップ用メールボックス装置と、を備え、前記バックアップ用メールボックス装置が、前記常用メールボックス装置をファイル転送プロトコルによって接続し、前記常用メールボック装置から未転送ファイル名と、自装置が保持する転送済みジャーナルファイル名と、を重複しないように整えて、前記ボリューム対応に転送対象のジャーナルファイルリストを作成し、前記常用メールボックス装置の処理性能に支障を来さないよう転送実行と転送休止とを所定のレートで制御し、かつ最繁時間帯の連続したジャーナルファイルの転送を行わないようにして、前記リストのジャーナルファイルを転送制御することを特徴とする。   Further, in a mailbox system in which a mail server holds mail sent and received via a network in a mail storage unit, and a journal collected when processing the mail is held in a journal storage unit, transmission / reception of mail through the network is predetermined. A mail server that is executed based on the protocol of the above, and retention of the mail received from the mail server and collection of journals related to the processing, and the journal is retained in a mail storage unit composed of a plurality of volumes that are classified and stored in correspondence with the mail The backup mailbox device, and a backup mailbox device that reads journals from each of the plurality of volumes of the regular mailbox unit and holds them in the corresponding backup volume. The regular mailbox device is connected by a file transfer protocol, and an untransferred file name from the regular mailbox device and a transferred journal file name held by the own device are arranged so as not to be duplicated, so as to correspond to the volume. Create a journal file list to be transferred, control transfer execution and transfer suspension at a predetermined rate so as not to hinder the processing performance of the regular mailbox device, The journal files in the list are controlled so as not to be transferred.

更に、常用メールボックス装置は、メール対応にメールを保持する複数ボリュームでなるメール記憶部と、前記メールサーバから渡されるメールを前記メール対応に前記ボリュームに格納する処理や前記メール記憶部からメール読み出し削除する処理を含むメール処理に係るジャーナルを採取するメールサービス部と、時系列で採取されるジャーナルをファイル分割する時間単位を示すジャーナルキャッシュアウト時間を保持するジャーナルキャッシュアウト時間記憶部と、前記メール記憶部のそれぞれに対応し、前記ジャーナルキャッシュアウト時間で時系列のジャーナルをファイル分割してなるジャーナルファイルを保持する複数ボリュームでなるジャーナル記憶部と、複数ボリュームでなるメール記憶部と、複数ボリュームでなるジャーナル記憶部と、を対応付けるボリューム情報を保持するボリューム情報記憶部と、を有することを特徴とする。   Further, the regular mailbox device includes a mail storage unit composed of a plurality of volumes for storing mails corresponding to mail, a process for storing mails passed from the mail server in the volume corresponding to the mails, and reading mails from the mail storage unit A mail service unit that collects journals related to mail processing including processing to be deleted; a journal cache out time storage unit that holds a journal cache out time indicating a time unit for dividing a journal collected in time series into files; and the mail Corresponding to each of the storage units, a journal storage unit composed of a plurality of volumes holding a journal file obtained by dividing a time-series journal into files by the journal cache out time, a mail storage unit composed of a plurality of volumes, and a plurality of volumes Become And having a volume information storage unit for holding a volume information associating null storage unit, and the.

更に、前記ジャーナル記憶部は、ジャーナルの書き込み、読み出しに対するキャッシュ領域を有し、前記キャッシュ領域が最繁時の前記ジャーナルキャッシュアウト時間内に採取されるジャーナルファイルを少なくとも一つ以上格納できるサイズを備えることを特徴とする。   Further, the journal storage unit has a cache area for writing and reading journals, and the cache area has a size capable of storing at least one journal file collected within the journal cache out time at the most busy time. It is characterized by that.

更に、バックアップ用メールボックス装置は、常用メールボックス装置からジャーナルを転送する時間間隔を保持するジャーナルキャッシュアウト時間記憶部と、記時間間隔毎に、前記常用メールボックス装置からジャーナル転送を開始する信号を発生するバッチ起動制御手段と、所定のサイズのジャーナルファイルを転送後、転送を休止する時間を示す転送レートを保持する転送レート記憶部と、前記常用メールボックス装置の最繁時間帯を保持する最繁時間帯記憶部と、前記常用メールボックス装置のボリューム記憶情報に対応する自装置のボリューム情報を保持するボリューム情報記憶部と、前記常用メールボックス装置から入手した転送済みファイルリストをメール対応の複数ボリュームに記憶する同期情報記憶部と、前記常用メールボックス装置の複数ボリュームでなるジャーナル記憶部から転送したジャーナルファイルを対応するボリュームに記憶する転送済みジャーナル記憶部と、前記バッチ起動制御手段から起動され、前記常用メールボックス装置のメールサービス部にファイル転送プロトコルによって接続し、前記常用メールボックス装置から入手する未転送ジャーナルファイル名と、自装置が保持する転送済みジャーナルファイルと、に基づいて、転送対象のジャーナルファイルリストをボリューム対応に作成し、前記リストのジャーナルファイルを前記転送レートによる転送休止と、最繁時間帯のファイル転送で、ジャーナルファイルが複数個以上あるとき、連続したジャーナルファイルの転送を行わないようにして、全てのボリュームに対してジャーナルファイルの転送を制御するジャーナル転送制御手段と、を備えることを特徴とする。   Further, the backup mailbox device has a journal cache-out time storage unit that holds a time interval for transferring journals from the regular mailbox device, and a signal for starting journal transfer from the regular mailbox device at each recording interval. The generated batch activation control means, the transfer rate storage unit for holding the transfer rate indicating the time to stop the transfer after transferring the journal file of a predetermined size, and the most busy time zone for holding the busy time zone of the regular mailbox device. A busy time zone storage unit, a volume information storage unit that holds the volume information of its own device corresponding to the volume storage information of the regular mailbox device, and a plurality of file-ready files that are transferred from the regular mailbox device A synchronization information storage unit stored in the volume; The journal file transferred from the journal storage unit consisting of multiple volumes of the box device, and the transferred journal storage unit that stores the journal file in the corresponding volume and the batch activation control means, and the file transfer to the mail service unit of the regular mailbox device A list of journal files to be transferred is created corresponding to the volume based on the untransferred journal file name obtained from the regular mailbox device and the transferred journal file held by the own device, connected by the protocol, and the list If there are more than one journal file in the transfer suspension at the transfer rate and the file transfer in the busy time period, there are multiple journal files. A journal transfer control means for controlling the transfer of Airu, characterized in that it comprises a.

更に、メールサーバがネットワークを介して送受するメールをメール記憶部に保持し、前記メールを処理する際に採取するジャーナルをジャーナル記憶部に保持するメールボックスシステムのジャーナル転送制御方法において、バックアップ用メールボックス装置のジャーナル転送制御手段が、現在時刻が最繁時間帯であるか否かを判定するステップと、最繁時間帯である場合、転送対象となるジャーナルファイルが複数個あるか否かを判定するステップと、最繁時間帯で、かつ転送対象となるジャーナルファイルが複数個ある場合、連続したジャーナルファイルの転送をしないようにして、ジャーナルファイル転送を終了するステップと、最繁時間帯でない、あるいは最繁時間帯で、かつ転送対象のジャーナルファイルが複数個ない場合、転送対象で最古のジャーナルファイル名を取得するステップと、ジャーナル転送のためファイル転送プロトコル(FTP)による接続を常用メールボックス装置に行うステップと、前記接続後、バックアップ用メールボックス装置が有する転送対象リストから、転送用一時ファイルを作成するステップと、転送対象ジャーナルファイルが転送し終わったか否かを判定するステップと、前記転送が終わっていないとき、所定のサイズ分のジャーナルファイルを転送するステップと、前記所定のサイズ分のジャーナルファイルの転送後、転送レートで設定された時間の間、転送を休止するステップと、前記休止後、ジャーナルファイルの転送が終わったか否かを確認し、終わっていないとき、転送を続行するステップと、前記ジャーナルファイルの転送が終わっているとき、転送が成功していたか否かを判定するステップと、前記転送が成功している場合、前記転送用一時ファイルを転送対象リストから取得した最古のジャーナルファイル名にリネームするステップと、リネーム後、ジャーナルファイル名を転送済みとして同期情報に記憶するステップと、常用メールボックス装置のジャーナル記憶部の全てのボリュームに対して、ジャーナルファイル転送が終了したか否かをチェックし、終了しているとき、ジャーナル転送を停止し、終了していないとき、全ての前記ボリュームに対して、ジャーナルファイル転送を続行するステップとを実行することを特徴とする。   Furthermore, in the journal transfer control method of the mailbox system in which the mail server holds the mail sent and received via the network in the mail storage unit and the journal collected when processing the mail is stored in the journal storage unit, the backup mail The journal transfer control means of the box device determines whether the current time is in the most busy time zone, and if it is in the most busy time zone, determines whether there are multiple journal files to be transferred. If there are multiple journal files to be transferred in the most busy time zone and the transfer target, a step of ending the journal file transfer so as not to transfer continuous journal files, and a non-busy time zone, Or, if there are no journal files to be transferred in the most busy time, A step of obtaining the oldest journal file name to be sent, a step of connecting to a regular mailbox device for file transfer protocol (FTP) for journal transfer, and a transfer target possessed by the backup mailbox device after the connection Creating a temporary transfer file from the list; determining whether or not the transfer target journal file has been transferred; and transferring a journal file of a predetermined size when the transfer is not completed; After the transfer of the journal file of the predetermined size, the step of pausing the transfer for a time set by the transfer rate, and after the pausing, confirming whether the transfer of the journal file is finished or not. When the transfer continues with the journal file A step of determining whether or not the transfer is successful when the transfer is completed; and if the transfer is successful, the temporary file for transfer is renamed to the oldest journal file name acquired from the transfer target list Checking whether journal file transfer has been completed for all volumes in the journal storage unit of the regular mailbox device. The journal transfer is stopped when it is finished, and the journal file transfer is continued for all the volumes when it is not finished.

この発明の第1の効果は、ジャーナルをバックアップ用にファイル転送するために、常用メールボックス装置が処理性能の低下を来さないように負荷を抑えることができることにある。その理由は、常用メールボックス装置からバックアップ用メールボックス装置に転送するジャーナルファイルの管理をバックアップ用メールボックス装置で行い、更に、ジャーナルファイル転送時に、最繁時間帯の連続したジャーナルファイルの転送を行わないようにする制御と、ジャーナルファイル転送の転送と休止とを転送レートで設定する転送速度の制御と、をバックアップ用メールボックス装置が行って、常用メールボックス装置の稼動に悪影響を与えない仕組みを有するためである。   The first effect of the present invention is that a load can be suppressed so that the regular mailbox device does not cause a decrease in processing performance in order to transfer a journal file for backup. The reason is that the backup mailbox device manages the journal files that are transferred from the regular mailbox device to the backup mailbox device, and further, during the journal file transfer, the journal file is transferred continuously in the busy hours. A mechanism that prevents backup mailbox devices from affecting the operation of the regular mailbox device by controlling the transmission rate and setting the transfer rate to set the transfer and pause of journal file transfer at the transfer rate. It is for having.

更に、第2の効果は、ジャーナル転送用に常用メールボックス装置に用意すべきバッファメモリがないことにある。その理由は、ディスク用キャッシュに転送対象となるジャーナルが残っている内に、ジャーナル転送が行われる時間間隔の制御をしているためである。   Furthermore, the second effect is that there is no buffer memory to be prepared in the regular mailbox device for journal transfer. This is because the time interval for journal transfer is controlled while the journal to be transferred remains in the disk cache.

次に、この発明を実施するための最良の形態について図面を参照して説明する。図1を参照すると、第1の実施例のメールボックスシステム10は、メールサーバ20と、常用メールボックス装置30と、バックアップ用メールボックス装置40と、バス50と、を有する。   Next, the best mode for carrying out the present invention will be described with reference to the drawings. Referring to FIG. 1, the mailbox system 10 of the first embodiment includes a mail server 20, a regular mailbox device 30, a backup mailbox device 40, and a bus 50.

メールサーバ20は、SMTPあるいはPOPなどのメール送受信プロトコルを実行して、外部とメールを送受し、常用メールボックス装置30に、メール処理と、メールの保持と、メール処理のジャーナル採取及び保持と、をさせる。   The mail server 20 executes a mail transmission / reception protocol such as SMTP or POP, sends / receives mail to / from the outside, and sends mail processing, mail holding, mail processing journal collection and holding to the regular mailbox device 30; Let

常用メールボックス装置30は、メール処理するメールサービス部31と、ジャーナルキャッシュアウト時間32と、メール記憶部33と、ジャーナル記憶部34と、を含む。   The regular mailbox device 30 includes a mail service unit 31 that performs mail processing, a journal cache out time 32, a mail storage unit 33, and a journal storage unit 34.

バックアップ用メールボックス装置40は、バッチ起動制御手段41と、ジャーナル転送制御手段42と、同期情報記憶部43と、転送済ジャーナル記憶部44と、ジャーナルキャッシュアウト時間45と、転送レート記憶部46と、最繁時間帯記憶部47と、を含む。   The backup mailbox device 40 includes a batch activation control unit 41, a journal transfer control unit 42, a synchronization information storage unit 43, a transferred journal storage unit 44, a journal cache out time 45, a transfer rate storage unit 46, And the most busy time zone storage unit 47.

これらの装置及び手段は、それぞれ概略つぎのように機能する。メールサービス部31は、図示しない、メールボックス作成削除手段と、メール格納手段と、メール読み出し手段と、を備え、メールボックスの作成及び削除、メールの保持、メールの参照及び削除といったメール処理を行うためにメール記憶部33を更新する。また、メール記憶部33に対するメール処理に係わるジャーナルをジャーナル記憶部34に格納する。ジャーナルは、発生の時系列(日時順)でファイルにまとめられ、ジャーナルキャッシュアウト時間32で設定された時間単位でファイル分割される。ファイル名は、日時を表すフォーマットになる。   Each of these devices and means generally functions as follows. The mail service unit 31 includes a mailbox creation / deletion unit, a mail storage unit, and a mail reading unit (not shown), and performs mail processing such as mailbox creation / deletion, mail retention, mail reference / deletion. Therefore, the mail storage unit 33 is updated. Further, a journal related to mail processing for the mail storage unit 33 is stored in the journal storage unit 34. The journals are grouped into files in the time series of occurrence (in order of date and time), and the files are divided in units of time set by the journal cache out time 32. The file name has a format that represents the date and time.

ジャーナル記憶装置34は、ジャーナルの書き込み読み出し用のキャッシュを備える。常用メールボックス装置30が最繁時間帯で稼動しているとき、所定のキャッシュアウト時間内に発生するジャーナルを格納できる容量のサイズをキャッシュに持たせる。   The journal storage device 34 includes a journal write / read cache. When the regular mailbox device 30 is operating in the most busy time zone, the cache has a size of a capacity capable of storing a journal generated within a predetermined cache out time.

バックアップ用メールボックス装置40は、バッチ起動手段41と、ジャーナル転送制御手段42と、同期情報記憶部43と、転送済みジャーナル記憶部44と、ジャーナルキャッシュアウト時間45と、転送レート記憶部46と、最繁時間帯記憶部47と、を含み次のように機能する。バッチ起動制御手段41は、ジャーナルキャッシュアウト時間45に設定された時間を参照し、ジャーナルキャッシュアウト時間の間隔で、ジャーナル転送制御手段42を起動する。ジャーナル転送制御手段42は、未転送ジャーナルファイルと転送済みジャーナルファイルとが重複しないで、一連性を保つための同期情報を有する同期情報記憶部43を参照し、ジャーナル記憶部34に格納された分割済みのジャーナルファイルのうち、バックアップ用メールボックス装置40に未転送のジャーナルファイルを転送し、転送済ジャーナル記憶部44に格納する。転送時、所定のサイズのジャーナルファイルを転送する度に、転送レート記憶部46に設定された時間の間隔だけ、転送を休止を行って、転送速度を調整する。また、転送時、最繁時間帯記憶部47を参照し、現在時刻が最繁時間帯の内であるとき、連続したジャーナルファイルの転送を行わないようにする。ファイル転送後、転送済みジャーナル記憶部44に格納したファイル名を同期情報記憶部43に格納する。   The backup mailbox device 40 includes a batch activation unit 41, a journal transfer control unit 42, a synchronization information storage unit 43, a transferred journal storage unit 44, a journal cache out time 45, a transfer rate storage unit 46, Including the most busy time storage unit 47 and functions as follows. The batch activation control unit 41 refers to the time set as the journal cache out time 45, and activates the journal transfer control unit 42 at intervals of the journal cache out time. The journal transfer control unit 42 refers to the synchronization information storage unit 43 having the synchronization information for maintaining the series without overlapping the untransferred journal file and the transferred journal file, and the division stored in the journal storage unit 34 Among the already-registered journal files, the untransferred journal file is transferred to the backup mailbox device 40 and stored in the transferred journal storage unit 44. During transfer, every time a journal file of a predetermined size is transferred, the transfer is paused for the time interval set in the transfer rate storage unit 46 to adjust the transfer speed. Further, during transfer, the most busy time zone storage unit 47 is referred to, and when the current time is within the most busy time zone, continuous journal file transfer is not performed. After the file transfer, the file name stored in the transferred journal storage unit 44 is stored in the synchronization information storage unit 43.

バックアップ用メールボックス装置40の機能を説明すると、バックアップ用メールボックス装置40側で、保持するジャーナルファイルが重複しないように一連性を保つ同期情報管理を行っているため、同期情報管理の処理負荷が常用メールボックス装置30にかからない。また、ジャーナル転送制御手段42は、ジャーナル転送を行う際に、一定のサイズを読み込む度に、転送レート記憶部46に設定された転送レートだけ転送休止する。転送休止間隔を調節することにより、バックアップ用のジャーナル転送を行いつつ、常用メールボックス装置30にかかる負荷を抑えることができる。   The function of the backup mailbox device 40 will be described. Since the backup mailbox device 40 performs synchronization information management that maintains a series so that the journal files to be held do not overlap, the processing load of synchronization information management is reduced. The regular mailbox device 30 is not applied. Further, the journal transfer control means 42 pauses the transfer for the transfer rate set in the transfer rate storage unit 46 every time a certain size is read when performing journal transfer. By adjusting the transfer pause interval, it is possible to reduce the load on the regular mailbox device 30 while performing backup journal transfer.

バッチ起動制御手段41は、ジャーナルキャッシュアウト時間45に設定された時間間隔で、ジャーナル転送制御手段42を起動する。また、メールサービス部31は、ジャーナル記憶部34に出力している時系列順のジャーナルファイルをジャーナルキャッシュアウト時間32に設定された間隔で、ファイル分割する。これにより、バッチ起動制御手段41による1回の起動で、ジャーナル転送制御手段42の転送対象となるジャーナルファイルは、常用メールボックス装置30のジャーナル記憶部34のキャッシュがジャーナルキャッシュアウトする前にジャーナル転送を行えるので、ジャーナル記憶部34に対する入出力負荷を軽減する。   The batch activation control unit 41 activates the journal transfer control unit 42 at a time interval set as the journal cache out time 45. Further, the mail service unit 31 divides the time-sequential journal file output to the journal storage unit 34 at intervals set in the journal cache out time 32. As a result, the journal file to be transferred by the journal transfer control unit 42 in one activation by the batch activation control unit 41 is transferred before the cache of the journal storage unit 34 of the regular mailbox device 30 is journaled out. Thus, the input / output load on the journal storage unit 34 is reduced.

ジャーナル転送制御手段42は、最繁時間帯記憶部47に設定された時間中に起動を受けると、ジャーナルファイルの連続した転送を行わないようにする。この間もメールサービス部31はジャーナル記憶部34にジャーナルを出力し続け、ジャーナル転送制御手段42は、ジャーナルファイルの転送を最繁時間帯が終了してから行うことになる。   When the journal transfer control means 42 is activated during the time set in the most busy time zone storage unit 47, the journal transfer control means 42 does not perform continuous transfer of journal files. During this time, the mail service unit 31 continues to output the journal to the journal storage unit 34, and the journal transfer control means 42 performs the transfer of the journal file after the most busy time period ends.

次に、第1の実施の形態におけるジャーナル転送方法を実行する動作について、図面を参照して説明する。図1を援用し、図2及び図3のフローチャートを参照して動作を説明する。まず、ジャーナル転送制御手段42は、前回実行されたジャーナル転送で、ジャーナル転送制御手段42が、常用メールボックス装置のジャーナルファイルをどこまで転送したか調べるため、同期情報記憶部43を参照し、最新の転送済ジャーナルファイル名を取得する(図2のステップ71)。ジャーナル転送手段42は、常用メールボックス装置30に、ファイル転送プロトコル(FTP)によって接続し、リスト(LIST)コマンドにて、ジャーナルファイル名の一覧を取得する(ステップ72)。次に、ステップ71で取得した最新の転送済ジャーナルファイル名と、ステップ72で取得した常用メールボックス装置30のジャーナルファイル名の一覧を比較し、最新の転送済ジャーナルファイルよりも新しいジャーナルの一覧(転送対象リスト)を作成し、ファイル名順(つまり日時順)にソートして、ジャーナルファイル転送するジャーナルファイルを未転送分と、転送済み分との重複しないように整える(ステップ73)。   Next, an operation for executing the journal transfer method according to the first embodiment will be described with reference to the drawings. The operation will be described with reference to the flowcharts of FIGS. 2 and 3 with reference to FIG. First, the journal transfer control unit 42 refers to the synchronization information storage unit 43 in order to check how far the journal transfer control unit 42 has transferred the journal file of the regular mailbox device in the previous journal transfer. The transferred journal file name is acquired (step 71 in FIG. 2). The journal transfer means 42 is connected to the regular mailbox device 30 by the file transfer protocol (FTP), and acquires a list of journal file names by using a list (LIST) command (step 72). Next, the latest transferred journal file name acquired in step 71 is compared with the list of journal file names of the regular mailbox device 30 acquired in step 72, and a list of journals newer than the latest transferred journal file ( A transfer target list) is created and sorted in the order of file names (that is, in order of date and time), and the journal files to be transferred are arranged so that the untransferred portion and the transferred portion do not overlap (step 73).

このステップ73で、ファイル転送するジャーナルファイルを整える処理を説明する図4を参照すると、ジャーナル記憶部34のYYYYMMDDディレクトリ一覧7301,7302を取得し、同期情報記憶部43の転送済みの最終エントリ7304より新しいディレクトリ一覧7303を時間順にソートした転送対象リスト7305を転送用一時ファイルとしてメモリに作成保持する。   Referring to FIG. 4 for explaining the processing for preparing the journal file to be transferred in this step 73, YYYYMMDD directory lists 7301 and 7302 in the journal storage unit 34 are acquired and from the transferred final entry 7304 in the synchronization information storage unit 43. A transfer target list 7305 obtained by sorting the new directory list 7303 in time order is created and held in a memory as a temporary file for transfer.

次に、ステップ73で作成した転送対象が空であるか判定を行い、空であった場合は、処理を完了する(ステップ74のY)。転送対象が空でなかった場合(ステップ74のN)、転送対象リストの中で最古のファイルのファイル名を取得し、常用メールボックス装置30にバックアップ用メールボックス装置40から、ファイル転送プロトコル(FTP)における受け取り(RCPT)コマンドを発行して、ジャーナル記憶部34のジャーナルファイルの転送を受け取る(ステップ75)。次に、転送が成功したかどうか否かを判定し、成功の場合(ステップ76のY)、転送が完了したジャーナルを転送対象リストから削除する(ステップ77)。ステップ77が完了した後、再度ステップ76を判定し、転送に失敗したとき(ステップ76のN)、ジャーナル転送順序の整合性を保つため、処理を終了し、次回起動時に再試行する。   Next, it is determined whether the transfer target created in step 73 is empty. If it is empty, the process is completed (Y in step 74). When the transfer target is not empty (N in Step 74), the file name of the oldest file in the transfer target list is acquired, and the file transfer protocol (from the backup mailbox device 40 to the regular mailbox device 30 is acquired. An FTP (Receive) (RCPT) command is issued to receive a journal file transfer in the journal storage unit 34 (Step 75). Next, it is determined whether or not the transfer is successful. If the transfer is successful (Y in Step 76), the journal whose transfer has been completed is deleted from the transfer target list (Step 77). After step 77 is completed, step 76 is determined again. When the transfer fails (N in step 76), the processing is terminated and retried at the next startup in order to maintain the consistency of the journal transfer order.

更に、未転送のジャーナルファイルを古い順に転送するステップ75について、図3のフローチャートを参照して細部を説明する。まず、バックアップ用メールボックス装置40のジャーナル転送制御手段42は、最繁時間帯記憶部47を参照し、現在時刻が最繁時間帯であるか否かを判定する(ステップ7501)。最繁時間帯である場合(ステップ7501のY)、転送対象リストに転送対象となるジャーナルファイルが複数個あるか否かを判定する(ステップ7502)。最繁時間帯で、かつ転送対象となるジャーナルファイルが複数個ある場合(ステップ7502のY)、連続するジャーナルファイルの転送を行わないようにして(ステップ7512)、ジャーナルファイル転送を終了する。   Further, details of the step 75 of transferring the untransferred journal file in the oldest order will be described with reference to the flowchart of FIG. First, the journal transfer control means 42 of the backup mailbox device 40 refers to the most busy time zone storage unit 47 and determines whether or not the current time is in the most busy time zone (step 7501). If it is the most busy time zone (Y in Step 7501), it is determined whether there are a plurality of journal files to be transferred in the transfer target list (Step 7502). When there are a plurality of journal files to be transferred in the most busy time zone (Y in Step 7502), the transfer of the continuous journal files is not performed (Step 7512), and the journal file transfer is terminated.

前記の条件に当てはまらない場合(ステップ7501のN、ステップ7502のN)、転送対象リスト中で最古のジャーナルファイル名を取得する(ステップ7503)。バックアップ用メールボックス装置40のジャーナル転送手段42から、常用メールボックス装置30のメールサービス部31にファイル転送プロトコル(FTP)による接続を行う(ステップ7504)。FTP接続後、転送対象リスト7305から、転送用の一時ファイルを作成する(ステップ7505)。転送用一時ファイルは、転送失敗時に、転送途中のジャーナルファイルが、本来のジャーナルファイル名でバックアップ用メールボックス装置40に残らないようにするためのものである。   If the above condition is not satisfied (N in Step 7501, N in Step 7502), the oldest journal file name in the transfer target list is acquired (Step 7503). The journal transfer means 42 of the backup mailbox device 40 connects to the mail service unit 31 of the regular mailbox device 30 using the file transfer protocol (FTP) (step 7504). After the FTP connection, a temporary file for transfer is created from the transfer target list 7305 (step 7505). The temporary transfer file is used to prevent the journal file being transferred from remaining in the backup mailbox device 40 with the original journal file name when the transfer fails.

次に、対象のジャーナルファイルが転送し終わったか否かを判定する(ステップ7506)。まだ転送が完了していないとき(ステップ7506のN)、所定のサイズ分だけジャーナルファイルを転送し(ステップ7507)、転送レート記憶部46に設定された時間の間、転送を休止(スリープ)を行う(ステップ7508)。休止後、受信したデータの転送が完了したか、ステップ7506に戻り確認する。転送が完了した後(ステップ7506のY)、転送が成功していたか否かを判定する(ステップ7509)。成功している場合(ステップ7509のY)、転送用一時ファイルを転送対象リストから取得した最古のジャーナルファイル名をリネームする(ステップ7510)。リネームまで成功したら、そのジャーナルについては転送が完了したとみなし、ジャーナルファイル名を同期情報記憶部43に出力する(ステップ7511)。失敗していた場合は、処理を終了する。   Next, it is determined whether or not the target journal file has been transferred (step 7506). When the transfer is not yet completed (N in Step 7506), the journal file is transferred by a predetermined size (Step 7507), and the transfer is suspended (sleep) for the time set in the transfer rate storage unit 46. Perform (step 7508). After the suspension, the process returns to step 7506 to check whether the transfer of the received data is completed. After the transfer is completed (Y in Step 7506), it is determined whether or not the transfer is successful (Step 7509). If it is successful (Y in step 7509), the oldest journal file name obtained from the transfer target list is renamed (step 7510). If the rename is successful, it is considered that the transfer has been completed for the journal, and the journal file name is output to the synchronization information storage unit 43 (step 7511). If it has failed, the process is terminated.

以上説明したように、この第1の実施例では、バックアップ用メールボックス装置40にジャーナルファイルが重複しないように一連性を保つための同期情報を持ち、バックアップ用メールボックス装置40からFTP接続を行って、転送速度の制限を転送レートで行うように構成されているため、常用メールボックス装置30の処理性能への影響を、ファイル一覧の取得・低転送レートでのFTP転送のみに抑えることができる。また、最繁時間帯に、複数の転送対象があるとき、つまりディスク用キャッシュバッファからジャーナルファイルがキャッシュアウトした可能性の高いとき、連続したジャーナルファイルの転送を行わないように動作するため、最繁時間帯に常用メールボックス装置30に本来の業務に影響するようなジャーナル転送による処理負荷がかからない。   As described above, in the first embodiment, the backup mailbox device 40 has synchronization information for maintaining a series so that the journal files do not overlap, and the backup mailbox device 40 performs FTP connection. Since the transfer rate is limited at the transfer rate, the influence on the processing performance of the regular mailbox device 30 can be suppressed to only the FTP transfer at the file list acquisition / low transfer rate. . In addition, when there are multiple transfer targets during the busiest time period, that is, when there is a high possibility that the journal file has been cached out of the disk cache buffer, it operates so as not to transfer consecutive journal files. The processing load due to journal transfer that affects the original business is not applied to the regular mailbox device 30 during the busy hours.

第2の実施例について図面を参照して説明する。図6を参照すると、第2の実施例のメールボックスシステム11の構成は、メールサーバ20と、常用メールボックス装置30と、バックアップ用メールボックス装置40と、バス50と、から構成されている。常用メールボックス装置30は、メールサービス部30と、ジャーナルキャッシュアウト時間32と、メール記憶部331乃至33nと、ジャーナル記憶部341乃至34nと、ボリューム情報記憶部35と、を含む。   A second embodiment will be described with reference to the drawings. Referring to FIG. 6, the configuration of the mailbox system 11 according to the second embodiment includes a mail server 20, a regular mailbox device 30, a backup mailbox device 40, and a bus 50. The regular mailbox device 30 includes a mail service unit 30, a journal cache out time 32, mail storage units 331 to 33n, journal storage units 341 to 34n, and a volume information storage unit 35.

バックアップ用メールボックス装置40は、バッチ起動制御手段41と、ジャーナルキャッシュアウト時間45と、ジャーナル転送制御手段42と、転送レート記憶部46と、最繁時間帯記憶部47と、同期情報記憶部431乃至43nと、転送済ジャーナル記憶部441乃至44nと、ボリューム情報記憶部48と、を含む。   The backup mailbox device 40 includes a batch activation control unit 41, a journal cache out time 45, a journal transfer control unit 42, a transfer rate storage unit 46, a busy hour storage unit 47, and a synchronization information storage unit 431. Through 43n, transferred journal storage units 441 through 44n, and a volume information storage unit 48.

これらの装置及び手段は、それぞれ概略つぎのように機能する。メールサービス部31は、図示してないメールボックス作成及び削除手段と、メール格納手段と、メール読み出し手段と、を含み、メールボックスの作成、メールボックスの削除、メールの格納、メールの参照および削除といったメール処理を行うために、メール記憶部331乃至33nを更新する。また、メール記憶部331乃至33nを更新するメール処理のジャーナルをジャーナル記憶部341乃至34nに格納する。ジャーナルは時系列に採取され、ジャーナルキャッシュアウト時間32で設定された時間単位でファイル分割され、時系列順に一つのファイルにまとめられて出力される。ファイル名は、日時を表すフォーマットになる。また、ジャーナル出力の際は、メール対応にメールボリュームとジャーナルボリュームとの対応を示すボリューム情報記憶部35を参照して、メール記憶部331乃至33nに対応するジャーナル記憶部341乃至34nにジャーナルファイルを出力する。   Each of these devices and means generally functions as follows. The mail service unit 31 includes a mailbox creation / deletion unit (not shown), a mail storage unit, and a mail reading unit, and creates a mailbox, deletes a mailbox, stores a mail, refers to and deletes a mail. In order to perform such mail processing, the mail storage units 331 to 33n are updated. Further, journals for mail processing for updating the mail storage units 331 to 33n are stored in the journal storage units 341 to 34n. Journals are collected in time series, divided into files in units of time set by the journal cache out time 32, and output in a single file in time series. The file name is in a format that represents the date and time. In journal output, the volume information storage unit 35 indicating the correspondence between the mail volume and the journal volume for mail correspondence is referred to, and the journal file is stored in the journal storage units 341 to 34n corresponding to the mail storage units 331 to 33n. Output.

ボリューム情報記憶部35を説明する図6を参照すると、メール格納手段311にメール格納要求があると、ボリューム情報記憶部35を参照して、メールボックス対応にメールを格納するメールボリューム351、あるいはジャーナルボリューム352を選択し、格納する。例えば、ボリューム情報記憶部35で、メールボリューム351がジャーナルボリューム352に対応している場合、メール記憶部332のメールボリューム351が、ジャーナル記憶部341にジャーナルボリューム352がそれぞれ格納される。   Referring to FIG. 6 for explaining the volume information storage unit 35, when there is a mail storage request in the mail storage means 311, the volume information storage unit 35 is referred to and a mail volume 351 for storing mail corresponding to the mailbox or journal Volume 352 is selected and stored. For example, in the volume information storage unit 35, when the mail volume 351 corresponds to the journal volume 352, the mail volume 351 of the mail storage unit 332 is stored, and the journal volume 352 is stored in the journal storage unit 341.

バッチ起動制御手段41は、ジャーナルキャッシュアウト時間45に設定された時間を参照し、該時間の間隔でジャーナル転送制御手段42を起動する。ジャーナル転送制御手段42は、ジャーナルファイルが重複しないように一連性を保つための同期情報を有する同期情報記憶部43を参照し、ジャーナル記憶部341乃至34nに格納された分割済みのジャーナルファイルのうち、バックアップ用メールボックス装置40に未転送のジャーナルファイルをボリューム対応に転送し、転送済ジャーナル記憶部441乃至44nに格納する。転送時、所定のサイズをファイル転送する度に、転送レート記憶部46に設定された転送レートで、転送休止する。また、転送開始時時、最繁時間帯記憶部47を参照し、現在時刻が最繁時間帯の内であるとき、連続したジャーナルファイルの転送を行わないようにする。ファイル転送後、転送したジャーナルファイルのファイル名をボリューム対応に同期情報記憶部431乃至43nに格納する。ジャーナル転送制御手段42は、起動時にボリューム情報記憶部48を参照し、1度のバッチ起動で、ジャーナル記憶部341乃至34nの各ボリュームのジャーナルを転送する。同期情報記憶部431乃至43nは、ボリューム毎に転送したジャーナルファイルの一覧を図7に示すようにボリューム対応にジャーナル/ボリューム431,432の形式で保持する。   The batch activation control unit 41 refers to the time set as the journal cache out time 45 and activates the journal transfer control unit 42 at the time interval. The journal transfer control means 42 refers to the synchronization information storage unit 43 having synchronization information for maintaining a series so that the journal files do not overlap, and among the divided journal files stored in the journal storage units 341 to 34n. Then, the untransferred journal file is transferred to the backup mailbox device 40 in correspondence with the volume, and stored in the transferred journal storage units 441 to 44n. At the time of transfer, every time a file having a predetermined size is transferred, the transfer is paused at the transfer rate set in the transfer rate storage unit 46. Further, when the transfer is started, the most busy time zone storage unit 47 is referred to, and when the current time is within the most busy time zone, continuous journal file transfer is not performed. After the file transfer, the file name of the transferred journal file is stored in the synchronization information storage units 431 to 43n corresponding to the volume. The journal transfer control unit 42 refers to the volume information storage unit 48 at the time of activation, and transfers the journal of each volume of the journal storage units 341 to 34n by one batch activation. The synchronization information storage units 431 to 43n hold a list of journal files transferred for each volume in the format of journal / volume 431, 432 corresponding to the volume as shown in FIG.

次に、図8のフローチャートを参照して、第2の実施例のジャーナル転送方法を実行する動作について説明する。まず、ジャーナル転送制御手段42は、ジャーナル転送制御手段42が、各ボリュームについて常用メールボックス装置30のジャーナルファイルを前回のジャーナル転送で、どこまで転送したかを調べるため、ボリューム情報記憶部48から1エントリを読み出す(図8のステップ801)。該エントリが最終エントリであるか否かを判定を行う(ステップ802)。最終エントリでなかった場合(ステップ802のN)、同期情報記憶部431乃至43nを参照し、ステップ801で取得したエントリに該当するボリュームの最新の転送済ジャーナルファイル名を取得する(ステップ803)。   Next, the operation for executing the journal transfer method of the second embodiment will be described with reference to the flowchart of FIG. First, the journal transfer control means 42 makes one entry from the volume information storage unit 48 in order to check how far the journal transfer control means 42 has transferred the journal file of the regular mailbox device 30 for each volume in the previous journal transfer. Is read (step 801 in FIG. 8). It is determined whether or not the entry is the last entry (step 802). If it is not the last entry (N in Step 802), the latest transferred journal file name of the volume corresponding to the entry obtained in Step 801 is obtained by referring to the synchronization information storage units 431 to 43n (Step 803).

次に、常用メールボックス装置30に、バックアップ用メールボックス装置40からファイル転送プロトコル(FTP)によって接続し、リスト(LIST)コマンドにて、ステップ801で取得したエントリに該当するボリュームのジャーナルファイル名の一覧を取得する(ステップステップ804)。次に、ステップ803で取得した最新の転送済ジャーナルファイル名と、ステップ804で取得した常用メールボックス装置30の未転送ジャーナルファイル名の一覧を比較し、最新の転送済ジャーナルファイルよりも新しいジャーナルファイルの一覧を、転送対象リスト7305にプッシュして蓄える(ステップ805)。   Next, the backup mailbox device 40 is connected to the regular mailbox device 30 by the file transfer protocol (FTP), and the journal file name of the volume corresponding to the entry obtained in step 801 is obtained by the list (LIST) command. A list is acquired (step 804). Next, the latest transferred journal file name acquired in step 803 is compared with the list of untransferred journal file names of the regular mailbox device 30 acquired in step 804, and a journal file that is newer than the latest transferred journal file. Are pushed and stored in the transfer target list 7305 (step 805).

次に、再度、ステップ801 の処理に戻り、次のボリューム情報エントリについて処理を行う。ステップ802の判定で最終エントリであった場合(ステップ802のY)、全ボリューム分の情報が入った転送対象リストを、日時順にソートする(ステップ806)。次に、ステップ806でソートした転送対象が空であるか否かを判定し、空であった場合は(ステップ807のY)、処理を完了する。転送対象が空でなかった場合(ステップ807のN)、転送対象リストの中で最古のファイルのファイル名を取得し、常用メールボックス装置30からバックアップ用メールボックス装置40に、ファイル転送プロトコルの受け取り(RCPT)コマンドによってジャーナルファイルを転送する(ステップ808)。 次に、転送が成功したか否かを判定し、成功した場合(ステップ809のY)、転送が完了したジャーナルを転送対象リストから削除する(ステップ810)。転送に失敗したとき(ステップ809のN)、失敗したボリュームのすべての転送対象ジャーナルを転送対象リスト7305から削除する(ステップ811)。ステップ810、またはステップ811が完了した後、再度ステップS807の判定を行う。   Next, the process returns to step 801 again, and the next volume information entry is processed. If the entry is the last entry in the determination in step 802 (Y in step 802), the transfer target list containing information for all volumes is sorted in order of date and time (step 806). Next, it is determined whether or not the transfer target sorted in step 806 is empty. If it is empty (Y in step 807), the process is completed. If the transfer target is not empty (N in Step 807), the file name of the oldest file in the transfer target list is acquired, and the file transfer protocol is transferred from the regular mailbox device 30 to the backup mailbox device 40. The journal file is transferred by a receive (RCPT) command (step 808). Next, it is determined whether or not the transfer is successful. If the transfer is successful (Y in Step 809), the journal whose transfer has been completed is deleted from the transfer target list (Step 810). When transfer fails (N in Step 809), all transfer target journals of the failed volume are deleted from the transfer target list 7305 (Step 811). After step 810 or step 811 is completed, the determination in step S807 is performed again.

ステップ807における、バックアップ用メールボックス装置40のジャーナル転送制御手段42の詳細な動作については、第1の実施例のステップ75の詳細動作を示す図3と同じで、第2の実施の形態では、ジャーナル記憶部341乃至34nの各ボリュームに対して実施する。   The detailed operation of the journal transfer control means 42 of the backup mailbox device 40 in step 807 is the same as that of FIG. 3 showing the detailed operation of step 75 of the first embodiment. In the second embodiment, This is performed for each volume of the journal storage units 341 to 34n.

以上に説明したように、第2の実施例は、常用メールボックス装置30のジャーナル記憶部341乃至34n、またはバックアップ用メールボックス装置40の転送済ジャーナル記憶部441乃至44nのボリュームが故障などで転送不可能な状態になっても、故障のボリューム以外については、バックアップを続けることができる。   As described above, in the second embodiment, the volumes of the journal storage units 341 to 34n of the regular mailbox device 30 or the transferred journal storage units 441 to 44n of the backup mailbox device 40 are transferred due to a failure or the like. Even if it becomes impossible, backup can be continued for volumes other than the failed volume.

第1及び第2の実施例の常用メールボックス装置30及びバックアップ用メールボックス装置40は、図示しない処理装置にプログラムがロードされて、作動して、処理を実行することは明らかである。   It is obvious that the normal mailbox device 30 and the backup mailbox device 40 of the first and second embodiments are loaded into a processing device (not shown) and operate to execute processing.

電子メールを送受するメールサーバにおけるジャーナル採取及び保持に対して、バックアップ用ジャーナルが必要な分野に利用できる。   It can be used in fields that require a backup journal for collecting and holding journals in a mail server that sends and receives electronic mail.

この発明の第1の実施の形態を示す図である。It is a figure showing a 1st embodiment of this invention. 第1の形態におけるジャーナルバックアップをとる動作を示すフローチャートである。It is a flowchart which shows the operation | movement which takes the journal backup in a 1st form. ジャーナルバックアップをとる動作の細部を示すフローチャートである。It is a flowchart which shows the detail of the operation | movement which takes journal backup. 図3における転送用一時ファイル作成を説明する図である。It is a figure explaining the temporary file creation for transfer in FIG. 第2の実施の形態を示す図である。It is a figure which shows 2nd Embodiment. ボリューム情報記憶部によるボリューム対応を説明する図である。It is a figure explaining the volume correspondence by a volume information storage part. 同期情報記憶部を例示する図である。It is a figure which illustrates a synchronous information storage part. 第2の実施の形態の動作を示すフローチャートである。It is a flowchart which shows operation | movement of 2nd Embodiment.

符号の説明Explanation of symbols

10 メールボックスシステム
11 メールボックスシステム
20 メールサーバ
30 常用メールボックス装置
31 メールサービス部
32 ジャーナルキャッシュアウト時間
33 メール記憶部
34 ジャーナル記憶部
35 ボリューム情報記憶部
40 バックアップ用メールボックス装置
41 バッチ起動制御手段
42 ジャーナル転送手段
43 同期情報記憶部
44 転送済みジャーナル記憶部
45 ジャーナルキャッシュアウト時間
46 転送レート記憶部
47 最繁時間帯記憶部
48 ボリューム情報記憶部
50 バス
331乃至33n メール記憶部
341乃至34n ジャーナル記憶部
431乃至43n 同期情報記憶部
441乃至44n 転送済ジャーナル記憶部
DESCRIPTION OF SYMBOLS 10 Mailbox system 11 Mailbox system 20 Mail server 30 Regular mailbox apparatus 31 Mail service part 32 Journal cache out time 33 Mail storage part 34 Journal storage part 35 Volume information storage part 40 Backup mailbox apparatus 41 Batch starting control means 42 Journal transfer means 43 Synchronization information storage unit 44 Transferred journal storage unit 45 Journal cache out time 46 Transfer rate storage unit 47 Most busy time zone storage unit 48 Volume information storage unit 50 Bus 331 to 33n Mail storage unit 341 to 34n Journal storage unit 431 to 43n Synchronization information storage unit 441 to 44n Transferred journal storage unit

Claims (10)

メールサーバがネットワークを介して送受するメールをメール記憶部に保持し、前記メールを処理する際に採取するジャーナルをジャーナル記憶部に保持するメールボックスシステムにおいて、
前記ネットワークを介してメールの送受信を所定のプロトコルに基づいて実行するメールサーバと、
前記メールサーバから渡されるメールの保持及びその処理に係るジャーナル採取と保持を行う常用メールボックス装置と、
前記常用メールボックス部が保持する前記ジャーナルを入手して、バックアップ用に保持するバックアップ用メールボックス装置と、を備え、
前記バックアップ用メールボックス装置が、前記常用メールボックス装置にファイル転送プロトコルによって接続し、前記常用メールボックス装置から入手する未転送ジャーナルファイル名と、自装置が保持する転送済みジャーナルファイル名と、を重複しないように整えて転送対象のジャーナルファイルリストを作成し、前記常用メールボックス装置の処理性能に支障を来さないよう転送実行と転送休止とを転送レートで制御し、かつ最繁時間帯の連続したジャーナルファイルの転送を行わないようにして、前記リストのジャーナルファイルを転送制御することを特徴とするメールボックスシステム。
In a mailbox system in which a mail server holds mail sent and received via a network in a mail storage unit, and a journal collected when processing the mail is held in a journal storage unit,
A mail server that executes transmission / reception of mail via the network based on a predetermined protocol;
A regular mailbox device for holding and collecting journals related to holding and processing of mail passed from the mail server;
A backup mailbox device for obtaining the journal held by the regular mailbox unit and holding it for backup, and
The backup mailbox device is connected to the regular mailbox device by a file transfer protocol, and the untransferred journal file name obtained from the regular mailbox device overlaps the transferred journal file name held by the own device. Create a journal file list to be transferred, control the transfer execution and transfer suspension with the transfer rate so as not to hinder the processing performance of the regular mailbox device, and continue the continuous busy hours The mailbox system is characterized in that the journal file in the list is controlled to be transferred so that the transferred journal file is not transferred.
メールを保持するメール記憶部と、
メールサーバから渡されるメールを前記メール記憶部に格納する処理や前記メール記憶部から読み出し削除する処理を含むメール処理に係るジャーナルを採取するメールサービス部と、
時系列に採取されるジャーナルをファイル分割する時間単位を示すジャーナルキャッシュアウト時間を保持するジャーナルキャッシュアウト時間記憶部と、
前記メールサービス部が時系列で採取したジャーナルを前記ジャーナルキャッシュアウト時間単位でファイル分割してなるジャーナルファイルを保持するジャーナル記憶部と、
を有することを特徴とする常用メールボックス装置。
A mail storage unit for storing mail;
A mail service unit that collects a journal related to a mail process including a process of storing a mail passed from a mail server in the mail storage unit and a process of reading and deleting from the mail storage unit;
A journal cache out time storage unit for holding a journal cache out time indicating a unit of time for dividing a journal collected in time series into a file;
A journal storage unit that holds a journal file obtained by dividing the journal collected by the mail service unit in time series into units of the journal cache out time; and
An ordinary mailbox apparatus characterized by comprising:
前記ジャーナル記憶部は、
ジャーナルの書き込み、読み出しに対するキャッシュ領域を有し、前記キャッシュ領域が、最繁時の前記ジャーナルキャッシュアウト時間内に採取されるジャーナルファイルを少なくとも一つ以上格納できるサイズを備えることを特徴とする請求項2記載の常用メールボックス装置。
The journal storage unit
2. A journal area for writing and reading journals, wherein the cache area has a size capable of storing at least one journal file collected within the journal cache out time at the most busy time. The regular mailbox device according to 2.
常用メールボックス装置からジャーナルを転送する時間間隔を保持するジャーナルキャッシュアウト時間記憶部と、
前記時間間隔毎にジャーナル転送を開始する信号を発生するバッチ起動制御手段と、
所定のサイズのジャーナルファイルを転送後、転送を休止する時間を示す転送レートを保持する転送レート記憶部と、
前記常用メールボックス装置の稼動における最繁時間帯を保持する最繁時間帯記憶部と、
前記常用メールボックス装置から入手した転送済みジャーナルファイル名を保持する同期情報記憶部と、
前記常用メールボックス装置のジャーナル記憶部から転送されたジャーナルファイルを保持する転送済みジャーナル記憶部と、
前記バッチ起動制御手段から起動され、前記常用メールボックス装置のメールサービス部にファイル転送プロトコルによって接続し、前記常用メールボックス装置から入手する未転送ジャーナルファイル名と、自装置が保持する転送済みジャーナルファイル名と、に基づいて、転送対象のジャーナルファイルリストを作成し、前記リストのジャーナルファイルを前記転送レートによる転送休止と、前
記最繁時間帯のファイル転送でジャーナルファイルが複数個以上あるとき、連続したファイル転送を行わないことと、によるジャーナルファイルの転送を制御するジャーナル転送制御手段と、
を有することを特徴とするバックアップ用メールボックス装置。
A journal cache out time storage unit that holds a time interval for transferring a journal from the regular mailbox device;
Batch activation control means for generating a signal for starting journal transfer at each time interval;
A transfer rate storage unit that holds a transfer rate indicating a time to pause the transfer after transferring a journal file of a predetermined size;
A busy hour storage unit that holds a busy hour in operation of the regular mailbox device;
A synchronization information storage unit that holds a transferred journal file name obtained from the regular mailbox device;
A transferred journal storage unit for holding a journal file transferred from the journal storage unit of the regular mailbox device;
Activated from the batch activation control means, connected to the mail service unit of the regular mailbox device by a file transfer protocol, and the untransferred journal file name obtained from the regular mailbox device and the transferred journal file held by the own device A list of journal files to be transferred is created based on the name, and when there are a plurality of journal files in the list of the journal files in the list, the transfer pauses at the transfer rate and the file transfer in the most busy time period. Journal transfer control means for controlling the transfer of journal files by not performing file transfer,
A backup mailbox apparatus characterized by comprising:
メールサーバがネットワークを介して送受するメールをメール記憶部に保持し、前記メールを処理する際に採取するジャーナルをジャーナル記憶部に保持するメールボックスシステムのジャーナル転送制御方法において、
バックアップ用メールボックス装置のジャーナル転送制御手段が、
現在時刻が最繁時間帯であるか否かを判定するステップと、
最繁時間帯である場合、転送対象となるジャーナルファイルが複数個あるか否かを判定するステップと、
最繁時間帯で、かつ転送対象となるジャーナルファイルが複数個ある場合、連続したジャーナルファイルの転送を行わないようにするステップと、
最繁時間帯でない、あるいは最繁時間帯で、かつ転送対象のジャーナルファイルが複数個ない場合、転送対象で最古のジャーナルファイル名を取得するステップと、
ジャーナル転送のためファイル転送プロトコル(FTP)による接続を常用メールボックス装置に行うステップと、
前記接続後、バックアップ用メールボックス装置が有する転送対象リストから、転送用一時ファイルを作成するステップと、
転送対象ジャーナルファイルが転送し終わったか否かを判定するステップと、
前記転送が終わっていないとき、所定のサイズ分のジャーナルファイルを転送するステップと、
前記所定のサイズ分のジャーナルファイルの転送後、転送レートで設定された時間の間、転送を休止するステップと、
前記休止後、ジャーナルファイルの転送が終わったか否かを確認し、終わっていないとき、転送を続行するステップと、
前記ジャーナルファイルの転送が終わっているとき、転送が成功していたか否かを判定するステップと、
前記転送が成功している場合、前記転送用一時ファイルを転送対象リストから取得した最古のジャーナルファイル名にリネームするステップと、
リネーム後、ジャーナルファイル名を転送済みとして同期情報に記憶するステップと、
を実行することを特徴とするメールボックスシステムのジャーナル転送制御方法。
In the journal transfer control method of a mailbox system in which a mail server holds a mail sent and received via a network in a mail storage unit, and a journal collected when processing the mail is held in a journal storage unit,
The journal transfer control means of the backup mailbox device
Determining whether the current time is in the most busy time; and
A step of determining whether there are a plurality of journal files to be transferred if it is the most busy time period;
When there are multiple journal files to be transferred in the most busy time period, the step of not transferring continuous journal files;
If the most busy time zone, or the most busy time zone, and there are no multiple journal files to be transferred, obtaining the oldest journal file name to be transferred; and
Making a connection to the regular mailbox device for file transfer protocol (FTP) for journal transfer;
After the connection, creating a temporary transfer file from the transfer target list of the backup mailbox device;
Determining whether or not the transfer target journal file has been transferred;
When the transfer is not over, transferring a journal file of a predetermined size;
Pausing the transfer for a time set by the transfer rate after transferring the journal file of the predetermined size;
After the pause, confirm whether or not the transfer of the journal file is finished, and if not, continue the transfer;
When the transfer of the journal file is finished, determining whether the transfer was successful;
If the transfer is successful, the temporary file for transfer is renamed to the oldest journal file name obtained from the transfer target list;
After renaming, storing the journal file name in the synchronization information as transferred,
A journal transfer control method for a mailbox system, characterized in that:
メールサーバがネットワークを介して送受するメールをメール記憶部に保持し、前記メールを処理する際に採取するジャーナルをジャーナル記憶部に保持するメールボックスシステムにおいて、
前記ネットワークを通じてメールの送受信を所定のプロトコルに基づいて実行するメールサーバと、
前記メールサーバから受け取るメールの保持及びその処理に係るジャーナルの採取し、前記メール対応に区分けして記憶する複数ボリュームでなるメール記憶部に前記ジャーナルを保持する常用メールボックス装置と、
前記常用メールボックス部の複数のボリュームそれぞれからジャーナルを読み出して、対応するバックアップ用ボリュームに保持するバックアップ用メールボックス装置と、を備え、
前記バックアップ用メールボックス装置が、前記常用メールボックス装置をファイル転送プロトコルによって接続し、前記常用メールボック装置から未転送ファイル名と、自装置が保持する転送済みジャーナルファイル名と、を重複しないように整えて、前記ボリューム対応に転送対象のジャーナルファイルリストを作成し、前記常用メールボックス装置の処理性能に支障を来さないよう転送実行と転送休止とを所定のレートで制御し、かつ最繁時間帯の連続したジャーナルファイルの転送を行わないようにして、前記リストのジャーナルファイルを転送制御することを特徴とするメールボックスシステム。
In a mailbox system in which a mail server holds mail sent and received via a network in a mail storage unit, and a journal collected when processing the mail is held in a journal storage unit,
A mail server that performs transmission and reception of mail through the network based on a predetermined protocol;
Collecting journals related to holding and processing of mail received from the mail server, and storing the journal in a mail storage unit consisting of a plurality of volumes that are classified and stored in correspondence with the mail;
A backup mailbox device that reads a journal from each of the plurality of volumes of the regular mailbox unit and holds it in a corresponding backup volume, and
The backup mailbox device connects the regular mailbox device using a file transfer protocol, so that the file name not transferred from the regular mailbox device and the transferred journal file name held by the own device do not overlap. Prepare a journal file list to be transferred in correspondence with the volume, control transfer execution and transfer suspension at a predetermined rate so as not to hinder the processing performance of the regular mailbox device, and use the most busy time A mailbox system, wherein journal files in the list are controlled so as not to transfer journal files having continuous bands.
メール対応にメールを保持する複数ボリュームでなるメール記憶部と、
前記メールサーバから渡されるメールを前記メール対応に前記ボリュームに格納する処理や前記メール記憶部からメール読み出し削除する処理を含むメール処理に係るジャーナルを採取するメールサービス部と、
時系列で採取されるジャーナルをファイル分割する時間単位を示すジャーナルキャッシュアウト時間を保持するジャーナルキャッシュアウト時間記憶部と、
前記メール記憶部のそれぞれに対応し、前記ジャーナルキャッシュアウト時間
で時系列のジャーナルをファイル分割してなるジャーナルファイルを保持する複数ボリュームでなるジャーナル記憶部と、
複数ボリュームでなるメール記憶部と、複数ボリュームでなるジャーナル記憶部と、を対応付けるボリューム情報を保持するボリューム情報記憶部と、
を有することを特徴とする常用メールボックス装置。
A mail storage unit consisting of multiple volumes that hold mail for mail,
A mail service unit that collects a journal related to mail processing including processing to store the mail passed from the mail server in the volume corresponding to the mail and processing to read and delete the mail from the mail storage unit;
A journal cache out time storage unit for holding a journal cache out time indicating a unit of time for dividing a journal collected in time series into a file;
Corresponding to each of the mail storage units, a journal storage unit consisting of a plurality of volumes holding journal files obtained by dividing a time-series journal into files in the journal cache out time;
A volume information storage unit that holds volume information for associating a mail storage unit composed of a plurality of volumes and a journal storage unit composed of a plurality of volumes;
An ordinary mailbox apparatus characterized by comprising:
前記ジャーナル記憶部は、
ジャーナルの書き込み、読み出しに対するキャッシュ領域を有し、前記キャッシュ領域が最繁時の前記ジャーナルキャッシュアウト時間内に採取されるジャーナルファイルを少なくとも一つ以上格納できるサイズを備えることを特徴とする請求項7記載の常用メールボックス装置。
The journal storage unit
8. A journal area having a cache area for writing and reading journals, wherein the cache area has a size capable of storing at least one journal file collected within the journal cache out time at the most busy time. The regular mailbox device as described.
常用メールボックス装置からジャーナルを転送する時間間隔を保持するジャーナルキャッシュアウト時間記憶部と、
前記時間間隔毎に、前記常用メールボックス装置からジャーナル転送を開始する信号を発生するバッチ起動制御手段と、
所定のサイズのジャーナルファイルを転送後、転送を休止する時間を示す転送レートを保持する転送レート記憶部と、
前記常用メールボックス装置の最繁時間帯を保持する最繁時間帯記憶部と、
前記常用メールボックス装置のボリューム記憶情報に対応する自装置のボリューム情報を保持するボリューム情報記憶部と、
前記常用メールボックス装置から入手した転送済みファイルリストをメール対応の複数ボリュームに記憶する同期情報記憶部と、
前記常用メールボックス装置の複数ボリュームでなるジャーナル記憶部から転送したジャーナルファイルを対応するボリュームに記憶する転送済みジャーナル記憶部と、
前記バッチ起動制御手段から起動され、前記常用メールボックス装置のメールサービス部にファイル転送プロトコルによって接続し、前記常用メールボックス装置から入手する未転送ジャーナルファイル名と、自装置が保持する転送済みジャーナルファイルと、に基づいて、転送対象のジャーナルファイルリストをボリューム対応に作成し、前記リストのジャーナルファイルを前記転送レートによる転送休止と、最繁時間帯のファイル転送で、ジャーナルファイルが複数個以上あるとき、連続したジャーナルファイルの転送を行わないようにして、全てのボリュームに対してジャーナルファイルの転送を制御するジャーナル転送制御手段と、
を備えることを特徴とするバックアップ用メールボックス装置。
A journal cache out time storage unit that holds a time interval for transferring a journal from the regular mailbox device;
Batch activation control means for generating a signal for starting journal transfer from the regular mailbox device at each time interval;
A transfer rate storage unit that holds a transfer rate indicating a time to pause the transfer after transferring a journal file of a predetermined size;
A busy hour storage unit for holding a busy hour of the regular mailbox device;
A volume information storage unit that holds the volume information of its own device corresponding to the volume storage information of the regular mailbox device;
A synchronization information storage unit for storing the transferred file list obtained from the regular mailbox device in a plurality of mail-compatible volumes;
A transferred journal storage unit for storing a journal file transferred from a journal storage unit consisting of a plurality of volumes of the regular mailbox device in a corresponding volume;
Activated from the batch activation control means, connected to the mail service unit of the regular mailbox device by a file transfer protocol, and the untransferred journal file name obtained from the regular mailbox device and the transferred journal file held by the own device Based on the above, a list of journal files to be transferred is created in correspondence with the volume, and there are a plurality of journal files in the journal file in the list by the transfer suspension at the transfer rate and the file transfer in the busy time period. Journal transfer control means for controlling the transfer of journal files to all the volumes without transferring continuous journal files;
A backup mailbox apparatus comprising:
メールサーバがネットワークを介して送受するメールをメール記憶部に保持し、前記メールを処理する際に採取するジャーナルをジャーナル記憶部に保持するメールボックスシステムのジャーナル転送制御方法において、
バックアップ用メールボックス装置のジャーナル転送制御手段が、
現在時刻が最繁時間帯であるか否かを判定するステップと、
最繁時間帯である場合、転送対象となるジャーナルファイルが複数個あるか否かを判定するステップと、
最繁時間帯で、かつ転送対象となるジャーナルファイルが複数個ある場合、連続したジャーナルファイルの転送をしないようにして、ジャーナルファイル転送を終了するステップと、
最繁時間帯でない、あるいは最繁時間帯で、かつ転送対象のジャーナルファイルが複数個ない場合、転送対象で最古のジャーナルファイル名を取得するステップと、
ジャーナル転送のためファイル転送プロトコル(FTP)による接続を常用メールボックス装置に行うステップと、
前記接続後、バックアップ用メールボックス装置が有する転送対象リストから、転送用一時ファイルを作成するステップと、
転送対象ジャーナルファイルが転送し終わったか否かを判定するステップと、 前記転送が終わっていないとき、所定のサイズ分のジャーナルファイルを転送するステップと、
前記所定のサイズ分のジャーナルファイルの転送後、転送レートで設定された時間の間、転送を休止するステップと、
前記休止後、ジャーナルファイルの転送が終わったか否かを確認し、終わっていないとき、転送を続行するステップと、
前記ジャーナルファイルの転送が終わっているとき、転送が成功していたか否かを判定するステップと、
前記転送が成功している場合、前記転送用一時ファイルを転送対象リストから取得した最古のジャーナルファイル名にリネームするステップと、
リネーム後、ジャーナルファイル名を転送済みとして同期情報に記憶するステップと、
常用メールボックス装置のジャーナル記憶部の全てのボリュームに対して、ジャーナルファイル転送が終了したか否かをチェックし、終了しているとき、ジャーナル転送を停止し、終了していないとき、全ての前記ボリュームに対して、ジャーナルファイル転送を続行するステップと。
を実行することを特徴とするメールボックスシステムのジャーナル転送制御方法。
In the journal transfer control method of a mailbox system in which a mail server holds a mail sent and received via a network in a mail storage unit, and a journal collected when processing the mail is held in a journal storage unit,
The journal transfer control means of the backup mailbox device
Determining whether the current time is in the most busy time; and
A step of determining whether there are a plurality of journal files to be transferred if it is the most busy time period;
When there are a plurality of journal files to be transferred in the most busy time period, the step of ending journal file transfer without transferring continuous journal files;
If the most busy time zone, or the most busy time zone, and there are no multiple journal files to be transferred, obtaining the oldest journal file name to be transferred; and
Making a connection to the regular mailbox device for file transfer protocol (FTP) for journal transfer;
After the connection, creating a temporary transfer file from the transfer target list of the backup mailbox device;
Determining whether or not the transfer target journal file has been transferred; transferring the journal file of a predetermined size when the transfer is not completed; and
Pausing the transfer for a time set by the transfer rate after transferring the journal file of the predetermined size;
After the pause, confirm whether or not the transfer of the journal file is finished, and if not, continue the transfer;
When the transfer of the journal file is finished, determining whether the transfer was successful;
If the transfer is successful, the temporary file for transfer is renamed to the oldest journal file name obtained from the transfer target list;
After renaming, storing the journal file name in the synchronization information as transferred,
Check whether the journal file transfer has been completed for all the volumes in the journal storage unit of the regular mailbox device, stop the journal transfer when it is completed, With the step of continuing the journal file transfer to the volume.
A journal transfer control method for a mailbox system, characterized in that:
JP2005095215A 2005-03-29 2005-03-29 Mailbox system and device and journal transfer control method therefor Pending JP2006279501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005095215A JP2006279501A (en) 2005-03-29 2005-03-29 Mailbox system and device and journal transfer control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005095215A JP2006279501A (en) 2005-03-29 2005-03-29 Mailbox system and device and journal transfer control method therefor

Publications (1)

Publication Number Publication Date
JP2006279501A true JP2006279501A (en) 2006-10-12

Family

ID=37213781

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005095215A Pending JP2006279501A (en) 2005-03-29 2005-03-29 Mailbox system and device and journal transfer control method therefor

Country Status (1)

Country Link
JP (1) JP2006279501A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008250717A (en) * 2007-03-30 2008-10-16 Nec Corp Method, unit and program for database recovery

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05298173A (en) * 1992-01-14 1993-11-12 Nec Corp Distributed file synchronizing and updating system
JPH06309211A (en) * 1993-04-20 1994-11-04 Nippon Telegr & Teleph Corp <Ntt> Distributed information processing system and destroyed information synchronous restoring method
JPH07306829A (en) * 1994-05-16 1995-11-21 Hitachi Ltd Data update system between on-line system
JPH09101912A (en) * 1995-10-06 1997-04-15 Mitsubishi Electric Corp Difference backup system
JPH09204339A (en) * 1996-01-26 1997-08-05 Nec Corp Matching system between plural data bases
JPH10228404A (en) * 1996-12-09 1998-08-25 Toshiba Corp Journal management system and its method
JPH11194964A (en) * 1998-01-05 1999-07-21 Hitachi Ltd Data recording system
JP2002278819A (en) * 2001-03-21 2002-09-27 Toshiba Corp Generation management method for snap shot image, storage medium and generation management system
JP2003345637A (en) * 2002-05-24 2003-12-05 Nec Corp Apparatus and method for backup and backup evaluating program
JP2004013786A (en) * 2002-06-11 2004-01-15 Toshiba Corp Method for storing data and data storage controller
JP2005050024A (en) * 2003-07-31 2005-02-24 Toshiba Corp Computer system and program

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05298173A (en) * 1992-01-14 1993-11-12 Nec Corp Distributed file synchronizing and updating system
JPH06309211A (en) * 1993-04-20 1994-11-04 Nippon Telegr & Teleph Corp <Ntt> Distributed information processing system and destroyed information synchronous restoring method
JPH07306829A (en) * 1994-05-16 1995-11-21 Hitachi Ltd Data update system between on-line system
JPH09101912A (en) * 1995-10-06 1997-04-15 Mitsubishi Electric Corp Difference backup system
JPH09204339A (en) * 1996-01-26 1997-08-05 Nec Corp Matching system between plural data bases
JPH10228404A (en) * 1996-12-09 1998-08-25 Toshiba Corp Journal management system and its method
JPH11194964A (en) * 1998-01-05 1999-07-21 Hitachi Ltd Data recording system
JP2002278819A (en) * 2001-03-21 2002-09-27 Toshiba Corp Generation management method for snap shot image, storage medium and generation management system
JP2003345637A (en) * 2002-05-24 2003-12-05 Nec Corp Apparatus and method for backup and backup evaluating program
JP2004013786A (en) * 2002-06-11 2004-01-15 Toshiba Corp Method for storing data and data storage controller
JP2005050024A (en) * 2003-07-31 2005-02-24 Toshiba Corp Computer system and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008250717A (en) * 2007-03-30 2008-10-16 Nec Corp Method, unit and program for database recovery

Similar Documents

Publication Publication Date Title
US7865678B2 (en) Remote copy system maintaining consistency
US8145605B2 (en) NAS system and remote copy method
US6557073B1 (en) Storage apparatus having a virtual storage area
US9542310B2 (en) File server node with non-volatile memory processing module coupled to cluster file server node
JP4582297B2 (en) Replication system, apparatus, method, and program
US7721055B2 (en) System and method for controlling the updating of storage device
CN107735774B (en) SMR perception only adds file system
US7844643B2 (en) Storage management system with integrated continuous data protection and remote copy
US20050273474A1 (en) Method and system for data processing with data replication for the same
US20050262316A1 (en) Backup acquisition method and disk array apparatus
JP2010134522A (en) Method, program and device for management of database
JP2005050024A (en) Computer system and program
US20090248760A1 (en) Backup method of computer system
CN104917788A (en) Data storage method and apparatus
JPH11120057A (en) File backup method
JP2006279501A (en) Mailbox system and device and journal transfer control method therefor
CN114741367B (en) Data synchronization method, data synchronization device, electronic equipment, storage medium and program product
US11809385B1 (en) Efficient data backup in a distributed storage system
US20210271563A1 (en) Methods and systems for performing data backups
JP5665518B2 (en) Database system, information processing method thereof, and program thereof
CN112416885A (en) Real-time file synchronization method
EP2916230A1 (en) Storage device and data backup method
US20030033440A1 (en) Method of logging message activity
US8756202B2 (en) System and method for logstream archival
JPH07230401A (en) Method and system for file maintenance

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20070119

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081014

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090324

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20090508

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090804