JP2000137605A - Exchange service control method, exchange and recording medium recording exchange service control program - Google Patents

Exchange service control method, exchange and recording medium recording exchange service control program

Info

Publication number
JP2000137605A
JP2000137605A JP10312181A JP31218198A JP2000137605A JP 2000137605 A JP2000137605 A JP 2000137605A JP 10312181 A JP10312181 A JP 10312181A JP 31218198 A JP31218198 A JP 31218198A JP 2000137605 A JP2000137605 A JP 2000137605A
Authority
JP
Japan
Prior art keywords
service
program
exchange
function
pointer
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
JP10312181A
Other languages
Japanese (ja)
Inventor
Fumiyasu Ishita
史恭 位下
Hirotoshi Yamada
博敏 山田
Shingo Kamuro
真吾 加室
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10312181A priority Critical patent/JP2000137605A/en
Publication of JP2000137605A publication Critical patent/JP2000137605A/en
Pending legal-status Critical Current

Links

Landscapes

  • Exchange Systems With Centralized Control (AREA)
  • Telephonic Communication Services (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To add/change/delete exchange service without stopping an exchange during an operation by referring to a pointer held by a second table, executing a function which the pointer shows and supplying service. SOLUTION: A service control part is loaded and the entry address of activation program is recorded in an activation table 70. A service activation control part 66 refers to the entry address recorded in an activation function table 70 and starts a service control part 76. The service control part 76 records the pointer of a function executing service in a linkage function table 60. The pointer of the function obtained by referring to the linkage function table 60 is recorded in the call function table 74 of a call processing instance management part 72 by a service starting part 54. The service starting part 54 refers to the function pointer recorded in the call function table 74, executes the function in the service control part and executes service.

Description

【発明の詳細な説明】 【0001】 【発明の属する技術分野】本発明は、交換機にサービス
機能を追加等する技術に係り、特に、交換機が提供中の
サービスを中断させることなくサービス機能を追加・変
更・削除する交換機サービス制御方法及び交換機及び交
換機サービス制御プログラムを記録した記録媒体に関す
る。 【0002】近年、通信市場開放に伴い通信事業者間の
競争が激化しており、通信事業者は加入者への提供サー
ビスにより差別化を図っている。しかし、サービスが多
様化するにつれ、そのサービスを実現する交換機におけ
るソフトウェアの複雑さが一層増したため、短期間でか
つ容易に新しいサービスを提供できない現状がある。し
たがって、特に通信事業者において、新規サービスを導
入する場合であっても運転を停止することはもとより、
既存サービスへの影響を与えずに新規サービスの機能を
追加できる交換機が求められている。 【0003】 【従来の技術】図1は、従来技術による交換機の交換ソ
フトウェア実行モジュール10を示すモジュール図であ
る。同図に示すように、交換ソフトウェア実行モジュー
ル10はプログラム基盤となるオぺレーティングシステ
ム20、共通機能プログラムモジュール群16、保守運
用プログラムモジュール群18、交換制御プログラムモ
ジュール群14、サービス制御プログラムモジュール群
12から構成される。共通機能プログラムモジュール群
16はメモリのエリア獲得等の共通機能を有する共通機
能プログラム1〜xから構成され、保守運用プログラム
モジュール群18は保守運用機能を有する保守運用プロ
グラム1〜nから構成され、交換制御プログラムモジュ
ール群14は呼接続等の交換機の基本機能を有する交換
制御プログラム1〜mから構成され、サービス制御プロ
グラムモジュール群12は3者通話等のサービス提供機
能を有するサービス制御プログラム1〜kから構成され
る。また、サービス制御プログラムと交換制御プログラ
ムは互いにリンケージを取りながら処理を実行する。 【0004】従来の技術によると、オペレーティングシ
ステムや保守運用機能を含めた、全ての交換サービスを
制御する機能モジュールを上述した一つの交換ソフトウ
ェア実行モジュールとして交換機にローデイングして運
用している。従って、運用中の交換サービスに新しい機
能を付加する場合、特に付加の規模が大きい場合や全く
新規のサービス制御プログラムを追加しなけらばならな
い場合には、交換機システム全体のソフトウェアを稼働
中の交換機システムを一時停止させて入れ替える方法が
とられていた。また、付加する機能の規模が大きくない
場合には、図2に示すように稼動中の交換機30におけ
るサービス制御部34あるいは交換制御部32のプログ
ラムの一部にパッチと呼ばれる部分変更を加えることで
新しい機能を実現してきた。なお、サービス制御部34
では前述のサービス制御プログラムが実行され、交換制
御部32では前述の交換制御プログラムが実行される。
図2中、パッチ生成環境46にてソフトウェアパッチ4
4が生成され、前述の保守運用プログラムの一部が実行
されるパッチ管理部42を介してパッチ領域36に追加
サービスプログラム38、40が書き込まれ、交換制御
部32及びサービス制御部34には、追加サービスプロ
グラムに実行を移し、実行が終われば戻る旨のパッチ3
3、35が書き込まれる。 【0005】 【発明が解決しようとする課題】しかしながら、上記の
従来の方法によると、サービス追加の際に提供中のサー
ビスや通話に影響を与えてしまうという問題点があっ
た。すなわち、パッチによる機能追加の場合は、稼働中
の交換機にパッチが投入された直後から追加されたプロ
グラムが動作するため、呼処理データが変更される場合
等には、パッチを投入する前に呼び出し中や通話中にな
っている呼がパッチ投入後に切断される可能性があっ
た。また、パッチによると呼処理のデータを大幅に変更
追加することが困難であるために、追加できる機能に制
限がある。更に、パッチでは対応できない機能追加の場
合には、新規プログラムを交換機全体のプログラムと共
にコンパイルし直し、交換機を停止させて交換機のソフ
トウェア全体の入れ替えをする必要があった。 【0006】本発明は上記の点に鑑みなされたもので、
稼働中の交換機を停止させることなく、更にサービス実
施中における呼び出し中・通話中等の呼状態に影響を与
えずに、交換サービスを追加・変更・削除する交換機サ
ービス制御方法及び交換機及び交換機サービス制御プロ
グラムを記録した記録媒体を提供することを目的とす
る。 【0007】 【課題を解決するための手段】上記課題を解決するため
の本発明の構成は、以下の通りである。請求項1 に記載
の発明は、プログラムにより制御される交換機におい
て、特定のサービスを実行するサービスプログラムがロ
ーディングされると、所定の場合に該サービスプログラ
ムは該サービスプログラムが有する該サービスを実行す
るための関数へのポインタを第1のテーブルに記録し、
該交換機は、発呼により該サービスの利用要求があると
呼毎に一時的な記憶領域を確保し、該第1のテーブルを
参照して得た該ポインタを該記憶領域内の第2のテーブ
ルに保持し、該第2のテーブルに保持された該ポインタ
を参照することにより該ポインタの示す関数を実行して
サービスを提供することを特徴とする交換機サービス制
御方法である。 【0008】本発明により、動的に呼出関数へのリンケ
ージをとることが可能となるので、、コンパイル時での
呼び出し先と呼び出し元とのアドレスリンケージが不要
となり、サービス追加等の場合に従来のようにパッチあ
るいは全体ファイル作成・入れ替えが不要となるため、
サービス追加が容易となりサービスの中断も防止でき
る。また、サービス運用中にサービスプログラムを改造
したサービスプログラムを再びローディングしても、サ
ービス実施中の全く独立したサービスプログラムの呼は
もとより、改造前のサービスプログラムの呼にも全く影
響を与えずにサービスプログラムをローディングでき
る。 【0009】請求項2に記載の交換機サービス制御方法
は、前記交換機が、前記サービスプログラムがローディ
ングされる記憶領域の領域空塞状態及び前記サービスプ
ログラムの状態を管理するデータを有し、該データを用
いて前記ローディングを制御する。本発明により、ロー
ディングされるサービスプログラムの記憶領域が既存の
サービスプログラムと衝突することを防止することがで
きる。また、サービスプログラムを削除する場合にサー
ビス実施中のサービスプログラムを不用意に削除できな
いよう制御することが可能になる。 【0010】請求項3に記載の交換機サービス制御方法
は、前記所定の場合が、前記交換機が周期的に前記ロー
ディングを監視して前記サービスプログラムがローディ
ングされたことを検出した場合、または、コマンドによ
り指示が入力された場合である。本発明により、ローデ
ィングしたプログラムを迅速に使用することができる。 【0011】請求項4に記載の交換機サービス制御方法
は、前記サービスプログラムが独立してコンパイルされ
て前記ローディングされることである。本発明により、
サービスプログラム開発が容易になる。請求項5に記載
の交換機サービス制御方法は、既存のサービスプログラ
ムを別のサービスプログラムに置き換える際に該既存の
サービスプログラムを実行中の第1の呼が有る場合、該
別のサービスプログラムによるサービスを提供すべき第
2の呼が発生すると、前記交換機は新たに前記一時的な
記憶領域を確保して該別のサービスプログラムの有する
関数へのポインタのテーブルを該記憶領域に保持し、該
ポインタの示す関数を実行することにより該第2の呼に
該別のサービスプログラムによるサービスを提供する。 【0012】本発明により、改造サービスの提供等の場
合において、従来のように改造前のサービスを使用中の
呼が切断されることなく、サービスを入れ替えることが
できる。請求項6に記載の交換機サービス制御方法は、
ローディングされた前記サービスプログラムを前記交換
機から削除する際、前記第1のテーブルの値を該サービ
スプログラムがローディングされる前の値に戻す請求項
1記載の交換機サービス制御方法。 【0013】本発明により、ローディングしたサービス
プログラムを削除しても、呼の切断を発生させずにロー
ディング前の状態でサービスを継続することが可能とな
る。以下の発明も上記と同様の効果を有する。請求項7
に記載の発明は、プログラムにより制御される交換機で
あって、特定のサービスを実行するサービスプログラム
をローディングする手段と、該サービスプログラムが有
する該サービスを実行するための関数へのポインタを保
持する第1のテーブルを有し、所定の場合に該サービス
プログラムに該関数へのポインタを該第1のテーブルに
記録させる手段と、発呼により該サービスの利用要求が
ある場合に呼毎に一時的な記憶領域を確保する手段と、
該第1のテーブルを参照して得た該ポインタを該記憶領
域内の第2のテーブルに保持する手段と、該第2のテー
ブルに保持された該ポインタを参照することにより該ポ
インタの示す関数を実行してサービスを提供する手段と
を有することを特徴とする交換機である。 【0014】請求項8に記載の交換機は、前記サービス
プログラムがローディングされる記憶領域の領域空塞状
態及び前記サービスプログラムの状態を管理するデータ
を有し、該データを用いて前記ローディングを制御する
手段を有する。請求項9に記載の交換機は、前記交換機
が周期的に前記ローディングを監視する手段とコマンド
入力手段を有し、前記所定の場合が、該監視する手段に
より前記サービスプログラムがローディングされたこと
を検出した場合、または、コマンドにより指示が入力さ
れた場合である。 【0015】請求項10に記載の交換機は、既存のサー
ビスプログラムを別のサービスプログラムに置き換える
際に既存のサービスプログラムを実行中の第1の呼が有
る場合、該別のサービスプログラムによるサービスを提
供すべき第2の呼が発生した場合に前記交換機は新たに
前記一時的な記憶領域を確保して該別のサービスプログ
ラムの有する関数へのポインタのテーブルを該記憶領域
に保持する手段と、該ポインタの示す関数を実行するこ
とにより該第2の呼に該別のサービスプログラムによる
サービスを提供する手段とを有する。 【0016】請求項11に記載の交換機は、ローディン
グされた前記サービスプログラムを前記交換機から削除
する場合に前記第1のテーブルの値を該サービスプログ
ラムがローディングされる前の値に戻す手段を有する。
請求項1 2に記載の発明は、プログラムにより制御され
る交換機のサービスを制御するコンピュータ読み取り可
能な交換機サービス制御プログラムを記録した記録媒体
であって、該交換機に特定のサービスを実行するサービ
スプログラムをローディングし、所定の場合に該サービ
スプログラムに該サービスプログラムが有する該サービ
スを実行するための関数へのポインタを第1のテーブル
に記録させ、発呼により該サービスの利用要求があると
呼毎に一時的な記憶領域を確保し、該第1のテーブルを
参照して得た該ポインタを該記憶領域内の第2のテーブ
ルに保持し、該第2のテーブルに保持された該ポインタ
を参照することにより該ポインタの示す関数を実行して
サービスを提供することを特徴とする交換機サービス制
御プログラムを記録した記録媒体である。 【0017】請求項13に記載の交換機サービス制御プ
ログラムを記録した記録媒体は、前記サービスプログラ
ムがローディングされる記憶領域の領域空塞状態及び前
記サービスプログラムの状態を管理するデータを保持
し、該データを用いて前記ローディングを制御する。請
求項14に記載の交換機サービス制御プログラムを記録
した記録媒体は、前記所定の場合が、前記交換機が周期
的に前記ローディングを監視して前記サービスプログラ
ムがローディングされたことを検出した場合、または、
コマンドにより指示が入力された場合である。 【0018】請求項15に記載の交換機サービス制御プ
ログラムを記録した記録媒体は、既存のサービスプログ
ラムを別のサービスプログラムに置き換える際に既存の
サービスプログラムを実行中の第1の呼が有る場合、該
別のサービスプログラムによるサービスを提供すべき第
2の呼が発生すると、前記交換機は新たに前記一時的な
記憶領域を確保して該別のサービスプログラムの有する
関数へのポインタのテーブルを該記憶領域に保持し、該
ポインタの示す関数を実行することにより該第2の呼に
該別のサービスプログラムによるサービスを提供する。 【0019】請求項16に記載の交換機サービス制御プ
ログラムを記録した記録媒体は、ローディングされた前
記サービスプログラムを前記交換機から削除する際、前
記第1のテーブルの値を該サービスプログラムがローデ
ィングされる前の値に戻す。請求項1 7に記載の発明
は、プログラムにより制御される交換機のサービスを制
御するコンピュータ読み取り可能な交換機サービス制御
プログラムを記録した記録媒体であって、該交換機に特
定のサービスを実行させる関数と、該交換機にローディ
ングされた場合に該関数へのポインタを該交換機内のテ
ーブルに記録するプログラムを含み、該交換機により該
テーブルに記録された該ポインタが参照されて該関数が
実行されることを特徴とする交換機サービス制御プログ
ラムを記録した記録媒体である。 【0020】 【発明の実施の形態】図3は本発明の実施例である交換
機50における機能構成の概要を示す機能ブロック図で
ある。同図に示すとおり、交換機50は、交換制御を行
う交換制御部52、サービス制御部を起動するサービス
起動部54、サービスを実行するサービスプログラムで
あるサービス制御部56及び76、サービス制御部58
をシステム内に組み込むためのプラグインプラグアウト
制御部62、サービス制御部がローディングされる領域
であるプラグインメモリ領域61、プラグインメモリ領
域61におけるメモリの空塞状態を管理するプラグイン
領域管理データ78、サービス制御部を活性化させるた
めのサービス活性化制御部66および活性化関数テーブ
ル70を有する。また、既存のサービス制御部を、改良
したサービス制御部に置き換える場合や、サービス制御
部を削除すなわちプラグアウトする場合にサービス実施
中の呼に影響を与えないための機能であるリンケージ関
数テーブル60、呼処理インスタンス管理部72、呼び
出し関数テーブル74を有する。また、新たなサービス
制御部58を生成するために、ファイル化環境64が用
いられる。 【0021】次に、図4に示すフローチャートを用いて
本実施例の動作の概要を説明する。ステップ1としてフ
ァイル化環境64にてサービスの入れ替え、追加のため
のサービス制御部58を生成する。なお、サービス制御
部は実行できる形式のプログラムであり、光ディスクや
磁気テープ等の媒体に記録されている。ステップ2とし
て、サービス制御部58はプラグインプラグアウト制御
部62に読み込まれ、ステップ3として読み込まれたサ
ービス制御部はプラグインメモリ領域61の空きの領域
に取り込まれる。ここで、プラグインメモリ領域61 の
メモリの空塞状態はプラグイン領域管理データ78によ
り管理されており、プラグイン領域管理データ78をプ
ラグインプラグアウト制御部62が参照することによ
り、サービス制御部がプラグインメモリ領域61に取り
込まれる。 【0022】サービス制御部がローディングされると同
時にステップ4として活性化関数テーブル70に活性化
用プログラムのエントリーアドレスが記録される。すな
わち、サービス制御プログラムに組み込まれ、サービス
制御部を活性化させるための関数(処理プログラム)の
エントリーアドレスを活性化関数テーブル70に記録す
る。なお、活性化とはサービス制御部がサービス起動部
54により起動がかけられる状態にすることをいう。 【0023】ステップ5として、サービス活性化制御部
66が活性化関数テーブル70に記録されたエントリー
アドレスを参照し、サービス制御部76に起動をかけ
る。ステップ6として起動をかけられたサービス制御部
76は、サービスを実行する関数のポインタをリンケー
ジ関数テーブル60に記録する。ステップ7としてサー
ビス起動部54がリンケージ関数テーブル60を参照す
る。ステップ8としてサービス起動部54がリンケージ
関数テーブル60を参照して得られた関数のポインタを
呼処理インスタンス管理部72の呼び出し関数テーブル
74に記録する。そして、ステップ9としてサービス起
動部54は呼び出し関数テーブル74に記録された関数
ポインタを参照してサービス制御部における関数を実行
してサービスを実行する。なお、呼び出し関数テーブル
74はダイヤルによりサービスがスタートした時点に呼
処理インスタンス管理部72に生成されるメモリ領域に
設けられる。 【0024】また、呼び出し関数テーブル74はサービ
スの切り替え、追加時等に使用される。すなわち、改良
サービスに切り替えるような場合であって、改良前のサ
ービス制御部が発呼を受けて動作中であるとき、サービ
ス起動部はリンケージ関数テーブルから改良サービスの
関数のアドレスもらい、それを別の呼び出し関数テーブ
ルに記録し、その後にそのサービスの発呼を受けた場合
は、サービス起動部は新たな呼び出し関数テーブルを参
照して改良サービスを実行する。サービスの切り替え、
追加時等の動作の詳細については後述する。 【0025】図5は本発明の実施例における交換ソフト
ウェア実行モジュールを示すモジュール図である。同図
に示すように、交換ソフトウェア実行モジュール80は
プログラム基盤となるオぺレーティングシステム82、
共通機能プログラムモジュール群84、保守運用プログ
ラムモジュール群86、交換制御プログラムモジュール
群88、サービス起動プログラムモジュール群90、リ
ンケージ関数テーブル92、実行モジュール940 〜9
n から構成される。なお、実行モジュール940 はオ
ぺレーティングシステム82、共通機能プログラムモジ
ュール群84、サービス起動プログラムモジュール群9
0、リンケージ関数テーブル92をまとめた部分であ
る。 【0026】交換制御プログラムモジュール群88、オ
ぺレーティングシステム82、共通機能プログラムモジ
ュール群84、保守運用プログラムモジュール群86、
交換制御プログラムモジュール群88は従来の技術と同
様である。サービス起動プログラムモジュール群90
は、サービス起動プログラム1〜nにより構成される。
サービス起動プログラムは交換制御プログラムから起動
がかかった後に、クロスリンケージ関数テーブル92を
参照しながら、サービス制御プログラムを決定し、起動
する。実行モジュール941 〜94n はサービス制御プ
ログラムと関数テーブル生成プログラムから構成され、
サービス制御プログラムは、実行するプログラムへの入
り口の関数を関数表に備えている。また、活性化した場
合に、関数テーブル生成プログラムは、リンケージ関数
テーブルに入り口の関数のポインタを設定する。このよ
うなソフトウェアモジュール構成をとることで、交換制
御プログラム群を含む実行モジュール940 とサービス
制御部の実行モジュール94 1 〜94n を独立させ、サ
ービスを新規に作成する場合や既存サービスを改造する
場合など、既存部分である実行モジュール940 に影響
を与えずに独立してコンパイルし実行モジュールを生成
できる。従って、ファイル化環境64において他のサー
ビスとは独立したサービス制御部を得ることができる。 【0027】図6は本発明の実施例である交換機のハー
ドウェア構成図である。同図に示すように交換機100
は全体の制御を行う主制御装置(MPR:Main P
rocessor)110、呼の制御を行う呼制御装置
(CPR:Call Processor)120、1
30、140から構成される。主制御装置110は、プ
ログラムの処理等を行う中央処理装置(CPU)11
1、中央処理装置(CPU)111に実行させるための
プログラム及びデータを記憶する主記憶装置112、交
換機外部とのインターフェースをとるための入出力装置
113、プログラム及びデータを記憶する外部記憶媒体
114、光磁気ディスク等の可搬記憶媒体と情報をやり
とりするための外部記憶装置115、各制御装置間で情
報をアクセスする際の制御を行うプロセッサ間アクセス
制御装置116から構成される。呼制御装置120は外
部記憶媒体121、プロセッサ間アクセス制御装置12
2、中央処理装置123、主記憶媒体124、通話路装
置125から構成される。他の呼制御装置も同様の構成
である。上記で説明した、本発明の実施例における機能
は主に主制御装置110内の中央処理装置111におい
て実行される。 【0028】図7は、本発明の実施例である交換機50
の機能構成の詳細を示す機能ブロック図である。本実施
例の主要部は前述した概要構成と同様であるので各部の
詳細を説明する。サービス起動部54はn個のサービス
起動プログラム551 〜55 n を内蔵している。呼処理
インスタンス管理部72は、起呼時に呼処理で必要なメ
モリブロックを捕捉する。このメモリブロック内には、
呼毎に呼び出し関数テーブル74が割りつけられる。サ
ービス制御部56にはサービス制御プログラム57と関
数テーブル生成プログラム67が内蔵されており、サー
ビス制御部76にはサービス制御プログラム77と関数
テーブル生成プログラム79が内蔵されている。プラグ
インプラグアウト制御部62はプラグインメモリ領域管
理データ78、サービス制御部をローディングするPlug
-in Loader69及びサービス制御部がローディングされ
るプラグインメモリ領域(図7には記載を略している)
内の領域をプラグイン領域管理データを参照して決定す
るPlug-in Manager 68を有している。サービス活性化
制御部66は活性化プログラム65を有し、サービス活
性化要求があった場合に活性化関数テーブル70を参照
する。 【0029】以下、図7及びフローチャート等を用いて
本発明の実施例の動作について詳細に説明する。図8
は、図7に示す実施例において、サービスプラグインと
称しているサービス制御部のローディングについての処
理を示すフローチャートである。ファイル化環境64で
生成されたサービス制御部58は、ステップ1として外
部記憶装置115から読み出され(図7(a))、ステ
ップ2として一旦外部記憶媒体114に保存される。ス
テップ3としてPlug−in Loader 69はPlug-in Manage
r 68にローディング先のアドレスを問い合わせる。ス
テップ4としてPlug-in Manager 68は、サービス制御
部がリローケータブル実行形式すなわちどのメモリアド
レスでも動作可能な実行形式であるかどうかを調べ、リ
ロケータブルであればステップ5としてプラグイン領域
管理データ78を基にして空き領域を補足する。ステッ
プ4においてサービス制御部がリローケータブル実行形
式でない場合、例えば絶対番地実行形式すなわちコンパ
イル時点で実行するメモリアドレスが決定されている形
式の場合には、ステップ6としてプラグイン領域管理デ
ータ78を基にしてPlug-in Manager 68によってコン
パイラが割りつけた実行アドレスがプラグインメモリ領
域の空エリアであるかどうかが検証される。ステップ7
として、検証結果が二重割り付けかどうかが判断され、
二重割り付けであればステップ8として警告メッセージ
が出力されプラグインが拒否される。ステップ7におい
て二重割り付けでなければステップ9に進む。ステップ
5とステップ8の後もステップ9に進む。ステップ9に
おいてサービス制御部のメモリ割付が完了したかどうか
がチェックされ、完了していない場合は、サービスプラ
グイン処理を終了する。完了している場合は、ステップ
10として、サービス制御部をロードするメモリ領域ア
ドレスを決定し、ステップ11として、割り付け状態を
表す割り付け状態テーブルを”プラグイン済”の状態で
設定する。 【0030】ステップ3においてアドレス問い合わせが
終了すると、ステップ12として、メモリ領域が二重割
り付けかどうかチェックし、二重割り付けならば処理を
終了する。二重割り付けでなければ、ステップ13とし
て、捕捉されたメモリ領域アドレスにサービス制御部を
ロードし(図7(b))、ステップ14としてロードし
たサービス制御部の関数テーブル生成プログラムのアド
レスが活性化関数テーブル70に書き込まれ(図7
(c))処理を終了する。 【0031】図9はプラグイン領域管理データ78の例
であり、プラグインメモリ領域の空塞管理はビットマッ
プ形式の(a)に示すようなメモリ空塞テーブルで管理
される。このテーブルでの1 ビットは8KB のエリアを意
味し、”1 ”が使用中、”0”が空きを示す。サービス
制御部がリロケータブル実行形式の場合、プラグインす
るサービス制御部のサイズを8KB で割り、格納可能なエ
リアサイズを求め、連続して空いているエリアすなわち
連続して”0 ”が存在するビット位置を求めることによ
り格納アドレスを決定する。サービス制御部が絶対番地
実行形式である場合には、コンパイラが割り付けたサー
ビス制御部の先頭番地からメモリ空塞テーブルのビット
位置をもとめ、そのサイズ分が空きエリアであるかをチ
ェックする。 【0032】図9(b)はプラグイン領域管理データの
割り付け状態テーブルを示し、システムに実装可能な最
大サービス分の情報が管理できるようにあらかじめエリ
アが確保されている。このテーブルは主にプラグインメ
モリ領域の状態表示機能に使用される。例えば、プラグ
インメモリ領域にどのようなサービスが実装されている
かやプラグインメモリ領域の使用状況を表示するコマン
ド等で利用されている。このため、割り付け状態テーブ
ルにはサービス名称やプラグインメモリ領域位置やその
専有サイズ、さらにそのサービスの状態を保持してい
る。また、この割り付け状態テーブルに前述のリロケー
タブル形式か絶対番地形式かのプログラム属性の情報を
持つことで、プラグインメモリ領域の空きエリアが点在
してしまった場合等、例えばプラグイン/プラグアウト
を繰り返すことによりメモリ空塞テーブル上空きビット
が点在してしまった場合等に、リロケータブル形式のサ
ービス制御部を再割り付けし、空きエリアを拡大するこ
とができる。 【0033】以上の処理によって、サービス制御部58
はプラグインプラグアウト制御部62でプラグインメモ
リ領域上にローデイングされる。図10に活性化関数テ
ーブル70の例を示す。活性化関数テーブル70には、
サービス制御部の識別番号であるサービス番号によって
得られるサービス制御部内の関数テーブル生成プログラ
ムへのアドレスが設定される.このテーブルは後述する
サービス活性化制御部66で参照される。 【0034】図11は、サービス制御部の活性化とリン
ケージ関数テーブル生成の処理を示すフローチャートで
ある。ステップ1としてサービス制御部がプラグインメ
モリ領域にローディングすなわちプラグインされると、
ステップ2としてサービス活性化制御部66は活性化関
数テーブル70より、ロードされたサービス制御部内の
関数テーブル生成プログラムのアドレスを得て、ステッ
プ3として関数テーブル生成プログラムを起動(図7
(d))して関数テーブル生成処理を開始し、ステップ
4としてリンケージ関数テーブルを読み出す。ステップ
5としてリンケージ関数テーブル60に設定されたサー
ビスが新規サービスかどうかをチェックし、新規サービ
スならばステップ7に進み、新規サービスでなければ、
ステップ6として旧リンケージ関数テーブルの内容を保
存してからステップ7に進む。ステップ7において、サ
ービス制御プログラムの全関数をリンケージ関数テーブ
ルに設定する(図7(e))。ステップ8として設定完
了かどうかをチェックし、完了していなければステップ
9として設定異常警告を発して処理を終了し、設定が完
了していればそのまま処理を終了する。 【0035】ステップ3により関数テーブル生成プログ
ラムを起動すると、ステップ10として関数テーブルの
生成が完了したかどうかをチェックし、完了していなけ
れば処理を終了し、完了していればステップ11として
プラグイン領域管理データの割り付け状態テーブルにお
ける割付状態を”実装サービス中”に変更して処理を終
了する。 【0036】サービス活性化、リンケージ関数テーブル
生成について図7を用いて更に説明する。図7のサービ
ス制御部56、76は、他の実行モジュールと独立して
コンパイルされているため、プラグインメモリ領域上に
ローデイングされても他の実行モジュールからは呼び出
すことができない。このため、サービス活性化制御部6
6の活性化プログラム65によりサービス制御部76を
活性化すなわち使用可能状態にするのである。 【0037】活性化プログラム65は周期起動またはコ
マンドにより起動される。周期起動の場合には、定期的
にプラグインプラグアウト制御部62内のプラグインメ
モリ領域管理データ78を監視することで、プラグイン
されたサービス制御部76のサービス番号を知ることが
できる。また、コマンドで起動する場合には直接保守者
からサービス番号を入力するか、または入力されたサー
ビス名称からプラグインメモリ領域管理データ78を利
用してサービス番号を得ることができる。このようにし
て得たサービス制御部76のサービス番号と活性化関数
テーブル70から、サービス制御部76内の関数テーブ
ル生成プログラム79に起動をかける(図7の(d
))。活性化プログラム65から起動された関数テー
ブル生成プログラム79は、サービス制御プログラム7
7内に定義されている関数表をもとにリンケージ関数テ
ーブル60に関数のアドレスを設定するのである(図7
の(e ))。 【0038】図12は、リンケージ関数テーブル60の
構成と関数テーブル生成プログラム79の動作を示した
図である。図12において、リンケージ関数テーブル6
0はサービス番号でインデックスされる初段テーブルと
関数番号でインデックスされる関数ポインタテーブルで
構成されている。初段テーブルには、関数ポインタテー
ブルのアドレスが書かれており、関数ポインタテーブル
には、サービス制御プログラム77の関数ポインタアド
レスが設定できるようになっている。サービス制御部7
6内の関数テーブル生成プログラム79は、コンパイル
時に生成されているサービス制御プログラム77の関数
表およぴサービス番号をもとにリンケージ関数テーブル
60の関数ポインタテーブルに関数ポインタを設定す
る。このように設定されたリンケージ関数テーブル60
はサービス起動プログラムによって参照される。 【0039】図7において、あるサービスが起動された
場合に交換制御部52はそのサービスに対応する特定の
サービス起動プログラム、ここではサービス起動プログ
ラム552 を呼び出す(図7の(f )) 。サービス起動
プログラム552 はまず呼処理インスタンス管理部72
からメモリブロックを捕捉する。その後、前述のように
設定されたリンケージ関数テーブル60から関数情報を
読み出し(図7の(h))、捕捉されたそのメモリブロ
ック内の呼出関数テーブル74に関数アドレスを保存す
る(図7の(g))。サービス起動プログラム552
らサービス制御プログラム77を起動する場合(図7の
(i ))には、この呼出関数テーブル74が使用され
る。 【0040】すなわち、交換制御部52から起動される
サービス起動プログラムは、直接サービス制御プログラ
ムの関数を呼び出すのではなく、サービス番号に従って
リンケージ関数テーブルから取得した関数ポインタテー
ブル150(図12)を、一旦呼処理インスタンス管理
部72内の呼制御用メモリブロックに呼び出し関数テー
ブル74として保存し、その保存した呼び出し関数テー
ブルを参照してサービス制御プログラムの関数160
(関数1〜3)を呼び出す。 【0041】図13は上記の処理をフローチャートで示
した図である。同図において、あるサービスの起呼時、
ステップ1として交換制御部からサービス起動プログラ
ムに起動がかかり、ステップ2としてサービス起動プロ
グラムは呼処理インスタンス管理部72のメモリエリア
を捕捉する。ステップ3としてリンケージ関数テーブル
から関数のアドレスを読み出し、ステップ4としてその
読み出したアドレスを、呼処理インスタンス管理部72
のメモリエリア内の呼制御メモリブロックにコピーする
ことにより呼び出し関数テーブル74を設定する。ステ
ップ5としてサービス起動プログラムは呼び出し関数テ
ーブル74を読み出す。また、サービスにより、ダイア
ル数字受信、接続応答、切断等に応じて、呼処理インス
タンスメモリエリア内の読み出し関数テーブルを読み出
す。ステップ6として、読み出した関数アドレスが有効
かどうかをチェックし、有効でなければステップ7とし
て呼の強制開放等の異常時処理を行い処理を終了し、有
効であればステップ8としてサービス制御プログラムの
起動を行い処理を終了する。ステップ8においては、ダ
イアル数字受信、接続応答、切断等の受信信号の種類に
応じて呼び出し関数テーブルから決定されたサービス制
御部のサービス制御プログラムが呼び出される。 【0042】上述の通り本発明によれば、 (1 )全く新しいサービスとしてのサービス制御部を追
加する場合であっても、リンケージ関数テーブル72に
新しいサービス制御プログラムの関数を設定することで
機能追加ができる。 (2 )既存サービスを改造する場合であっても、改造し
たサービス制御部を新しいサービス同様に追加してリン
ケージ関数テーブルを書き換えることにより新旧を入れ
換えることができる。この時、古いサービス制御部で動
作している呼があっても発呼時にサービス起動プログラ
ムが補足した呼制御用メモリブロック内にサービス制御
部の関数ポインタが保存されているため、通話中の呼に
影響を及ぼすことなく処理を実行できる。 【0043】以上の一連の処理の流れを、フリーダイア
ルサービスがある加入者から発呼された場合を例にとり
図14〜16を用いて説明する。まずステップ1として
システム初期設定を行う。すなわち図14に示すよう
に、サービス制御部内の関数テーブル生成プログラムが
システムの初期設定時にサービス制御プログラムに実装
されたフリーダイアルサービスを実行する関数(f1と
f2)のポインタアドレスをリンケージ関数テーブルに
設定する。 【0044】図15において、フリーダイアルサービス
がある加入者から発呼された時、ステップ2として、交
換制御プログラムからサービス起動プログラムに起動が
かけられ、ステップ3としてサービス起動プログラムが
呼処理インスタンス管理部内で呼制御メモリブロックを
補足し、ステップ4としてリンケージ関数テーブルの内
容を呼制御メモリブロックにコピーする。呼制御メモリ
ブロックは、その呼が終了するまでの間その内容を保持
できるメモリ領域である。ステップ5として呼制御メモ
リブロックに保持された関数テーブルを参照し、ステッ
プ6としてサービス起動プログラムからサービス制御プ
ログラムが実行される。 【0045】ここで、更に機能追加したフリーダイアル
サービスが追加される場合を図16に示す。サービス制
御プログラムとしてローディングされた新たなフリーダ
イアルサービスをフリーダイアル2と称し、関数として
はf1’とf2’を有することとする。フリーダイアル
2 に対応するサービス制御プログラムをローデイングし
た時に関数テーブル生成プログラムが起動され、ステッ
プ7として、追加された関数f1’とf2’のエントリ
アドレスがリンケージ関数テーブルに上書き設定され
る。呼処理インスタンス管理部内の呼制御メモリブロッ
ク上に前のサービス制御プログラムヘの関数(flとf
2)が保持され、サービス制御プログラムがステップ8
として参照しているため、既にサービスを開始している
加入者は、新サービスプログラムがローディングされて
も影響を受けない。 【0046】再び新しい加入者からの発呼を交換制御プ
ログラムが受け付け、ステップ9としてサービス起動プ
ログラムが起動された場合には、ステップ10としてサ
ービス起動プログラムによって新しい呼制御メモリブロ
ックが補足され、ステップ11としてf1’とf2’を
含む関数テーブルが呼制御メモリブロックにコピーさ
れ、ステップ12としてサービス起動プログラムが関数
へのアドレスを参照して、ステップ12として呼処理サ
ービスが実行される。この場合、新旧のサービス制御プ
ログラムが同時に動作しているが、やがて旧サービスプ
ログラムを使用している加入者が終話することで古いサ
ービス制御プログラムが使用されなくなる。 【0047】以上、サービスの追加、切り替え、すなわ
ちサービスプラグインについて説明した。次に、一度プ
ラグインしたサービス制御部をプラグイン前の状態に戻
すサービスプラグアウトについて説明する。プラグイン
したサービス制御部を単にプラグアウトするだけでは実
行プログラムが削除されサービスが停止するばかりか、
システムに重大な影響を与えることになる。そこで、プ
ラグアウト時には、下記の手順に従う。 【0048】(1)プラグアウトすべきサービス制御部
への発呼を停止する。 (2)既に通話中すなわちサービス実施中の呼を監視
し、すべての呼が終話した時点でサービス制御プログラ
ムをプラグアウトする。 具体的なプラグアウト処理の手順を図17のフローチャ
ートおよび図7の機能ブロック図を用いて説明する。 【0049】プラグアウト時には、ステップ1としてサ
ービス活性化制御部66内にサービスの閉塞をコマンド
で通知する。ステップ2として活性化プログラム65は
閉塞通知をPlug-in Manager 68に渡す(図7
(j))。ステップ3としてPlug-inManager 68はプ
ラグイン領域管理データ78内の割り付け状態テーブル
の状態値を”プラグアウト要求中”に書き換える。ステ
ップ4として、Plug-in Manager 68は定期的にこの割
り付け状態テーブルを検索し、プラグアウト要求中のサ
ービスについて現在通話中の呼が存在するかを呼処理イ
ンスタンス管理部72に問い合わせる(図7(k))。
ステップ5として通話中呼がないかを判定し、通話中呼
があればステップ6としてしばらく待ってからステップ
5に戻り、通話中呼が存在しない場合には、ステップ7
としてプラグイン領域管理データ78内の割り付け状態
テーブルの該当サービスの状態値を初期値に戻し、ステ
ップ8として閉塞が完了したかどうかをチェックし、完
了していなければ処理を終了し、完了していればステッ
プ9として、呼び出し関数テーブルのリカバリとしてス
テップ10からの処理を行う。 【0050】ステップ10として活性化プログラム65
は関数テーブル生成プログラム79を起動する。ステッ
プ11として関数テーブル生成プログラム79は旧リン
ケージ関数テーブルの読み出しを行い、ステップ12と
してテーブルがあるかどうかをチェックし、テーブルが
なければステップ13としてリンケージ関数テーブルを
初期設定し、テーブルがあればステップ14として旧リ
ンケージ関数テーブルの内容でリンケージ関数テーブル
を設定して、関数テーブルのリカバリの処理を終了す
る。すなわち、関数テーブル生成プログラムは該当する
リンケージ関数テーブル60の関数ポインタを書き換え
前の状態(新規サービスであれば〃0 〃に、既存サービ
ス入れ換えであれば既存サービスの関数ポインタ値)に
設定するのである。したがって、交換制御部52からサ
ービス起動プログラムが起動された時に、関数ポインタ
値が〃0 〃であればサービス制御プログラムは起動され
ず、新しく発呼される呼は規制される。また、既存サー
ビスヘのリンケージ関数テーブルの値が関数ポインタで
ある場合には、そのポインタを使用して既存サービスが
起動されるため、サービスの中断が発生しない。 【0051】次に、ステップ15として活性化関数テー
ブル70のリカバリを行い、ステップ16としてサービ
ス制御部をプラグインメモリ領域上から取り除く。交換
機サービス制御プログラムを記録した記録媒体は図6に
示す主記憶装置112又は外部記憶媒体114のいずれ
か一方または両方に相当するものである。上記の記録媒
体には上述した説明の手順に従い中央処理装置111を
動作させるためのプログラムが格納されており、既存の
交換機のメモリ部等にこのプログラムを格納することに
より、既存の交換機を本発明の交換機として使用するこ
とができる。主記憶装置112又は外部記憶媒体114
を実現する記録媒体としては、電子メモリやハードディ
スク等がある。また、本発明の交換機サービス制御プロ
グラムを格納した光磁気ディスク、磁気テープ等から既
存の交換機のメモリ部等にこのプログラムをローディン
グすることにより既存の交換機を本発明の交換機として
使用することができる。 【0052】なお、本発明は、上記の実施例に限定され
ることなく、特許請求の範囲内で種々変更・応用が可能
である。 【0053】 【発明の効果】本発明により、交換機の動作中でのサー
ビスの入れ替えが可能になる。従来はサービスを入れ替
えるためにシステム全体のファイル生成及びシステムス
タート時の再開(初期化)動作が必要となり、サービス
の一時中断が発生していたが、本発明により、交換機全
体の動作に影響を与えることなく、該当するサービスの
切り替えおよび追加を可能になる。また、今後の交換機
の技術動向の一つとなり得る「ユーザ・プログラマビリ
テイ」の実現のために本発明は有効である。すなわち、
これまで交換機ユーザ(電話会社等)は加入者付加サー
ビスなどの新機能追加作業を交換機ベンダーに依存して
行っていたが、本発明のようにサービスに影響を与える
ことなく機能追加できることとなれば、ユーザ自身が新
機能の開発を行ってサービス機能追加をより短期間で行
うことが可能となる。本発明はその基盤技術となり得る
ものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention
In connection with technology for adding functions, etc.,
Add / change service functions without interrupting service
Switching service control method, switching system and exchange
The storage medium on which the exchange service control program is recorded.
You. In recent years, with the opening of the communication market,
Competition is intensifying, and telecommunications carriers are offering services to subscribers.
Differentiating with screws. However, there are many services
And the exchanges that provide that service
Software has become more complex,
There are situations where new services cannot be provided easily. I
Therefore, new services are introduced, especially for telecommunications carriers.
In addition to stopping operation even when entering,
New service functions without affecting existing services
There is a need for an exchange that can be added. [0003] FIG. 1 is a diagram showing a conventional switching equipment for an exchange.
FIG. 2 is a module diagram showing a software execution module 10.
You. As shown in the figure, the replacement software execution module
File 10 is the operating system that serves as the program base.
20, common function program module group 16, maintenance operation
Program module group 18, exchange control program module
Module group 14, service control program module group
12 is comprised. Common function program modules
Reference numeral 16 denotes a common device having common functions such as memory area acquisition.
Maintenance program consisting of functional programs 1 to x
The module group 18 is a maintenance operation professional having a maintenance operation function.
Exchange control program module
Rule group 14 is an exchange having basic functions of an exchange such as a call connection.
The service control program consists of control programs 1 to m.
The gram module group 12 is a service providing machine for three-party calls, etc.
Service control programs 1 to k
You. In addition, service control programs and exchange control programs
The programs execute processing while associating with each other. According to the prior art, the operating system
All exchange services, including system and maintenance operation functions
The function module to be controlled is
Loading and switching to the exchange as a hardware execution module
I use it. Therefore, the new exchange service in operation
When adding functions, especially when the scale of the addition is large or
A new service control program must be added
Operating the software of the entire switching system
How to suspend and replace the middle exchange system
Had been taken. Also, the scale of the function to be added is not large
In such a case, as shown in FIG.
Of the service control unit 34 or the exchange control unit 32
By making partial changes called patches to parts of the ram
New features have been realized. The service control unit 34
In the above, the service control program described above is executed,
The control unit 32 executes the above-described exchange control program.
In FIG. 2, the software patch 4
4 is generated and a part of the above maintenance and operation program is executed.
Added to the patch area 36 via the patch management unit 42
Service programs 38 and 40 are written and exchange control
The unit 32 and the service control unit 34 have additional service
Patch 3 that transfers execution to the program and returns when execution is completed
3, 35 are written. [0005] However, the above-mentioned problems
According to the conventional method, the service being provided when adding the service
Service or call.
Was. In other words, if a function is added by a patch,
Professionals added immediately after the patch was released to the exchange
The call processing data is changed because the program operates
For example, during a call or during a call before applying a patch
Call may be disconnected after patching
Was. Also, according to the patch, call processing data has changed significantly
Since it is difficult to add,
There is a limit. In addition, when adding functions that cannot be
In this case, share the new program with the program for the entire switch.
Recompiled, stopped the exchange, and
It was necessary to replace the entire software. [0006] The present invention has been made in view of the above points,
The service can be executed without stopping the operating switch.
Affects the call status such as ringing and talking during a call
Exchange services that add, change, or delete exchange services
Service control method, exchange and exchange service control professional
The purpose of the present invention is to provide a recording medium on which
You. [0007] In order to solve the above problems,
The configuration of the present invention is as follows. Claim 1
Of the invention relates to an exchange controlled by a program.
Service programs that execute specific services
If the service program is
Executes the service of the service program.
Record the pointer to the function for
The exchange receives a request to use the service by calling.
A temporary storage area is reserved for each call, and the first table is stored.
The pointer obtained by reference is stored in a second table in the storage area.
And the pointer held in the second table.
Executes the function indicated by the pointer by referring to
Exchange service system characterized by providing services
It is your way. According to the present invention, a link to a dynamically called function is provided.
At compile time.
No need for address linkage between callee and caller
When adding services, etc.
Or it is not necessary to create or replace the entire file,
Service addition is easy and service interruption can be prevented.
You. In addition, the service program was modified during service operation
Even if you reload the service program
Service service calls during service
Of course, the call of the service program before remodeling was completely affected.
Service programs can be loaded without impact
You. An exchange service control method according to claim 2.
Indicates that the exchange has the service program
State of the storage area to be
Data that manages the state of the program.
To control the loading. According to the present invention,
The storage area of the service program to be
Conflicts with service programs.
Wear. Also, when deleting a service program,
A service program currently in service cannot be deleted carelessly.
Control. An exchange service control method according to claim 3.
In the predetermined case, the exchange periodically switches the row.
Monitoring the service program and the service program
Is detected, or by command
This is the case when an instruction is input. According to the present invention, Rohde
Can be used quickly. An exchange service control method according to claim 4.
The service program is compiled independently
Is to be loaded. According to the present invention,
Service program development becomes easier. Claim 5
Switch service control method is based on existing service programs.
When replacing a system with another service program, the existing
If there is a first call executing the service program,
Services to be provided by another service program
When the second call is made, the exchange newly renews the temporary
Securing a storage area and having another service program
Holding a table of pointers to functions in the storage area,
By executing the function indicated by the pointer, the second call
The service provided by the other service program is provided. According to the present invention, a place for providing a remodeling service, etc.
In the case of using the service before remodeling as before
It is possible to switch services without disconnecting the call
it can. An exchange service control method according to claim 6 is provided.
Exchange the loaded service program
When deleting from the service, the value in the first table is
To return to the value before the program was loaded
2. The switching service control method according to 1. According to the present invention, a service loaded
Deleting a program will not cause a call to be dropped
Service can be continued before
You. The following invention also has the same effect as above. Claim 7
The invention described in (1) is an exchange controlled by a program.
A service program that executes a specific service
Loading means and the service program has
A pointer to a function to perform the service
Having a first table to carry the service in a predetermined case
The program stores a pointer to the function in the first table.
Means for recording and a request to use the service
Means for securing a temporary storage area for each call in some cases;
The pointer obtained by referring to the first table is stored in the storage area.
Means for holding at a second table in the area;
By referring to the pointer held in the table,
Means for providing a service by executing the function indicated by the interface;
An exchange having the following. [0014] The exchange according to claim 8, wherein the service
Space vacancy of the storage area where the program is loaded
For managing status and status of the service program
And controlling the loading using the data.
Having means. The exchange according to claim 9, wherein the exchange is
Means and command for periodically monitoring said loading
Input means, and the predetermined case is provided to the monitoring means.
That the service program has been loaded
Is detected, or an instruction is input by a command.
This is the case. [0015] An exchange according to claim 10 is an existing service.
Replace a service program with another service program
The first call running the existing service program
The service provided by the other service program.
When a second call to be served occurs, the exchange will
The temporary storage area is secured and another service program is
The table of pointers to the functions of the RAM is stored in the storage area.
Means for executing the function indicated by the pointer.
By means of said another service program to said second call
Means for providing a service. An exchange according to claim 11 is a load switch.
Deleted from the switchboard
The value of the first table in the service program.
Means are provided for restoring the values before the ram was loaded.
The invention according to claim 12 is controlled by a program.
Computer readable to control switch services
Recording medium storing a functional switching service control program
A service for executing a specific service to the exchange.
Program, and in certain cases the service
Service that the service program has in the service program
A pointer to a function to execute the
And if there is a request to use the service by calling
A temporary storage area is reserved for each call, and the first table is stored.
The pointer obtained by reference is stored in a second table in the storage area.
And the pointer held in the second table.
Executes the function indicated by the pointer by referring to
Exchange service system characterized by providing services
It is a recording medium on which a control program is recorded. An exchange service control program according to claim 13.
The recording medium on which the program is recorded is the service program.
The storage area where the memory is loaded
Holds data that manages the status of the service program
Then, the loading is controlled using the data. Contract
Recording the exchange service control program according to claim 14.
In the case where the predetermined condition is satisfied, the switching medium
The loading of the service program
When it detects that the program has been loaded, or
This is a case where an instruction is input by a command. An exchange service control program according to claim 15,
The recording medium on which the program is recorded is stored in an existing service program.
To replace existing programs with another service program.
If there is a first call executing the service program,
Services to be provided by another service program
When the second call is made, the exchange newly renews the temporary
Securing a storage area and having another service program
Holding a table of pointers to functions in the storage area,
By executing the function indicated by the pointer, the second call
The service provided by the other service program is provided. An exchange service control program according to claim 16
The recording medium on which the program was recorded is
When deleting the service program from the exchange,
The value of the first table is loaded by the service program.
Revert to the value before being printed. The invention according to claim 17
Controls the services of exchanges controlled by the program.
Computer readable switch service control
A recording medium on which a program is recorded,
A function to execute a fixed service,
The pointer to the function when the
A program for recording on the
By referring to the pointer recorded in the table, the function
Exchange service control program characterized by being executed
This is a recording medium on which a ram is recorded. FIG. 3 shows an exchange according to an embodiment of the present invention.
Is a functional block diagram showing an outline of a functional configuration of the device 50.
is there. As shown in the figure, the exchange 50 performs exchange control.
Exchange control unit 52, a service for activating the service control unit
The activation unit 54 is a service program that executes a service.
Certain service control units 56 and 76, service control unit 58
Plug-in and plug-out for integrating the system into the system
Control unit 62, area where the service control unit is loaded
Plug-in memory area 61, plug-in memory area
Plug-in that manages the empty / busy state of the memory in the area 61
To activate the area management data 78 and the service control unit
Activation control unit 66 and activation function table for
And has a file 70. Also improved the existing service control unit
To replace the service control unit
Service provided when part is deleted or plugged out
Linkage function, a function that does not affect
Number table 60, call processing instance management unit 72, call
And an output function table 74. Also new services
To generate the control unit 58, the file environment 64 is used.
Can be. Next, referring to the flowchart shown in FIG.
An outline of the operation of the present embodiment will be described. Step 1
For replacing and adding services in the file environment 64
The service control unit 58 is generated. Service control
The unit is a program in an executable format, such as an optical disc or
It is recorded on a medium such as a magnetic tape. Step 2
The service control unit 58 performs plug-in plug-out control
Read by the unit 62, and
The service control section is an empty area of the plug-in memory area 61
It is taken in. Here, the plug-in memory area 61
The empty / busy state of the memory is determined by the plug-in area management data 78.
The plug-in area management data 78 is
By referring to the lag-in plug-out control unit 62,
The service control unit stores the data in the plug-in memory area 61.
Be included. The same as when the service control unit is loaded.
Sometimes activated as activation step 4 in activation function table 70
The entry address of the application program is recorded. sand
In other words, the service
Of the function (processing program) for activating the control unit
Record the entry address in the activation function table 70
You. Note that activation means that the service control unit is the service activation unit.
The state is set to a state in which activation can be performed by 54. Step 5 is a service activation control section.
66 is the entry recorded in the activation function table 70
Refer to the address and start the service control unit 76
You. Service control unit started as step 6
76 links the pointer of the function that executes the service
It is recorded in the function table 60. Step 7
The service activation unit 54 refers to the linkage function table 60.
You. In step 8, the service activation unit 54 sets the linkage
The function pointer obtained by referring to the function table 60 is
Call function table of the call processing instance management unit 72
Record at 74. Then, as step 9, the service is started.
The moving unit 54 is a function recorded in the call function table 74.
Execute the function in the service control unit by referring to the pointer
And run the service. Note that the calling function table
74 is called when the service is started by dialing.
In the memory area generated in the processing instance management unit 72
Provided. The calling function table 74 has a service
It is used when switching or adding resources. That is, improvement
When switching to a service,
When the service control unit is operating after receiving a call,
The start-up part of the improved service from the linkage function table
Get the address of the function and use it in another calling function table
And then receive a call for that service
The service invocation section refers to the new call function table.
And perform improved services. Switching services,
Details of the operation at the time of addition and the like will be described later. FIG. 5 shows an exchange software according to the embodiment of the present invention.
FIG. 3 is a module diagram showing a wear execution module. Same figure
As shown in FIG.
An operating system 82 serving as a program base,
Common function program module group 84, maintenance operation program
RAM module group 86, exchange control program module
Group 88, service activation program module group 90,
Linkage function table 92, execution module 94 0 ~ 9
4 n Consists of The execution module 94 0 Ha
ぺ Rating system 82, common function program module
Module group 84, service activation program module group 9
0, which is a summary of the linkage function table 92
You. The exchange control program module group 88,
ぺ Rating system 82, common function program module
Module group 84, maintenance operation program module group 86,
The exchange control program module group 88 is the same as the conventional technology.
It is like. Service activation program module group 90
Is composed of service activation programs 1 to n.
The service start program starts from the exchange control program
Is applied, the cross linkage function table 92 is
Determine and start service control program while referring
I do. Execution module 94 1 ~ 94 n Is the service control
Program and function table generator,
The service control program enters the program to be executed.
Functions are provided in the function table. Also, when activated
Function table generator, the linkage function
Set a pointer to the entry function for the table. This
Software module configuration that allows
Execution module 94 including a group of programs 0 And service
Execution module 94 of control unit 1 ~ 94 n Independence,
Create a new service or modify an existing service
In some cases, such as the existing part of the execution module 94 0 Affects
Compiles independently and gives execution module without giving
it can. Therefore, in the file environment 64, other services may be used.
A service control unit independent of the service can be obtained. FIG. 6 is a diagram showing a hard disk of an exchange according to an embodiment of the present invention.
FIG. 3 is a hardware configuration diagram. As shown in FIG.
Is the main control unit (MPR: Main P)
processor) 110, a call control device for controlling a call
(CPR: Call Processor) 120, 1
30 and 140. Main controller 110 is
Central processing unit (CPU) 11 for processing programs
1. To cause the central processing unit (CPU) 111 to execute
A main storage device 112 for storing programs and data;
Input / output device for interfacing with the outside of the exchange
113, an external storage medium for storing programs and data
114, exchange information with portable storage media such as magneto-optical disks
External storage device 115 for data transfer, and information between control devices.
Access between processors to control information access
It comprises a control device 116. Call control device 120 is outside
Storage medium 121, access control device between processors 12
2. Central processing unit 123, main storage medium 124, communication path equipment
It is composed of a device 125. Other call control devices have the same configuration
It is. Functions described above in the embodiment of the present invention.
Is mainly in the central processing unit 111 in the main controller 110.
Executed. FIG. 7 shows an exchange 50 according to an embodiment of the present invention.
FIG. 2 is a functional block diagram showing details of the functional configuration of FIG. This implementation
The main part of the example is the same as the outline configuration described above.
Details will be described. The service activation unit 54 has n services
Startup program 55 1 ~ 55 n Built-in. Call processing
The instance management unit 72 stores information necessary for call processing when calling.
Capture the moly block. In this memory block,
A call function table 74 is allocated for each call. Sa
The service control unit 56 has a service control program 57
A number table generation program 67 is built-in.
A service control program 77 and a function
A table generation program 79 is incorporated. plug
The in-plug-out control unit 62 controls the plug-in memory area management.
Plug-in for loading service data 78 and service control unit
-in Loader69 and service control section are loaded.
Plug-in memory area (not shown in FIG. 7)
Determine the area in the file by referring to the plug-in area management data
Plug-in Manager 68 is provided. Service activation
The control unit 66 has an activation program 65,
When activation request is made, refer to activation function table 70
I do. In the following, referring to FIG.
The operation of the embodiment of the present invention will be described in detail. FIG.
Is a service plug-in in the embodiment shown in FIG.
Processing for loading of the service control
It is a flowchart which shows a process. In file environment 64
The generated service control unit 58
Is read out from the storage unit 115 (FIG. 7A), and
The information is temporarily stored in the external storage medium 114 as the top 2. S
As Step 3, Plug-in Loader 69 is Plug-in Manage
Inquires r 68 of the loading destination address. S
As Step 4, Plug-in Manager 68 provides service control
Section is a relocatable executable, that is, which memory address
Check whether the executable is executable even without
If locable, plug-in area as step 5
The free area is supplemented based on the management data 78. Step
In step 4, the service control unit is a relocatable execution type
If it is not an expression, for example,
Memory address to be executed at the time of file
In the case of an expression, the plug-in area management data
Plug-in Manager 68 based on data 78
The execution address assigned by the piler is in the plug-in memory area.
It is verified whether the area is empty. Step 7
As a result, it is determined whether the verification result is
If it is a double assignment, a warning message is displayed as step 8.
Is output and the plug-in is rejected. Step 7
If not, go to step 9. Steps
After step 5 and step 8, the process also proceeds to step 9. To step 9
Whether the memory allocation of the service control unit has been completed
Is checked and if not completed, the service
The login process ends. If completed, step
10 is a memory area for loading the service control unit.
After determining the dress, as step 11,
In the state of the assignment status table that is "plugged in"
Set. In step 3, an address inquiry is
When the processing is completed, the memory area is
Check if it is a double assignment,
finish. If not, go to step 13
The service control unit to the captured memory area address.
Load (FIG. 7B) and load as step 14
Of the function table generation program of the service control unit
Is written to the activation function table 70 (see FIG. 7).
(C)) End the process. FIG. 9 shows an example of plug-in area management data 78.
In this case, the plug-in memory area
Management using a memory empty / busy table as shown in (a)
Is done. One bit in this table means 8 KB area.
Taste, "1" indicates in use, "0" indicates empty. service
If the control unit is relocatable executable, plug-in
Divided the service control unit size by 8 KB and stored
Find the rear size and continuously vacant areas, that is,
By determining the bit position where “0” continuously exists,
The storage address. Service control unit is absolute address
If it is an executable, the server allocated by the compiler
From the start address of the screw control unit to the bit of the memory empty / busy table
Determine the position and check if the size is an empty area.
Check. FIG. 9B shows plug-in area management data.
Shows the allocation status table and shows the maximum
In order to manage information for large services,
A is secured. This table is mainly for plugin
Used for the memory area status display function. For example, plug
What services are implemented in the in-memory area
Command to display usage status of Kaya plug-in memory area
It is used in the world. Therefore, the assignment state table
The service name, plug-in memory area location,
Proprietary size and keeps the status of the service
You. In addition, the above-mentioned relocation
Information on program attributes in the form of a table or absolute address
Free space in the plug-in memory area
For example, plug-in / plug-out
Is repeated to repeat the empty bits on the memory empty / busy table.
Relocatable format support when
Reallocate the service control section and expand the vacant area.
Can be. With the above processing, the service control unit 58
Is a plug-in memo in the plug-in plug-out control unit 62.
Loaded on the re-area. FIG. 10 shows the activation function
An example of the cable 70 is shown. In the activation function table 70,
By the service number, which is the identification number of the service control unit
Function table generation program in service control unit obtained
The address to the system is set. This table will be described later
It is referred to by the service activation control unit 66. FIG. 11 shows the activation of the service control unit and the link.
FIG. 9 is a flowchart showing a process of generating a cage function table.
is there. As step 1, the service control unit
When loaded or plugged into the memory area,
In step 2, the service activation control unit 66
From the number table 70, the loaded service control unit
Obtain the address of the function table generation program and
The function table generation program is started as step 3 (FIG. 7).
(D)) to start the function table generation processing,
As 4, the linkage function table is read. Steps
5 set in the linkage function table 60
Check if the service is a new service
If the service is not a new service,
Step 6: Keep the contents of the old linkage function table
Then go to step 7. In step 7,
Linkage function table for all service control program functions
(FIG. 7E). Complete setting as step 8
Check if completed, and if not completed,
A setting error warning is issued as 9, and the process is terminated.
If completed, the process ends. In step 3, a function table generation program
When the ram is started, as step 10, the function table
Check if generation is complete and if not
If it is, the process is terminated.
Plug-in area management data allocation status table
Change the allocation status to "Implementing service" and end the process.
Complete. Service activation, linkage function table
Generation will be further described with reference to FIG. Service of Figure 7
Control units 56 and 76 are independent of other execution modules.
Because it is compiled, it is stored in the plug-in memory area.
Called from other execution modules even if loaded
I can't do it. Therefore, the service activation control unit 6
The service control unit 76 is activated by the activation program 65 of FIG.
It is activated, that is, put into a usable state. The activation program 65 is activated periodically or
Invoked by command. Periodic startup
The plug-in menu in the plug-in plug-out control unit 62
By monitoring the memory area management data 78, the plug-in
To know the service number of the service control unit 76
it can. Also, when starting by command, the maintenance person
Enter the service number from
Use the plug-in memory area management data 78 from the service name.
To obtain a service number. Like this
Number and activation function of service control unit 76 obtained
From the table 70, the function table in the service control unit 76
(D in FIG. 7)
)). The function table activated from the activation program 65
The bull generation program 79 includes the service control program 7
Linkage function text based on the function table defined in
The address of the function is set in the cable 60 (FIG. 7).
(E)). FIG. 12 shows the linkage function table 60.
The configuration and operation of the function table generation program 79 are shown.
FIG. In FIG. 12, the linkage function table 6
0 is the first stage table indexed by service number
In the function pointer table indexed by function number
It is configured. The first-stage table contains a function pointer table.
The address of the bull is written in the function pointer table
Contains the function pointer address of the service control program 77.
Address can be set. Service control unit 7
6, the function table generation program 79 is compiled
The function of the service control program 77 generated at the time
Linkage function table based on table and service number
Set function pointer in function pointer table of 60
You. The linkage function table 60 thus set
Is referenced by the service launcher. In FIG. 7, a certain service is activated.
In this case, the exchange control unit 52
Service start program, here service start program
Ram 55 Two (FIG. 7 (f)). Service startup
Program 55 Two Is a call processing instance management unit 72
Grab a memory block from Then, as described above
Function information from the set linkage function table 60
Read (FIG. 7 (h)), the captured memory block
Function address in the call function table 74 in the
((G) of FIG. 7). Service activation program 55 Two Or
To start the service control program 77 from FIG.
This call function table 74 is used for (i)).
You. That is, it is started from the exchange control unit 52.
The service start program is a direct service control program.
Instead of calling the function of the system, according to the service number
Function pointer table obtained from the linkage function table
Table 150 (FIG. 12) is temporarily managed by the call processing instance.
Call function data is stored in the call control memory block in the unit 72.
Table 74, and the stored call function table
Function 160 of the service control program with reference to the
(Functions 1 to 3) are called. FIG. 13 is a flowchart showing the above processing.
FIG. In the figure, when a certain service is called,
As a step 1, the service start program from the exchange control unit
The program is started, and the service start program
The gram is a memory area of the call processing instance management unit 72.
To capture. Linkage function table as step 3
Read the address of the function from
The read address is stored in the call processing instance management unit 72.
Copy to call control memory block in memory area of
Thus, the calling function table 74 is set. Stay
As a step 5, the service start program calls the calling function text.
The cable 74 is read. Also, depending on the service,
Call processing installation in response to received digits, connection response, disconnection, etc.
Read the read function table in the touch memory area
You. In step 6, the read function address is valid
Check if it is not valid, and go to step 7
Error processing such as forcible release of the call, and terminate the processing.
If effective, step 8 of the service control program
Start up and end the process. In step 8,
For the types of received signals such as reception of dial numbers, connection response, disconnection, etc.
Service system determined from call function table accordingly
Your service control program is called. As described above, according to the present invention, (1) a service control unit as a completely new service is added
Even if it is added, the linkage function table 72
By setting a new service control program function
Functions can be added. (2) Even if the existing service is modified,
Service control section as well as new services
Add new and old by rewriting cage function table
Can be replaced. At this time, the old service control
Even if there is a call being made, the service start program
Service control in the call control memory block supplemented by the system
Function pointers are stored, so
Processing can be performed without affecting. The flow of the above series of processing is described as a free dial
Call originated from a subscriber
This will be described with reference to FIGS. First as Step 1
Perform system initialization. That is, as shown in FIG.
The function table generation program in the service control unit is
Implemented in service control program at system initialization
Function (f1 and f1
f2) pointer address in linkage function table
Set. In FIG. 15, free dial service
When a call is made from a subscriber, as step 2,
From the switching control program to the service startup program
The service start program is executed as step 3
Call control memory block in call processing instance manager
Supplementally, as step 4 in the linkage function table
Copy the contents to the call control memory block. Call control memory
The block retains its contents until the call ends
This is a possible memory area. Call control memo as step 5
Refers to the function table stored in
The service control program from the service start program
The program is executed. Here, a free dial with additional functions
FIG. 16 shows a case where a service is added. Service system
A new freezer loaded as your program
The dial service is called toll-free dial 2, and as a function
Has f1 ′ and f2 ′. Free dial
2 Load the service control program corresponding to
Function table generation program is started when
In step 7, entries of added functions f1 'and f2'
Address is overwritten in linkage function table
You. Call control memory block in the call processing instance manager
Function on the previous service control program (fl and f
2) is held, and the service control program proceeds to step 8
Service has already started
Subscribers receive the new service program loaded
Is not affected either. The call from the new subscriber is switched to the switching control program again.
The program is accepted and the service
If the program has been started,
New call control memory block
Is added, and as a step 11, f1 ′ and f2 ′ are
Function table is copied to the call control memory block.
In step 12, the service start program executes the function
Referring to the address of the
The service is executed. In this case, the old and new service control
Programs are running at the same time, but the old service
Subscribers using the program end the call and
Service control program is no longer used. As described above, the addition, switching, and connection of services
The service plug-in was explained. Next, once
Return the plugged-in service control unit to the state before plug-in
The service plug-out will be described. Plugin
Simply plugging out the service control unit
Not only is the line program deleted and the service stopped,
This will have a significant impact on the system. So,
Follow the steps below when lagging out. (1) Service control unit to be plugged out
Stop making calls to. (2) Monitor calls already in service, that is, calls in service
Service control program when all calls have ended.
Plug out the system. FIG. 17 is a flowchart of a specific plug-out process.
This will be described with reference to the functional block diagram of FIG. At the time of plug-out, as step 1
Command to close the service in the service activation control unit 66
To notify. As step 2, the activation program 65
Pass the blockage notification to Plug-in Manager 68 (Fig. 7
(J)). As step 3, Plug-inManager 68
Allocation state table in lag-in area management data 78
Is rewritten to "Plug-out request in progress". Stay
As a fourth step, the Plug-in Manager 68 periodically
The plug-in request is retrieved by searching the connection status table.
Call processing service
An inquiry is made to the instance management unit 72 (FIG. 7 (k)).
In step 5, it is determined whether there is a busy call, and the busy call is determined.
If there is, wait for a while as step 6 and then step
Returning to step 5, if there is no active call, step 7
As allocation status in the plug-in area management data 78
Return the status value of the corresponding service in the table to the initial value, and
In Step 8, it is checked whether the blockage is completed.
If not, the process ends.
Step 9 is to recover the calling function table.
The processing from step 10 is performed. The activation program 65 as step 10
Starts the function table generation program 79. Step
Function table generation program 79
The cage function table is read, and step 12 and
To check if there is a table,
If not, use the linkage function table as step 13
Initialize and if there is a table, go to step 14
Linkage function table with contents of linkage function table
To complete the function table recovery process
You. That is, the function table generation program is applicable
Rewrite function pointer in linkage function table 60
Previous state ({0} for new service, existing service
If it is exchanged, the function pointer value of the existing service)
Set it. Therefore, the exchange control unit 52
Function pointer when the service start program is started
If the value is {0}, the service control program is started.
However, newly placed calls are restricted. In addition, existing services
The value of the linkage function table of the screw is a function pointer.
In some cases, existing services can be
Because it is started, service interruption does not occur. Next, as step 15, the activation function table
Recovery of the Bull 70, and the service
The control unit from the plug-in memory area. Exchange
FIG. 6 shows a recording medium on which the machine service control program is recorded.
Either the main storage device 112 or the external storage medium 114
It corresponds to one or both. The above recording medium
The central processing unit 111 is attached to the body according to the procedure described above.
The program to operate is stored.
Storing this program in the memory etc. of the exchange
It is better to use an existing switch as the switch of the present invention.
Can be. Main storage device 112 or external storage medium 114
Electronic media and hard disk drives
There are discs. In addition, the exchange service control program of the present invention.
From a magneto-optical disk, magnetic tape, etc.
Load this program into the memory of the existing switch, etc.
The existing exchange as the exchange of the present invention.
Can be used. The present invention is not limited to the above embodiment.
Various changes and applications are possible without departing from the scope of the claims
It is. According to the present invention, the service during the operation of the exchange is
Replacement of screws becomes possible. Previously swapped services
File generation and system
Restart (initialization) operation at start is required, service
Was temporarily suspended, but the present invention
Without affecting the performance of the body,
Switching and addition become possible. Also, future exchanges
"User Programmability" that can be one of the technological trends of
The present invention is effective for realizing "tay". That is,
Up to now, exchange users (telephone companies, etc.)
Add new functions such as screws depending on the exchange vendor
Had impacted the service as in the present invention
Users can add new functions without any
Develop functions and add service functions more quickly
It becomes possible. The present invention can be the basic technology
Things.

【図面の簡単な説明】 【図1】従来技術による交換ソフトウェア実行モジュー
ルを示すモジュール図である。 【図2】従来技術においてパッチを用いてサービス機能
を追加する例である。 【図3】本発明の実施例における交換機の機能構成概要
を示す機能ブロック図である。 【図4】図3に示す構成の動作を示すフローチャートで
ある。 【図5】本発明の実施例における交換ソフトウェア実行
モジュールを示すモジュール図である。 【図6】本発明の実施例における交換機の構成を示すブ
ロック図である。 【図7】本発明の実施例における交換機の機能構成詳細
を示す機能ブロック図である。 【図8】図7に示す実施例において、サービス制御部の
ローディングについての処理を示すフローチャートであ
る。 【図9】プラグイン領域管理データ78の例である。 【図10】活性化関数テーブル70の例である。 【図11】サービス制御部の活性化とリンケージ関数テ
ーブル生成の処理を示すフローチャートである。 【図12】リンケージ関数テーブル60の構成と関数テ
ーブル生成プログラム79の動作を示した図である。 【図13】あるサービスの起呼が発生した場合の交換制
御部とサービス起動プログラムによる処理を示したフロ
ーチャートである。 【図14】初期設定を示す図である。 【図15】フリーダイアルサービスがある加入者から発
呼された場合を示す図である。 【図16】新たに機能追加したフリーダイアルサービス
が追加される場合を示す図である。 【図17】プラグアウト処理の手順を示すフローチャー
トである。 【符号の説明】 10、80 交換機ソフトウェア実行モジュール 12 サービス制御プログラムモジュール群 14、88 交換制御プログラムモジュール群 16、84 共通機能プログラムモジュール群 18、86 保守運用プログラムモジュール群 20、82 オペレーティングシステム 30 交換機 32 交換制御部 33、35 パッチ 34、56、58、76 サービス制御部 36 パッチ領域 38、40 追加サービスプログラム 42 パッチ管理部 44 ソフトウェアパッチ 46 パッチ生成環境 50、100 交換機 52 交換制御部 54 サービス起動部 55 サービス起動プログラム 57、77 サービス制御プログラム 60、92 リンケージ関数テーブル 61 プラグインメモリ領域 62 プラグインプラグアウト制御部 64 ファイル化環境 65 活性化プログラム 66 サービス活性化制御部 67 関数デーブル生成プログラム 68 Plug-in Manager 69 Plug-in Loader 70 活性化関数テーブル 72 呼処理インスタンス管理部 74 呼び出し関数テーブル 77 サービス制御プログラム 78 プラグイン領域管理データ 79 関数テーブル生成プログラム 90 サービス起動プログラムモジュール群 94 実行モジュール 110 主制御装置 111、123 中央処理装置 112、124 主記憶装置 113 入力装置 114、121 外部記憶媒体 115 外部記憶装置 116、122 プロセッサ間アクセス制御装置 120、130、140 呼制御装置 125 通話路装置 150、160 関数1〜3
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a module diagram showing a replacement software execution module according to the prior art. FIG. 2 is an example in which a service function is added using a patch in the related art. FIG. 3 is a functional block diagram showing an outline of a functional configuration of an exchange in the embodiment of the present invention. 4 is a flowchart showing the operation of the configuration shown in FIG. FIG. 5 is a module diagram showing an exchange software execution module according to the embodiment of the present invention. FIG. 6 is a block diagram illustrating a configuration of an exchange according to an embodiment of the present invention. FIG. 7 is a functional block diagram showing a detailed functional configuration of the exchange in the embodiment of the present invention. FIG. 8 is a flowchart showing processing for loading of a service control unit in the embodiment shown in FIG. 7; FIG. 9 is an example of plug-in area management data 78; FIG. 10 is an example of an activation function table 70; FIG. 11 is a flowchart illustrating a process of activating a service control unit and generating a linkage function table. FIG. 12 is a diagram showing a configuration of a linkage function table 60 and an operation of a function table generation program 79. FIG. 13 is a flowchart showing processing by an exchange control unit and a service activation program when a call for a certain service occurs. FIG. 14 is a diagram showing initial settings. FIG. 15 is a diagram showing a case where a free dial service is called from a subscriber. FIG. 16 is a diagram showing a case where a free dial service with a newly added function is added. FIG. 17 is a flowchart illustrating a procedure of plug-out processing. DESCRIPTION OF SYMBOLS 10, 80 Exchange software execution module 12 Service control program module group 14, 88 Exchange control program module group 16, 84 Common function program module group 18, 86 Maintenance operation program module group 20, 82 Operating system 30 Exchange 32 Exchange control units 33, 35 Patches 34, 56, 58, 76 Service control unit 36 Patch area 38, 40 Additional service program 42 Patch management unit 44 Software patch 46 Patch generation environment 50, 100 Switch 52 Exchange control unit 54 Service start unit 55 Service activation programs 57, 77 Service control programs 60, 92 Linkage function table 61 Plug-in memory area 62 Plug-in plug-out control unit 64 File environment 65 Activation Program 66 Service activation control section 67 Function table generation program 68 Plug-in Manager 69 Plug-in Loader 70 Activation function table 72 Call processing instance management section 74 Call function table 77 Service control program 78 Plug-in area management data 79 Function table Generation program 90 service activation program module group 94 execution module 110 main control device 111, 123 central processing device 112, 124 main storage device 113 input device 114, 121 external storage medium 115 external storage device 116, 122 inter-processor access control device 120, 130, 140 Call control device 125 Call path device 150, 160 Functions 1 to 3

───────────────────────────────────────────────────── フロントページの続き (72)発明者 加室 真吾 神奈川県川崎市中原区上小田中4丁目1番 1号 富士通株式会社内 Fターム(参考) 5B076 EA17 5K024 AA00 AA45 BB04 GG00 5K026 AA10 BB00 CC07 FF02 FF03 FF04 FF23 GG12 GG15 9A001 CC02 CC07 JJ12 LL05 LL09   ────────────────────────────────────────────────── ─── Continuation of front page    (72) Inventor Shingo Kamuro             4-1-1 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture             No. 1 Inside Fujitsu Limited F term (reference) 5B076 EA17                 5K024 AA00 AA45 BB04 GG00                 5K026 AA10 BB00 CC07 FF02 FF03                       FF04 FF23 GG12 GG15                 9A001 CC02 CC07 JJ12 LL05 LL09

Claims (1)

【特許請求の範囲】 【請求項1 】プログラムにより制御される交換機におい
て、 特定のサービスを実行するサービスプログラムがローデ
ィングされると、 所定の場合に該サービスプログラムは該サービスプログ
ラムが有する該サービスを実行するための関数へのポイ
ンタを第1のテーブルに記録し、 該交換機は、 発呼により該サービスの利用要求があると呼毎に一時的
な記憶領域を確保し、 該第1のテーブルを参照して得た該ポインタを該記憶領
域内の第2のテーブルに保持し、 該第2のテーブルに保持された該ポインタを参照するこ
とにより該ポインタの示す関数を実行してサービスを提
供することを特徴とする交換機サービス制御方法。 【請求項2】前記交換機は、 前記サービスプログラムがローディングされる記憶領域
の領域空塞状態及び前記サービスプログラムの状態を管
理するデータを有し、 該データを用いて前記ローディングを制御する請求項1
記載の交換機サービス制御方法。 【請求項3】前記所定の場合は、 前記交換機が周期的に前記ローディングを監視して前記
サービスプログラムがローディングされたことを検出し
た場合、または、コマンドにより指示が入力された場合
である請求項1記載の交換機サービス制御方法。 【請求項4】前記サービスプログラムは独立してコンパ
イルされて前記ローディングされる請求項1記載の交換
機サービス制御方法。 【請求項5】既存のサービスプログラムを別のサービス
プログラムに置き換える際に該既存のサービスプログラ
ムを実行中の第1の呼が有る場合、 該別のサービスプログラムによるサービスを提供すべき
第2の呼が発生すると、 前記交換機は新たに前記一時的な記憶領域を確保して該
別のサービスプログラムの有する関数へのポインタのテ
ーブルを該記憶領域に保持し、 該ポインタの示す関数を実行することにより該第2の呼
に該別のサービスプログラムによるサービスを提供する
請求項1記載の交換機サービス制御方法。 【請求項6】ローディングされた前記サービスプログラ
ムを前記交換機から削除する際、 前記第1のテーブルの値を該サービスプログラムがロー
ディングされる前の値に戻す請求項1記載の交換機サー
ビス制御方法。 【請求項7】プログラムにより制御される交換機であっ
て、 特定のサービスを実行するサービスプログラムをローデ
ィングする手段と、 該サービスプログラムが有する該サービスを実行するた
めの関数へのポインタを保持する第1のテーブルを有
し、 所定の場合に該サービスプログラムに該関数へのポイン
タを該第1のテーブルに記録させる手段と、 発呼により該サービスの利用要求がある場合に呼毎に一
時的な記憶領域を確保する手段と、 該第1のテーブルを参照して得た該ポインタを該記憶領
域内の第2のテーブルに保持する手段と、 該第2のテーブルに保持された該ポインタを参照するこ
とにより該ポインタの示す関数を実行してサービスを提
供する手段とを有することを特徴とする交換機。 【請求項8】前記サービスプログラムがローディングさ
れる記憶領域の領域空塞状態及び前記サービスプログラ
ムの状態を管理するデータを有し、 該データを用いて前記ローディングを制御する手段を有
する請求項7記載の交換機。 【請求項9】前記交換機は周期的に前記ローディングを
監視する手段とコマンド入力手段を有し、 前記所定の場合は、 該監視する手段により前記サービスプログラムがローデ
ィングされたことを検出した場合、または、コマンドに
より指示が入力された場合である請求項7記載の交換
機。 【請求項10】既存のサービスプログラムを別のサービ
スプログラムに置き換える際に既存のサービスプログラ
ムを実行中の第1の呼が有る場合、 該別のサービスプログラムによるサービスを提供すべき
第2の呼が発生した場合に前記交換機は新たに前記一時
的な記憶領域を確保して該別のサービスプログラムの有
する関数へのポインタのテーブルを該記憶領域に保持す
る手段と、 該ポインタの示す関数を実行することにより該第2の呼
に該別のサービスプログラムによるサービスを提供する
手段とを有する請求項7記載の交換機。 【請求項11】ローディングされた前記サービスプログ
ラムを前記交換機から削除する場合に前記第1のテーブ
ルの値を該サービスプログラムがローディングされる前
の値に戻す手段を有する請求項7記載の交換機。 【請求項12】プログラムにより制御される交換機のサ
ービスを制御するコンピュータ読み取り可能な交換機サ
ービス制御プログラムを記録した記録媒体であって、 該交換機に特定のサービスを実行するサービスプログラ
ムをローディングし、 所定の場合に該サービスプログラムに該サービスプログ
ラムが有する該サービスを実行するための関数へのポイ
ンタを第1のテーブルに記録させ、 発呼により該サービスの利用要求があると呼毎に一時的
な記憶領域を確保し、 該第1のテーブルを参照して得た該ポインタを該記憶領
域内の第2のテーブルに保持し、 該第2のテーブルに保持された該ポインタを参照するこ
とにより該ポインタの示す関数を実行してサービスを提
供することを特徴とする交換機サービス制御プログラム
を記録した記録媒体。 【請求項13】前記サービスプログラムがローディング
される記憶領域の領域空塞状態及び前記サービスプログ
ラムの状態を管理するデータを保持し、 該データを用いて前記ローディングを制御する請求項1
2記載の交換機サービス制御プログラムを記録した記録
媒体。 【請求項14】前記所定の場合は、 前記交換機が周期的に前記ローディングを監視して前記
サービスプログラムがローディングされたことを検出し
た場合、または、コマンドにより指示が入力された場合
である請求項12記載の交換機サービス制御プログラム
を記録した記録媒体。 【請求項15】既存のサービスプログラムを別のサービ
スプログラムに置き換える際に既存のサービスプログラ
ムを実行中の第1の呼が有る場合、 該別のサービスプログラムによるサービスを提供すべき
第2の呼が発生すると、 前記交換機は新たに前記一時的な記憶領域を確保して該
別のサービスプログラムの有する関数へのポインタのテ
ーブルを該記憶領域に保持し、 該ポインタの示す関数を実行することにより該第2の呼
に該別のサービスプログラムによるサービスを提供する
請求項12記載の交換機サービス制御プログラムを記録
した記録媒体。 【請求項16】ローディングされた前記サービスプログ
ラムを前記交換機から削除する際、 前記第1のテーブルの値を該サービスプログラムがロー
ディングされる前の値に戻す請求項12記載の交換機サ
ービス制御プログラムを記録した記録媒体。 【請求項1 7】プログラムにより制御される交換機のサ
ービスを制御するコンピュータ読み取り可能な交換機サ
ービス制御プログラムを記録した記録媒体であって、 該交換機に特定のサービスを実行させる関数と、 該交換機にローディングされた場合に該関数へのポイン
タを該交換機内のテーブルに記録するプログラムを含
み、 該交換機により該テーブルに記録された該ポインタが参
照されて該関数が実行されることを特徴とする交換機サ
ービス制御プログラムを記録した記録媒体。
Claims: 1. In a switch controlled by a program, when a service program for executing a specific service is loaded, the service program executes the service of the service program in a predetermined case. The switchboard records a pointer to a function for performing the service in a first table, and when the use of the service is requested by a call, reserves a temporary storage area for each call, and refers to the first table. Holding the pointer obtained in the second table in the storage area, executing the function indicated by the pointer by referring to the pointer held in the second table, and providing a service. An exchange service control method characterized by the above-mentioned. 2. The exchange according to claim 1, further comprising data for managing an area occupied state of a storage area in which the service program is loaded and a state of the service program, and controlling the loading using the data.
Exchange service control method as described. 3. The predetermined case is when the exchange periodically monitors the loading to detect that the service program is loaded, or when an instruction is input by a command. 2. The switching service control method according to 1. 4. The switching service control method according to claim 1, wherein said service program is independently compiled and loaded. 5. A second call to be provided with a service by another service program when there is a first call executing the existing service program when replacing the existing service program with another service program. Occurs, the exchange newly secures the temporary storage area, holds a table of pointers to functions of the another service program in the storage area, and executes the function indicated by the pointer. 2. The switching service control method according to claim 1, wherein a service based on said another service program is provided for said second call. 6. The exchange service control method according to claim 1, wherein when the loaded service program is deleted from the exchange, the value of the first table is returned to a value before the service program is loaded. 7. An exchange controlled by a program, comprising: means for loading a service program for executing a specific service; and a first means for holding a pointer to a function of the service program for executing the service. Means for causing the service program to record a pointer to the function in the first table in a predetermined case; and temporarily storing, for each call, when there is a use request for the service by calling. Means for securing an area; means for holding the pointer obtained by referring to the first table in a second table in the storage area; and reference to the pointer held in the second table. Means for executing a function indicated by the pointer to provide a service. 8. The system according to claim 7, further comprising data for managing an area occupancy state of a storage area into which the service program is loaded and a state of the service program, and comprising means for controlling the loading using the data. Exchange. 9. The exchange has means for periodically monitoring the loading and command input means, and in the predetermined case, when the monitoring means detects that the service program is loaded, or 8. The exchange according to claim 7, wherein an instruction is input by a command. 10. When replacing a current service program with another service program and there is a first call that is executing the existing service program, a second call to be provided with a service by the different service program is issued. When this occurs, the exchange newly secures the temporary storage area and holds a table of pointers to functions of the another service program in the storage area, and executes the function indicated by the pointer. Means for providing service to said second call by said another service program. 11. The exchange according to claim 7, further comprising means for restoring the value of said first table to a value before said service program is loaded when said loaded service program is deleted from said exchange. 12. A recording medium storing a computer-readable exchange service control program for controlling services of an exchange controlled by the program, wherein a service program for executing a specific service is loaded on the exchange, and In this case, the service program records a pointer to a function for executing the service included in the service program in the first table. When there is a use request of the service by calling, a temporary storage area is provided for each call. The pointer obtained by referring to the first table is held in a second table in the storage area, and the pointer of the pointer is referred to by referring to the pointer held in the second table. Recording a switching service control program characterized by providing the service by executing the function shown in FIG. Media. 13. The data storage device according to claim 1, further comprising data for managing an area occupied state of a storage area to which said service program is loaded and a state of said service program, and controlling said loading using said data.
A recording medium recording the exchange service control program according to 2. 14. The predetermined case is when the exchange periodically monitors the loading and detects that the service program is loaded, or when an instruction is input by a command. 13. A recording medium recording the exchange service control program according to 12. 15. When replacing a current service program with another service program and there is a first call executing the existing service program, a second call to be provided with a service by the different service program is provided. When this occurs, the exchange newly secures the temporary storage area, holds a table of pointers to functions of the another service program in the storage area, and executes the function indicated by the pointer to execute the function indicated by the pointer. 13. A recording medium storing an exchange service control program according to claim 12, wherein a service according to said another service program is provided for a second call. 16. The switching service control program according to claim 12, wherein when the loaded service program is deleted from the exchange, the value of the first table is returned to a value before the service program is loaded. Recording medium. 17. A recording medium on which a computer-readable exchange service control program for controlling a service of an exchange controlled by a program is recorded, wherein a function for causing the exchange to execute a specific service is provided. A switching service including a program for recording a pointer to the function in a table in the exchange when the function is executed, wherein the function is executed by referring to the pointer recorded in the table by the exchange. A recording medium on which a control program is recorded.
JP10312181A 1998-11-02 1998-11-02 Exchange service control method, exchange and recording medium recording exchange service control program Pending JP2000137605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10312181A JP2000137605A (en) 1998-11-02 1998-11-02 Exchange service control method, exchange and recording medium recording exchange service control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10312181A JP2000137605A (en) 1998-11-02 1998-11-02 Exchange service control method, exchange and recording medium recording exchange service control program

Publications (1)

Publication Number Publication Date
JP2000137605A true JP2000137605A (en) 2000-05-16

Family

ID=18026202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10312181A Pending JP2000137605A (en) 1998-11-02 1998-11-02 Exchange service control method, exchange and recording medium recording exchange service control program

Country Status (1)

Country Link
JP (1) JP2000137605A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7430612B2 (en) 2002-12-18 2008-09-30 Intec Netcore, Inc. Computing apparatus, computing program, and computing method
JP2011186824A (en) * 2010-03-09 2011-09-22 Hitachi Ltd Validation-processing program and validation-processing server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7430612B2 (en) 2002-12-18 2008-09-30 Intec Netcore, Inc. Computing apparatus, computing program, and computing method
JP2011186824A (en) * 2010-03-09 2011-09-22 Hitachi Ltd Validation-processing program and validation-processing server

Similar Documents

Publication Publication Date Title
CN111338854B (en) Kubernetes cluster-based method and system for quickly recovering data
US7779055B2 (en) Device memory management during electronic file updating
EP0753174B1 (en) Software configuration in a telecommunication device
JP2001188704A (en) Garbage collection method for distributed application having constraint on time
WO2021196597A1 (en) Service plug-in loading implementation method and apparatus, and terminal device
US11327816B2 (en) Monitoring components in a service framework
JP2004530201A (en) Methods for loading and running applications in embedded environments
CN108399331A (en) Application process trial method and system
US7669197B1 (en) Embedded system employing component architecture platform
CN102841782B (en) global variable management method and device
CN101158898A (en) Terminal system based on java
CN101136780A (en) Method, system to obtain user command information, and user command registered device
CN102710433B (en) A kind of online upgrading processing method, relevant apparatus and system
WO2023134411A1 (en) Information transmission method, terminal apparatus, and storage medium
JP2000137605A (en) Exchange service control method, exchange and recording medium recording exchange service control program
Utas Robust Communications Software: Extreme Availability, Reliability and Scalability for Carrier-Grade Systems
JP2006277204A (en) Portable communication terminal device
US6636964B1 (en) Method and apparatus for loading an object-oriented operating system by providing an initial execution environment and migrating to a core execution environment thereafter
EP1119167B1 (en) A real-time object-oriented system for tapi service providers
KR20060069166A (en) Wireless communication terminal and its method for providing dynamic upgrade of platform
CN112395083B (en) Resource file release method and device and computer readable storage medium
KR0162761B1 (en) Compilation management method of mobile switching software on network file system
KR101173821B1 (en) Configuration data management system for mobile device
Koyanagi et al. Non-stop service-enhanceable communications software platform based on an object-oriented paradigm
JP2001216145A (en) Program updating system for information processor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040803

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041004

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050412

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050610

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051101