JP2008270895A - Ss7 signal processing system and fault recovery method therefor - Google Patents

Ss7 signal processing system and fault recovery method therefor Download PDF

Info

Publication number
JP2008270895A
JP2008270895A JP2007107241A JP2007107241A JP2008270895A JP 2008270895 A JP2008270895 A JP 2008270895A JP 2007107241 A JP2007107241 A JP 2007107241A JP 2007107241 A JP2007107241 A JP 2007107241A JP 2008270895 A JP2008270895 A JP 2008270895A
Authority
JP
Japan
Prior art keywords
signal
link control
processing system
signal processing
resource management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007107241A
Other languages
Japanese (ja)
Inventor
Yuji Suzuki
裕司 鈴木
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 JP2007107241A priority Critical patent/JP2008270895A/en
Publication of JP2008270895A publication Critical patent/JP2008270895A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a SS7 (Signaling System 7) signal processing system which can recover the system more quickly in comparison with the existing system by eliminating the need for reestablishing an SS7 link after restarting a process on a system by allowing system restart while maintaining the establishment of the connection with a communication partner. <P>SOLUTION: A resident resource management resident process 6 which is not supervised by a supervisory process 7 is prepared, and only a file descriptor acquired from an SS7 physical circuit termination device driver 2 is stored in a common memory area 8 by the resource management resident process 6. An SS7 signal link control process 5 accesses the SS7 physical circuit termination device driver 2 by the stored file descriptor when restarted for restoring the SS7 signal processing system. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、汎用OS(オペレーティングシステム)を用いて構築されたSS7(Signaling System No.7)信号の送受信・呼処理システムにおいて、システム上で様々な機能を実現しているソフトウェア(プロセス)の一部の障害によって、信号送受信を行っている信号リンクに影響を与えず、速やかに障害を復旧させる技術に関する。   The present invention is an SS7 (Signaling System No. 7) signal transmission / reception / call processing system constructed using a general-purpose OS (operating system), and is a piece of software (process) that realizes various functions on the system. The present invention relates to a technique for quickly recovering from a failure without affecting a signal link performing signal transmission / reception due to a failure of a unit.

特許文献1(特開2000−57095号公報)には、サーバと複数の端末とで構成され、端末とサーバとの間でTCP/IPコネクションを確立し、ソケットを用いて通信を行うプロセスをサーバ上に有する通信処理システムにおいて、プロセスが異常終了しても、TCP/IPコネクションを切断することなく、サーバと端末とが通信を継続することができるようにするために、次のように構成したものが開示されている。   Patent Document 1 (Japanese Patent Laid-Open No. 2000-57095) describes a process that includes a server and a plurality of terminals, establishes a TCP / IP connection between the terminal and the server, and performs communication using a socket. The above communication processing system is configured as follows in order to allow the server and the terminal to continue communication without disconnecting the TCP / IP connection even if the process ends abnormally. Are disclosed.

すなわち、プロセスとの間に制御用コネクションを確立して通信及びプロセスの状態監視を行う制御手段と、端末との通信の処理状態をプロセス間共有メモリによって管理する手段とを備え、プロセスは、端末とのTCP/IPコネクションを確立してソケットを取得し、この取得したソケットを制御用コネクションを通じて制御手段にコピーし、制御手段は、プロセスの異常終了を検出すると、バックアップ用ソケットを制御用コネクションを通じて別のプロセスにコピーし、この別のプロセスは、バックアップ用ソケットのコピーを使用して端末との通信処理を継続する。   That is, a control unit that establishes a control connection with a process to monitor communication and process state monitoring, and a unit that manages a processing state of communication with a terminal using an inter-process shared memory. The TCP / IP connection is established to acquire a socket, and the acquired socket is copied to the control means through the control connection. When the control means detects abnormal termination of the process, the backup socket is passed through the control connection. The process is copied to another process, and this other process continues the communication process with the terminal using the copy of the backup socket.

しかし、これは、TCP/IPコネクションで通信を行う通信システムでの適用に限られる。   However, this is limited to application in a communication system that performs communication using a TCP / IP connection.

ところで、既存電話網で送受信されるSS7(Signaling System No.7)信号を終端または転送する信号局の高速大容量化、及び基盤となる信号網のIP(インターネットプロトコル)ネットワーク化が進められているなか、安価で高性能処理を実現できる汎用OS(オペレーティングシステム)と汎用ハードウェアを用いたシステム構築が主流となっている。これらのシステムでは、Linux(登録商標)をはじめとする汎用的なOSを用いることで、多種多様な機能の実現と柔軟なシステム構成を可能としているが、既存専用装置で実現されてきた障害時などにおけるシステムの高信頼性実現が課題となっている。   By the way, high-speed and large-capacity signal stations for terminating or transferring SS7 (Signaling System No. 7) signals transmitted / received in the existing telephone network and IP (Internet Protocol) network of the base signal network are being promoted. In particular, system construction using a general-purpose OS (operating system) that can realize high-performance processing at low cost and general-purpose hardware has become mainstream. In these systems, a general-purpose OS such as Linux (registered trademark) can be used to realize various functions and a flexible system configuration. The realization of high system reliability is a challenge.

汎用OSを用いて構築されたSS7信号処理システムでは、個々の機能はOS上で動作する「プロセス」として実現されており、信号の送受信や保守機能など複数のプロセスが並列に実行されることで、システムを構成し機能提供を実現している。これらのソフトウェアプロセスは、一つでも異常な動作を行うとシステム全体の処理に影響を与えてしまうことがあるため、大規模な障害発生に備え、OS上で全てのプロセスを監視している監視プロセスにより制御されている。異常なプロセスが発生すると監視プロセスが即座に検出し、全てのプロセス再起動を実施することで、システムを正常状態に復旧させるよう設計されている。   In the SS7 signal processing system constructed using a general-purpose OS, each function is realized as a “process” that runs on the OS, and multiple processes such as signal transmission and reception and maintenance functions are executed in parallel. The system is configured and functions are provided. If any one of these software processes operates abnormally, it may affect the processing of the entire system. Therefore, in preparation for the occurrence of a large-scale failure, monitoring that monitors all processes on the OS It is controlled by the process. When an abnormal process occurs, the monitoring process immediately detects it and restarts all processes to restore the system to a normal state.

しかし、一機能を担うプロセスの異常により、システム上で動作している全てのプロセスが再起動されてしまうため、システムの提供しているサービスが停止してしまうことが課題となる。たとえば、SS7信号処理とまったく関係のない時間補正プロセスの異常によって、システムのメイン処理である信号リンク制御、信号送受信処理のサービス停止に繋がってしまう。特に、対向信号局とのSS7信号リンクやIPネットワーク上の対向信号局とIPリンクを制御しているプロセスが再起動してしまうことで、対向信号局とのリンクが切断されてしまい、ネットワークを介した大きなシステム障害として扱われてしまう。   However, since all processes operating on the system are restarted due to an abnormality in a process that performs one function, a problem is that a service provided by the system is stopped. For example, an abnormality in the time correction process that has nothing to do with SS7 signal processing leads to service stop of signal link control and signal transmission / reception processing, which are main processing of the system. In particular, the SS7 signal link with the opposite signal station or the process that controls the IP link with the opposite signal station on the IP network is restarted, so that the link with the opposite signal station is disconnected and the network is Will be treated as a major system failure.

信号リンク制御には、SS7信号終端装置のデバイスドライバやOSのカーネルが提供する制御リソース(ファイルディスクリプタ/ソケットディスクリプタ)が用いられているが、プロセス再起動時にはこれらのリソースは自動的に解放され、リンク切断となってしまう。このため、プロセス再起動が発生するようなケースにおいてもリンク制御情報の引き継ぎによるリンクの継続が課題となっている。これらの軽度のシステム障害に関しては、確立済みの信号リンクには影響を与えず、リンク無切断のシステム復旧手法が望まれている。   Control resources (file descriptor / socket descriptor) provided by the device driver of the SS7 signal terminator and the OS kernel are used for signal link control, but these resources are automatically released when the process is restarted. The link will be broken. For this reason, the continuation of the link by taking over the link control information is a problem even in the case where the process restart occurs. For these minor system failures, established link links are not affected, and link-less system recovery techniques are desired.

一般的に、SS7の物理回線を終端するデバイスは、PC(パーソナルコンピュータ)基盤をベースとした汎用機器上にバス接続などで取り付けられる一つのデバイスとして実装されている。このSS7回線終端デバイスを、OS上で動作するアプリケーションプログラムから制御するために、OS上のカーネルモジュールとして動作するデバイスドライバが提供される。信号リンクの確立、切断といった信号リンク制御及び信号送受信を行う信号処理管理プロセスは、このデバイスドライバのAPI(Application Program Interface)をコールすることで、該当機能を実現している。
特開2000−57095号公報
In general, a device that terminates a physical line of SS7 is mounted as a single device that is attached to a general-purpose device based on a PC (personal computer) base by a bus connection or the like. In order to control the SS7 line termination device from an application program operating on the OS, a device driver that operates as a kernel module on the OS is provided. The signal processing control process for performing signal link control and signal transmission / reception such as establishment and disconnection of the signal link calls the device driver API (Application Program Interface) to realize the corresponding function.
JP 2000-57095 A

そこで、本発明の課題は、通信相手とのコネクションを確立したまま、システムを復旧させることができることにより、システム上のプロセス再起動後に行われるSS7リンクの再確立処理が不要となるため、既存システムに比べて速やかなシステム復旧が可能となるSS7信号処理システム及びその障害復旧方法を提供することにある。   Therefore, the problem of the present invention is that the system can be recovered while the connection with the communication partner is established, so that the re-establishment process of the SS7 link performed after the process restart on the system becomes unnecessary. It is an object of the present invention to provide an SS7 signal processing system and its failure recovery method that enable quick system recovery as compared with the above.

請求項1に係る本発明は、SS7信号処理システムに係り、SS7物理回線終端デバイスを制御するSS7物理回線終端デバイスドライバ、システムの保守機能を実現するプロセス群、信号リンクの制御・信号送受信を行うSS7信号リンク制御プロセス、これらのプロセスの異常状態を常時監視する監視プロセス、この監視プロセスにて監視されない常駐のリソース管理常駐プロセスを設け、このリソース管理常駐プロセスは、SS7物理回線終端デバイスドライバから取得したファイルディスクリプタだけを保持し、SS7信号リンク制御プロセスは、当該SS7信号処理システムを復旧させるための再起動時に、保持されているファイルディスクリプタによってSS7物理回線終端デバイスドライバに対してアクセスすることを特徴とする。   The present invention according to claim 1 relates to an SS7 signal processing system, and performs an SS7 physical line termination device driver for controlling an SS7 physical line termination device, a process group for realizing a system maintenance function, and a signal link control / signal transmission / reception. An SS7 signal link control process, a monitoring process that constantly monitors the abnormal state of these processes, and a resident resource management resident process that is not monitored by this monitoring process are provided. This resource management resident process is obtained from the SS7 physical line termination device driver. The SS7 signaling link control process accesses the SS7 physical line termination device driver by the retained file descriptor when the SS7 signaling processing system is restarted to restore the SS7 signaling processing system. When That.

すなわち、従来のSS7信号処理システムにおいて信号リンク制御を実現していたプロセスを、SS7物理回線終端デバイスドライバのリソース識別子であるファイルディスクリプタを保持するだけの常駐プロセスと、信号送受信とリンク制御を実現する信号リンク制御プロセスに分離し、このプロセス間でリンク制御情報を共有して信号処理を行う。   That is, the process that realized the signal link control in the conventional SS7 signal processing system, the resident process that only holds the file descriptor that is the resource identifier of the SS7 physical line termination device driver, the signal transmission / reception and the link control are realized. The signal link control process is separated, and the link control information is shared between the processes to perform signal processing.

その好ましい形態である請求項2に係る発明は、SS7信号リンク制御プロセスとリソース管理常駐プロセスとが共有する共有メモリを有し、この共有メモリにファイルディスクリプタをリンク情報と共に書き込み、SS7信号リンク制御プロセスは、当該SS7信号処理システムを復旧させるための再起動時にこの共有メモリを参照する。   The invention according to claim 2, which is a preferred form thereof, has a shared memory shared by the SS7 signal link control process and the resource management resident process, writes a file descriptor together with link information to the shared memory, and performs the SS7 signal link control process. Refers to this shared memory at the time of restart for restoring the SS7 signal processing system.

同じく請求項3に係る発明は、リソース管理常駐プロセスが、SS7信号リンク制御プロセスから信号リンクの切断要求があったとき、SS7物理回線終端デバイスドライバに対して該当する信号リンク制御用のファイルディスクリプタを解放させる機能を有する。   Similarly, in the invention according to claim 3, when the resource management resident process makes a request to disconnect the signal link from the SS7 signal link control process, the corresponding file descriptor for signal link control is sent to the SS7 physical line termination device driver. Has the function to release.

同じく請求項4に係る発明は、SS7信号リンク制御プロセスが、当該SS7信号処理システムの再起動時に、リソース管理常駐プロセスにて保持しているファイルディスクリプタを引き継ぐか引き継がないかを選択できる機能を有する。   Similarly, the invention according to claim 4 has a function that allows the SS7 signal link control process to select whether or not to take over the file descriptor held in the resource management resident process when the SS7 signal processing system is restarted. .

請求項5に係る発明は、SS7信号処理システムにおける障害復旧方法に係り、SS7物理回線終端デバイスを制御するSS7物理回線終端デバイスドライバ、システムの保守機能を実現するプロセス群、信号リンクの制御・信号送受信を行うSS7信号リンク制御プロセス、これらのプロセスの異常状態を常時監視する監視プロセス、この監視プロセスにて監視されない常駐のリソース管理常駐プロセスを設け、このリソース管理常駐プロセスにより、SS7物理回線終端デバイスドライバから取得したファイルディスクリプタだけを保持し、当該SS7信号処理システムを復旧させるための再起動時に、SS7信号リンク制御プロセスが、保持されているファイルディスクリプタによってSS7物理回線終端デバイスドライバに対してアクセスすることを特徴とする。   The invention according to claim 5 relates to a failure recovery method in an SS7 signal processing system, an SS7 physical line termination device driver that controls an SS7 physical line termination device, a process group that implements a system maintenance function, and a signal link control / signal. An SS7 signal link control process that performs transmission and reception, a monitoring process that constantly monitors the abnormal state of these processes, and a resident resource management resident process that is not monitored by this monitoring process are provided. Only the file descriptor obtained from the driver is retained, and upon restart to restore the SS7 signal processing system, the SS7 signal link control process uses the retained file descriptor to access the SS7 physical line termination device driver. Characterized in that it processes.

その好ましい形態である請求項6に係る発明は、SS7信号リンク制御プロセスとリソース管理常駐プロセスとが共有する共有メモリにファイルディスクリプタをリンク情報と共に書き込み、当該SS7信号処理システムを復旧させるための再起動時に、SS7信号リンク制御プロセスが共有メモリを参照してSS7物理回線終端デバイスドライバに対してアクセスする。   The invention according to claim 6, which is a preferred form thereof, writes a file descriptor together with link information to a shared memory shared by the SS7 signal link control process and the resource management resident process, and restarts to restore the SS7 signal processing system Sometimes the SS7 signaling link control process accesses the SS7 physical line termination device driver with reference to the shared memory.

同じく請求項7に係る発明は、SS7信号リンク制御プロセスから信号リンクの切断要求があったとき、リソース管理常駐プロセスが、SS7物理回線終端デバイスドライバに対して該当する信号リンク制御用のファイルディスクリプタを解放させる。   Similarly, in the invention according to claim 7, when a signal link disconnection request is issued from the SS7 signal link control process, the resource management resident process sends a corresponding signal link control file descriptor to the SS7 physical line termination device driver. Let go.

同じく請求項8に係る発明は、当該SS7信号処理システムの再起動時に、リソース管理常駐プロセスにて保持しているファイルディスクリプタを引き継ぐか引き継がないかを、SS7信号リンク制御プロセスにて選択する。   Similarly, in the invention according to claim 8, when the SS7 signal processing system is restarted, the SS7 signal link control process selects whether to take over the file descriptor held in the resource management resident process or not.

上述のように、通常は、障害発生時のプロセス再起動によって取得した信号リンク制御用リソースは解放されてしまうが、本発明では、信号処理管理プロセスを、信号送受信とリンク制御を行うSS7信号リンク制御プロセスと、SS7物理回線終端デバイスドライバから取得した信号リンク制御用のリソース識別子であるファイルディスクリプタを保持するだけのリソース管理常駐プロセスとに分離することで、プロセス異常発生の可能性をなくすと共に、システム障害発生時のプロセス再起動の対象から除外する。信号処理に関係のないシステム上のソフトウェア障害によって、メイン機能である信号送受信・リンク制御のプロセスが再起動されたとしても、リンク制御用リソースを保持するだけの処理を限定した小規模の、しかも、監視不要のリソース管理常駐プロセスが常駐し続けることで、確立済み信号リンクの制御リソースの解放を防ぎ、信号リンク切断を発生させない対向信号局に透過な障害復旧手法を実現することができる。   As described above, normally, the signal link control resource acquired by the process restart at the time of the failure is released, but in the present invention, the signal processing management process is performed by the SS7 signal link that performs signal transmission and reception and link control. By separating the control process from the resource management resident process that only holds the file descriptor that is the resource identifier for signal link control acquired from the SS7 physical line termination device driver, the possibility of process abnormality occurrence is eliminated. Excluded from process restart when a system failure occurs. Even if the signal transmission / reception / link control process, which is the main function, is restarted due to a software failure on the system that is not related to signal processing, the process is small enough to hold resources for link control. Since the resource management resident process that does not require monitoring stays resident, it is possible to prevent the release of the control resource of the established signal link and to realize a failure recovery method that is transparent to the opposite signal station that does not cause signal link disconnection.

したがって、SS7信号リンクやSCTP(Stream Control Transmission Protocol)アソシエーションによるコネクション制御を実現するシステムにおいて、軽微なシステム障害発生時において、本システムと対向接続している通信相手とのコネクションを切断することなく、対向システムに障害透過なシステム復旧が実現可能となる。システム異常により一時的なサービス中断を発生させることなく、障害復旧させることができることで、システムとして高い耐障害性を提供する。また、通信相手とのコネクションを確立したまま、システムを復旧させることができることにより、システム上のプロセス再起動後に行われるSS7リンクの再確立処理が不要となるため、既存システムに比べて速やかなシステム復旧が可能となる。   Therefore, in a system that realizes connection control by SS7 signaling link or SCTP (Stream Control Transmission Protocol) association, in the event of a minor system failure, without disconnecting the connection with the communication partner facing this system, System recovery that is transparent to the opposite system can be realized. It is possible to recover from a failure without causing a temporary service interruption due to a system abnormality, thereby providing high fault tolerance as a system. In addition, since the system can be restored while the connection with the communication partner is established, the SS7 link re-establishment process that is performed after the process restart on the system is not required. Recovery is possible.

請求項2及び請求項6に係る発明によれば、SS7信号リンク制御プロセスとリソース管理常駐プロセスとが共有する共有メモリによって、これらプロセス間の動作を効率良く行うことができる。   According to the second and sixth aspects of the invention, the shared memory shared by the SS7 signaling link control process and the resource management resident process can efficiently perform operations between these processes.

請求項3及び請求項7に係る発明によれば、SS7信号リンク制御プロセスから信号リンクの切断要求があったとき、リソース管理常駐プロセスが、SS7物理回線終端デバイスドライバに対して該当する信号リンク制御用のファイルディスクリプタを解放させるので、信号処理管理プロセスが、SS7信号リンク制御プロセスとリソース管理常駐プロセスとに分離されていても、信号リンクの切断及び再接続を支障なく行える。   According to the third and seventh aspects of the present invention, when there is a signal link disconnection request from the SS7 signal link control process, the resource management resident process applies the corresponding signal link control to the SS7 physical line termination device driver. Therefore, even if the signal processing management process is separated into the SS7 signal link control process and the resource management resident process, the signal link can be disconnected and reconnected without any trouble.

請求項4及び請求項8に係る発明によれば、当該SS7信号処理システムの再起動時に、リソース管理常駐プロセスにて保持しているファイルディスクリプタを引き継ぐか引き継がないかを、SS7信号リンク制御プロセスにて選択することができるので、以前の情報を引き継ぐか、以前の情報を破棄(リンク切断)し、新規にリンクを確立かを、状況に応じて任意に選択することが可能である。   According to the inventions according to claims 4 and 8, when the SS7 signal processing system is restarted, the SS7 signal link control process determines whether the file descriptor held in the resource management resident process is taken over or not. Therefore, it is possible to arbitrarily select whether to take over the previous information, discard the previous information (link disconnection), and establish a new link according to the situation.

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

本発明によるSS7信号処理システムは、既存電話網の基盤ネットワークを構成するTDM(Time Division Multipexing )やATM(Asynchronous Transfer Mode)物理回線を終端し、SS7信号を転送または呼処理を実行するSEP(Signaling End Point)やSTP(Signaling Transfer Point)などの信号局サーバへ適用される。その信号局サーバは、PCなどをベースとした汎用的なハード基盤の上に、専用のSS7回線終端デバイスを搭載した形で構築される。   The SS7 signal processing system according to the present invention terminates a TDM (Time Division Multiplexing) or ATM (Asynchronous Transfer Mode) physical line that constitutes a base network of an existing telephone network, and transfers an SS7 signal or executes a call processing. It is applied to signal station servers such as End Point) and STP (Signaling Transfer Point). The signal station server is constructed by mounting a dedicated SS7 line termination device on a general-purpose hardware base based on a PC or the like.

図1に本発明によるSS7信号処理システムの構成例を示す。
このSS7信号処理システムは、ハードウェアとして、TDM(Time Division Multipexing )やATM(Asynchronous Transfer Mode)物理回線をSS7物理回線終端デバイス1で終端し、これを、Linuxのような汎用OS上で動作するSS7物理回線終端デバイスドライバ2で作動させる。このデバイスドライバ2を制御するソフトウェアとして、保守運用プロセス群3、呼制御プロセス4があるほか、本発明では、従来における信号処理管理プロセスを、信号送受信とリンク制御を行うSS7信号リンク制御プロセス5と、SS7物理回線終端デバイスドライバ2から取得した信号リンク制御用のリソース識別子であるファイルディスクリプタを保持するだけのリソース管理常駐プロセス6とに分離してシステム上に配置する。
FIG. 1 shows a configuration example of an SS7 signal processing system according to the present invention.
This SS7 signal processing system, as hardware, terminates a TDM (Time Division Multipexing) or ATM (Asynchronous Transfer Mode) physical line with an SS7 physical line termination device 1 and operates it on a general-purpose OS such as Linux. Operate with SS7 physical line termination device driver 2. As software for controlling the device driver 2, there are a maintenance operation process group 3 and a call control process 4. In the present invention, the conventional signal processing management process is replaced with an SS7 signal link control process 5 for performing signal transmission and reception and link control. SS7 is separated from the resource management resident process 6 that holds only the file descriptor that is the resource identifier for signal link control acquired from the physical line termination device driver 2 and is arranged on the system.

SS7信号リンク制御プロセス5は、保守運用プロセス群3及び呼制御プロセス4と同じくシステム上の監視プロセス7の監視の対象となるが、リソース管理常駐プロセスは、実現する処理を限定した小規模のプログラムであり、異常終了が発生することがなく作られているため、監視プロセス7の監視の対象とする必要がなく、OS起動と同時にプロセスが起動されシステムが終了するまで常駐する。   The SS7 signaling link control process 5 is subject to monitoring by the monitoring process 7 on the system in the same manner as the maintenance operation process group 3 and the call control process 4, but the resource management resident process is a small program that limits the processing to be realized. Therefore, the monitoring process 7 does not need to be monitored, and the process is started simultaneously with the OS startup and stays resident until the system ends.

SS7信号リンク制御プロセス5とリソース管理常駐プロセス6とは、共有メモリエリア8を用いた情報共有を行い、プロセス間通信によって制御情報のやりとりを行う。   The SS7 signal link control process 5 and the resource management resident process 6 share information using the shared memory area 8, and exchange control information by inter-process communication.

リソース管理常駐プロセス6は、SS7信号リンク制御プロセス5からリンク確立の要求を受けると、デバイスドライバ2のAPIをコールし、信号リンク制御用のファイルディスクリプタを取得する。該当信号リンク情報は共有メモリエリア8に書き込まれ、取得したファイルディスクリプタ情報と共にSS7信号リンク制御プロセス5に引き渡される。SS7信号リンク制御プロセス5では、リソース管理常駐プロセス6によって引き渡されたファイルディスクリプタを用いて、デバイスドライバ2のAPIをコールし、その後の信号リンク制御及び信号送受信処理を行う。   When the resource management resident process 6 receives a request for link establishment from the SS7 signal link control process 5, the resource management resident process 6 calls the API of the device driver 2 and acquires a file descriptor for signal link control. The corresponding signal link information is written in the shared memory area 8 and delivered to the SS7 signal link control process 5 together with the acquired file descriptor information. In the SS7 signal link control process 5, using the file descriptor delivered by the resource management resident process 6, the API of the device driver 2 is called to perform subsequent signal link control and signal transmission / reception processing.

対向信号局との信号リンク確立中に、システム内のプロセスに異常が発生した場合は、システムを正常状態に復旧させるために監視プロセス7が、監視対象の全てのプロセス再起動を行う。この際、リソース管理常駐プロセス6は、監視対象外としているため再起動不要であり、保有しているリンク制御用のファイルディスクリプタはリソース管理常駐プロセス6で保持されたままとなる。   If an abnormality occurs in a process in the system while establishing a signal link with the opposite signal station, the monitoring process 7 restarts all processes to be monitored in order to restore the system to a normal state. At this time, the resource management resident process 6 is not subject to monitoring, so that it is not necessary to restart, and the link control file descriptor held by the resource management resident process 6 remains held by the resource management resident process 6.

プロセス障害発生による再起動時、カーネルリソースであるファイルディスクリプタの解放は不要であり、すでに確立済みの信号リンクは切断されることなく継続される。プロセス再起動によりSS7信号リンク制御プロセス5が起動すると、このSS7信号リンク制御プロセス5は、リソース管理常駐プロセス6との共有メモリエリア8を参照し、すでに確立済みの信号リンク情報を継続して用いることで、復旧後即時の信号送受信・制御を開始する。   When restarting due to the occurrence of a process failure, it is not necessary to release the file descriptor, which is a kernel resource, and the already established signal link is continued without being disconnected. When the SS7 signal link control process 5 is started by process restart, the SS7 signal link control process 5 refers to the shared memory area 8 with the resource management resident process 6 and continuously uses the already established signal link information. In this way, signal transmission / reception and control are started immediately after recovery.

図1のSS7信号処理システムの構成の動作を図2にフロー図として示す。
リソース管理常駐プロセス6は、システム起動時におけるOSの立ち上がり時に個別に起動される。その後、監視プロセス7が起動され、監視対象の各プロセス3〜5が監視プロセス7によって順次起動される。監視プロセス7によって起動されたプロセス3〜5は常時異常が発生していないか監視される。
The operation of the configuration of the SS7 signal processing system in FIG. 1 is shown as a flowchart in FIG.
The resource management resident process 6 is started individually when the OS is started up when the system is started. Thereafter, the monitoring process 7 is activated, and the processes 3 to 5 to be monitored are sequentially activated by the monitoring process 7. The processes 3 to 5 started by the monitoring process 7 are always monitored for abnormalities.

本システムのユーザからリンク確立の指示が要求されると、SS7信号リンク制御プロセス5がリンク確立要求を受け、プロセス間通信でリソース管理常駐プロセス6に対してリンク確立要求を転送する。リソース管理常駐プロセス6では、要求を受けるとSS7物理回線終端デバイス1のデバイスドライバ2のAPIをコールし、リンク確立・制御用にファイルディスクリプタを取得し、リンク情報と共に共有メモリエリア8に書き込む。ファイルディスクリプタの取得が完了すると、リソース管理常駐プロセス6は、プロセス間通信によってSS7信号リンク制御プロセス5に結果を伝達する。このとき、取得したファイルディスクリプタのコピー情報も伝達する。そして、リソース管理常駐プロセス6は、次に要求があるまで何も処理を行わず空転して待機する。   When a link establishment instruction is requested by a user of this system, the SS7 signal link control process 5 receives the link establishment request and transfers the link establishment request to the resource management resident process 6 through inter-process communication. When the resource management resident process 6 receives the request, it calls the API of the device driver 2 of the SS7 physical line termination device 1, acquires a file descriptor for link establishment / control, and writes it in the shared memory area 8 together with the link information. When the acquisition of the file descriptor is completed, the resource management resident process 6 transmits the result to the SS7 signal link control process 5 by inter-process communication. At this time, the copy information of the acquired file descriptor is also transmitted. Then, the resource management resident process 6 idles without waiting for the next request and waits.

SS7信号リンク制御プロセス5では、リソース管理常駐プロセス6を経由して取得したファイルディスクリプタを用いてデバイスドライバ2のAPIをコールし、信号リンクの制御・信号の送受信などの信号処理を実施する。対向信号局との信号リンク確立中に、システム内監視対象の保守機能プロセスの一つで異常状態が発生した場合は、監視プロセス7が異常を検出しシステムを正常状態に復旧させるために監視対象の全てのプロセスの再起動を行う。この際、リソース管理常駐プロセス6は、監視対象外であるため再起動されることなく、リンク制御用のファイルディスクリプタはリソース管理常駐プロセス6で保持されたままとなる。カーネルリソースであるファイルディスクリプタの解放(記録削除)が発生しないため、システム復旧時においてもすでに確立済みの信号リンクは切断されることなく継続される。この間に対向信号局から送信された信号は、デバイスドライバ2が保持する受信バッファに蓄積され、SS7信号リンク制御プロセス5が起動後に漏れなく受信され、処理されることになる。   In the SS7 signal link control process 5, the API of the device driver 2 is called using the file descriptor acquired via the resource management resident process 6 to perform signal processing such as signal link control and signal transmission / reception. If an abnormal condition occurs in one of the maintenance function processes monitored in the system while establishing a signal link with the opposite signal station, the monitored process 7 detects the abnormality and restores the system to the normal condition. Restart all processes in. At this time, since the resource management resident process 6 is not monitored, it is not restarted and the file descriptor for link control remains held in the resource management resident process 6. Since the release (record deletion) of the file descriptor that is a kernel resource does not occur, the already established signal link is continued without being disconnected even at the time of system recovery. During this time, the signal transmitted from the opposite signal station is accumulated in the reception buffer held by the device driver 2, and the SS7 signal link control process 5 is received and processed without omission after activation.

SS7信号リンク制御プロセス5は、再起動後にリソース管理常駐プロセス6との共有メモリエリア8を確認し、すでに確立済みの信号リンク情報を確認し、リソース管理常駐プロセス6から該当リンクのファイルディスクリプタのコピー情報を再取得することで、信号送受信・リンク制御を継続する。   The SS7 signal link control process 5 confirms the shared memory area 8 with the resource management resident process 6 after restart, confirms the already established signal link information, and copies the file descriptor of the corresponding link from the resource management resident process 6. Signal acquisition and link control are continued by reacquiring information.

通常はこのようにリンク情報を引き継ぐが、起動要求時のオプション指定に応じて(保守者の要求により)、次のように既存リソースの破棄と新規リソースの確立を行うことができる。   Normally, link information is inherited in this way. However, according to the option specification at the time of activation request (by a request from the maintenance person), the existing resource can be discarded and the new resource can be established as follows.

保守者の介在によりプロセスを再起動する場合、SS7信号リンク制御プロセス5が新規リンクの確立が必要であると判断すると、リソース管理常駐プロセス6にその確立を要求する。これを受けたリソース管理常駐プロセス6は、デバイスドライバ2のAPIをコールし、該当信号リンク制御用のファイルディスクリプタを解放(記録削除)し、共有メモリエリア8に書き込まれている情報から該当エントリを削除する。   When the process is restarted by the intervention of the maintenance person, when the SS7 signaling link control process 5 determines that the establishment of a new link is necessary, it requests the resource management resident process 6 to establish it. In response to this, the resource management resident process 6 calls the API of the device driver 2 to release (record delete) the file descriptor for the corresponding signal link control, and to delete the corresponding entry from the information written in the shared memory area 8. delete.

この後、リソース管理常駐プロセス6は、デバイスドライバ2のAPIを再びコールし、新規のリンク確立・制御用にファイルディスクリプタを取得し、リンク情報と共に共有メモリエリア8に書き込む。新規のファイルディスクリプタの取得が完了すると、リソース管理常駐プロセス6は、プロセス間通信によってSS7信号リンク制御プロセス5に結果を伝達する。このとき、新規に取得したファイルディスクリプタのコピー情報も伝達する。   Thereafter, the resource management resident process 6 calls the API of the device driver 2 again, acquires a file descriptor for new link establishment / control, and writes it in the shared memory area 8 together with the link information. When the acquisition of the new file descriptor is completed, the resource management resident process 6 transmits the result to the SS7 signal link control process 5 by inter-process communication. At this time, copy information of the newly acquired file descriptor is also transmitted.

SS7信号リンク制御プロセス5では、リソース管理常駐プロセス6を経由して新規に取得したファイルディスクリプタを用いてデバイスドライバ2のAPIをコールし、信号リンクの制御・信号の送受信などの信号処理を実施する。   In the SS7 signal link control process 5, the API of the device driver 2 is called using the file descriptor newly obtained via the resource management resident process 6, and signal processing such as signal link control and signal transmission / reception is performed. .

上記の実施例では、既存電話信号網におけるSEPやSTPなどSS7信号処理システムでの信号リンク無切断障害復旧方法について説明したが、IPネットワーク上でSS7信号を送受信・転送するようなIP−SEP(IP-Signaling End Point)局やSGW(Signaling Gate Way)などのIP信号リンクについても適用が可能である。IPネットワーク上でSS7信号を送受信するためのIP信号リンクでは、コネクション指向のトランスポートプロトコルであるSCTP(Stream Control Transmission Protocol)が使用されており、システム上でIP信号リンクを制御するプロセスでは、SCTPのコネクション制御とデータを送受信するためにソケットディスクリプタを管理している。このソケットディスクリプタも汎用OSのカーネルが提供するリソースであり、プロセスの再起動によってリソースは解放されてしまう。   In the above embodiment, the signal link non-disconnection failure recovery method in the SS7 signal processing system such as SEP or STP in the existing telephone signal network has been described. However, the IP-SEP (transmission / reception / transfer of the SS7 signal on the IP network) The present invention can also be applied to IP signal links such as an IP-Signaling End Point) station and SGW (Signaling Gate Way). The IP signal link for transmitting and receiving SS7 signals on the IP network uses SCTP (Stream Control Transmission Protocol), which is a connection-oriented transport protocol. In the process of controlling the IP signal link on the system, SCTP It manages socket descriptors for connection control and data transmission / reception. This socket descriptor is also a resource provided by the kernel of the general-purpose OS, and the resource is released by restarting the process.

そこで、本発明を適用することで、ファイルディスクリプタの取得・解放のみ実現するリソース管理常駐プロセスと、信号の送受信・コネクション制御を実現する信号リンク制御プロセスを分離し、システム上で障害発生時もリソース管理常駐プロセスが再起動されない仕組みを用いることによって、SCTPのコネクションが切断されることなく対向装置に対して障害透過な復旧機構を実現することが可能である。   Therefore, by applying the present invention, the resource management resident process that realizes only the acquisition and release of file descriptors and the signal link control process that realizes signal transmission / reception and connection control are separated, and even when a failure occurs on the system By using a mechanism in which the management resident process is not restarted, it is possible to realize a recovery mechanism that is transparent to the opposite apparatus without disconnecting the SCTP connection.

以上の説明から分かるように、本発明は次のような場合に適用できる。
既存電話網の信号を終端、中継する信号局(SEP: Signaling End Point、STP: Signaling Transfer Point)
固定電話網及び携帯電話網とIPネットワーク網を中継する信号中継局(SGW:Signalling Gateway)。
IPネットワーク上で固定電話網、及び携帯電話網の信号を終端・処理する信号終端局(IPSEP: IP Signalilng End Point)。
トランスポートプロトコルにSCTPを用いる、高信頼性が要求されるIPサーバ間での通信。
As can be seen from the above description, the present invention can be applied to the following cases.
Signaling station that terminates and relays signals from existing telephone networks (SEP: Signaling End Point, STP: Signaling Transfer Point)
A signaling relay station (SGW) that relays between a fixed telephone network and a mobile telephone network and an IP network.
A signal termination station (IPSEP: IP Signalilng End Point) that terminates and processes signals of the fixed telephone network and mobile telephone network on the IP network.
Communication between IP servers that require high reliability using SCTP as the transport protocol.

本発明によるSS7信号処理システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of SS7 signal processing system by this invention. そのSS7信号処理システムの動作例のフロー図である。It is a flowchart of the operation example of the SS7 signal processing system.

符号の説明Explanation of symbols

1 SS7物理回線終端デバイス
2 SS7物理回線終端デバイスドライバ
3 保守運用プロセス群
4 呼制御プロセス
5 SS7信号リンク制御プロセス
6 リソース管理常駐プロセス
7 監視プロセス
8 共有メモリエリア
1 SS7 Physical Line Termination Device 2 SS7 Physical Line Termination Device Driver 3 Maintenance Operation Process Group 4 Call Control Process 5 SS7 Signal Link Control Process 6 Resource Management Resident Process 7 Monitoring Process 8 Shared Memory Area

Claims (8)

SS7物理回線終端デバイスを制御するSS7物理回線終端デバイスドライバ、システムの保守機能を実現するプロセス群、信号リンクの制御・信号送受信を行うSS7信号リンク制御プロセス、これらのプロセスの異常状態を常時監視する監視プロセス、この監視プロセスにて監視されない常駐のリソース管理常駐プロセスを設け、このリソース管理常駐プロセスは、前記SS7物理回線終端デバイスドライバから取得したファイルディスクリプタだけを保持し、前記SS7信号リンク制御プロセスは、当該SS7信号処理システムを復旧させるための再起動時に、前記保持されているファイルディスクリプタによって前記SS7物理回線終端デバイスドライバに対してアクセスすることを特徴とするSS7信号処理システム。   SS7 physical line termination device driver that controls the SS7 physical line termination device, process group that implements system maintenance functions, SS7 signal link control process that performs signal link control and signal transmission, and constantly monitors the abnormal state of these processes A monitoring process, a resident resource management resident process that is not monitored by this monitoring process, is provided. This resource management resident process holds only the file descriptor obtained from the SS7 physical line termination device driver, and the SS7 signal link control process The SS7 signal processing system is configured to access the SS7 physical line termination device driver by the held file descriptor at the time of restart for restoring the SS7 signal processing system. SS7信号リンク制御プロセスとリソース管理常駐プロセスとが共有する共有メモリを有し、この共有メモリにファイルディスクリプタをリンク情報と共に書き込み、SS7信号リンク制御プロセスは、当該SS7信号処理システムを復旧させるための再起動時にこの共有メモリを参照することを特徴とする請求項1に記載のSS7信号処理システム。   A shared memory shared by the SS7 signal link control process and the resource management resident process is written, and a file descriptor is written in the shared memory together with link information. The SS7 signal link control process is re-established to restore the SS7 signal processing system. 2. The SS7 signal processing system according to claim 1, wherein the shared memory is referred to at the time of startup. リソース管理常駐プロセスは、SS7信号リンク制御プロセスから信号リンクの切断要求があったとき、SS7物理回線終端デバイスドライバに対して該当する信号リンク制御用のファイルディスクリプタを解放させることを特徴とする請求項1又は2に記載のSS7信号処理システム。   The resource management resident process causes the SS7 physical line termination device driver to release the corresponding signal link control file descriptor when a signal link disconnection request is issued from the SS7 signal link control process. The SS7 signal processing system according to 1 or 2. SS7信号リンク制御プロセスは、当該SS7信号処理システムの再起動時に、リソース管理常駐プロセスにて保持しているファイルディスクリプタを引き継ぐか引き継がないかを選択できることを特徴とする請求項1、2又は3に記載のSS7信号処理システム。   The SS7 signal link control process can select whether or not to take over the file descriptor held in the resource management resident process when the SS7 signal processing system is restarted. The SS7 signal processing system described. SS7物理回線終端デバイスを制御するSS7物理回線終端デバイスドライバ、システムの保守機能を実現するプロセス群、信号リンクの制御・信号送受信を行うSS7信号リンク制御プロセス、これらのプロセスの異常状態を常時監視する監視プロセス、この監視プロセスにて監視されない常駐のリソース管理常駐プロセスを設け、このリソース管理常駐プロセスにより、SS7物理回線終端デバイスドライバから取得したファイルディスクリプタだけを保持し、当該SS7信号処理システムを復旧させるための再起動時に、前記SS7信号リンク制御プロセスが、前記保持されているファイルディスクリプタによって前記SS7物理回線終端デバイスドライバに対してアクセスすることを特徴とする、SS7信号処理システムにおける障害復旧方法。   SS7 physical line termination device driver that controls the SS7 physical line termination device, process group that implements system maintenance functions, SS7 signal link control process that performs signal link control and signal transmission, and constantly monitors the abnormal state of these processes A monitoring process and a resident resource management resident process that is not monitored by this monitoring process are provided, and by this resource management resident process, only the file descriptor acquired from the SS7 physical line termination device driver is held, and the SS7 signal processing system is restored. In the SS7 signal processing system, the SS7 signal link control process accesses the SS7 physical line termination device driver by the held file descriptor at the restart. Recovery method. SS7信号リンク制御プロセスとリソース管理常駐プロセスとが共有する共有メモリにファイルディスクリプタをリンク情報と共に書き込み、当該SS7信号処理システムを復旧させるための再起動時に、SS7信号リンク制御プロセスが上記共有メモリを参照してSS7物理回線終端デバイスドライバに対してアクセスすることを特徴とする請求項5に記載の、SS7信号処理システムにおける障害復旧方法。   The file descriptor is written together with link information in the shared memory shared by the SS7 signal link control process and the resource management resident process, and the SS7 signal link control process refers to the shared memory when restarting to restore the SS7 signal processing system. The failure recovery method in the SS7 signal processing system according to claim 5, wherein the SS7 physical line termination device driver is accessed. SS7信号リンク制御プロセスから信号リンクの切断要求があったとき、リソース管理常駐プロセスが、SS7物理回線終端デバイスドライバに対して該当する信号リンク制御用のファイルディスクリプタを解放させることを特徴とする請求項5又は6に記載の、SS7信号処理システムにおける障害復旧方法。   The resource management resident process causes the SS7 physical line termination device driver to release a corresponding signal link control file descriptor when a signal link disconnection request is issued from the SS7 signal link control process. The failure recovery method in the SS7 signal processing system according to 5 or 6. 当該SS7信号処理システムの再起動時に、リソース管理常駐プロセスにて保持しているファイルディスクリプタを引き継ぐか引き継がないかを、SS7信号リンク制御プロセスにて選択することを特徴とする請求項5、6又は7に記載の、SS7信号処理システムにおける障害復旧方法。   The SS7 signal link control process selects whether to take over the file descriptor held in the resource management resident process or not when the SS7 signal processing system is restarted. The failure recovery method in the SS7 signal processing system according to claim 7.
JP2007107241A 2007-04-16 2007-04-16 Ss7 signal processing system and fault recovery method therefor Pending JP2008270895A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007107241A JP2008270895A (en) 2007-04-16 2007-04-16 Ss7 signal processing system and fault recovery method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007107241A JP2008270895A (en) 2007-04-16 2007-04-16 Ss7 signal processing system and fault recovery method therefor

Publications (1)

Publication Number Publication Date
JP2008270895A true JP2008270895A (en) 2008-11-06

Family

ID=40049873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007107241A Pending JP2008270895A (en) 2007-04-16 2007-04-16 Ss7 signal processing system and fault recovery method therefor

Country Status (1)

Country Link
JP (1) JP2008270895A (en)

Similar Documents

Publication Publication Date Title
US5027269A (en) Method and apparatus for providing continuous availability of applications in a computer network
US6594776B1 (en) Mechanism to clear MAC address from Ethernet switch address table to enable network link fail-over across two network segments
WO2017219779A1 (en) Device active/standby switchover method and apparatus based on link protocol, and storage medium
US10911295B2 (en) Server apparatus, cluster system, cluster control method and program
CN110324375B (en) Information backup method and related equipment
US6002665A (en) Technique for realizing fault-tolerant ISDN PBX
JP2008103952A (en) Communication managing device and communication managing method
CN102611717A (en) Service data sending method and system, client-side agent and server agent
CN115801642B (en) RDMA communication management module, method, equipment and medium based on state control
CN112969244B (en) Session recovery method and device
JP2008270895A (en) Ss7 signal processing system and fault recovery method therefor
EP2523480B1 (en) Method and system for emergency switching
US11954509B2 (en) Service continuation system and service continuation method between active and standby virtual servers
US10491544B2 (en) Consistency control of a logical path passing through a relay device
CN113890817A (en) Communication optimization method and device
JP5287440B2 (en) Non-stop communication recovery system and method in case of failure
CN101964925B (en) Method and system for controlling recovery of planar node after restarting in automatic switched optical network
US8023403B2 (en) Information processing apparatus, information processing method, and program
JPH06110800A (en) Dynamic path switching method
WO2009139306A1 (en) Communication system and redundant configuration management method
KR20170131001A (en) System for controlling application sever based on data distribution service
CN114244690A (en) Fault processing method, device, network equipment and storage medium
CN118474057A (en) Fault recovery method, switch cluster, equipment, medium and product
CN105897450B (en) Method and apparatus for Diameter connection management
KR100326117B1 (en) Data link failure processing method