JPH01122247A - Command contention management system - Google Patents
Command contention management systemInfo
- Publication number
- JPH01122247A JPH01122247A JP27914187A JP27914187A JPH01122247A JP H01122247 A JPH01122247 A JP H01122247A JP 27914187 A JP27914187 A JP 27914187A JP 27914187 A JP27914187 A JP 27914187A JP H01122247 A JPH01122247 A JP H01122247A
- Authority
- JP
- Japan
- Prior art keywords
- command
- commands
- maintenance
- conflict
- management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012423 maintenance Methods 0.000 claims abstract description 19
- 238000007726 management method Methods 0.000 claims description 32
- 230000004044 response Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 3
- 230000004913 activation Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- Monitoring And Testing Of Exchanges (AREA)
- Exchange Systems With Centralized Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は交換システムに係わり、特に複数の端末ユーザ
から入力し送られてくる交換システムが提供する保守・
運用コマンドについてのコマンド競合管理方式に関する
。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an exchange system, and particularly to maintenance and maintenance provided by an exchange system that receives inputs and sends from a plurality of terminal users.
This article relates to a command conflict management method for operational commands.
従来、この種のコマンド競合管理方式は、各コマンドご
とにコマンド競合管理で使用されるコマンド競合管理番
号と、コマンド競合管理番号対応に他コマンドとの競合
動作の可/不可を表わすデータを割当てておき、コマン
ド競合管理で管理されるコマンド競合管理番号ごとのコ
マンド実行中管理データとコマンドごとの競合動作可/
不可データにより、コマンド競合制御を行うコマンド競
合管理方式となっていた。Conventionally, this type of command conflict management method assigns a command conflict management number used for command conflict management to each command, and data indicating whether conflicting operations with other commands are possible or not corresponding to the command conflict management number. command execution management data for each command conflict management number managed by command conflict management, and conflict operation/enabled for each command.
Due to invalid data, the command conflict management method was used to control command conflicts.
上述した従来の交換システムを保守・運用するためのコ
マンド競合管理方式では、交換システムにおいて各コマ
ンドごとに、コマンド競合管理で管理される番号と他コ
マンドとの競合動作可/不可データとを与えていた。こ
のように、各コマンドごとに他コマンドとの競合動作可
/不可データが必要であるために大量のメモリが使用さ
れ、交換システムが提供するコマンド数をメモリ量の関
係から制限しなければならず、コマンド競合管理番号エ
リアも予め確保しておくという点で割当のない番号エリ
アも考えられ、メモリの無駄が生じるという欠点がある
。In the above-mentioned conventional command conflict management method for maintaining and operating an exchange system, each command in the exchange system is given a number to be managed by command conflict management and data on whether or not it can operate in conflict with other commands. Ta. In this way, a large amount of memory is used because each command requires data on whether it can operate in conflict with other commands, and the number of commands provided by the exchange system must be limited due to the amount of memory. Since the command conflict management number area is also secured in advance, it is possible to consider an unassigned number area, which has the drawback of wasting memory.
更に、コマンド競合管理番号ごとの実行中コマンド数を
持っていないため、複数のコマンドが同一のコマンド競
合管理番号を使用した場合、この両コマンドが実行中1
コマンドのみコマンド終了処理するだけで、そのコマン
ド競合管理番号を持つコマンドに対して競合動作再指示
を与えてしまう。そのため、複数の同一コマンド管理番
号を持つコマンドが実行されていて、一方のコマンドが
終了し、真の管理番号を持つコマンドがまだ実行中であ
る場合に、次に入力されたコマンドが上記コマンド競合
管理番号をもつコマンドに対して競合動作不可データが
設定されている場合には、コマンド競合チエツクが問題
なしくOK)となる。Furthermore, since there is no number of running commands for each command conflict management number, if multiple commands use the same command conflict management number, both commands
If only the command is terminated, a conflict operation re-instruction is given to the command having that command conflict management number. Therefore, if multiple commands with the same command management number are being executed and one of the commands ends and the command with the true management number is still being executed, the next command entered will conflict with the above command. If the conflict operation disabled data is set for the command with the management number, the command conflict check will be OK without any problem.
この結果、以後に入力されたコマンドが、本来は真の管
理番号を持つコマンドと競合動作が不可であるにも拘ら
ず、実行処理を行ってしまうという欠点がある。As a result, there is a drawback that commands input afterward are executed even though they cannot conflict with commands having the true management number.
そこで本発明のもくていは、交換システムの保守・運用
コマンドを制限せず、またメモリを有効に使用すること
のできるコマンド競合管理方式を提供することにある。Therefore, an object of the present invention is to provide a command conflict management method that does not limit the maintenance/operation commands of an exchange system and can effectively use memory.
本発明の交換システムにおけるコマンド競合管理方式は
、交換機と複数の端末とを備え、端末が交換機からの入
力要求に応答して交換システムが提供する保守・運用コ
マンドを送出し、交換機が入力コマンドに対応したコマ
ンド処理プログラムを実行するよう構成された交換シス
テムにおいて、交換システムが提供する保守・運用コマ
ンドを予め複数のコマンド群に分け、分けられたコマン
ド群対応にこれを管理するコマンドファミリ番号を与え
、コマンドファミリ番号対応の同一コマンドファミリ番
号内のコマンド実行数とコマンドファミリ内の実行中コ
マンドの有無を管理し、また、各コマンドが自コマンド
ファミリ番号と、他コマンドに対し、コマンドファミリ
番号対応としたコマンド競合可否を管理することにより
、各コマンド処理プログラムが起動後、各コマンド処理
プログラムの管理するコマンドファミリ番号対応のコマ
ンド競合可否を表わすデータと、交換システムが管理す
るコマンドファミリ番号対応のコマンドファミリ内の実
行中コマンドの有無を表わすデータにより、コマンド競
合チエツクを行う制御手段を有している。The command conflict management method in the switching system of the present invention includes a switching equipment and a plurality of terminals, and the terminal sends maintenance/operation commands provided by the switching system in response to an input request from the switching equipment, and the switching equipment responds to input commands. In an exchange system configured to execute a corresponding command processing program, maintenance and operation commands provided by the exchange system are divided into multiple command groups in advance, and command family numbers for managing the divided command groups are assigned. , manages the number of executed commands within the same command family number corresponding to the command family number and the presence or absence of executing commands within the command family, and also manages the number of executed commands within the same command family number corresponding to the command family number, and also manages the number of commands executed according to the command family number corresponding to each command with respect to its own command family number and other commands. After each command processing program is started, data representing the possibility of command conflict corresponding to the command family number managed by each command processing program and command family corresponding to the command family number managed by the exchange system are displayed. The control means includes a control means for checking command conflicts based on data indicating the presence or absence of a command being executed within the command line.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は、本発明の一実施例を示すブロック構成図であ
る。FIG. 1 is a block diagram showing one embodiment of the present invention.
交換機1は、そこに接続された端末ユーザ2゜3.4.
5から入力されて送られてきたコマンド。The exchange 1 has terminal users 2 connected to it 3.4.
The command entered and sent from 5.
メツセージ等のデータを制御する各ユーザ空間6゜7.
8.9やコマンド競合管理を行うためのコマンド競合管
理空間15および交換システムの機能を果たすための機
能空間等を有している。Each user space that controls data such as messages 6゜7.
8.9, a command conflict management space 15 for managing command conflicts, and a functional space for performing the functions of an exchange system.
入力され送られてきたコマンドの各ユーザ空間6.7,
8.9は、端末送信データ(コマンド、データ等)を制
御するプログラム10.11.12等を有し、特にコマ
ンド処理プログラム12(次に述べる第3図に対応)は
、自コマンドファミリ番号データ13とコマンド競合チ
エツクパターンデータ(unsigned型32ビット
〉14を有している。Each user space of input and sent commands 6.7,
8.9 has programs 10, 11, 12, etc. that control terminal transmission data (commands, data, etc.), and in particular, the command processing program 12 (corresponding to FIG. 3 described below) controls own command family number data. 13 and command conflict check pattern data (unsigned type 32 bits)>14.
コマンド競合管理空間15は、コマンド起動時のコマン
ド競合チエツク処理プログラム18(次に述べる第4図
に対応)、コマンド終了時のコマンド終了プログラム1
9(次に述べる第5図に対応)および管理データとして
コマンドファミリ番号対応実行中フラグデータ(uns
igned型32ビット)16、コマンドファミリ番号
別実行カウンタデータ17を有している。The command conflict management space 15 includes a command conflict check processing program 18 (corresponding to FIG. 4 described below) at the time of command activation, and a command termination program 1 at the time of command termination.
9 (corresponding to Figure 5 described below) and execution flag data (uns) corresponding to the command family number as management data.
igned type (32 bits) 16, and execution counter data 17 for each command family number.
各コマンド処理プログラムの持つコマンド競合チエツク
パターンデータ14およびコマンド競合管理空間にて管
理されるコマンドファミリ番号対応実行中フラグデータ
16は、データの各ビットをコマンドファミリ番号に対
応させ制御している。The command conflict check pattern data 14 of each command processing program and the command family number corresponding execution flag data 16 managed in the command conflict management space are controlled by making each bit of the data correspond to the command family number.
第2図は、交換システムが提供する保守・運用コマンド
の構成を示す。FIG. 2 shows the structure of maintenance/operation commands provided by the exchange system.
交換システムが提供する全保守・運用コマンド20は、
このコマンドを複数のコマンド群IA。All maintenance and operation commands 20 provided by the exchange system are:
This command is sent to multiple command groups IA.
2A〜32Aに分けて、それぞれコマンドファミリ番号
IB、2B〜32Bが与えられる(本実施例では32個
のコマンド群に分割されている)。Command family numbers IB and 2B to 32B are respectively given to the commands 2A to 32A (in this embodiment, they are divided into 32 command groups).
以下、本実施例を第3〜5図に示す流れ図を参照して説
明する。ここに、第3図は全体の処理を示し、第4図は
第3図の中のコマンド競合チエツクプログラムを示し、
第5図(ま第3図の中のコマンド終了プログラムを示し
ている。The present embodiment will be described below with reference to flowcharts shown in FIGS. 3 to 5. Here, FIG. 3 shows the overall processing, and FIG. 4 shows the command conflict check program in FIG.
FIG. 5 (also shows the command termination program in FIG. 3).
ユーザ端末から送られてきたコマンドは、入力制御後起
動される。起動後、第3図に示すように、コマンド処理
プログラムは、パラメータチエツク等(ステップ■)を
行った後、先ず自コマンドファミリ番号を与え、更にコ
マンド競合チエツクパターン(32ビツトデータでこの
ファミリ番号対応ビットに競合可のとき0、競合不可の
とき1を設定)を設定し、コマンド競合チエツクプログ
ラムを呼び出す(ステップ■、■)。Commands sent from the user terminal are activated after input control. After startup, as shown in Figure 3, the command processing program performs a parameter check, etc. (step ■), first gives its own command family number, and then checks a command conflict check pattern (32-bit data corresponding to this family number). The bit is set to 0 when conflict is possible and 1 when conflict is not allowed, and the command conflict check program is called (steps ① and ②).
コマンド競合チエツクプログラム(第4図参照)では、
入力コマンドファミリ番号をチエツクしくステップ■)
、問題あり(NG)ならば、コマンドファミリ番号エラ
ーを返す(ステップ0;N)。OKならば(ステップ(
0);Y)、入力されたコマンド競合チエツクパターン
とコマンド競合管理データであるコマンドファミリ番号
対応実行中フラグ(32ビツトデータでこのコマンドフ
ァミリ番号対応bitに実行中コマンド有りのときはl
を、実行中コマンド無のときは0を設定)との論理積を
とることにより、コマンド競合チエツクを行う(ステッ
プ0)。In the command conflict check program (see Figure 4),
Check the input command family number (Step ■)
, if there is a problem (NG), a command family number error is returned (step 0; N). If OK, (step (
0); Y), the executing flag corresponding to the input command conflict check pattern and the command family number which is command conflict management data (if there is a command being executed in the bit corresponding to this command family number in 32-bit data, then
A command conflict check is performed by performing a logical AND with (set to 0 when there is no command being executed) (step 0).
その結果が、=0のときはコマンド競合チエツクOKと
してコマンドファミリ番号対応実行中フラグにこのコマ
ンドファミリ番号ビットとして1を設定しくステップo
)、更にこのコマンドファミリ番号別実行カウンタデー
タを1加算する(ステップ0)。また、その結果が、=
1のときはコマンド競合チエツクNGとしてエラーを返
し、これを得たコマンド処理プログラムは、処理を終了
させる。If the result is 0, the command conflict check is OK and the command family number bit is set to 1 in the execution flag corresponding to the command family number.Step o
), and further adds 1 to the execution counter data for each command family number (step 0). Also, the result is =
If it is 1, an error is returned as command conflict check NG, and the command processing program that receives this ends the processing.
コマンド競合OKを返されたコマンド処理プログラム(
ステップ■;Y)は、コマンド終了時、自コマンドファ
ミリ番号を設定し、コマンド終了プログラムを呼び出す
くステップ■〜■)。Command processing program that returned command conflict OK (
Step (2); Y) sets the own command family number and calls the command termination program when the command ends.
第5図に示すように、コマンド終了ルーチンは、入力コ
マンドファミリ番号をチエツクした後(ステップo)、
チエツクOKならばこのコマンドファミリ番号対応実行
カウンタを1減算する(ステップ■)。ここで、このコ
マンドファミリ番号対応実行カウンタがOとなった場合
、コマンドファミリ番号内に実行中のコマンドが無いと
して、コマンドファミリ番号対応実行中フラグのこのコ
マンドファミリ番号対応bitに0を設定し、コマンド
処理プログラムへリターンする(ステップ■、■)。コ
マンド処理プログラムは、その後終了することができる
。As shown in FIG. 5, the command termination routine checks the input command family number (step o), and then
If the check is OK, the execution counter corresponding to this command family number is decremented by 1 (step 2). Here, if the execution counter corresponding to this command family number becomes O, it is assumed that there is no command being executed within the command family number, and the bit corresponding to this command family number of the command family number corresponding execution flag is set to 0. Return to the command processing program (steps ■, ■). The command processing program can then terminate.
以上説明したように本発明は、交換システムが提供する
保守・運用コマンドを複数のコマンド群に分け、同一の
コマンド群に属するコマンドに同一の管理番号を持たせ
、管理番号別のコマンド競合管理をすることにより、交
換システムの保守・運用コマンドを制限することなく提
供でき、またメモリを有効に使用できる効果がある。As explained above, the present invention divides the maintenance/operation commands provided by the exchange system into multiple command groups, assigns the same management number to the commands belonging to the same command group, and manages command conflicts by management number. By doing so, maintenance and operation commands for the exchange system can be provided without restrictions, and memory can be used effectively.
更に、コマンドファミリ番号別のコマンド実行カウンタ
データをコマンド競合管理にて管理することにより、複
数のコマンドが同一コマンド競合管理番号(実施例では
コマンドファミリ番号と呼んでいる)を持つことを可能
にするという効果がある。Furthermore, by managing command execution counter data for each command family number using command conflict management, it is possible for multiple commands to have the same command conflict management number (referred to as a command family number in the embodiment). There is an effect.
第1図は本発明の交換システムのソフトウェア構成を示
す図、第2図は交換システムが提供する保守・運用コマ
ンドのコマンド分割構成図、第3〜5図は本発明の一実
施例の動作を示す流れ図である。
■・・・・・・交換機、
IA、2A〜32A・・・・・・コマンドファミリ、I
B、2B〜32B・・・・・・コマンドファミリ番号、
2〜5・・・・・・端末ユーザ、
6〜9・・・・・・ユーザ空間、
10.11・・・・・・端末ユーザ入力コマンドの制御
プログラム、
12・・・・・・上記プログラムの特にコマンド処理プ
ログラム、
13・・・・・・自コマンドファミリ番号、14・・・
・・・コマンド競合チエツクパターンデータ、15・・
・・・・コマンド競合管理空間、16・・・・・・コマ
ンドファミリ番号対応実行中フラグデータ、
17・・・・・・コマンドファミリ番号別実行カウンタ
データ、
18・・・・・・コマンド競合チエツクプログラム、1
9・・・・・・コマンド終了プログラム、20・・・・
・・交換システム提供保守・運用コマンド群。Figure 1 is a diagram showing the software configuration of the exchange system of the present invention, Figure 2 is a command division configuration diagram of maintenance and operation commands provided by the exchange system, and Figures 3 to 5 illustrate the operation of an embodiment of the present invention. FIG. ■・・・Exchange, IA, 2A to 32A・・・Command family, I
B, 2B to 32B...Command family number,
2-5...terminal user, 6-9...user space, 10.11...terminal user input command control program, 12...the above program Especially the command processing program, 13... own command family number, 14...
...Command conflict check pattern data, 15...
...Command conflict management space, 16...Execution flag data corresponding to command family number, 17...Execution counter data by command family number, 18...Command conflict check program, 1
9... Command termination program, 20...
...A group of maintenance and operation commands provided by the exchange system.
Claims (1)
の入力要求に応答して交換システムが提供する保守・運
用コマンドを送出し、交換機が入力コマンドに対応した
コマンド処理プログラムを実行するように構成された交
換システムにおいて、交換システムの提供する保守・運
用コマンドを複数のコマンド群に分け、各コマンド群を
管理する番号をそれぞれに与え、交換システムが上記番
号ごとのコマンド実行状態と実行コマンド数を管理する
ことにより、複数の端末ユーザより入力されたコマンド
に対し、交換システムが保守運用上で競合可能か否かを
判断して、コマンド処理プログラムを制御することを特
徴とするコマンド競合管理方式。The system comprises an exchange and a plurality of terminals, and the terminal sends maintenance/operation commands provided by the exchange system in response to input requests from the exchange, and the exchange executes a command processing program corresponding to the input commands. In the configured exchange system, the maintenance and operation commands provided by the exchange system are divided into multiple command groups, a number is given to each command group to manage each command group, and the exchange system records the command execution status and number of executed commands for each number. A command conflict management method characterized by controlling a command processing program by determining whether or not an exchange system can compete in maintenance and operation with respect to commands input by multiple terminal users. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27914187A JPH0714182B2 (en) | 1987-11-06 | 1987-11-06 | Command conflict management method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27914187A JPH0714182B2 (en) | 1987-11-06 | 1987-11-06 | Command conflict management method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01122247A true JPH01122247A (en) | 1989-05-15 |
| JPH0714182B2 JPH0714182B2 (en) | 1995-02-15 |
Family
ID=17607007
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP27914187A Expired - Lifetime JPH0714182B2 (en) | 1987-11-06 | 1987-11-06 | Command conflict management method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0714182B2 (en) |
-
1987
- 1987-11-06 JP JP27914187A patent/JPH0714182B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0714182B2 (en) | 1995-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7080377B2 (en) | Method for effective utilizing of shared resources in computerized system | |
| US5083261A (en) | Dynamically alterable interrupt priority circuit | |
| EP0362105A2 (en) | Method for processing program threads of a distributed application program by a host computer and an intelligent work station in an SNA LU 6.2 network environment | |
| EP0362107A2 (en) | Method to manage concurrent execution of a distributed application program by a host computer and a large plurality of intelligent work stations on an SNA network | |
| JPH09128255A (en) | Programable logic controller | |
| JP3505174B2 (en) | Data processing device | |
| JPH01122247A (en) | Command contention management system | |
| JP3426086B2 (en) | Information system control device and control method | |
| US5436888A (en) | Communication path control method and communication device | |
| JPS58165164A (en) | Information source management method | |
| JPH0769882B2 (en) | Input / output control system having cross-call function and dynamic configuration change method in the system | |
| JPH0483497A (en) | Macro-command forming and executing system | |
| JPH02244242A (en) | Terminal input/output control system | |
| JPS61112207A (en) | Device start-stop control system | |
| JPH0553839A (en) | Multiwindow control system | |
| JPH02230429A (en) | Data access control system | |
| JPH0228866A (en) | Log-in switching system | |
| JPS62245362A (en) | Resetting system for multiprocessor system | |
| JPH08221373A (en) | Parallel processor system | |
| JPH06259341A (en) | Logical channel resetting device and line information display device | |
| JPH04205231A (en) | Program execution control system | |
| JPH01309118A (en) | File/device control system | |
| JPH0286243A (en) | Communication protocol processing system | |
| JPH04241633A (en) | Process managing system | |
| JPS61150006A (en) | Programmable controller |