JPH04288795A - Telephone exchange system - Google Patents

Telephone exchange system

Info

Publication number
JPH04288795A
JPH04288795A JP7721691A JP7721691A JPH04288795A JP H04288795 A JPH04288795 A JP H04288795A JP 7721691 A JP7721691 A JP 7721691A JP 7721691 A JP7721691 A JP 7721691A JP H04288795 A JPH04288795 A JP H04288795A
Authority
JP
Japan
Prior art keywords
processing
task
exchange
processing task
tasks
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.)
Withdrawn
Application number
JP7721691A
Other languages
Japanese (ja)
Inventor
Kosei Ono
小野 孝生
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP7721691A priority Critical patent/JPH04288795A/en
Publication of JPH04288795A publication Critical patent/JPH04288795A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To freely prepare an applied processing task by a user and to execute the task at the telephone exchange system without any trouble. CONSTITUTION:A general purpose real time OS is provided to execute multi-task control. At this OS, an exchange processing task is made most preferential, and the order of processings is controlled by applying prescribed priority orders to the other applied processing tasks. When it is necessary for the exchange processing task and the applied processing task to execute communication with the other processing tasks, the communication is executed by registering communication requests and the identification information of processing tasks on the side of a communicating party on registering means 13-1-13-4.

Description

【発明の詳細な説明】[Detailed description of the invention]

[発明の目的] [Purpose of the invention]

【0001】0001

【産業上の利用分野】この発明はディジタル構内交換機
等の電話交換システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention This invention relates to telephone exchange systems such as digital private branch exchanges.

【0002】0002

【従来の技術】従来のディジタル構内交換機(以下、P
BXという)においては、PBXの専用の交換処理リア
ルタイムOS(オペレーティングシステム)によりシス
テムが構成されていた。即ち、図4に示されるように、
専用の交換処理リアルタイムOS下にタスクがコントロ
ールされており、ユーザの希望による応用処理タスクを
含ませようとすると、この専用の交換処理リアルタイム
OSを周知したエンジニアによらなければ適切なプログ
ラムを組むことができず、交換処理を妨げることになる
等の問題点が生じていた。
[Prior Art] Conventional digital private branch exchange (hereinafter referred to as P
In the PBX, the system was configured with a real-time OS (operating system) dedicated to PBX exchange processing. That is, as shown in FIG.
Tasks are controlled under a dedicated exchange processing real-time OS, and if you want to include applied processing tasks according to the user's wishes, you will have to create an appropriate program unless you have an engineer familiar with this dedicated exchange processing real-time OS. This has caused problems such as the exchange process being hindered.

【0003】0003

【発明が解決しようとする課題】上記のように従来の電
話交換システムによると、専用の交換処理リアルタイム
OS下にタスクがコントロールされており、ユーザの希
望による応用処理タスクを含ませようとすると当該OS
を周知したエンジニアによらなければ交換処理が妨げら
れるプログラムが作成される等の不具合がある。
[Problems to be Solved by the Invention] As described above, in the conventional telephone exchange system, tasks are controlled under a dedicated exchange processing real-time OS, and if an attempt is made to include applied processing tasks requested by the user, the corresponding OS
There are problems such as the creation of a program that prevents the replacement process unless it is done by an engineer who is well-informed.

【0004】本発明はこのような従来の電話交換システ
ムの問題点を解決せんとしてなされたもので、その目的
は、応用処理タスクをユーザが自由に作り電話交換シス
テムにおいて不都合なく実行させることのできる電話交
換システムを提供することである。 [発明の構成]
The present invention was made to solve the problems of the conventional telephone switching system, and its purpose is to enable users to freely create and execute applied processing tasks in the telephone switching system without any inconvenience. To provide a telephone switching system. [Structure of the invention]

【0005】[0005]

【課題を解決するための手段】本発明では、複数のタス
クを制御する汎用リアルタイムオペレーティングシステ
ムと、電話交換に関する処理を行う交換処理タスクと、
電話交換以外の応用処理を行う少なくとも1つの応用処
理タスクと、前記交換処理タスク、前記応用処理タスク
において他の処理タスクとの間で通信を行う必要がある
場合に通信要求及び通信相手側の処理タスクの識別情報
を登録する登録手段とを備え、前記汎用リアルタイムオ
ペレーティングシステムには、前記交換処理タスクを最
優先として、他の処理タスクに所定の優先順を付して処
理順を制御する優先順制御手段と、イベント発生に応じ
て、処理の種類を検出し、前記優先順制御手段による処
理順制御を行わせるとともに、前記登録手段の登録内容
に応じて各処理タスク間で通信を行わせる制御手段とを
含ませて電話交換システムを構成した。
[Means for Solving the Problems] The present invention provides a general-purpose real-time operating system that controls a plurality of tasks, an exchange processing task that performs processing related to telephone exchange;
When it is necessary to communicate between at least one applied processing task that performs applied processing other than telephone exchange, the exchange processing task, and other processing tasks in the applied processing task, a communication request and processing on the communication partner side. registration means for registering task identification information, and the general-purpose real-time operating system has a priority order for controlling the processing order by giving the exchange processing task the highest priority and assigning a predetermined priority to other processing tasks. a control means, and control for detecting the type of processing according to the occurrence of an event, controlling the processing order by the priority order control means, and performing communication between each processing task according to the registered contents of the registration means. A telephone exchange system was constructed by including means.

【0006】[0006]

【作用】上記構成によると、汎用リアルタイムOSが交
換処理タスクを第1位の優先度として処理を行わせるの
で交換処理が応用処理に妨げられることはなく、かつ、
応用処理タスクは他の応用処理タスクまたは交換処理タ
スクと通信が可能であり様々な応用処理が実現される。
[Operation] According to the above configuration, since the general-purpose real-time OS performs processing with the exchange processing task as the first priority, the exchange processing is not interfered with by application processing, and,
Application processing tasks can communicate with other application processing tasks or exchange processing tasks, and various application processing can be realized.

【0007】[0007]

【実施例】以下、図面を参照して本発明の一実施例を説
明する。図2は本発明の一実施例に係る一実施例のブロ
ック図である。内線端末1−1〜1−mは内線回路2−
1〜2−mに接続され、外線3−1〜3−nは外線回路
4−1〜4−nに接続されている。内線回路2−1〜2
−mの相互間、内線回路2−1〜2−mと外線回路4−
1〜4−nとの間はスイッチ回路5によって音声通話路
が形成される。中央制御回路6はプロセッサにより構成
され、ROM7、RAM8に記憶されているプログラム
及びデータに基づき各部の制御を行う。中央制御回路6
と内線回路2−1〜2−m、外線回路4−1〜4−n及
びスイッチ回路5との間はデータラインにより接続され
、データの送受が行われるように構成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a block diagram of an embodiment according to an embodiment of the present invention. Extension terminals 1-1 to 1-m are extension circuits 2-
1 to 2-m, and external lines 3-1 to 3-n are connected to external line circuits 4-1 to 4-n. Extension circuit 2-1~2
-m, between extension circuits 2-1 to 2-m and external circuit 4-
1 to 4-n, a voice communication path is formed by a switch circuit 5. The central control circuit 6 is composed of a processor, and controls each part based on programs and data stored in the ROM 7 and RAM 8. Central control circuit 6
The extension line circuits 2-1 to 2-m, the outside line circuits 4-1 to 4-n, and the switch circuit 5 are connected by data lines so that data can be sent and received.

【0008】上記のPBXにおいて中央制御回路6が用
いるプログラムのプログラム構造を図1に示す。このシ
ステムでは汎用のリアルタイムOS(例えば、C−TR
ON)が各タスクをコントロールしている。タスクとし
ては、交換処理タスク、少なくとも1の応用処理タスク
が備えられる。交換処理タスクはPBXの各種交換処理
を司るタスクであって、例えば、外線3−1〜3−nか
らの着信の際の交換処理や、内線端末1−1〜1−mか
らの他の内線端末1−1〜1−mへの呼び出しの際の交
換処理に係る処理を行うタスクである。応用処理タスク
は、交換処理以外の処理に関するタスクであって、例え
ば、通話時間や通話料金に関する履歴作成用のタスク、
いわゆる留守番機能に関する動作用のタスク等である。
FIG. 1 shows the program structure of the program used by the central control circuit 6 in the above-mentioned PBX. This system uses a general-purpose real-time OS (for example, C-TR
ON) controls each task. The tasks include an exchange processing task and at least one application processing task. The exchange processing task is a task that manages various exchange processes of the PBX, such as exchange processing when receiving calls from outside lines 3-1 to 3-n, and other extensions from extension terminals 1-1 to 1-m. This task performs processing related to exchange processing when calling terminals 1-1 to 1-m. Applied processing tasks are tasks related to processing other than exchange processing, such as tasks for creating history regarding call time and call charges,
These are operational tasks related to the so-called answering function.

【0009】汎用のリアルタイムOSには、交換処理タ
スクを最優先とし、応用処理タスクに所定の優先順を持
たせて処理順を制御する優先順制御手段11と、イベン
ト発生に応じて交換処理を行うのか応用処理タスクのい
ずれを実行するのかを検出し、優先順制御手段11によ
る処理順制御を行わせるとともに、登録手段13の登録
内容に応じて各処理タスク間で通信を行わせる制御手段
12とが備えられている。また、各タスク対応に登録手
段13−1〜13−4が設けられ、他のタスクとの間で
通信が必要な場合に通信要求のフラグをセット可能とな
っており、このフラグのセットとともに通信相手側のタ
スクの識別情報がセットできるように構成されている。 上記制御手段12は、この登録手段13の内容に応じて
通信を行わせる。
The general-purpose real-time OS includes a priority order control means 11 that controls the processing order by giving top priority to the exchange processing task and giving a predetermined priority to the application processing tasks, and a means for controlling the processing order in which the exchange processing task is executed in accordance with the occurrence of an event. control means 12 which detects which of the application processing tasks is to be executed, controls the processing order by the priority control means 11, and causes communication between each processing task according to the registered contents of the registration means 13; are provided. In addition, registration means 13-1 to 13-4 are provided for each task, and when communication is required with other tasks, it is possible to set a communication request flag. It is configured so that identification information of the other party's task can be set. The control means 12 causes communication to be performed according to the contents of the registration means 13.

【0010】このように構成されたプログラムによる動
作は、図3に示されるフローチャートによって以下のよ
うに実行される。
The operations of the program configured as described above are executed as follows according to the flowchart shown in FIG.

【0011】ステップ201 でイベントが発生すると
ステップ202 でイベントの取り込み処理が行われ、
ステップ203 に進む。ステップ203 ではイベン
トの種類を検出して(イベントに対応する処理タスクを
検出し)必要な処理へ遷移させる。イベントが呼処理(
交換処理)のときは、ステップ204 に進み、交換処
理タスクを実行する。 次にステップ207で応用処理タスクとの通信が必要か
否か判断し、必要ないときは終了する。通信が必要のと
きは、ステップ209 でどの応用処理と通信するかそ
の種類(識別情報)をセットし、OSに対して通信要求
フラグをセットしてOSをコールする。するとOSは優
先順位(呼処理イベントを常に最優先としている)に従
って必要な応用処理タスクへと起動を移す。
[0011] When an event occurs in step 201, the event is captured in step 202.
Proceed to step 203. In step 203, the type of event is detected (the processing task corresponding to the event is detected) and a transition is made to necessary processing. If the event is call processing (
If it is (exchange processing), the process proceeds to step 204 and executes the exchange processing task. Next, in step 207, it is determined whether communication with the application processing task is necessary, and if it is not necessary, the process ends. When communication is necessary, in step 209, the type (identification information) with which application processing is to be communicated is set, a communication request flag is set to the OS, and the OS is called. Then, the OS shifts activation to the necessary application processing task according to the priority order (call processing events are always given top priority).

【0012】次に、ステップ203 でのイベントがC
PU(コンピュータ)との連動の場合はステップ205
 で応用処理タスク(CPUとの連動)を実行し、ステ
ップ208 で交換処理タスクあるいは、他の応用処理
タスクとの通信が必要か否か判断し、必要ないときは終
了する。通信が必要のときは、ステップ210 でどの
タスク(交換処理あるいは他応用処理タスク)と通信す
るかその種類とOSに対して通信要求フラグをセットし
てOSをコールする。するとOSは優先順位(呼処理イ
ベントを常に最優先としている)に従って必要なタスク
(交換処理あるいは他応用処理タスク)へ起動を移す。 ステップ203 でのイベントがその他の場合も処理は
CPUとの連動の処理と同様である。
Next, the event at step 203 is C.
In case of linkage with PU (computer), step 205
At step 208, the application processing task (cooperation with the CPU) is executed, and at step 208, it is determined whether communication with the exchange processing task or other application processing task is necessary, and if it is not necessary, the process ends. When communication is necessary, in step 210, a communication request flag is set for the type of task (exchange processing or other applied processing task) to be communicated with and the OS, and the OS is called. Then, the OS shifts activation to a necessary task (switching processing or other application processing task) according to the priority order (call processing events are always given top priority). Even when the event in step 203 is other than the above, the processing is the same as the processing in conjunction with the CPU.

【0013】以上のような構成で、交換処理タスクを最
優先処理タスクと定義してあるので交換処理をストップ
させないで、どのような応用処理に対しても実現できる
(1の汎用のリアルタイムOSはマルチタスク制御機能
を有する)。
[0013] With the above configuration, since the exchange processing task is defined as the highest priority processing task, it is possible to implement any application processing without stopping the exchange processing (the general-purpose real-time OS of 1 (with multitasking control function).

【0014】以上のような動作によって、通常の外線3
からの着信が生じた場合には、交換処理タスクが実行さ
れ(204) エンドとなる。また、例えば、応用処理
タスクとして通話時間の履歴を得るタスクが設けられて
いると、必要時に交換処理タスクからの通信要求が出さ
れ、当該応用処理タスクへコントロールが渡され、再び
通信要求によって交換処理タスクへ戻るなどの処理が行
える。即ち、図1のプログラム構成のうち、破線Pで囲
まれた部分がユーザに開放され、ユーザは交換処理を意
識せずに所望の機能実現のため、プログラムを組むこと
ができることになる。なお、応用処理タスク自体に汎用
のOS(例えばUnix 、MS−DOS、…)を搭載
して応用処理に対してさらに汎用性を高めることもでき
る。
[0014] Through the above operations, the normal outside line 3
When an incoming call occurs, the exchange processing task is executed (204) and the process ends. For example, if a task is provided to obtain the call time history as an applied processing task, a communication request is issued from the exchange processing task when necessary, control is passed to the application processing task, and the exchange is made again by the communication request. You can perform processing such as returning to the processing task. That is, in the program configuration of FIG. 1, the part surrounded by the broken line P is open to the user, and the user can assemble a program to realize a desired function without being aware of the exchange process. Note that the application processing task itself may be equipped with a general-purpose OS (eg, Unix, MS-DOS, . . . ) to further increase its versatility for application processing.

【0015】[0015]

【発明の効果】以上説明したように本発明によれば、汎
用リアルタイムOSが交換処理タスクを優先度が最も高
いものとして処理を実行するため、交換処理が応用処理
に妨げられることなく適切な交換が保証される。したが
って、応用処理タスクと汎用のリアルタイムOSをユー
ザに開放しても交換処理の障害が生じない。このため、
プログラム作成が容易である。更に、各タスク間での通
信を可能としているため各タスクをつないで様々な機能
を実現できる。この場合でも交換処理が最優先されるか
ら交換システムとしての本来的機能は損なわれない。
As explained above, according to the present invention, the general-purpose real-time OS executes the exchange processing task with the highest priority. is guaranteed. Therefore, even if the application processing task and the general-purpose real-time OS are made available to the user, no trouble will occur in the exchange process. For this reason,
Program creation is easy. Furthermore, since communication between each task is possible, various functions can be realized by connecting each task. Even in this case, the exchange processing is given top priority, so the original function of the exchange system is not impaired.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例のブロック図。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】ディジタル構内交換機のブロック図。FIG. 2 is a block diagram of a digital private branch exchange.

【図3】本発明の一実施例の動作を示すフローチャート
FIG. 3 is a flowchart showing the operation of an embodiment of the present invention.

【図4】従来の電話交換システムのプログラム構成図。FIG. 4 is a program configuration diagram of a conventional telephone switching system.

【符号の説明】[Explanation of symbols]

1−1〜1−m…内線端末    2−1〜2−m…内
線回路 3−1〜3−n…外線端末    4−1〜4−n…外
線回路 5…スイッチ回路            6…中央制
御回路7…ROM                 
 8…RAM11…優先順制御手段         
 12…制御手段13−1〜13−4…登録手段
1-1 to 1-m... Extension terminal 2-1 to 2-m... Extension circuit 3-1 to 3-n... Outside line terminal 4-1 to 4-n... Outside line circuit 5... Switch circuit 6... Central control circuit 7 ...ROM
8...RAM11...Priority order control means
12... Control means 13-1 to 13-4... Registration means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  複数のタスクを制御する汎用リアルタ
イムオペレーティングシステムと、電話交換に関する処
理を行う交換処理タスクと、電話交換以外の応用処理を
行う少なくとも1つの応用処理タスクと、前記交換処理
タスク、前記応用処理タスクにおいて他の処理タスクと
の間で通信を行う必要がある場合に通信要求及び通信相
手側の処理タスクの識別情報を登録する登録手段とを備
え、前記汎用リアルタイムオペレーティングシステムに
は、前記交換処理タスクを最優先として他の処理タスク
に所定の優先順を付して処理順を制御する優先順制御手
段と、イベント発生に応じて、処理の種類を検出し、前
記優先順制御手段による処理順制御を行わせるとともに
、前記登録手段の登録内容に応じて各処理タスク間で通
信を行わせる制御手段とが含まれていることを特徴とす
る電話交換システム。
1. A general-purpose real-time operating system that controls a plurality of tasks; an exchange processing task that performs processing related to telephone exchange; at least one application processing task that performs applied processing other than telephone exchange; said general-purpose real-time operating system includes a registration means for registering a communication request and identification information of a processing task on the communication partner side when it is necessary to communicate with another processing task in an applied processing task; a priority order control means for controlling the processing order by giving top priority to the exchange processing task and giving a predetermined priority to other processing tasks; and a priority order control means for detecting the type of processing according to the occurrence of an event; 1. A telephone exchange system comprising: control means for controlling processing order and for communicating between each processing task in accordance with registered contents of said registration means.
JP7721691A 1991-03-18 1991-03-18 Telephone exchange system Withdrawn JPH04288795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7721691A JPH04288795A (en) 1991-03-18 1991-03-18 Telephone exchange system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7721691A JPH04288795A (en) 1991-03-18 1991-03-18 Telephone exchange system

Publications (1)

Publication Number Publication Date
JPH04288795A true JPH04288795A (en) 1992-10-13

Family

ID=13627649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7721691A Withdrawn JPH04288795A (en) 1991-03-18 1991-03-18 Telephone exchange system

Country Status (1)

Country Link
JP (1) JPH04288795A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012151780A (en) * 2011-01-21 2012-08-09 Forval Telecom Inc Exchanging-main apparatus and ip telephone system
KR20180126696A (en) 2017-05-18 2018-11-28 현대자동차주식회사 Cleaning system of injector

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012151780A (en) * 2011-01-21 2012-08-09 Forval Telecom Inc Exchanging-main apparatus and ip telephone system
KR20180126696A (en) 2017-05-18 2018-11-28 현대자동차주식회사 Cleaning system of injector

Similar Documents

Publication Publication Date Title
JPH07170342A (en) Dialog of processing between communication call features
CA2289156C (en) Remote peripheral switch backup call service mechanism
JPH04288795A (en) Telephone exchange system
US5594902A (en) Custom service control system
JPS6324754A (en) Terminal control system
JPS62290259A (en) Incoming call transfer system
JPH01157192A (en) System for controlling application in switchboard
JPH0319560A (en) Connection and control system for priority subscriber
JP3564514B2 (en) Distributed invisibility method
JPH0470836B2 (en)
JP3184637B2 (en) Private branch exchange
JPH04332245A (en) Transfer control system
JPS61171263A (en) Interruption control system
JPH04302246A (en) Automatic private branch exchange
JPH05103097A (en) Priority call connection system
JPS62266958A (en) Automatic receiving system for switchboard calling
JPH0286243A (en) Communication protocol processing system
JPH02179060A (en) Extension mutual interruption system for automatic exchange
JPH05244652A (en) Call control program system for office exchange
JPH04354245A (en) Intelligent peripheral control system
JPH04162850A (en) Communication restriction system in packet exchange network
JPH0723118A (en) Multi-party channel connection system
JPH08235027A (en) Notification system for program execution state
JPS63133794A (en) Call separation and control system
JPS61131059A (en) Informing system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514