JP4193754B2 - Data duplication method and program - Google Patents

Data duplication method and program Download PDF

Info

Publication number
JP4193754B2
JP4193754B2 JP2004143404A JP2004143404A JP4193754B2 JP 4193754 B2 JP4193754 B2 JP 4193754B2 JP 2004143404 A JP2004143404 A JP 2004143404A JP 2004143404 A JP2004143404 A JP 2004143404A JP 4193754 B2 JP4193754 B2 JP 4193754B2
Authority
JP
Japan
Prior art keywords
data
main storage
standby
active
active device
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.)
Expired - Fee Related
Application number
JP2004143404A
Other languages
Japanese (ja)
Other versions
JP2005327015A (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.)
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 JP2004143404A priority Critical patent/JP4193754B2/en
Publication of JP2005327015A publication Critical patent/JP2005327015A/en
Application granted granted Critical
Publication of JP4193754B2 publication Critical patent/JP4193754B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Description

本発明は、稼働系装置と、前記稼働系装置に障害が発生した場合の予備として待機する待機系装置とから構成される冗長構成システムに関し、特に、稼働系装置の主記憶装置に記憶されたデータを、待機系装置の主記憶装置に転送するためのデータ二重化方法に関する。 The present invention relates to a redundant configuration system composed of an active system device and a standby system device that stands by as a backup when a failure occurs in the active system device, and in particular, is stored in a main storage device of the active system device. The present invention relates to a data duplication method for transferring data to a main storage device of a standby system device.

近年様々な装置により構成されるシステムが、様々な用途に使用されているが、システムによっては高い信頼性が要求される場合がある。このような用途に使用されるシステムでは、通用動作を行っている稼働系装置だけではなく、稼働系装置と全く同じ構成の待機系装置を予備として待機させておき、稼働系装置に何等かの障害が発生した場合に、待機系装置を稼働系装置として切り替えることによりシステムのダウンを防いで運用を継続するホットスタンバイ構成を用いて高信頼性を実現している。   In recent years, systems composed of various devices have been used for various purposes, but depending on the system, high reliability may be required. In a system used for such an application, not only an active system device performing a normal operation but also a standby system device having exactly the same configuration as the active system device is kept on standby as a standby system. When a failure occurs, high reliability is realized by using a hot standby configuration that prevents the system from going down by switching the standby system device as an active system device and continues operation.

例えば、移動体通信システム等において呼情報の管理を行う呼制御サーバがダウンしてしまうと、通信システム全体が機能しなくなってしまうため、呼制御サーバには、高い信頼性が要求される。そのため、稼働系装置として機能する呼制御サーバとは、別に同じ構成の呼制御サーバを待機系装置として用意し、稼働系装置に何等かの障害が発生した場合には、待機系装置に切り替えて運用を継続することが行われている。   For example, if a call control server that manages call information in a mobile communication system or the like goes down, the entire communication system will not function, and the call control server is required to have high reliability. Therefore, a call control server with the same configuration is prepared as a standby device separately from the call control server that functions as an active device, and if any failure occurs in the active device, switch to the standby device. The operation is being continued.

このような構成を用いる場合、いつでも切り替えを行うことができるように稼働系装置と待機系装置とでは呼情報を共有化しておかなければならない。そのため、障害が発生した装置が障害から復旧した場合、その装置を待機系装置としてシステムに組み込む必要がある。そして、障害から復旧した装置をシステムに組み込む際、稼働系装置の主記憶上の全ての呼情報を待機系装置として組み込む装置の主記憶にコピーする必要がある。   When such a configuration is used, call information must be shared between the active device and the standby device so that switching can be performed at any time. Therefore, when a device in which a failure has occurred recovers from the failure, it is necessary to incorporate the device into the system as a standby device. When a device recovered from a failure is incorporated into the system, it is necessary to copy all call information on the main memory of the active device to the main memory of the device to be incorporated as a standby device.

稼働系装置の主記憶上の内容を待機系装置の主記憶にコピーする方法としては、各種の方法が提案されている(例えば、特許文献1、2、3参照。)。しかしいずれの従来技術においても、待機系装置として組み込む装置へ稼働系装置の呼情報のコピーを行っている間は稼働系装置において呼情報の更新処理を中断するか、稼働系装置の更新処理の合間に少しずつ呼情報をコピーする方法が行われていた。前者は、コピーする呼情報の量が多ければ中断時間が長くなり、運用に悪影響を与える問題があった。また、後者の従来技術では、稼働系装置の主記憶装置上のデータを待機系装置の主記憶装置上に転送するのに長時間を要してしまうため、待機系装置をシステムに組み込むのに長時間要し、その間に稼働系装置に障害が発生しても切り替えることができないという問題があった。
特開2001−177446号公報 特開2001−195202号公報 特開2002−41345号公報
Various methods have been proposed as a method of copying the contents on the main memory of the active system device to the main memory of the standby system device (see, for example, Patent Documents 1, 2, and 3). However, in any prior art, while the call information of the active device is being copied to the device to be incorporated as a standby device, the call information update process is interrupted in the active device, or the update processing of the active device is There was a method of copying call information little by little in between. The former has a problem that if the amount of call information to be copied is large, the interruption time becomes long, which adversely affects the operation. In the latter prior art, since it takes a long time to transfer the data on the main storage device of the active system device to the main storage device of the standby system device, it is necessary to incorporate the standby system device into the system. There is a problem that it takes a long time and cannot be switched even if a failure occurs in the active system during that time.
JP 2001-177446 A JP 2001-195202 A JP 2002-41345 A

上述した従来技術では、待機系装置をシステムに組み込むために、稼働系装置の主記憶上の全てのデータを待機系装置の主記憶装置に転送しようとした場合、稼働系装置におけるデータの更新処理を中断するか、または、データの転送に長時間を要して待機系装置のシステムへの組み込みを迅速に行うことができなかったという問題点があった。   In the above-described prior art, when all the data on the main storage of the active device is to be transferred to the main storage device of the standby device in order to incorporate the standby device into the system, the data update processing in the active device There has been a problem that it has been impossible to quickly incorporate the standby system into the system due to the interruption of data transfer or a long time for data transfer.

本発明の目的は、待機系装置をシステムに組み込む際、稼働系装置におけるデータの更新処理を中断することなく、また、長時間を要することなく迅速に、稼働系装置の主記憶上の全てのデータを待機系装置の主記憶装置に転送することができるデータ二重化方法および冗長構成システムを提供することである。   An object of the present invention is to incorporate all the data on the main memory of the active device quickly without interrupting the data update process in the active device when incorporating the standby device into the system. To provide a data duplication method and a redundant configuration system capable of transferring data to a main storage device of a standby system device.

上記目的を達成するために、本発明は、稼働系装置と、前記稼働系装置に障害が発生した場合の予備として待機する待機系装置とから構成される冗長構成システムにおいて、前記稼働系装置の主記憶装置に記憶されたデータを、前記待機系装置の主記憶装置に転送するためのデータ二重化方法であって、
前記待機系装置を冗長構成システムに組み込む際に、前記稼働系装置のデータ管理部が、前記稼働系装置の主記憶装置に格納されている全てのデータを前記待機系装置の主記憶装置に送信する指示を行うための同期指示を行うステップと、
前記同期指示を受信した前記稼働系装置のデータ送信手段が、現在同期処理中である旨を示すフラグを前記稼働系装置の主記憶装置に設定した後に、前記稼働系装置の主記憶装置上の全てのデータを前記待機系装置に順次送信し、送信が完了したデータを示すアドレス情報を前記稼働系装置の主記憶装置に格納するステップと、
前記稼働系装置のデータ管理部が、前記稼働系装置の主記憶装置に格納されているデータを更新した際に、更新を行ったデータを前記待機系装置に送信することを指示する更新指示を前記データ送信手段に出力するステップと、
前記更新指示を受信した前記稼働系装置のデータ送信手段が、前記稼働系装置の主記憶装置のフラグの判定を行い、該フラグに同期処理中である旨が設定されていない場合には、受信した前記更新指示を待ちキューに登録し、該フラグに同期処理中である旨が設定されている場合には、当該更新指示により示されるアドレスと前記アドレス情報とを比較することにより、当該データが前記待機系装置に既に送信されたか否かを判定し、当該データが既に前記待機系装置に転送されていると判定された場合にのみ、その更新指示を前記待ちキューに登録するステップと、
前記稼働系装置の主記憶装置に格納されている全てのデータの送信が完了した場合に、同期処理中であることを示す前記フラグの設定を解除するステップと、
前記稼働系装置のデータ送信手段は、前記稼働系装置と前記待機系装置間インタフェースの状態を監視し、送信可能状態で、かつ、同期処理中を示すフラグが未設定の時、前記待ちキューに登録されている更新指示が示す更新データを順次前記待機系装置に対して送信するステップと、
前記待機系装置のデータ受信手段が、前記稼働系装置から送られてくるデータを順次主記憶上の指定され領域に書き込むステップと、
有する。
To achieve the above object, the present invention provides a redundant configuration system comprising an active device and a standby device that stands by as a backup when a failure occurs in the active device . the data stored in the main memory, a data duplication methods for transferring the main storage device of the standby system device,
When the standby device is incorporated into a redundant configuration system, the data management unit of the active device transmits all data stored in the main storage device of the active device to the main storage device of the standby device. Performing a synchronization instruction for performing an instruction to perform,
Data transmission means of the operating system device that has received the synchronization instruction, a flag indicating that a current synchronization process in after setting the main memory of the operating system device, on the main memory of the operating system device All the data is sequentially transmitted to the standby system device, and the address information indicating the data that has been transmitted is stored in the main storage device of the active system device ;
When the data management unit of the active device updates data stored in the main storage device of the active device , an update instruction is issued to instruct transmission of the updated data to the standby device. Outputting to the data transmission means;
The data transmission means of the active device that has received the update instruction determines the flag of the main storage device of the active device , and if the flag is not set to indicate that synchronization processing is being performed, The update instruction is registered in the waiting queue, and when the flag is set to indicate that synchronization processing is in progress , the address is indicated by comparing the address indicated by the update instruction with the address information. the standby device already determined whether sent to only if the data has already been determined to be transferred to the standby system, and registering the update instruction to the queue,
A step of canceling the setting of the flag indicating that synchronization processing is being performed when transmission of all data stored in the main storage device of the active device is completed;
The data transmission means of the active system device monitors the status of the interface between the active system device and the standby system device, and when it is in a transmittable state and a flag indicating that synchronization processing is in progress is not set, it is placed in the wait queue. Sequentially transmitting update data indicated by a registered update instruction to the standby device;
Data receiving means of the standby system device, and writing to the specified area on the sequential main memory data sent from said operating system device,
That it has a.

本発明は、同期処理が終了する前に、データ管理部により更新指示がデータ送信手段に送られてきた場合、データ送信手段では、稼働系装置の主記憶装置のフラグにより現在同期処理中が否かを判定し、同期処理中の場合には、アドレス情報により更新指示が行われたデータが既に待機系装置に転送されたかどうかを判定し、既に待機系装置に転送されている場合には、当該更新指示を待ちキューに登録して同期処理が終了した後に更新処理が行われるようにしたものである。 According to the present invention, when an update instruction is sent to the data transmission unit by the data management unit before the synchronization process is completed, the data transmission unit determines whether the current synchronization process is in progress due to the flag of the main storage device of the active device. If the synchronization processing is in progress, it is determined whether the data for which the update instruction has been made based on the address information has already been transferred to the standby device, and if the data has already been transferred to the standby device, The update instruction is registered in the wait queue and the update process is performed after the synchronization process is completed.

よって、データ管理部は、同期処理中であっても稼働系装置の主記憶装置に格納されたデータの更新を行って更新指示を行うことが可能となり、また稼働系装置の主記憶装置から待機系装置の主記憶装置へのデータの転送を行う同期処理自体も連続して行われるため長時間を要することがない。従って、稼働系装置におけるデータの更新処理を中断することなく、また、長時間を要することなく迅速に待機系装置をシステムに組み込むことが可能となる。 Therefore, the data management unit can update the data stored in the main storage device of the active device even during the synchronization process, and issue an update instruction, and can also wait from the main storage device of the active device. Since the synchronization process itself for transferring data to the main storage device of the system unit is also performed continuously, it does not take a long time. Therefore, the standby system apparatus can be quickly incorporated into the system without interrupting the data update process in the active system apparatus and without requiring a long time.

以上説明したように、本発明によれば、呼情報を管理する呼情報管理部は待機系装置を組み込む最中でも呼情報の更新を止める必要がなくなるという効果を得ることができる。   As described above, according to the present invention, it is possible to obtain an effect that it is not necessary for the call information management unit that manages call information to stop updating the call information even when the standby device is installed.

次に、本発明の実施の形態について図面を参照して詳細に説明する。   Next, embodiments of the present invention will be described in detail with reference to the drawings.

図1は本発明の冗長構成システムの一実施形態の呼制御サーバの構成を示すブロック図である。図1を参照すると、本実施形態の呼制御サーバは、稼働系装置1と、待機系装置2とから成り、稼働系装置1と待機系装置2とは互いに装置間インタフェース3で接続されている。   FIG. 1 is a block diagram showing the configuration of a call control server according to an embodiment of the redundant configuration system of the present invention. Referring to FIG. 1, the call control server according to the present embodiment includes an active device 1 and a standby device 2, and the active device 1 and the standby device 2 are connected to each other via an inter-device interface 3. .

稼働系装置1は、呼情報を管理する呼情報管理部11と、データ送信手段12と、データ受信手段13と、主記憶装置14とを備えている。また、待機系装置2は、呼情報管理部21と、データ送信手段22と、データ受信手段23と、主記憶装置24とを備えている。   The active device 1 includes a call information management unit 11 that manages call information, a data transmission unit 12, a data reception unit 13, and a main storage device 14. Further, the standby system device 2 includes a call information management unit 21, a data transmission unit 22, a data reception unit 23, and a main storage device 24.

稼働系装置1の主記憶装置14は、管理している呼情報を格納するための呼情報領域141と、更新指示を一時的に登録するための待ちキュー領域142と、同期処理中を示すフラグと呼情報のコピーがどこまで完了したかを示すアドレスを含む同期処理領域143とを備えている。また、待機系装置2の主記憶装置24も同様に、呼情報領域241と、待ちキュー領域242と、同期処理領域243とを備えている。   The main storage device 14 of the active device 1 includes a call information area 141 for storing managed call information, a waiting queue area 142 for temporarily registering an update instruction, and a flag indicating that synchronization processing is in progress And a synchronization processing area 143 including an address indicating how far the copy of the call information has been completed. Similarly, the main storage device 24 of the standby system device 2 includes a call information area 241, a waiting queue area 242, and a synchronization processing area 243.

ここで、稼働系装置1と待機系装置2とは、同様な構成となっていて、お互いを入れ替えた場合でも同じ動作を行うことが可能な構成となっているが、ここでは説明を簡単にするために、稼働系装置1の主記憶装置14から待機系装置2の主記憶装置24に呼情報を転送する際に必要な構成のみを中心に説明するものとする。   Here, the active system device 1 and the standby system device 2 have the same configuration and can perform the same operation even when they are interchanged with each other. Therefore, only the configuration necessary when transferring call information from the main storage device 14 of the active system device 1 to the main storage device 24 of the standby system device 2 will be mainly described.

稼働系装置1の呼情報管理部11は、データ管理部として機能していて、待機系装置2をシステムに組み込む際には、呼情報領域141に格納されている全ての呼情報を待機系装置2の主記憶装置24に送信する指示を行うための同期指示をデータ送信手段12に出力する。また、呼情報管理部11は、呼情報領域141に格納されている呼情報を更新した際には、更新を行った呼情報を待機系装置2に送信することを指示する更新指示をデータ送信手段12に出力する。   The call information management unit 11 of the active system device 1 functions as a data management unit, and when the standby system device 2 is incorporated into the system, all call information stored in the call information area 141 is stored in the standby system device. A synchronization instruction for giving an instruction to transmit to the second main storage device 24 is output to the data transmitting means 12. Further, when the call information management unit 11 updates the call information stored in the call information area 141, the call information management unit 11 transmits an update instruction for instructing to transmit the updated call information to the standby apparatus 2. Output to means 12.

稼働系装置1のデータ送信手段12は、呼情報管理部11からの同期指示を受けると、同期処理領域143の同期処理中であることを示すフラグを設定した後、装置間インタフェース3を使って呼情報領域141の全ての呼情報を待機系装置2に順次転送し、転送が完了したデータを示すアドレス情報を同期処理領域143に格納し、全ての呼情報の転送が完了したら同期処理中であることを示すフラグの設定を解除する。   When receiving the synchronization instruction from the call information management unit 11, the data transmission unit 12 of the active device 1 sets a flag indicating that synchronization processing is being performed in the synchronization processing area 143, and then uses the inter-device interface 3. All the call information in the call information area 141 is sequentially transferred to the standby system device 2 and the address information indicating the transferred data is stored in the synchronization processing area 143. When the transfer of all the call information is completed, the synchronization process is in progress. Cancel the flag setting that indicates that there is.

また、データ送信手段12は、呼情報管理部11からの更新指示を受けると、主記憶装置14の同期処理領域143のフラグの判定を行い、同期処理中を示すフラグが設定されていない場合には、受信した更新指示を待ちキュー領域142の待ちキューに登録し、同期処理中を示すフラグが設定されている場合には、当該更新指示により示されるアドレスとアドレス情報とを比較することにより、当該データが待機系装置2に既に送信されたか否かを判定する。そして、当該データが既に待機系装置2に転送されていると判定された場合にのみ、データ送信手段12は、その更新指示を待ちキューに登録する。   Further, when receiving an update instruction from the call information management unit 11, the data transmission unit 12 determines the flag of the synchronization processing area 143 of the main storage device 14, and when the flag indicating that synchronization processing is in progress is not set. Registers the received update instruction in the wait queue of the wait queue area 142, and when the flag indicating that the synchronization process is in progress is set, by comparing the address indicated by the update instruction with the address information, It is determined whether or not the data has already been transmitted to the standby system device 2. Then, only when it is determined that the data has already been transferred to the standby system device 2, the data transmission unit 12 registers the update instruction in the waiting queue.

つまり、データ送信手段12は、更新指示を受信した場合、同期処理中を示すフラグが設定されていて、かつ更新指示が示す更新データが同期処理によってまだ待機系装置2に転送されていない領域に含まれる場合は待ちキューへの登録を行わない。何故ならば、このような場合には、更新指示により示される更新データは以降の同期処理によって待機系装置2に送信されるため、特に個別に更新処理を行う必要がないからである。   That is, when the data transmission unit 12 receives the update instruction, the data transmission unit 12 sets the flag indicating that the synchronization process is being performed and the update data indicated by the update instruction is not yet transferred to the standby system device 2 by the synchronization process. If it is included, it is not registered in the waiting queue. This is because, in such a case, the update data indicated by the update instruction is transmitted to the standby apparatus 2 by the subsequent synchronization process, and thus it is not necessary to perform the update process individually.

そして、同期処理が終わった後、データ送信手段12は、装置間インタフェース3の状態を監視し、送信可能状態で、かつ同期処理中のフラグが未設定であることを確認して、待ちキューに登録されている更新指示が示す更新データを待ちキューの先頭からひとつ取り出し装置間インタフェース3を使って待機系装置2に転送する。   Then, after the synchronization process is completed, the data transmission unit 12 monitors the state of the inter-device interface 3, confirms that the flag is in a transmittable state and the synchronization process is not set, and enters the wait queue. One update data indicated by the registered update instruction is taken out from the head of the waiting queue and transferred to the standby system device 2 using the inter-device interface 3.

待機系装置2のデータ受信手段23は、稼働系装置1から送られてくるデータを順次呼情報領域231の指定されるアドレスに書き込む。   The data receiving means 23 of the standby system device 2 sequentially writes the data sent from the active system device 1 to the address specified in the call information area 231.

呼情報管理部11からデータ送信手段12に送信される同期指示、更新指示の形式を図2に示す。図2(a)は、同期指示の形式を示した図であり、図2(b)は、更新指示の形式を示した図である。更新指示は、図2(a)に示されるように、このデータが更新指示であることを示す識別子と、更新データのアドレスと、更新データのサイズを示す情報とから構成されている。また、同期指示は、図2(b)に示されるように、このデータが同期指示であることを示す識別子により構成されている。   The format of the synchronization instruction and update instruction transmitted from the call information management unit 11 to the data transmission means 12 is shown in FIG. FIG. 2A is a diagram showing the format of the synchronization instruction, and FIG. 2B is a diagram showing the format of the update instruction. As shown in FIG. 2A, the update instruction is composed of an identifier indicating that this data is an update instruction, an address of the update data, and information indicating the size of the update data. Further, as shown in FIG. 2B, the synchronization instruction includes an identifier indicating that this data is a synchronization instruction.

また、装置間インタフェース3を介して待機系装置2に転送されるデータは図3に示されるような形式となっている。このデータは、図3に示されるように、格納されるアドレスを示す情報と、転送されるデータのサイズと、転送されるデータ(呼情報)とから構成されている。   Further, data transferred to the standby system device 2 via the inter-device interface 3 has a format as shown in FIG. As shown in FIG. 3, this data is composed of information indicating stored addresses, the size of transferred data, and transferred data (call information).

次に、図1〜図7を参照して本実施形態の呼制御サーバの動作について詳細に説明する。   Next, the operation of the call control server of this embodiment will be described in detail with reference to FIGS.

図4はデータ送信手段12が呼情報管理部11から更新指示を受けた時の動作を示すフローチャートである。この図4を参照すると、先ず、データ送信手段12は、主記憶装置14の同期処理領域143のフラグが設定されているか否かを判定する(ステップA1およびA2)。そして、フラグが設定されている状態、すなわち、同期処理中であることを示している場合、データ送信手段12は、次に同期処理領域143のアドレスを調べ、更新指示が示す更新データのアドレスが、既に送信が行われた呼情報のアドレスに含まれているか否かを判定する(ステップA3およびA4)。もし、更新指示が示す更新データのアドレスが含まれていない場合には、当該更新データは以降の同期処理によって稼働系装置2に送信されるため、データ送信手段12は、処理を終える。一方、ステップA4において更新指示が示す更新データのアドレスが含まれていると判定された場合、および、ステップA2でフラグが未設定であると判定された場合には、データ送信手段12は、更新指示を待ちキュー領域142の待ちキューの最後に登録し、後述する待ちキューの処理ルーチンをコールした後、処理を終える(ステップA5およびA6)。   FIG. 4 is a flowchart showing an operation when the data transmission unit 12 receives an update instruction from the call information management unit 11. Referring to FIG. 4, first, the data transmission means 12 determines whether or not the flag of the synchronization processing area 143 of the main storage device 14 is set (steps A1 and A2). When the flag is set, that is, when it indicates that synchronization processing is being performed, the data transmission unit 12 next checks the address of the synchronization processing area 143, and the address of the update data indicated by the update instruction is Then, it is determined whether or not it is included in the address of the call information that has already been transmitted (steps A3 and A4). If the address of the update data indicated by the update instruction is not included, the update data is transmitted to the active system device 2 by the subsequent synchronization process, and the data transmission unit 12 ends the process. On the other hand, if it is determined in step A4 that the address of the update data indicated by the update instruction is included, and if it is determined in step A2 that the flag is not set, the data transmission means 12 The instruction is registered at the end of the wait queue in the wait queue area 142, a wait queue processing routine to be described later is called, and then the process ends (steps A5 and A6).

図5はデータ送信手段12が呼情報管理部11から同期指示を受けた時の動作を示すフローチャートである。この図5を参照すると、データ送信手段12は、最初に主記憶装置14の同期処理領域143のフラグを設定する(ステップB1)。次に、同期処理領域143のアドレスを調べ、呼情報領域141中のアドレスから装置間インタフェース3で1回に転送できる最大サイズ分のデータを読み出し、装置間インタフェース3を介して待機系装置2に転送する(ステップB2、B3およびB4)。そして、データ送信手段12は、同期処理領域143のアドレスに転送したサイズを加算した後、全ての呼情報の転送を完了しているか調べる(ステップB5、B6およびB7)。もし、未転送のデータが残っている場合、データ送信手段12は、ステップB2に戻り、処理を繰り返す。一方、転送が完了している場合は、データ送信手段12は、同期処理領域143のフラグの設定を解除し、同期処理領域143のアドレスに呼情報領域141の先頭アドレスを再設定し、後述する待ちキューの処理ルーチンをコール後、処理を終える(ステップB8、B9およびB10)。   FIG. 5 is a flowchart showing the operation when the data transmission means 12 receives a synchronization instruction from the call information management unit 11. Referring to FIG. 5, the data transmission means 12 first sets a flag in the synchronization processing area 143 of the main storage device 14 (step B1). Next, the address of the synchronization processing area 143 is checked, and the data for the maximum size that can be transferred at one time by the inter-device interface 3 is read from the address in the call information area 141, Transfer (steps B2, B3 and B4). Then, after adding the transferred size to the address of the synchronization processing area 143, the data transmitting unit 12 checks whether or not all the call information has been transferred (steps B5, B6 and B7). If untransferred data remains, the data transmission means 12 returns to step B2 and repeats the process. On the other hand, when the transfer is completed, the data transmission unit 12 cancels the setting of the flag of the synchronization processing area 143, resets the head address of the call information area 141 to the address of the synchronization processing area 143, and will be described later. After calling the waiting queue processing routine, the processing ends (steps B8, B9 and B10).

図6はデータ送信手段12が主記憶装置14の待ちキュー領域142の待ちキューに登録されている更新指示を処理する待ちキュー処理ルーチンの動作を示すフローチャートである。この図6を参照すると、データ送信手段12は、装置間インタフェース3の状態を監視する(ステップC1およびC2)。もし、ビジー状態であれば監視を続ける。一方、フリー状態であれば、データ送信手段12h、次に、同期処理領域143のフラグを調べる(ステップC3およびC4)。フラグの状態が設定されている場合、すなわち、同期処理中である場合には、データ送信手段12は、処理を終える。ステップC4においてフラグが未設定であると判定された場合、データ送信手段12は、次に、待ちキュー領域142の待ちキューにおける更新指示の有無を調べる(ステップC5およびC6)。更新指示がない場合、データ送信手段12は処理を終える。更新指示がある場合には、データ送信手段12は、待ちキューの先頭からひとつ更新指示を取り出し、取り出した更新指示が示すアドレスとサイズを使って呼情報領域141から更新すべき呼情報データを読み出し、装置間インタフェース3を介して待機系装置2に転送する(ステップC7、C8およびC9)。そして、データ送信手段12は、ステップC1に戻る。   FIG. 6 is a flowchart showing the operation of a wait queue processing routine in which the data transmission means 12 processes an update instruction registered in the wait queue in the wait queue area 142 of the main storage device 14. Referring to FIG. 6, the data transmission unit 12 monitors the state of the inter-device interface 3 (steps C1 and C2). If it is busy, continue monitoring. On the other hand, if it is in the free state, the data transmission means 12h and then the flag in the synchronization processing area 143 is examined (steps C3 and C4). When the flag state is set, that is, when the synchronization process is being performed, the data transmission unit 12 finishes the process. If it is determined in step C4 that the flag is not set, the data transmission means 12 next checks whether there is an update instruction in the wait queue in the wait queue area 142 (steps C5 and C6). When there is no update instruction, the data transmission unit 12 finishes the process. When there is an update instruction, the data transmission unit 12 extracts one update instruction from the head of the waiting queue, and reads the call information data to be updated from the call information area 141 using the address and size indicated by the extracted update instruction. Then, the data is transferred to the standby system device 2 via the inter-device interface 3 (steps C7, C8 and C9). Then, the data transmission unit 12 returns to Step C1.

本実施形態の呼制御サーバでは、同期処理が終了する前に、呼制御管理部11により更新指示がデータ送信手段12に送られてきた場合、データ送信手段12では、主記憶装置14の同期処理領域143のフラグにより現在同期処理中が否かを判定し、同期処理中の場合には、同期処理領域143のアドレス情報により更新指示が行われたデータが既に待機系装置2に転送されたかどうかを判定し、既に待機系装置2に転送されている場合には、当該更新指示を待ちキュー領域142の待ちキューに登録して同期処理が終了した後に更新処理が行われるようにしたものである。   In the call control server of the present embodiment, when an update instruction is sent to the data transmission unit 12 by the call control management unit 11 before the synchronization process is completed, the data transmission unit 12 performs the synchronization process of the main storage device 14. It is determined whether or not the synchronization process is currently being performed based on the flag in the area 143. If the update instruction has already been transferred to the standby system device 2, the update instruction is registered in the wait queue in the wait queue area 142, and the update process is performed after the synchronization process is completed. .

よって、呼情報管理部11は、同期処理中であっても主記憶装置14に格納された呼情報の更新を行って更新指示を行うことが可能となり、また稼働系装置1の主記憶装置14から待機系装置2の主記憶装置24へのデータの転送を行う同期処理自体も連続して行われるため長時間を要することがない。従って、稼働系装置1における呼情報の更新処理を中断することなく、また、長時間を要することなく迅速に待機系装置2をシステムに組み込むことが可能となる。   Therefore, the call information management unit 11 can update the call information stored in the main storage device 14 and issue an update instruction even during the synchronization process, and the main storage device 14 of the active device 1. Since the synchronization processing itself for transferring data from the standby device 2 to the main storage device 24 is continuously performed, it does not take a long time. Therefore, it is possible to quickly incorporate the standby system device 2 into the system without interrupting the call information update process in the active system device 1 and without requiring a long time.

次に具体例を用いて本実施形態の呼制御サーバの動作を説明する。   Next, the operation of the call control server of this embodiment will be described using a specific example.

図7に示すように、例えば、稼働系装置1のみで運用中に以下の順序((1)〜(7))で処理が進んだとする。尚、呼情報領域141を一回に転送できる最大サイズで分割したものを先頭から領域A、B、C、Dとする。   As illustrated in FIG. 7, for example, it is assumed that the processing proceeds in the following order ((1) to (7)) during operation only by the active system device 1. The call information area 141 divided into the maximum size that can be transferred at once is defined as areas A, B, C, and D from the top.

(1)呼情報管理部11が呼情報aを更新
(2)呼情報管理部11が待機系装置2の立ち上がりを認識して同期指示を送信
(3)データ転送手段12が領域A、領域Bの転送を完了
(4)呼情報管理部11が呼情報bを更新
(5)呼情報管理部11が呼情報cを更新
(6)データ転送手段12が全領域の転送を完了
(7)呼情報管理部11が呼情報dを更新
このように(1)〜(7)で処理が進んだ場合の、本実施形態の呼制御サーバにおける動作を下記に順次説明する。
(1) The call information management unit 11 updates the call information a. (2) The call information management unit 11 recognizes the rising edge of the standby system device 2 and transmits a synchronization instruction. (3) The data transfer means 12 is in the areas A and B. (4) The call information management unit 11 updates the call information b. (5) The call information management unit 11 updates the call information c. (6) The data transfer means 12 completes the transfer of the entire area. The information management unit 11 updates the call information d. Operations in the call control server according to the present embodiment when the processing proceeds in (1) to (7) as described above will be sequentially described below.

(1)呼情報管理部11は呼情報aを更新する。しかし、待機系装置2は未だシステムに組み込まれていないので、呼情報管理部11は、データ送信手段12に呼情報aの更新指示は行わない。   (1) The call information management unit 11 updates the call information a. However, since the standby system device 2 is not yet incorporated in the system, the call information management unit 11 does not instruct the data transmission means 12 to update the call information a.

(2)呼情報管理部11は、待機系装置2の立ち上がりを認識すると、データ送信手段12に同期指示を行う。   (2) When the call information management unit 11 recognizes that the standby system device 2 has risen, it issues a synchronization instruction to the data transmission unit 12.

(3)同期指示を受けたデータ送信手段12は、同期処理領域143のフラグを同期処理中である状態に設定する。次にデータ送信手段12は、同期処理領域143のアドレスを調べる。同期処理領域143におけるアドレスは、最初の状態では呼情報領域141の先頭アドレス、すなわち、領域Aの先頭アドレスとなっている。そのため、データ送信手段12は、領域Aのデータを読み出し、装置間インタフェース3を介して待機系装置2に転送する。そして、同期処理領域143のアドレスに転送したサイズを加算する。これにより、同期処理領域143のアドレスは、アドレスは領域Bの先頭アドレスを示す。この時点ではまだ未転送領域が残っているため、データ送信手段12はステップB2に戻り、処理を繰り返す。そして、データ送信手段12は、同様にして領域Bのデータを転送する。   (3) Upon receiving the synchronization instruction, the data transmission unit 12 sets the flag in the synchronization processing area 143 to a state in which synchronization processing is being performed. Next, the data transmission unit 12 checks the address of the synchronization processing area 143. The address in the synchronization processing area 143 is the start address of the call information area 141 in the initial state, that is, the start address of the area A. Therefore, the data transmission unit 12 reads the data in the area A and transfers it to the standby system device 2 via the inter-device interface 3. Then, the transferred size is added to the address of the synchronization processing area 143. Thereby, the address of the synchronization processing area 143 indicates the head address of the area B. At this point, since there is still an untransferred area, the data transmission unit 12 returns to step B2 and repeats the process. Then, the data transmission unit 12 similarly transfers the data in the area B.

(4)呼情報管理部11は呼情報bを更新する。今回は同期指示実行後なので、呼情報管理部11は、データ送信手段12に呼情報bの更新指示を行う。更新指示を受けたデータ送信手段12は、同期処理領域143のフラグを調べる。ここでは、フラグが設定されているので、データ送信手段12は、今度は同期処理領域143のアドレスを調べ、更新指示が示す更新データのアドレスが含まれているか調べる。この時点では、呼情報bが含まれる領域Bまで送信が完了しているので、更新指示を待ちキュー領域142の待ちキューの最後に登録し、後述する待ちキューの処理ルーチンをコールする。コールされた待ちキューの処理ルーチンでは、データ送信手段12は、装置間インタフェース3の状態を調べる。この時、装置間インタフェース3の状態がフリー状態であったとすると、次に、データ送信手段12は、同期処理領域143のフラグを調べる。ここでは、フラグが設定されているため、データ送信手段12は、処理を終了する。   (4) The call information management unit 11 updates the call information b. Since the synchronization instruction is executed this time, the call information management unit 11 instructs the data transmission unit 12 to update the call information b. The data transmission unit 12 that has received the update instruction checks the flag in the synchronization processing area 143. Here, since the flag is set, the data transmission means 12 checks the address of the synchronization processing area 143 this time, and checks whether the address of the update data indicated by the update instruction is included. At this point, since transmission to area B including call information b has been completed, an update instruction is registered at the end of the wait queue in wait queue area 142, and a wait queue processing routine described later is called. In the processing routine of the wait queue that has been called, the data transmission means 12 checks the state of the inter-device interface 3. At this time, if the state of the inter-device interface 3 is a free state, the data transmission unit 12 next checks the flag in the synchronization processing area 143. Here, since the flag is set, the data transmission unit 12 ends the process.

(5)呼情報管理部11は呼情報cを更新する。今回も同期指示実行後なので、呼情報管理部11は、データ送信手段12に呼情報cの更新指示を行う。更新指示を受けたデータ送信手段12は、同期処理領域143のフラグを調べる。フラグが設定されているので、データ送信手段12は、今度は同期処理領域143のアドレスを調べ、更新指示が示す更新データのアドレスが含まれているか調べる。この時点では、呼情報cが含まれる領域Cは送信が未完了であるので、データ送信手段12は、更新指示を登録せずに処理を終了する。   (5) The call information management unit 11 updates the call information c. Since the synchronization instruction is also executed this time, the call information management unit 11 instructs the data transmission unit 12 to update the call information c. The data transmission unit 12 that has received the update instruction checks the flag in the synchronization processing area 143. Since the flag is set, the data transmission means 12 checks the address of the synchronization processing area 143 this time and checks whether the address of the update data indicated by the update instruction is included. At this time, since the transmission of the area C including the call information c is not completed, the data transmission unit 12 ends the process without registering the update instruction.

(6)同期指示を受けたデータ送信手段12は、(3)に引き続き領域の転送を繰り返す。そして、最終的に領域Dの送信を完了すると、データ送信手段12は、同期処理領域143のフラグの設定を解除し、同期処理領域143のアドレスを呼情報領域の先頭アドレスに戻し、待ちキューの処理ルーチンをコールする。コールされた待ちキューの処理ルーチンでは、データ送信手段12は、装置間インタフェース3の状態を調べる。この時、装置間インタフェース3の状態がフリー状態であったとすると、次に、データ送信手段12は、同期処理領域143のフラグを調べる。今回はフラグが設定されていないため、次に、データ送信手段12は、待ちキュー領域142の更新指示の有無を調べる。この時点では、待ちキューには(4)で登録した呼情報bの更新指示が登録されている。そのため、データ送信手段12は、待ちキューからこの更新指示を取り出し、取り出した更新指示が示す呼情報bのデータを読み出し、装置間インタフェース3を介して待機系装置2に転送して、ステップC1に戻る。但し、次の更新指示は登録されていないので、データ送信手段12は、装置間インタフェース3の状態監視に留まる。   (6) Receiving the synchronization instruction, the data transmission unit 12 repeats the area transfer following (3). When the transmission of the area D is finally completed, the data transmission means 12 cancels the setting of the flag of the synchronization processing area 143, returns the address of the synchronization processing area 143 to the head address of the call information area, Call processing routine. In the processing routine of the wait queue that has been called, the data transmission means 12 checks the state of the inter-device interface 3. At this time, if the state of the inter-device interface 3 is a free state, the data transmission unit 12 next checks the flag in the synchronization processing area 143. Since the flag is not set this time, the data transmission unit 12 next checks whether or not there is an update instruction for the waiting queue area 142. At this time, an update instruction for the call information b registered in (4) is registered in the waiting queue. Therefore, the data transmission unit 12 takes out this update instruction from the waiting queue, reads the data of the call information b indicated by the taken out update instruction, transfers it to the standby system device 2 via the inter-device interface 3, and goes to Step C1. Return. However, since the next update instruction is not registered, the data transmission unit 12 stays in the state monitoring of the inter-device interface 3.

(7)呼情報管理部11は呼情報dを更新する。今回も同期処理実行後なので、呼情報管理部11は、データ送信手段12に呼情報dの更新指示を行う。更新指示を受けたデータ送信手段12は、同期処理領域143のフラグを調べる。今回はフラグが設定されていないので、データ送信手段12は、直ちに更新指示を待ちキュー領域142のキューの最後に登録し、後述する待ちキューの処理ルーチンをコールする。コールされた待ちキューの処理ルーチンでは、データ送信手段12は、装置間インタフェース3の状態を調べる。この時、装置間インタフェース3の状態がフリー状態であったとすると、データ送信手段12は、次に、同期処理領域143のフラグを調べる。今回はフラグが設定されていないため、データ送信手段12は、次に、待ちキュー領域143の更新指示の有無を調べる。この時点では、待ちキューには呼情報dの更新指示が登録されている。そのため、データ送信手段12は、待ちキューからこの更新指示を取り出し、取り出した更新指示が示す呼情報dのデータを読み出し、装置間インタフェース3を介して待機系装置2に転送して、ステップC1に戻る。但し、次の更新指示は登録されていないので、データ送信手段12は、装置間インタフェース3の状態監視に留まる。   (7) The call information management unit 11 updates the call information d. Since this time also after the execution of the synchronization process, the call information management unit 11 instructs the data transmission means 12 to update the call information d. The data transmission unit 12 that has received the update instruction checks the flag in the synchronization processing area 143. Since the flag is not set this time, the data transmission means 12 immediately registers an update instruction at the end of the queue in the waiting queue area 142 and calls a waiting queue processing routine described later. In the processing routine of the wait queue that has been called, the data transmission means 12 checks the state of the inter-device interface 3. At this time, if the state of the inter-device interface 3 is a free state, the data transmission unit 12 next checks the flag in the synchronization processing area 143. Since the flag is not set this time, the data transmission unit 12 next checks whether there is an update instruction for the waiting queue area 143. At this time, an instruction to update call information d is registered in the waiting queue. Therefore, the data transmission means 12 extracts this update instruction from the waiting queue, reads the data of the call information d indicated by the extracted update instruction, transfers it to the standby system apparatus 2 via the inter-device interface 3, and proceeds to Step C1. Return. However, since the next update instruction is not registered, the data transmission unit 12 stays in the state monitoring of the inter-device interface 3.

本実施形態の呼制御サーバによれば、図7に示すように、同期指示が行われてから同期処理が完了する(2)〜(6)までの間であっても、呼情報管理部11は、同期処理を中止させることなく呼情報b、cの更新を行うことが可能となる。   According to the call control server of the present embodiment, as shown in FIG. 7, the call information management unit 11 even during the period from when the synchronization instruction is issued until the synchronization process is completed (2) to (6). The call information b and c can be updated without stopping the synchronization process.

尚、図には示されていないが、本実施形態の呼制御サーバは、上記で説明したデータ二重化方法を実行するためのプログラムを記録した記録媒体を備えている。この記録媒体は磁気ディスク、半導体メモリまたはその他の記録媒体であってもよい。このプログラムは、記録媒体から呼制御サーバに読み込まれ、呼制御サーバの動作を制御する。具体的には、呼制御サーバ内のCPUがこのプログラムの制御により呼制御サーバの稼働系装置1および待機系装置2のハードウェア資源に特定の処理を行うように指示することにより上記の処理が実現される。   Although not shown in the figure, the call control server of the present embodiment includes a recording medium that records a program for executing the data duplication method described above. This recording medium may be a magnetic disk, a semiconductor memory, or another recording medium. This program is read from the recording medium into the call control server and controls the operation of the call control server. Specifically, the CPU in the call control server instructs the hardware resources of the active system device 1 and the standby system device 2 of the call control server to perform a specific process under the control of this program. Realized.

また、本実施形態では、冗長構成システムとして、稼働系装置と待機系装置とから構成される呼制御サーバを用いて説明したが、本発明はこれに限定されるものではなく、稼働系装置と待機系装置とから構成される一般的な冗長構成システムにおいて、稼働系装置から待機系装置の主記憶装置にデータを転送する場合でも同様に本発明を適用することができるものである。   Further, in the present embodiment, the redundant configuration system has been described using a call control server including an active device and a standby device, but the present invention is not limited to this, and the active device and In a general redundant configuration system composed of a standby system device, the present invention can be similarly applied even when data is transferred from the active system device to the main storage device of the standby system device.

本発明の一実施形態の情報構成システムの構成を示すブロック図である。It is a block diagram which shows the structure of the information structure system of one Embodiment of this invention. 呼情報管理部11からデータ送信手段12に出力される、同期指示の形式を示す図(図2(a))、および更新指示の形式を示す図(図2(b))である。It is the figure (FIG.2 (a)) which shows the format of a synchronous instruction | indication output to the data transmission means 12 from the call information management part 11, and the figure (FIG.2 (b)) which shows the format of an update instruction | indication. 装置間インタフェース3を介して待機系装置2に転送されるデータの形式を示す図である。It is a figure which shows the format of the data transferred to the standby system apparatus 2 via the inter-device interface 3. FIG. データ送信手段12が呼情報管理部11から更新指示を受けた時の動作を示すフローチャートである6 is a flowchart showing an operation when the data transmission unit 12 receives an update instruction from the call information management unit 11; データ送信手段12が呼情報管理部11から同期指示を受けた時の動作を示すフローチャートである。6 is a flowchart showing an operation when the data transmission unit 12 receives a synchronization instruction from the call information management unit 11. データ送信手段12が主記憶装置14の待ちキュー領域142の待ちキューに登録されている更新指示を処理する待ちキュー処理ルーチンの動作を示すフローチャートである。7 is a flowchart showing the operation of a wait queue processing routine in which the data transmission means 12 processes an update instruction registered in the wait queue in the wait queue area 142 of the main storage device 14. 本発明の一実施形態の呼制御サーバの動作を説明するための具体例を示す図である。It is a figure which shows the specific example for demonstrating operation | movement of the call control server of one Embodiment of this invention.

符号の説明Explanation of symbols

1 稼働系装置
2 待機系装置
3 装置間インタフェース
11 呼情報管理部
12 データ送信手段
13 データ受信手段
14 主記憶装置
21 呼情報管理部
22 データ送信手段
23 データ受信手段
24 主記憶装置
141 呼情報領域
142 待ちキュー領域
143 同期処理領域
241 呼情報領域
242 待ちキュー領域
243 同期処理領域
A1〜A6 ステップ
B1〜B10 ステップ
C1〜C9 ステップ
DESCRIPTION OF SYMBOLS 1 Active system apparatus 2 Standby system apparatus 3 Interface between apparatuses 11 Call information management part 12 Data transmission means 13 Data reception means 14 Main storage device 21 Call information management part 22 Data transmission means 23 Data reception means 24 Main storage apparatus 141 Call information area 142 Waiting queue area 143 Synchronization processing area 241 Call information area 242 Waiting queue area 243 Synchronization processing area A1 to A6 Step B1 to B10 Step C1 to C9 Step

Claims (4)

稼働系装置と、前記稼働系装置に障害が発生した場合の予備として待機する待機系装置とから構成される冗長構成システムにおいて、前記稼働系装置の主記憶装置に記憶されたデータを、前記待機系装置の主記憶装置に転送するためのデータ二重化方法であって、
前記待機系装置を冗長構成システムに組み込む際に、前記稼働系装置のデータ管理部が、前記稼働系装置の主記憶装置に格納されている全てのデータを前記待機系装置の主記憶装置に送信する指示を行うための同期指示を行うステップと、
前記同期指示を受信した前記稼働系装置のデータ送信手段が、現在同期処理中である旨を示すフラグを前記稼働系装置の主記憶装置に設定した後に、前記稼働系装置の主記憶装置上の全てのデータを前記待機系装置に順次送信し、送信が完了したデータを示すアドレス情報を前記稼働系装置の主記憶装置に格納するステップと、
前記稼働系装置のデータ管理部が、前記稼働系装置の主記憶装置に格納されているデータを更新した際に、更新を行ったデータを前記待機系装置に送信することを指示する更新指示を前記データ送信手段に出力するステップと、
前記更新指示を受信した前記稼働系装置のデータ送信手段が、前記稼働系装置の主記憶装置のフラグの判定を行い、該フラグに同期処理中である旨が設定されていない場合には、受信した前記更新指示を待ちキューに登録し、該フラグに同期処理中である旨が設定されている場合には、当該更新指示により示されるアドレスと前記アドレス情報とを比較することにより、当該データが前記待機系装置に既に送信されたか否かを判定し、当該データが既に前記待機系装置に転送されていると判定された場合にのみ、その更新指示を前記待ちキューに登録するステップと、
前記同期指示を受信した前記稼働系装置のデータ送信手段が、前記稼働系装置の主記憶装置に格納されている全てのデータの送信が完了した場合に、同期処理中であることを示す前記フラグの設定を解除するステップと、
前記稼働系装置のデータ送信手段は、前記更新指示を受信し、該更新指示を前記待ちキューに登録した時、または、前記同期指示を受信し、前記稼働系装置の主記憶装置に格納されている全てのデータの送信が完了し、前記同期処理中であることを示す前記フラグの設定を解除した時に、前記稼働系装置と前記待機系装置間インタフェースの状態を監視し、送信可能状態で、かつ、同期処理中を示すフラグが未設定の時、前記待ちキューに登録されている更新指示が示す更新データを順次前記待機系装置に対して送信するステップと、
前記待機系装置のデータ受信手段が、前記稼働系装置から送られてくるデータを順次主記憶上の指定された領域に書き込むステップと、
を有するデータ二重化方法。
In a redundant configuration system composed of an active device and a standby device that stands by as a backup when a failure occurs in the active device, data stored in the main storage of the active device is stored in the standby system. A data duplication method for transferring to a main storage device of a system device,
When the standby device is incorporated into a redundant configuration system, the data management unit of the active device transmits all data stored in the main storage device of the active device to the main storage device of the standby device. Performing a synchronization instruction for performing an instruction to perform,
The data transmission unit of the active device that has received the synchronization instruction sets a flag indicating that the synchronization processing is currently being performed in the main storage device of the active device, and then on the main storage device of the active device. All the data is sequentially transmitted to the standby system device, and the address information indicating the data that has been transmitted is stored in the main storage device of the active system device;
When the data management unit of the active device updates data stored in the main storage device of the active device, an update instruction is issued to instruct transmission of the updated data to the standby device. Outputting to the data transmission means;
The data transmission means of the active device that has received the update instruction determines the flag of the main storage device of the active device, and if the flag is not set to indicate that synchronization processing is being performed, The update instruction is registered in the waiting queue, and when the flag is set to indicate that synchronization processing is in progress, the address is indicated by comparing the address indicated by the update instruction with the address information. Determining whether it has already been transmitted to the standby device, and only when it is determined that the data has already been transferred to the standby device, the update instruction is registered in the waiting queue;
The flag indicating that synchronization processing is being performed when the data transmission unit of the active device that has received the synchronization instruction has completed transmission of all data stored in the main storage device of the active device A step to cancel the setting of
The data transmission means of the active device receives the update instruction and registers the update instruction in the waiting queue, or receives the synchronization instruction and is stored in the main storage of the active device. When the transmission of all the data being completed is completed and the setting of the flag indicating that the synchronization processing is in progress is released , the status of the interface between the active device and the standby device is monitored, and in a transmittable state, And, when the flag indicating that the synchronization process is in progress is not set, the update data indicated by the update instruction registered in the waiting queue is sequentially transmitted to the standby device;
The data receiving means of the standby system device sequentially writes the data sent from the active system device to a designated area on the main memory; and
A data duplexing method.
前記稼働系装置の主記憶装置から前記待機系装置の主記憶装置に転送するデータが、通信システムにおいて呼制御を行うための呼情報である、請求項1記載のデータ二重化方法。   The data duplication method according to claim 1, wherein the data transferred from the main storage device of the active device to the main storage device of the standby device is call information for performing call control in the communication system. 稼働系装置と、前記稼働系装置に障害が発生した場合の予備として待機する待機系装置とから構成される冗長構成システムにおいて、前記稼働系装置の主記憶装置に記憶されたデータを、前記待機系装置の主記憶装置に転送するためのデータ二重化方法をコンピュータに実行させるためのプログラムであって、
前記待機系装置を冗長構成システムに組み込む際に、前記稼働系装置のデータ管理部が、前記稼働系装置の主記憶装置に格納されている全てのデータを前記待機系装置の主記憶装置に送信する指示を行うための同期指示を行う処理と、
前記同期指示を受信した前記稼働系装置のデータ送信手段が、現在同期処理中である旨を示すフラグを前記稼働系装置の主記憶装置に設定した後に、前記稼働系装置の主記憶装置上の全てのデータを前記待機系装置に順次送信し、送信が完了したデータを示すアドレス情報を前記稼働系装置の主記憶装置に格納する処理と、
前記稼働系装置のデータ管理部が、前記稼働系装置の主記憶装置に格納されているデータを更新した際に、更新を行ったデータを前記待機系装置に送信することを指示する更新指示を前記データ送信手段に出力する処理と、
前記更新指示を受信した前記稼働系装置のデータ送信手段が、前記稼働系装置の主記憶装置のフラグの判定を行い、該フラグに同期処理中である旨が設定されていない場合には、受信した前記更新指示を待ちキューに登録し、該フラグに同期処理中である旨が設定されている場合には、当該更新指示により示されるアドレスと前記アドレス情報とを比較することにより、当該データが前記待機系装置に既に送信されたか否かを判定し、当該データが既に前記待機系装置に転送されていると判定された場合にのみ、その更新指示を待ちキューに登録する処理と、
前記同期指示を受信した前記稼働系装置のデータ送信手段が、前記稼働系装置の主記憶装置に格納されている全てのデータの送信が完了した場合に、同期処理中であることを示す前記フラグの設定を解除する処理と、
前記稼働系装置のデータ送信手段は、前記更新指示を受信し、該更新指示を前記待ちキューに登録した時、または、前記同期指示を受信し、前記稼働系装置の主記憶装置に格納されている全てのデータの送信が完了し、前記同期処理中であることを示す前記フラグの設定を解除した時に、前記稼働系装置と前記待機系装置間インタフェースの状態を監視し、送信可能状態で、かつ、同期処理中を示すフラグが未設定の時、前記待ちキューに登録されている更新指示が示す更新データを順次前記待機系装置に対して送信する処理と、
前記待機系装置のデータ受信手段が、前記稼働系装置から送られてくるデータを順次主記憶上の指定された領域に書き込む処理と
をコンピュータに実行させるためのプログラム。
In a redundant configuration system composed of an active device and a standby device that stands by as a backup when a failure occurs in the active device, data stored in a main storage device of the active device is stored in the standby system. A program for causing a computer to execute a data duplication method for transferring to a main storage device of a system device,
When the standby device is incorporated into a redundant configuration system, the data management unit of the active device transmits all data stored in the main storage device of the active device to the main storage device of the standby device. A process of issuing a synchronization instruction for issuing an instruction to perform,
The data transmission unit of the active device that has received the synchronization instruction sets a flag indicating that the synchronization processing is currently being performed in the main storage device of the active device, and then on the main storage device of the active device. All the data is sequentially transmitted to the standby system device, and the address information indicating the data that has been transmitted is stored in the main storage device of the active system device;
When the data management unit of the active device updates data stored in the main storage device of the active device, an update instruction is issued to instruct transmission of the updated data to the standby device. Processing to output to the data transmission means;
The data transmission means of the active device that has received the update instruction determines the flag of the main storage device of the active device, and if the flag is not set to indicate that synchronization processing is being performed, The update instruction is registered in the waiting queue, and when the flag is set to indicate that synchronization processing is in progress, the address is indicated by comparing the address indicated by the update instruction with the address information. Determining whether or not it has already been transmitted to the standby device, and only when it is determined that the data has already been transferred to the standby device, processing to register the update instruction in the wait queue;
The flag indicating that synchronization processing is being performed when the data transmission unit of the active device that has received the synchronization instruction has completed transmission of all data stored in the main storage device of the active device Processing to cancel the setting of
The data transmission means of the active device receives the update instruction and registers the update instruction in the waiting queue, or receives the synchronization instruction and is stored in the main storage of the active device. When the transmission of all the data being completed is completed and the setting of the flag indicating that the synchronization processing is in progress is released , the status of the interface between the active device and the standby device is monitored, and in a transmittable state, And, when the flag indicating that the synchronization process is in progress is not set, processing for sequentially transmitting update data indicated by the update instruction registered in the waiting queue to the standby system device;
A program for causing the computer to execute a process in which the data receiving means of the standby system apparatus sequentially writes the data sent from the active system apparatus to a specified area on the main memory.
前記稼働系装置の主記憶装置から前記前記待機系装置の主記憶装置に転送するデータが、通信システムにおいて呼制御を行うための呼情報である、請求項3記載のプログラム。   The program according to claim 3, wherein the data transferred from the main storage device of the active device to the main storage device of the standby device is call information for performing call control in the communication system.
JP2004143404A 2004-05-13 2004-05-13 Data duplication method and program Expired - Fee Related JP4193754B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004143404A JP4193754B2 (en) 2004-05-13 2004-05-13 Data duplication method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004143404A JP4193754B2 (en) 2004-05-13 2004-05-13 Data duplication method and program

Publications (2)

Publication Number Publication Date
JP2005327015A JP2005327015A (en) 2005-11-24
JP4193754B2 true JP4193754B2 (en) 2008-12-10

Family

ID=35473338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004143404A Expired - Fee Related JP4193754B2 (en) 2004-05-13 2004-05-13 Data duplication method and program

Country Status (1)

Country Link
JP (1) JP4193754B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109532954A (en) * 2018-12-12 2019-03-29 中车长春轨道客车股份有限公司 A kind of implementation method of vehicle data automated back-up

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5686034B2 (en) * 2011-04-28 2015-03-18 富士通株式会社 Cluster system, synchronization control method, server device, and synchronization control program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109532954A (en) * 2018-12-12 2019-03-29 中车长春轨道客车股份有限公司 A kind of implementation method of vehicle data automated back-up
CN109532954B (en) * 2018-12-12 2022-01-28 中车长春轨道客车股份有限公司 Method for implementing automatic backup of vehicle data

Also Published As

Publication number Publication date
JP2005327015A (en) 2005-11-24

Similar Documents

Publication Publication Date Title
CA2339783C (en) Fault tolerant computer system
JP4401895B2 (en) Computer system, computer and its program.
US7320058B2 (en) Apparatus and method for online data migration with remote copy
KR100194295B1 (en) How to update the status of data processing systems and queues
JP4422519B2 (en) Information processing system
US8468314B2 (en) Storage system, storage apparatus, and remote copy method for storage apparatus in middle of plural storage apparatuses
JP5090022B2 (en) Computer system, access control method, and management computer
US20060129772A1 (en) Data processing method and system
JP2007219757A (en) Program for making virtual computer system function
JP2006285919A (en) Computer system, computer and remote copy processing method
JP2003167684A (en) System for remote data copy between disk array devices
JP2005309550A (en) Remote copying method and system
US8255649B2 (en) Remote copy control method and system in storage cluster environment
JP2006072591A (en) Virtual computer control method
JP2004303122A (en) Data transfer control system
US7890715B2 (en) Suspension of an asynchronous remote copy pair system having a primary controller and a remote controller
JP2008140142A (en) Information processing system
JP5287974B2 (en) Arithmetic processing system, resynchronization method, and farm program
JP2006172243A (en) Fault-tolerant computer device and synchronization method for the same
JP4193754B2 (en) Data duplication method and program
JP2006058960A (en) Synchronization method and system in redundant configuration server system
JP2003167746A (en) Software distribution method, execution system for the same and processing program for the same
JP2001154896A (en) Computer and method for updating file
JP4721057B2 (en) Data management system, data management method, and data management program
JP5251690B2 (en) Remote copy system and remote copy method

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071003

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080116

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080409

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080430

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080430

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20080508

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080604

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080609

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080902

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080915

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111003

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121003

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131003

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees