[go: up one dir, main page]

JP5412481B2 - Data synchronization method - Google Patents

Data synchronization method Download PDF

Info

Publication number
JP5412481B2
JP5412481B2 JP2011184685A JP2011184685A JP5412481B2 JP 5412481 B2 JP5412481 B2 JP 5412481B2 JP 2011184685 A JP2011184685 A JP 2011184685A JP 2011184685 A JP2011184685 A JP 2011184685A JP 5412481 B2 JP5412481 B2 JP 5412481B2
Authority
JP
Japan
Prior art keywords
control server
call control
call
new
processing
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.)
Active
Application number
JP2011184685A
Other languages
Japanese (ja)
Other versions
JP2013046346A (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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2011184685A priority Critical patent/JP5412481B2/en
Publication of JP2013046346A publication Critical patent/JP2013046346A/en
Application granted granted Critical
Publication of JP5412481B2 publication Critical patent/JP5412481B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、二重化システムにおけるデータ同期方法に関し、特に、呼制御によりセッション確立の制御を行う呼制御システムにおけるデータ同期方法に関する。   The present invention relates to a data synchronization method in a duplex system, and more particularly to a data synchronization method in a call control system that controls session establishment by call control.

従来より、システムの信頼性を高める手法の一つとして、システムを二重化することが知られている(例えば、特許文献1参照)。通常運用中に処理を行うシステムを現用系などと呼び、現用系に障害が発生したとき肩代わりするシステムを予備系などと呼ぶ。障害が発生すると、現用系と予備系とを切り替えて、以降は新現用系で処理を行うようになっている。   2. Description of the Related Art Conventionally, it has been known that a system is duplicated as one of methods for improving system reliability (see, for example, Patent Document 1). A system that performs processing during normal operation is called an active system, and a system that takes over when a failure occurs in an active system is called a standby system. When a failure occurs, the active system and the standby system are switched, and thereafter, processing is performed on the new active system.

特開2010−28708号公報JP 2010-28708 A

ところで、従来の交換機をベースとした通信各社の独自開発では、開発期間が長くかかり、開発費も高くなるため、通信事業およびその装置開発に係る企業によってSAF(service availability forum)が設立された。SAFでは、仕様を共通化することで移植性を高め、コストを下げることを目的としている。近年は、複数のIPネットワークに設置された機器が連携して複雑なサービスを提供することから、相互接続性を高めることも目的としている。   By the way, in the original development of each communication company based on the conventional exchange, it takes a long development period and the development cost is high, so a service availability forum (SAF) was established by a company related to the communication business and its device development. SAF aims to increase portability and reduce costs by standardizing specifications. In recent years, devices installed in a plurality of IP networks cooperate with each other to provide a complicated service, and therefore, an object is also to improve interoperability.

SAFでは、いくつかの分類に従って仕様を決めている。その中でも、ノード間でデータをコピー(同期)することで、障害発生時に前のデータを用いてサービスを継続することができるチェックポイント(CKPT)の仕組みがある。すなわち、障害が発生すると、現用系と予備系とを切り替えて、新現用系でCKPT機能により同期したデータを用いて呼処理をする。このとき、既に新現用系では呼処理を開始して、新規呼の受信信号をデータとして格納し、編集を開始している。よって、新現用系は信頼のある最新状態であるため、新現用系が持っているCKPTデータを新現用系から新予備系に対してコピー(再同期)するようになっている。これにより、障害発生前の状態から呼処理を再開(継続)することが可能となる。   In SAF, specifications are determined according to several classifications. Among them, there is a checkpoint (CKPT) mechanism in which data is copied (synchronized) between nodes so that service can be continued using previous data when a failure occurs. That is, when a failure occurs, the active system and the standby system are switched, and call processing is performed using data synchronized by the CKPT function in the new active system. At this time, call processing has already started in the new active system, the received signal of the new call is stored as data, and editing is started. Therefore, since the new active system is in the latest state with reliability, the CKPT data possessed by the new active system is copied (re-synchronized) from the new active system to the new standby system. As a result, it is possible to resume (continue) the call processing from the state before the occurrence of the failure.

しかしながら、CKPTデータの再同期中に新現用系の呼情報が更新(変更)されると、新現用系と新予備系との間で情報の矛盾が発生する。このような矛盾を避けるためには、変更分の同期/未同期の管理もしくは未変更分の同期/未同期の管理が必要となる。CKPTの利用頻度の高い使用用途では、更新したところをさらに更新する場合もある。その場合は、更新分の更新分について管理などが必要となり、さらに処理が複雑になる。そのため、従来は、CKPTデータの再同期が完了するのを待って、呼処理を再開していた。もしくは、呼情報の損失により呼継続できないことを割り切っていた。   However, if the call information of the new working system is updated (changed) during the resynchronization of the CKPT data, an information conflict occurs between the new working system and the new standby system. In order to avoid such a contradiction, it is necessary to manage the synchronization / unsynchronization for the change or the synchronization / unsynchronization management for the change. In usages where CKPT is frequently used, the updated location may be further updated. In such a case, management for the updated part becomes necessary, and the processing becomes further complicated. For this reason, conventionally, the call processing is resumed after the resynchronization of the CKPT data is completed. Or, it was impossible to continue the call due to loss of call information.

本発明は、上述した従来の技術に鑑み、系切り替え後、速やかに呼処理を再開(継続)することができるデータ同期方法を提供することを目的とする。   An object of the present invention is to provide a data synchronization method capable of resuming (continuing) call processing promptly after system switching in view of the above-described conventional technology.

上記目的を達成するため、第1の態様に係る発明は、通常運用中の呼処理は現用系呼制御サーバで実施し、障害が発生すると現用系呼制御サーバと予備系呼制御サーバとを切り替えて新現用系呼制御サーバで呼処理をする呼制御システムにおける新現用系呼制御サーバ上のデータ同期方法であって、系切り替え後、新現用系呼制御サーバの基本領域のデータの再同期を新現用系呼制御サーバから新予備系呼制御サーバに対して開始する第1の同期ステップと、呼処理の継続信号を含む受信信号により生成されたデータを新現用系呼制御サーバの一時領域に退避させる退避ステップと、新現用系呼制御サーバの一時領域に退避させたデータの同期を新現用系呼制御サーバから新予備系呼制御サーバに対して開始する第2の同期ステップとを備え、呼処理を制御する呼処理制御部から前記一時領域への書き込み要求を受けた場合、その応答を遅延させることにより、新現用系呼制御サーバの処理量を前記一時領域を用いて制御することを要旨とする。 To achieve the above object, according to the first aspect of the invention, call processing during normal operation is performed by the active call control server, and when a failure occurs, the active call control server and the standby call control server are switched. A data synchronization method on the new active call control server in a call control system that performs call processing on the new active call control server, and resynchronizes data in the basic area of the new active call control server after system switching. The first synchronization step started from the new active call control server to the new standby call control server and the data generated by the received signal including the call processing continuation signal are stored in the temporary area of the new active call control server. A saving step for saving, and a second synchronization step for starting the synchronization of the data saved in the temporary area of the new active call control server from the new active call control server to the new standby call control server. If the call processing control unit for controlling the call processing receives a write request to the temporary area, by delaying its response to control by using the temporary area throughput of the new active system call control server The gist.

の態様に係る発明は、第1の態様に係る発明において、前記応答の遅延時間を(最小の再送間隔−内部信号処理時間)とすることを要旨とする。 The invention according to the second aspect is characterized in that, in the invention according to the first aspect, the delay time of the response is set to (minimum retransmission interval−internal signal processing time).

の態様に係る発明は、第1の態様に係る発明において、前記一時領域から前記基本領域への書き込み量よりも、呼処理を制御する呼処理制御部から前記一時領域への書き込み量を少なくすることを要旨とする。 The invention according to a third aspect is the invention according to the first aspect, wherein the write amount from the temporary area to the basic area is less than the write amount from the temporary area to the basic area. The gist is to reduce it.

本発明によれば、系切り替え後、速やかに呼処理を再開(継続)することができるとともに、呼処理の再開(継続)による負荷を緩和することができるデータ同期方法を提供することが可能である。   According to the present invention, it is possible to provide a data synchronization method capable of resuming (continuing) call processing immediately after system switching and reducing the load caused by resuming (continuing) call processing. is there.

本発明の実施形態1におけるSIP通信システムのネットワーク構成図である。It is a network block diagram of the SIP communication system in Embodiment 1 of this invention. 本発明の実施形態1におけるCKPTの説明図である。It is explanatory drawing of CKPT in Embodiment 1 of this invention. 本発明の実施形態1における呼制御システムの機能ブロック図である。It is a functional block diagram of the call control system in Embodiment 1 of the present invention. 本発明の実施形態1における呼制御システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the call control system in Embodiment 1 of this invention. 本発明の実施形態1におけるデータ同期方法の説明図である。It is explanatory drawing of the data synchronization method in Embodiment 1 of this invention. 本発明の実施形態2における新ACT系呼制御サーバの機能ブロック図である。It is a functional block diagram of the new ACT system call control server in Embodiment 2 of this invention. 本発明の実施形態2における呼制御システムの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the call control system in Embodiment 2 of this invention.

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

(実施形態1)
図1は、実施形態1におけるSIP通信システム1のネットワーク構成図である。このSIP通信システム1は、SIP(Session Initiation Protocol)による呼制御を行うシステムであり、図1に示すように、アクセス網2上の加入者端末2A,2B,2C,…と、IPネットワーク3上の転送装置3A,3B,3C,…と、加入者収容サーバ4A,4Bと、中継サーバ5A,5Bと、呼制御システム6と、ガイダンスサーバ7A,7Bとを備えている。
(Embodiment 1)
FIG. 1 is a network configuration diagram of a SIP communication system 1 according to the first embodiment. The SIP communication system 1 is a system that performs call control by SIP (Session Initiation Protocol). As shown in FIG. 1, subscriber terminals 2A, 2B, 2C,. Transfer devices 3A, 3B, 3C,..., Subscriber accommodation servers 4A, 4B, relay servers 5A, 5B, a call control system 6, and guidance servers 7A, 7B.

加入者端末2A,2B,2C,…は、ユーザである加入者が利用するIP電話、HGW(ホームゲートウェイ)等であり、加入者端末間で利用するメディア通信を行うためのSIPネゴシエーションを行う機能を有する。転送装置3A,3B,3C,…は、加入者端末2A,2B,2C,…のメディア通信のトラヒックを転送する。加入者収容サーバ4Aは、加入者端末2A,2B,2CのSIP信号を中継するプロキシサーバであり、加入者収容サーバ4Bは、加入者端末2D,2E,2FのSIP信号を中継するプロキシサーバである。加入者収容サーバ4A,4Bは、加入者端末間のSIPネゴシエーションを中継し、加入者契約情報に基づいてSIP信号に補足する機能や、あらかじめ保持したルールに従ってSIP信号を編集する機能を有する。中継サーバ5A,5Bは、加入者収容サーバ4Aと4Bとを接続し、SIP信号を中継する機能を有する。呼制御システム6は、ACT系(現用系)呼制御サーバ61と、SBY系(予備系)呼制御サーバ62とを有する。   The subscriber terminals 2A, 2B, 2C,... Are IP telephones, HGWs (home gateways), etc. used by subscribers who are users, and a function of performing SIP negotiation for media communication used between the subscriber terminals. Have The transfer devices 3A, 3B, 3C,... Transfer the media communication traffic of the subscriber terminals 2A, 2B, 2C,. The subscriber accommodation server 4A is a proxy server that relays SIP signals of the subscriber terminals 2A, 2B, and 2C, and the subscriber accommodation server 4B is a proxy server that relays SIP signals of the subscriber terminals 2D, 2E, and 2F. is there. The subscriber accommodation servers 4A and 4B have a function of relaying the SIP negotiation between the subscriber terminals, supplementing the SIP signal based on the subscriber contract information, and a function of editing the SIP signal according to a rule stored in advance. The relay servers 5A and 5B have a function of connecting the subscriber accommodation servers 4A and 4B and relaying SIP signals. The call control system 6 includes an ACT (active) call control server 61 and an SBY (standby) call control server 62.

加入者収容サーバ4A,4Bは、収容する範囲の加入者の情報を用いてサービスを行う。それに対して、ACT系呼制御サーバ61やSBY系呼制御サーバ62は、全国型のサービスなど、複数の加入者収容サーバにまたがるようなサービスを提供する。代表的な例としては、フリーダイヤルなど番号変換系のサービスや、着信ユーザの状態によりガイダンスを流すガイダンスサービスがある。サービスの提供の仕方は以下のようになる。   The subscriber accommodation servers 4A and 4B perform services using information of subscribers within the accommodation range. On the other hand, the ACT call control server 61 and the SBY call control server 62 provide services that span a plurality of subscriber accommodation servers, such as nationwide services. Typical examples include a number conversion service such as toll free and a guidance service that sends guidance according to the status of the incoming user. The way of providing the service is as follows.

まず、ユーザが加入者端末2Aから論理的な電話番号を指定して発呼すると、invite信号などの発呼信号がIPネットワーク3のエッジにある転送装置3Aから分岐されて加入者収容サーバ4Aに送られる。そして、加入者情報による処理が行われた後、宛先が論理番号である場合は呼制御システム6に送られ、着信先となる物理番号に変換される。その後、元の加入者収容サーバ4Aに返却、もしくは、着信先となる物理番号を収容する加入者収容サーバ4Bに接続される。ネットワークの構成や番号帯によっては、中継サーバ5A,5Bを経由して着信先の加入者収容サーバ4Bに接続される。発呼した加入者端末2Aを発側、着信した加入者端末2Dを着側と呼称する。加入者端末2A,2D間で許容可能な条件が交換され(SIPネゴシエーション)、確立した条件に基づいてメディア通信が行われる。ここでいうメディア通信は一般的に通話である。メディア通信に用いられる信号(パケット)は、アクセス網2とIPネットワーク3を経由して届けられる。加入者収容サーバ4A,4Bは経由しない。ガイダンス通信のガイダンス音声はガイダンスサーバ7A,7Bを経由して流される。全国規模の通話を対象としており、複数の加入者収容サーバから同時的に信号が送信されるため、処理頻度は極めて高い。これらの高頻度の呼処理を途切れることなく提供することのできる高可用性が求められている。   First, when a user specifies a logical telephone number from the subscriber terminal 2A and makes a call, a call signal such as an invite signal is branched from the transfer device 3A at the edge of the IP network 3 and sent to the subscriber accommodation server 4A. Sent. After the processing based on the subscriber information is performed, if the destination is a logical number, it is sent to the call control system 6 and converted into a physical number as the destination. Thereafter, it is returned to the original subscriber accommodation server 4A or connected to the subscriber accommodation server 4B that accommodates the physical number that is the destination. Depending on the network configuration and number band, it is connected to the destination subscriber accommodation server 4B via the relay servers 5A and 5B. The calling subscriber terminal 2A is called the calling side, and the called subscriber terminal 2D is called the called side. Acceptable conditions are exchanged between the subscriber terminals 2A and 2D (SIP negotiation), and media communication is performed based on the established conditions. The media communication here is generally a call. A signal (packet) used for media communication is delivered via the access network 2 and the IP network 3. It does not go through the subscriber accommodation servers 4A and 4B. Guidance voice of guidance communication is played via the guidance servers 7A and 7B. Since it is intended for nationwide calls and signals are transmitted simultaneously from a plurality of subscriber accommodation servers, the processing frequency is extremely high. There is a need for high availability that can provide these high-frequency call processing without interruption.

呼制御システム6は、発側の加入者収容サーバ4Aから発呼信号を受けると、番号変換の他、宛先のIPアドレスやタイマの設定、経由情報の変更などの呼処理を行いながら呼情報を変更する。そして、図2に示すように、ACT系呼制御サーバ61からSBY系呼制御サーバ62に対してCKPTデータをコピー(同期)しながら呼処理を行い、その処理結果を発側の加入者収容サーバ4Aに応答する。もしくは、着側の加入者収容サーバ4Bに送信したり、ガイダンスサーバ7A,7Bに指示を出す場合もある。発側の加入者収容サーバ4Aと着側の加入者収容サーバ4Bが同じ場合もある。同期の単位は、CKPT最大サイズ(=セクション数×セクションサイズ)の範囲内で各開発者に裁量が与えられている。ここでは、発着の通信開始から通信終了までの呼に対して1セクションを用いて更新する度に同期することとする。通信開始は、発信者からなされる場合だけでなく、呼制御システム6からなされる場合もある。通信終了は、通信断など不本意に切断される場合もある。これらの場合を含め、通信開始から通信終了までの呼に対して1セクションを用いる。再送が期待できる信号は、データが消失しても再送により再実行できるため、自サーバから送信するタイミングで同期するようになっている。   When the call control system 6 receives the call signal from the calling party accommodating server 4A, the call control system 6 performs call processing while performing call processing such as setting of the destination IP address and timer and changing the route information in addition to number conversion. change. Then, as shown in FIG. 2, the call processing is performed while copying (synchronizing) the CKPT data from the ACT call control server 61 to the SBY call control server 62, and the processing result is sent to the originating subscriber accommodation server. Respond to 4A. Alternatively, the information may be transmitted to the called-side subscriber accommodation server 4B or may be instructed to the guidance servers 7A and 7B. In some cases, the originating side subscriber accommodation server 4A and the destination side subscriber accommodation server 4B are the same. As for the unit of synchronization, each developer is given discretion within the range of CKPT maximum size (= number of sections × section size). Here, it is assumed that the call from the start of arrival / departure communication to the end of communication is synchronized every time it is updated using one section. The communication start may be made not only from the caller but also from the call control system 6. The end of communication may be disconnected unintentionally such as communication disconnection. Including these cases, one section is used for calls from the start of communication to the end of communication. Since signals that can be expected to be retransmitted can be re-executed by retransmission even if data is lost, they are synchronized at the timing of transmission from the own server.

図3は、呼制御システム6の機能ブロック図である。図3(a)は系切り替え前、図3(b)は系切り替え後を示している。呼処理制御部611,631は、呼処理を制御するプロセスであり、ACT系で動作する。同期処理制御部612等は、他系との同期処理を制御するプロセスである。同期領域記憶部613等は、具体的にはCKPTバッファである。   FIG. 3 is a functional block diagram of the call control system 6. FIG. 3A shows before system switching, and FIG. 3B shows after system switching. The call processing control units 611 and 631 are processes that control call processing and operate in the ACT system. The synchronization processing control unit 612 and the like are processes that control synchronization processing with other systems. The synchronization area storage unit 613 is specifically a CKPT buffer.

図3(a)に示すように、通常運用中の呼処理はACT系呼制御サーバ61で実施し、障害が発生するとACT系呼制御サーバ61とSBY系呼制御サーバ62とを切り替える。これにより、図3(b)に示すように、旧SBY系呼制御サーバ62は新ACT系呼制御サーバ63になり、また、旧ACT系呼制御サーバ61は新SBY系呼制御サーバ64になり、新ACT系呼制御サーバ63で呼処理を継続(再開)するようになっている。この場合、データが経由するルートは、呼処理制御部631、一時領域63A、基本領域63A、一時領域64A、基本領域64Bの順である。 ところで、系切り替え後は、速やかに新ACT系呼制御サーバ63で呼処理を継続(再開)する必要がある。新ACT系呼制御サーバ63は、同期されていたCKPTデータを用いて継続呼についても呼処理を継続することが可能である。このとき、新ACT系呼制御サーバ63は信頼のある最新状態であるため、新ACT系呼制御サーバ63から新SBY系呼制御サーバ64にCKPTデータを再同期する必要がある。   As shown in FIG. 3A, call processing during normal operation is performed by the ACT call control server 61. When a failure occurs, the ACT call control server 61 and the SBY call control server 62 are switched. As a result, the old SBY call control server 62 becomes the new ACT call control server 63 and the old ACT call control server 61 becomes the new SBY call control server 64, as shown in FIG. The new ACT call control server 63 continues (resumes) the call processing. In this case, the route through which the data passes is in the order of the call processing control unit 631, the temporary area 63A, the basic area 63A, the temporary area 64A, and the basic area 64B. By the way, after the system switching, it is necessary to continue (restart) the call processing in the new ACT call control server 63 promptly. The new ACT call control server 63 can continue the call processing for a continuous call using the synchronized CKPT data. At this time, since the new ACT call control server 63 is in the latest reliable state, it is necessary to resynchronize the CKPT data from the new ACT call control server 63 to the new SBY call control server 64.

しかしながら、CKPTデータの再同期中に新ACT系呼制御サーバ63の呼情報が更新されると、新ACT系呼制御サーバ63と新SBY系呼制御サーバ64との間で情報の矛盾が発生する。そのため、従来は、CKPTデータへの再同期が完了するのを待って、呼処理を再開していた。もしくは、呼情報の損失により呼継続できないことを割り切っていた。本実施形態では、系切り替え後、速やかに呼処理を再開(継続)することができるようにするため、以下の手法を採用している。   However, if the call information of the new ACT call control server 63 is updated during the resynchronization of the CKPT data, information conflict occurs between the new ACT call control server 63 and the new SBY call control server 64. . Therefore, conventionally, the call processing is resumed after the resynchronization with the CKPT data is completed. Or, it was impossible to continue the call due to loss of call information. In the present embodiment, the following method is employed in order to be able to resume (continue) call processing immediately after system switching.

図4は、呼制御システム6の動作を示すフローチャートである。ここでは、新ACT系呼制御サーバ63上のデータ同期方法に着目して説明する。   FIG. 4 is a flowchart showing the operation of the call control system 6. Here, a description will be given focusing on the data synchronization method on the new ACT call control server 63.

まず、障害により系の切り替えが発生すると、新ACT系呼制御サーバ63の基本領域63Bのデータの再同期を新ACT系呼制御サーバ63から新SBY系呼制御サーバ64に対して開始する(ステップS11)。基本領域63Bは、CKPT内の記憶領域であり、図2に示す複数のセクションに相当する。次いで、呼処理の継続信号を含む受信信号により生成されたデータを新ACT系呼制御サーバ63の一時領域63Aに退避させる。ここでいう「退避」とは、一時的に蓄積するという意味である。このとき、呼処理の再開によって新ACT系呼制御サーバ63は高負荷状態であるため、この負荷を緩和するように再同期中における新ACT系呼制御サーバ63の処理量を制御するようになっている。具体的には、図3(b)に示すように、新ACT系呼制御サーバ63の同期処理制御部632は、呼処理制御部631から一時領域63Aへの書き込み要求を受けた場合、その応答を所定の時間だけ遅延させる(ステップS12→S13→S14→S15)。   First, when a system change occurs due to a failure, resynchronization of data in the basic area 63B of the new ACT call control server 63 is started from the new ACT call control server 63 to the new SBY call control server 64 (step). S11). The basic area 63B is a storage area in the CKPT and corresponds to a plurality of sections shown in FIG. Next, the data generated by the received signal including the call processing continuation signal is saved in the temporary area 63 A of the new ACT call control server 63. Here, “evacuation” means temporarily storing. At this time, since the new ACT call control server 63 is in a high load state by resuming the call processing, the processing amount of the new ACT call control server 63 during resynchronization is controlled so as to reduce this load. ing. Specifically, as shown in FIG. 3B, when the synchronous processing control unit 632 of the new ACT call control server 63 receives a write request to the temporary area 63A from the call processing control unit 631, the response Is delayed by a predetermined time (steps S12 → S13 → S14 → S15).

呼処理のメインフローでは、SIP信号を受けて、その信号の格納や編集、他系への書き込みを待って応答を返す。呼処理のメインフローは複数のワーカースレッドが行っているが、それぞれ、応答を返すまで持ちきりとなり、他の呼処理を行わない。よって、ワーカースレッド内の一処理であるCKPT管理で応答を遅延させることで、容易にCKPT所望の処理量に調整することが可能となる。   In the main flow of call processing, an SIP signal is received and a response is returned after the signal is stored and edited and written to another system. The main flow of call processing is performed by a plurality of worker threads. Each worker thread is carried out until a response is returned, and no other call processing is performed. Therefore, by delaying the response by CKPT management, which is one process in the worker thread, it becomes possible to easily adjust the processing amount to the desired CKPT.

書き込み応答の遅延時間は、再同期中に書き込み応答が返されてもCKPTバッファが溢れない適切な時間に設定しておく。すなわち、再同期中の新ACT系呼制御サーバ63では、新SBY系呼制御サーバ64へCKPTデータを転送すると同時に、呼処理制御部631からの書き込み要求を処理している。そのため、あらかじめ準備しているCKPTバッファが溢れるのを防止する仕組みが必要となる。そこで、再同期が完了するまでの間については、前記したように、書き込み応答を遅延させることで書き込み要求を制限することとしている。 これにより、呼処理制御部631の所要時間は呼制御システム6が受け付ける呼の間隔より長くなる。しかし、呼の間隔を長くすることは、呼制御システム6で処理する単位時間あたりの呼量を抑え、再同期中に限られたCKPT資源内で正常に動作させるために必要である。   The delay time of the write response is set to an appropriate time that does not overflow the CKPT buffer even if the write response is returned during resynchronization. In other words, the new ACT call control server 63 during resynchronization transfers the CKPT data to the new SBY call control server 64 and simultaneously processes the write request from the call processing control unit 631. Therefore, a mechanism for preventing the prepared CKPT buffer from overflowing is necessary. Thus, until the resynchronization is completed, as described above, the write request is limited by delaying the write response. Thereby, the time required for the call processing control unit 631 becomes longer than the interval of calls accepted by the call control system 6. However, increasing the call interval is necessary to reduce the call volume per unit time processed by the call control system 6 and to operate normally within the limited CKPT resource during resynchronization.

以下、遅延時間について更に詳しく説明する。   Hereinafter, the delay time will be described in more detail.

例えば、30万BHCA(Busy Hour Call Attempts)の呼量がある場合は、3600000ms÷300000=12ms毎の処理要求頻度となる。BHCAとは、電話網が最も混雑する時間帯における回線呼び出しの回数の総量のことである。信号処理を遅延させ過ぎると、逆に、呼処理のメインフローの前段、つまり信号受信処理の段階から、再送信号による信号処理量が倍増してしまう。遅延時間がSIP信号の最初の再送間隔500ms未満であれば、再送は起こらない。呼処理サーバにSIP信号が入ってから出るまでの通常の処理時間(内部信号処理時間)を仮に50msとすると、遅延時間を450msまで伸ばすことが可能である。450ms毎の信号処理は、単純に計算すると、CKPTの処理量が8000BHCAである場合に相当するが、実際には、以下の平均保留時間が延びることにより呼量が下がる。また、外部からかかる信号量(SIP信号として呼処理サーバに入ってくる信号量)はそこまで下がらないので、信号受信バッファなど、呼処理の前段で構えるバッファをより多く必要とすることになる。内部信号処理時間を延ばすことは平均保留時間を延ばすことになる。平均保留時間が延びた場合も、次式に示すように、同時接続数制限により呼量は下がることになる。1呼あたりのSIP信号数が13信号であるとすると、それぞれ400ms遅延させた場合、α=13×400=5200ms≒5秒だけ平均保留時間を延ばすことができる。   For example, when there is a call volume of 300,000 BHCA (Busy Hour Call Attempts), the processing request frequency is every 3600000 ms ÷ 300000 = 12 ms. BHCA is the total number of line calls in the time zone when the telephone network is most congested. If the signal processing is delayed too much, conversely, the amount of signal processing by the retransmission signal doubles from the previous stage of the main flow of call processing, that is, from the stage of signal reception processing. If the delay time is less than 500 ms for the first retransmission interval of the SIP signal, retransmission does not occur. If the normal processing time (internal signal processing time) from when a SIP signal enters the call processing server to when it comes out is 50 ms, the delay time can be extended to 450 ms. The signal processing every 450 ms is equivalent to the case where the processing amount of CKPT is 8000 BHCA when calculated simply, but actually, the call amount is lowered by extending the following average holding time. In addition, since the amount of signal from the outside (the amount of signal entering the call processing server as a SIP signal) does not decrease that much, more buffers such as a signal reception buffer are required in the previous stage of call processing. Increasing the internal signal processing time increases the average hold time. Even when the average hold time is extended, the call volume is reduced due to the simultaneous connection limit as shown in the following equation. Assuming that the number of SIP signals per call is 13, each average hold time can be extended by α = 13 × 400 = 5200 ms≈5 seconds when each is delayed by 400 ms.

同時接続数×3600÷(平均保留時間+α)=減少した呼量
そこで、本実施形態では、遅延時間を(最小の再送間隔−内部信号処理時間)とする。また、平均保留時間を(最小の再送間隔−内部信号処理時間)×信号数と想定し、同時接続数×3600÷(平均保留時間+α)=減少した呼量として、減少した呼量分だけ余分に信号受信バッファなど内部バッファを多く設計するようにしている。
The number of simultaneous connections × 3600 ÷ (average hold time + α) = reduced call volume Therefore, in this embodiment, the delay time is (minimum retransmission interval−internal signal processing time). In addition, assuming that the average hold time is (minimum retransmission interval-internal signal processing time) x number of signals, the number of simultaneous connections x 3600 / (average hold time + α) = reduced call volume, extra for the reduced call volume In addition, many internal buffers such as a signal receiving buffer are designed.

以下、このようなデータ同期方法を図5に従って更に詳しく説明する。   Hereinafter, such a data synchronization method will be described in more detail with reference to FIG.

まず、図5(a)に示すように、通常運用中の呼処理はACT系呼制御サーバ61で実施し、呼毎に他系62のCKPTへの書き込みを待って、その書き込み応答を返す。異なる呼は、図5(b)に示すように、異なるセクションを使用する。障害により系の切り替えが発生すると、図5(c)に示すように、新ACT系呼制御サーバ63で呼処理を実施する。新ACT系呼制御サーバ63は、基本領域63Bのデータを新SBY系呼制御サーバ64に再同期する。そのため、再同期中は新規呼(図中の丸)を自系63の一時領域63Aに書き込むが、図5(c)(d)の時点では所定の時間が経過していないため書き込み応答を返さない。呼毎に所定の時間が経過すると、図5(e)に示すように、一時領域63Aに退避させたデータの同期を開始し、呼毎に他系64のCKPTへの書き込みを待って、その書き込み応答を返す。具体的には、一時領域63Aに退避させた継続呼(点線)や新規呼(一点鎖線)を新ACT系呼制御サーバ63の基本領域63Bに書き込みながら新SBY系呼制御サーバ64に転送するようになっている。再同期が完了すると、図5(f)に示すように、通常運用中の呼処理に戻る。   First, as shown in FIG. 5A, call processing during normal operation is performed by the ACT call control server 61, and writing to the CKPT of the other system 62 is waited for each call, and the write response is returned. Different calls use different sections as shown in FIG. 5 (b). When system switching occurs due to a failure, the new ACT system call control server 63 performs call processing as shown in FIG. The new ACT call control server 63 resynchronizes the data in the basic area 63B with the new SBY call control server 64. Therefore, a new call (circle in the figure) is written in the temporary area 63A of the own system 63 during resynchronization, but a write response is returned because a predetermined time has not passed at the time of FIGS. 5 (c) and 5 (d). Absent. When a predetermined time elapses for each call, as shown in FIG. 5E, the synchronization of the data saved in the temporary area 63A is started, and writing to the CKPT of the other system 64 is waited for each call. Returns a write response. Specifically, the continuation call (dotted line) or new call (dashed line) saved in the temporary area 63A is transferred to the new SBY call control server 64 while being written to the basic area 63B of the new ACT call control server 63. It has become. When the resynchronization is completed, as shown in FIG. 5F, the process returns to the call processing during normal operation.

図5に示すように、通常運用時から、一時領域63Aを経由して(または、一時領域63Aを経由するタイミングであるかどうかを判断しながら)、基本領域63Bを用いて呼処理を行う。これにより、一時領域63Aを使用するルートと基本領域63Bを使用するルートとを分けなくて済むため、処理プログラムを共通化することができる。   As shown in FIG. 5, call processing is performed using the basic area 63B from the normal operation via the temporary area 63A (or while determining whether it is time to pass through the temporary area 63A). This eliminates the need to separate the route that uses the temporary area 63A and the route that uses the basic area 63B, so that the processing program can be shared.

以上のように、本実施形態における呼制御システム6によれば、系切り替え後、速やかに呼処理を再開(継続)することができるデータ同期方法を提供することができる。すなわち、新ACT系呼制御サーバ63は、一時領域を用いるようにしているので、基本領域へ新たな書き込みを行わずに呼処理を継続しながら新SBY系呼制御サーバ64を速やかに更新することができる。発話から終話まで(inviteからbyeまで)の一連の呼処理では、いくつものSIP信号の送受信がある。系が切り替わっても、この一連の呼処理を継続することができるので、通話中の呼が切れない。発話から終話までの一連の呼処理をなす信号を継続信号といい、updateやre−invite、再送信号も含む。   As described above, according to the call control system 6 in the present embodiment, it is possible to provide a data synchronization method capable of resuming (continuing) call processing promptly after system switching. That is, since the new ACT call control server 63 uses the temporary area, the new SBY call control server 64 can be updated promptly while continuing the call processing without performing a new write to the basic area. Can do. In a series of call processing from utterance to end (from invite to bye), there are a number of SIP signal transmissions and receptions. Even if the system is switched, this series of call processing can be continued, so that a call during a call cannot be disconnected. A signal that performs a series of call processing from the utterance to the end is called a continuation signal, and includes an update, a re-invite, and a retransmission signal.

また、本実施形態では、呼処理の再開(継続)による負荷を緩和するように、再同期中における新ACT系呼制御サーバ63の処理量を一時領域を用いて制御するようにしている。具体的には、呼処理制御部631から一時領域63Aへの書き込み要求を受けた場合、その応答を遅延させる。これにより、再同期中の呼量が過剰にならないように調整することができ、再同期中に一時領域63Aへの単位時間あたりの蓄積量を適切に保つことが可能となる。   In this embodiment, the processing amount of the new ACT call control server 63 during resynchronization is controlled using a temporary area so as to reduce the load caused by resumption (continuation) of call processing. Specifically, when a write request to the temporary area 63A is received from the call processing control unit 631, the response is delayed. As a result, it is possible to adjust so that the call volume during resynchronization does not become excessive, and it is possible to appropriately maintain the amount of storage per unit time in the temporary area 63A during resynchronization.

(実施形態2)
ところで、図5(e)に示すように、再同期中に一時領域63Aから基本領域63Bに書き込んでいる間も、一時領域63Aに退避される新規呼は増加する。そのため、新ACT系呼制御サーバ63から新SBY系呼制御サーバ64への転送速度が大きくなり、他の転送処理に影響を与えてしまう恐れがある。本実施形態では、このような不具合を回避するため、以下の手法を採用している。
(Embodiment 2)
By the way, as shown in FIG. 5 (e), new calls saved in the temporary area 63A increase while data is written from the temporary area 63A to the basic area 63B during resynchronization. Therefore, the transfer rate from the new ACT call control server 63 to the new SBY call control server 64 increases, which may affect other transfer processes. In the present embodiment, the following method is employed in order to avoid such a problem.

図6は、実施形態2における新ACT系呼制御サーバ63の機能ブロック図である。この新ACT系呼制御サーバ63は、新SBY系呼制御サーバ64への再同期中、一時領域63Aから基本領域63Bへの書き込み量よりも、呼処理制御部631から一時領域63Aへの書き込み量を少なくするようになっている。ここでは、図6(a)に示すように、一時領域63Aから基本領域63Bへの書き込み量が3つであるのに対して、図6(b)に示すように、呼処理制御部631から一時領域63Aへの書き込み量が2つである場合を例示している。   FIG. 6 is a functional block diagram of the new ACT call control server 63 in the second embodiment. During the resynchronization with the new SBY call control server 64, the new ACT call control server 63 writes more data from the call processing control unit 631 to the temporary area 63A than to write data from the temporary area 63A to the basic area 63B. Is to reduce. Here, as shown in FIG. 6A, the amount of writing from the temporary area 63A to the basic area 63B is three, whereas as shown in FIG. The case where the amount of writing to the temporary area 63A is two is illustrated.

図7は、実施形態2における呼制御システム6の動作を示すフローチャートである。   FIG. 7 is a flowchart showing the operation of the call control system 6 in the second embodiment.

まず、障害により系の切り替えが発生すると、基本領域63Bのデータの再同期を開始する点は前記実施形態1と同じである(ステップS21)。このとき、呼処理の再開によって新ACT系呼制御サーバ63は高負荷状態であるため、この負荷を緩和するように再同期中における新ACT系呼制御サーバ63の処理量を制御するようになっている。具体的には、一時領域63Aから基本領域63Bへ3つ書き込んだら、呼処理制御部631から一時領域63Aへ2つ書き込む(ステップS22→S23→S24)。一定時間が経過すると、通常運用中の呼処理に戻る。   First, when system switching occurs due to a failure, resynchronization of data in the basic area 63B is started as in the first embodiment (step S21). At this time, since the new ACT call control server 63 is in a high load state by resuming the call processing, the processing amount of the new ACT call control server 63 during resynchronization is controlled so as to reduce this load. ing. Specifically, when three are written from the temporary area 63A to the basic area 63B, two are written from the call processing control unit 631 to the temporary area 63A (steps S22 → S23 → S24). When a certain time elapses, the call processing is returned to the normal operation.

以上のように、本実施形態における呼制御システム6では、一時領域63Aから基本領域63Bへの書き込み量よりも、呼処理制御部631から一時領域63Aへの書き込み量を少なくするようにしている。その結果、新ACT系呼制御サーバ63から新SBY系呼制御サーバ64への転送速度が減速され、他の転送処理への影響を抑えることができる。これにより、再同期を優先しながら、一時領域63Aから基本領域63Bへの書き込みを通常の呼処理状態に近付けることが可能である。   As described above, in the call control system 6 in the present embodiment, the write amount from the call processing control unit 631 to the temporary region 63A is made smaller than the write amount from the temporary region 63A to the basic region 63B. As a result, the transfer rate from the new ACT call control server 63 to the new SBY call control server 64 is reduced, and the influence on other transfer processes can be suppressed. As a result, it is possible to bring the writing from the temporary area 63A to the basic area 63B closer to the normal call processing state while giving priority to resynchronization.

なお、ここでは、再同期中に、新ACT系呼制御サーバ63の一時領域に退避させたデータの同期を新ACT系呼制御サーバ63から新SBY系呼制御サーバ64に対して開始することとしているが、この開始タイミングは再同期中に限定されるものではない。すなわち、再同期完了後から開始することも可能である。   Here, the synchronization of the data saved in the temporary area of the new ACT call control server 63 is started from the new ACT call control server 63 to the new SBY call control server 64 during the resynchronization. However, this start timing is not limited to during resynchronization. That is, it can be started after resynchronization is completed.

なお、以上では好適な実施形態について説明したが、本発明は前記実施形態に限定されず、種々の変形が可能である。例えば、発側と着側が1対1の通信を例示して説明したが、本発明は電話会議サービスのような三者間通話等にも適用することが可能である。あわせて、再同期中に受ける呼を計算することができるので、例えば2割が4者通話だった場合は、呼量の2割を2セクション分として計算することにより、一時領域を適切なサイズに設定することが可能である。   In addition, although preferred embodiment was described above, this invention is not limited to the said embodiment, A various deformation | transformation is possible. For example, although the one-to-one communication between the calling side and the called side has been described as an example, the present invention can be applied to a three-party call such as a telephone conference service. In addition, calls received during resynchronization can be calculated. For example, if 20% is a four-party call, 20% of the call volume is calculated as two sections, so the temporary area can be appropriately sized. Can be set.

6…呼制御システム
61…現用系(ACT系)呼制御サーバ
62…予備系(SBY系)呼制御サーバ
63…新現用系(新ACT系)呼制御サーバ
63A…新現用系(新ACT系)呼制御サーバの一時領域
63B…新現用系(新ACT系)呼制御サーバの基本領域
64…新予備系(新SBY系)呼制御サーバ
631…呼処理制御部
6 ... Call control system 61 ... Active (ACT) call control server 62 ... Standby (SBY) call control server 63 ... New active (new ACT) call control server 63A ... New active (new ACT) Call control server temporary area 63B ... New active system (new ACT system) call control server basic area 64 ... New backup system (new SBY system) call control server 631 ... Call processing control unit

Claims (3)

通常運用中の呼処理は現用系呼制御サーバで実施し、障害が発生すると現用系呼制御サーバと予備系呼制御サーバとを切り替えて新現用系呼制御サーバで呼処理をする呼制御システムにおける新現用系呼制御サーバ上のデータ同期方法であって、
系切り替え後、新現用系呼制御サーバの基本領域のデータの再同期を新現用系呼制御サーバから新予備系呼制御サーバに対して開始する第1の同期ステップと、
呼処理の継続信号を含む受信信号により生成されたデータを新現用系呼制御サーバの一時領域に退避させる退避ステップと、
新現用系呼制御サーバの一時領域に退避させたデータの同期を新現用系呼制御サーバから新予備系呼制御サーバに対して開始する第2の同期ステップとを備え、
呼処理を制御する呼処理制御部から前記一時領域への書き込み要求を受けた場合、その応答を遅延させることにより、新現用系呼制御サーバの処理量を前記一時領域を用いて制御することを特徴とするデータ同期方法。
Call processing during normal operation is performed by the active call control server, and when a failure occurs, the call control server switches between the active call control server and the standby call control server and performs call processing at the new active call control server. A data synchronization method on the new active call control server,
A first synchronization step of starting resynchronization of data in the basic area of the new active call control server from the new active call control server to the new standby call control server after system switching;
A evacuation step for evacuating data generated by a received signal including a call processing continuation signal to a temporary area of the new active call control server;
A second synchronization step for starting the synchronization of the data saved in the temporary area of the new active call control server from the new active call control server to the new standby call control server;
If the call processing control unit for controlling the call processing receives a write request to the temporary area, by delaying its response to control by using the temporary area throughput of the new active system call control server A featured data synchronization method.
前記応答の遅延時間を(最小の再送間隔−内部信号処理時間)とすることを特徴とする請求項記載のデータ同期方法。 Data synchronization method according to claim 1, characterized in that the - the delay time of the response (internal signal processing time minimum retransmission interval). 前記一時領域から前記基本領域への書き込み量よりも、呼処理を制御する呼処理制御部から前記一時領域への書き込み量を少なくすることを特徴とする請求項1記載のデータ同期方法。   2. The data synchronization method according to claim 1, wherein a write amount to the temporary area is reduced from a call processing control unit that controls call processing, rather than a write amount from the temporary area to the basic area.
JP2011184685A 2011-08-26 2011-08-26 Data synchronization method Active JP5412481B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011184685A JP5412481B2 (en) 2011-08-26 2011-08-26 Data synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011184685A JP5412481B2 (en) 2011-08-26 2011-08-26 Data synchronization method

Publications (2)

Publication Number Publication Date
JP2013046346A JP2013046346A (en) 2013-03-04
JP5412481B2 true JP5412481B2 (en) 2014-02-12

Family

ID=48009880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011184685A Active JP5412481B2 (en) 2011-08-26 2011-08-26 Data synchronization method

Country Status (1)

Country Link
JP (1) JP5412481B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000316022A (en) * 1999-04-30 2000-11-14 Nec Eng Ltd Data transmission system and its configuration unit

Also Published As

Publication number Publication date
JP2013046346A (en) 2013-03-04

Similar Documents

Publication Publication Date Title
JP3883452B2 (en) Communications system
US7430609B2 (en) Managing access to streams hosted on duplicating switches
CN103430524B (en) A backup sip server for the survivability of an enterprise network using sip
US9900356B2 (en) Method and apparatus for transferring active communication session streams between devices
US20070160058A1 (en) Method and system for implementing backup based on session border controllers
EP2395700B1 (en) Managing access to stream hosted on duplicating switches
US20070195756A1 (en) Terminal switching technology for seamless switching of streaming sessions between terminals
JP4515979B2 (en) IP phone
US8446897B2 (en) System and method for providing multimedia tone/announcement over wireless network
JP5412481B2 (en) Data synchronization method
JP2007336146A (en) Traffic throughput expansion method at network congestion and system
JP4823111B2 (en) IP telephone data relay program, IP telephone data relay server, and IP telephone system
US20100027528A1 (en) Notification of Impending Media Gateway Resource Exhaustion
JP3588570B2 (en) Communication flow control method, communication terminal, and program recording medium thereof
JP5427853B2 (en) Data synchronization method
JP2011188031A (en) REDUNDANT VoIP SYSTEM
US7630488B2 (en) DTMF tone generation in a media gateway
JP5519554B2 (en) Call control system and information redundancy method used for call control
JP5342578B2 (en) Call control system and information redundancy method used for call control
JP2002290550A (en) Voice gateway apparatus, processing method therefor and program thereof
JP2007295064A (en) Wireless lan telephone communication method and wireless lan telephone terminal
JP2008141490A (en) Emergency notification controller, radio communication terminal and base station
JP5342612B2 (en) Call control system and information redundancy method used for call control
JP6136305B2 (en) Redundant VoIP system
JP4379601B2 (en) Packet relay method, packet relay device, and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130607

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130618

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130724

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131111

R150 Certificate of patent or registration of utility model

Ref document number: 5412481

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350