JPH0714182B2 - Command conflict management method - Google Patents

Command conflict management method

Info

Publication number
JPH0714182B2
JPH0714182B2 JP27914187A JP27914187A JPH0714182B2 JP H0714182 B2 JPH0714182 B2 JP H0714182B2 JP 27914187 A JP27914187 A JP 27914187A JP 27914187 A JP27914187 A JP 27914187A JP H0714182 B2 JPH0714182 B2 JP H0714182B2
Authority
JP
Japan
Prior art keywords
command
conflict
commands
exchange
exchange system
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.)
Expired - Lifetime
Application number
JP27914187A
Other languages
Japanese (ja)
Other versions
JPH01122247A (en
Inventor
雪絵 上原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP27914187A priority Critical patent/JPH0714182B2/en
Publication of JPH01122247A publication Critical patent/JPH01122247A/en
Publication of JPH0714182B2 publication Critical patent/JPH0714182B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Monitoring And Testing Of Exchanges (AREA)
  • Exchange Systems With Centralized Control (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は交換システムに係わり、特に複数の端末ユーザ
から入力し送られてくる交換システムが提供する保守・
運用コマンドについてのコマンド競合管理方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to a switching system, and in particular, to maintenance and maintenance provided by a switching system that is input and sent from a plurality of terminal users.
The present invention relates to a command conflict management method for operation commands.

〔従来の技術〕[Conventional technology]

従来、この種のコマンド競合管理方式は、各コマンドご
とにコマンド競合管理で使用されるコマンド競合管理番
号と、コマンド競合管理番号対応に他コマンドとの競合
動作の可/不可を表わすデータを割当てておき、コマン
ド競合管理で管理されるコマンド競合管理番号ごとのコ
マンド実行中管理データとコマンドごとの競合動作可/
不可データにより、コマンド競合制御を行うコマンド競
合管理方式となっていた。
Conventionally, this type of command conflict management system assigns, for each command, a command conflict management number used in command conflict management and data indicating whether or not a conflict operation with another command is possible in correspondence with the command conflict management number. Every command conflict management managed by command conflict management command execution management data by command number
The command conflict management method is used to perform command conflict control based on impossible data.

〔発明が解決しようとする問題点〕 上述した従来の交換システムを保守・運用するためのコ
マンド競合管理方式では、交換システムにおいて各コマ
ンドごとに、コマンド競合管理で管理される番号と他コ
マンドとの競合動作可/不可データとを与えていた。こ
のように、各コマンドごとに他コマンドとの競合動作可
/不可データが必要であるために大量のメモリが使用さ
れ、交換システムが提供するコマンド数をメモリ量の関
係から制限しなければならず、コマンド競合管理番号エ
リアも予め確保しておくという点で割当のない番号エリ
アも考えられ、メモリの無駄が生じるという欠点があ
る。
[Problems to be Solved by the Invention] In the command conflict management method for maintaining and operating the conventional switching system described above, for each command in the switching system, the number managed by the command conflict management and other commands are The competing operation possible / impossible data was given. As described above, since a large amount of memory is used for each command because competing operation possible / impossible data with other commands is required, the number of commands provided by the switching system must be limited due to the amount of memory. Since the command conflict management number area is also reserved in advance, a number area that is not assigned is also conceivable, and there is a disadvantage that memory is wasted.

更に、コマンド競合管理番号ごとの実行中コマンド数を
持っていないため、複数のコマンドが同一のコマンド競
合管理番号を使用した場合、この両コマンドが実行中1
コマンドのみコマンド終了処理するだけで、そのコマン
ド競合管理番号を持つコマンドに対して競合動作可指示
を与えてしまう。そのため、複数の同一コマンド管理番
号を持つコマンドが実行されていて、一方のコマンドが
終了し、真の管理番号を持つコマンドがまだ実行中であ
る場合に、次に入力されたコマンドが上記コマンド競合
管理番号をもつコマンドに対して競合動作不可データが
設定されている場合には、コマンド競合チェックが問題
なし(OK)となる。この結果、以後に入力されたコマン
ドが、本来は真の管理番号を持つコマンドと競合動作が
不可であるにも拘らず、実行処理を行ってしまうという
欠点がある。
Furthermore, since there is no number of commands being executed for each command conflict management number, when multiple commands use the same command conflict management number, both commands are being executed 1
If only the command is command-terminated, the command having the command conflict management number will give a conflict action enable instruction. Therefore, if multiple commands with the same command management number are being executed, and one of the commands has finished, and the command with the true management number is still being executed, the command entered next will be the command conflict described above. When the conflict operation impossible data is set for the command having the management number, the command conflict check is OK (OK). As a result, there is a drawback in that a command input afterwards will execute an execution process even though the command which originally has a true management number cannot conflict with the command.

そこで本発明のもくていは、交換システムの保守・運用
コマンドを制限せず、またメモリを有効に使用すること
のできるコマンド競合管理方式を提供することにある。
Therefore, most of the present invention is to provide a command conflict management system that does not limit the maintenance / operation commands of the exchange system and can effectively use the memory.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の交換システムにおけるコマンド競合管理方式
は、交換機と複数の端末とを備え、端末が交換機からの
入力要求に応答して交換システムが提供する保守・運用
コマンドを送出し、交換機が入力コマンドに対応したコ
マンド処理プログラムを実行するよう構成された交換シ
ステムにおいて、交換システムが提供する保守・運用コ
マンドを予め複数のコマンド群に分け、分けられたコマ
ンド群対応にこれを管理するコマンドファミリ番号を与
え、コマンドファミリ番号対応の同一コマンドファミリ
番号内のコマンド実行数とコマンドファミリ内の実行中
コマンドの有無を管理し、また、各コマンドが自コマン
ドファミリ番号と、他コマンドに対し、コマンドファミ
リ番号対応としたコマンド競合可否を管理することによ
り、各コマンド処理プログラムが起動後、各コマンド処
理プログラムの管理するコマンドファミリ番号対応のコ
マンド競合可否を表わすデータと、交換システムが管理
するコマンドファミリ番号対応のコマンドファミリ内の
実行中コマンドの有無を表わすデータにより、コマンド
競合チェックを行う制御手段を有している。
The command conflict management system in the exchange system of the present invention comprises an exchange and a plurality of terminals, the terminal responds to an input request from the exchange and sends a maintenance / operation command provided by the exchange system, and the exchange receives the input command. In a switching system configured to execute a corresponding command processing program, the maintenance / operation commands provided by the switching system are divided into a plurality of command groups in advance, and a command family number for managing this is given to the divided command groups. , Manages the number of command executions within the same command family number corresponding to the command family number and the presence or absence of executing commands within the command family. Also, each command manages its own command family number and the command family number for other commands Each command processing by managing whether the command conflict After the program is started, the command is processed by the data indicating the command conflict number corresponding to the command family number managed by each command processing program and the data indicating the presence or absence of the executing command in the command family corresponding to the command family number managed by the exchange system. It has a control means for performing a conflict check.

〔実施例〕 次に、本発明について図面を参照して説明する。EXAMPLES Next, the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例を示すブロック構成図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

交換機1は、そこに接続された端末ユーザ2,3,4,5から
入力されて送られてきたコマンド,メッセージ等のデー
タを制御する各ユーザ空間6,7,8,9やコマンド競合管理
を行うためのコマンド競合管理空間15および交換システ
ムの機能を果たすための機能空間等を有している。
The exchange 1 manages each user space 6,7,8,9 for controlling data such as commands and messages input and sent from the terminal users 2,3,4,5 connected thereto and command conflict management. It has a command conflict management space 15 for execution and a function space for fulfilling the function of the exchange system.

入力され送られてきたコマンドの各ユーザ空間6,7,8,9
は、端末送信データ(コマンド、データ等)を制御する
プログラム10,11,12等を有し、特にコマンド処理プログ
ラム12(次に述べる第3図に対応)は、自コマンドファ
ミリ番号データ13とコマンド競合チェックパターンデー
タ(unsigned型32ビット)14を有している。
User space for each command entered and sent 6,7,8,9
Has programs 10, 11, 12 for controlling terminal transmission data (commands, data, etc.), and in particular, the command processing program 12 (corresponding to FIG. 3 described below) is its own command family number data 13 and command. It has conflict check pattern data (unsigned type 32 bits) 14.

コマンド競合管理空間15は、コマンド起動時のコマンド
競合チェック処理プログラム18(次に述べる第4図に対
応)、コマンド終了時のコマンド終了プログラム19(次
に述べる第5図に対応)および管理データとしてコマン
ドファミリ番号対応実行中フラグデータ(unsigned型32
ビット)16、コマンドフアミリ番号別実行カウンタデー
タ17を有している。
The command conflict management space 15 is used as a command conflict check processing program 18 at command activation (corresponding to FIG. 4 described below), a command termination program 19 at command termination (corresponding to FIG. 5 described below) and management data. Command family number-adaptive flag data (unsigned type 32
Bit) 16 and execution counter data 17 for each command family number.

各コマンド処理プログラムの持つコマンド競合チェック
パターンデータ14およびコマンド競合管理空間にて管理
されるコマンドファミリ番号対応実行中フラグデータ16
は、データの各ビットをコマンドファミリ番号に対応さ
せ制御している。
Command conflict check pattern data 14 of each command processing program and command flag No. corresponding to command family number 16 managed in command conflict management space
Controls each bit of data by associating it with a command family number.

第2図は、交換システムが提供する保守・運用コマンド
の構成を示す。
FIG. 2 shows the structure of maintenance / operation commands provided by the exchange system.

交換システムが提供する全保守・運用コマンド20は、こ
のコマンドを複数のコマンド群1A,2A〜32Aに分けて、そ
れぞれコマンドファミリ番号1B,2B〜32Bが与えられる
(本実施例では32個のコマンド群に分割されている)。
All maintenance / operation commands 20 provided by the exchange system are divided into a plurality of command groups 1A, 2A to 32A, and command family numbers 1B and 2B to 32B are given to them (32 commands in this embodiment). It is divided into groups).

以下、本実施例を第3〜5図に示す流れ図を参照して説
明する。ここに、第3図は全体の処理を示し、第4図は
第3図の中のコマンド競合チェックプログラムを示し、
第5図は第3図の中のコマンド終了プログラムを示して
いる。
The present embodiment will be described below with reference to the flow charts shown in FIGS. Here, FIG. 3 shows the whole process, FIG. 4 shows the command conflict check program in FIG. 3,
FIG. 5 shows the command termination program in FIG.

ユーザ端末から送られてきたコマンドは、入力制御後起
動される。起動後、第3図に示すように、コマンド処理
プログラムは、パラメータチェック等(ステップ)を
行った後、先ず自コマンドファミリ番号を与え、更にコ
マンド競合チェックパターン(32ビットデータでこのフ
ァミリ番号対応ビットに競合可のとき0、競合不可のと
き1を設定)を設定し、コマンド競合チェックプログラ
ムを呼び出す(ステップ、)。
The command sent from the user terminal is activated after input control. After starting, as shown in Fig. 3, the command processing program first gives its own command family number after checking the parameters (steps), and then the command conflict check pattern (32-bit data corresponds to this family number bit). Is set to 0 when conflict is possible and 1 is set when conflict is not possible), and the command conflict check program is called (step,).

コマンド競合チェックプログラム(第4図参照)では、
入力コマンドファミリ番号をチェックし(ステップ
)、問題あり(NG)ならば、コマンドファミリ番号エ
ラーを返す(ステップ;N)。OKならば(ステップ;
Y)、入力されたコマンド競合チェックパターンとコマ
ンド競合管理データであるコマンドファミリ番号対応実
行中フラグ(32ビットデータでこのコマンドファミリ番
号対応bitに実行中コマンド有りのときは1を、実行中
コマンド無のときは0を設定)との論理積をとることに
より、コマンド競合チェックを行う(ステップ)。
In the command conflict check program (see Fig. 4),
Check the input command family number (step), and if there is a problem (NG), return a command family number error (step; N). If OK (step;
Y), the command flag corresponding to the command family number that is the input command conflict check pattern and command conflict management data (32 bit data: 1 if there is an executing command for this command family number corresponding bit, 1 if no executing command) If 0 is set, 0 is set), and the command conflict check is performed by taking a logical product with (0) (step).

その結果が、=0のときはコマンド競合チェックOKとし
てコマンドファミリ番号対応実行中フラグにこのコマン
ドファミリ番号ビットとして1を設定し(ステップ
)、更にこのコマンドファミリ番号別実行カウンタデ
ータを1加算する(ステップ)。また、その結果が、
=1のときはコマンド競合チェックNGとしてエラーを返
し、これを得たコマンド処理プログラムは、処理を終了
させる。
When the result is = 0, it is determined that the command conflict check is OK, 1 is set as the command family number bit in the command flag corresponding to the command family number (step), and the execution counter data for each command family number is incremented by 1 ( Step). Also, the result is
When = 1, an error is returned as a command conflict check NG, and the command processing program which has obtained this terminates the processing.

コマンド競合OKを返されたコマンド処理プログラム(ス
テップ;Y)は、コマンド終了時、自コマンドファミリ
番号を設定し、コマンド終了プログラムを呼び出す(ス
テップ〜)。
The command processing program (step; Y) that has returned the command conflict OK sets the own command family number when the command ends and calls the command end program (step ~).

第5図に示すように、コマンド終了ルーチンは、入力コ
マンドファリミ番号をチェックした後(ステップ)、
チェックOKならばこのコマンドファミリ番号対応実行カ
ウンタを1減算する(ステップ)。ここで、このコマ
ンドファミリ番号対応実行カウンタが0となった場合、
コマンドファミリ番号内に実行中のコマンドが無いとし
て、コマンドファミリ番号対応実行中フラグのこのコマ
ンドファミリ番号対応bitに0を設定し、コマンド処理
プログラムヘリターンする(ステップ、)。コマン
ド処理プログラムは、その後終了することができる。
As shown in FIG. 5, the command end routine checks the input command farimi number (step),
If the check is OK, the execution counter corresponding to this command family number is decremented by 1 (step). Here, if the execution counter corresponding to this command family number becomes 0,
Assuming that there is no command being executed within the command family number, 0 is set to this command family number corresponding bit of the command family number corresponding execution flag, and the process returns to the command processing program (step,). The command processing program can then terminate.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、交換システムが提供する
保守・運用コマンドを複数のコマンド群に分け、同一の
コマンド群に属するコマンドに同一の管理番号を持た
せ、管理番号別のコマンド競合管理をすることにより、
交換システムの保守・運用コマンドを制限することなく
提供でき、またメモリを有効に使用できる効果がある。
As described above, the present invention divides the maintenance / operation commands provided by the exchange system into a plurality of command groups, assigns the same management number to the commands belonging to the same command group, and manages the command conflict for each management number. By doing
The maintenance / operation commands of the exchange system can be provided without restriction, and the memory can be effectively used.

更に、コマンドファミリ番号別のコマンド実行カウンタ
データをコマンド競合管理にて管理することにより、複
数のコマンドが同一コマンド競合管理番号(実施例では
コマンドファミリ番号と呼んでいる)を持つことを可能
にするという効果がある。
Further, by managing the command execution counter data for each command family number by the command conflict management, it is possible for a plurality of commands to have the same command conflict management number (called the command family number in the embodiment). There is an effect.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の交換システムのソフトウェア構成を示
す図、第2図は交換システムが提供する保守・運用コマ
ンドのコマンド分割構成図、第3〜5図は本発明の一実
施例の動作を示す流れ図である。 1……交換機、 1A、2A〜32A……コマンドファミリ、 1B、2B〜32B……コマンドファミリ番号、 2〜5……端末ユーザ、 6〜9……ユーザ空間、 10、11……端末ユーザ入力コマンドの制御プログラム、 12……上記プログラムの特にコマンド処理プログラム、 13……自コマンドファミリ番号、 14……コマンド競合チェックパターンデータ、 15……コマンド競合管理空間、 16……コマンドファミリ番号対応実行中フラグデータ、 17……コマンドファミリ番号別実行カウンタデータ、 18……コマンド競合チェックプログラム、 19……コマンド終了プログラム、 20……交換システム提供保守・運用コマンド群。
FIG. 1 is a diagram showing a software configuration of a switching system of the present invention, FIG. 2 is a command division configuration diagram of a maintenance / operation command provided by the switching system, and FIGS. 3 to 5 show an operation of an embodiment of the present invention. It is a flow chart shown. 1 ... Switch, 1A, 2A-32A ... Command family, 1B, 2B-32B ... Command family number, 2-5 ... Terminal user, 6-9 ... User space, 10, 11 ... Terminal user input Command control program, 12 ... Especially the above command processing program, 13 ... Own command family number, 14 ... Command conflict check pattern data, 15 ... Command conflict management space, 16 ... Command family number Flag data, 17 ... Execution counter data by command family number, 18 ... Command conflict check program, 19 ... Command termination program, 20 ... Exchange system provided maintenance / operation command group.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】交換機と複数の端末とを備え、端末が、上
記交換機からの入力要求に応答して交換システムが提供
する保守・運用コマンドを送出し、交換機が入力コマン
ドに対応したコマンド処理プログラムを実行するように
構成された交換システムにおいて、 交換システムの提供する保守・運用コマンドを複数のコ
マンド群に分け、各コマンド群を管理する番号をそれぞ
れに与え、交換システムが上記番号ごとのコマンド実行
状態と実行コマンド数を管理することにより、複数の端
末ユーザより入力されたコマンドに対し、交換システム
が保守運用上で競合可能か否かを判断して、コマンド処
理プログラムを制御することを特徴とするコマンド競合
管理方式。
1. A command processing program comprising an exchange and a plurality of terminals, the terminal transmitting a maintenance / operation command provided by an exchange system in response to an input request from the exchange, and the exchange responding to the input command. In the exchange system configured to execute the above, the maintenance / operation commands provided by the exchange system are divided into multiple command groups, and a number that manages each command group is given to each, and the exchange system executes the command for each of the above numbers. By managing the status and the number of executed commands, it is determined whether the exchange system can compete for commands entered by multiple terminal users in maintenance operation, and the command processing program is controlled. Command conflict management method.
JP27914187A 1987-11-06 1987-11-06 Command conflict management method Expired - Lifetime JPH0714182B2 (en)

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 JPH01122247A (en) 1989-05-15
JPH0714182B2 true 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)

Also Published As

Publication number Publication date
JPH01122247A (en) 1989-05-15

Similar Documents

Publication Publication Date Title
CN1017287B (en) Apparatus and method for a data processing system having a peer relationship among plurality of central processing units
EP0766156A1 (en) Programmable logic controller
JPH0926889A (en) Virtual machine system
JPH0714182B2 (en) Command conflict management method
JPS5878237A (en) Data transfer processing switching method
JPH03171249A (en) Processor number limiting system
JPS6371761A (en) System for defining system condition of online system
JPS61136134A (en) Queue resource control system
JP2638290B2 (en) Job input processing device
JPH03288255A (en) Network control system for multiprocessor
JPH0350662A (en) Processing control system for parallel computer
JPH0922363A (en) Task constituting system
JPH08221373A (en) Parallel processor system
JPS63126036A (en) Distributed processing system in remote batch processing system
JPH0535643A (en) Fully duplex channel input/output control system
JPH11353287A (en) Scheduling system for process of parallel system
JPS635790B2 (en)
JPH0483497A (en) Macro-command forming and executing system
JPH07334401A (en) Method for speeding up data base accessing work in network connection system
JPS61150006A (en) Programmable controller
JPH0296833A (en) Different type job control system
JPH05242044A (en) Subordinate device restart management program system
JP2000029850A (en) Task controlling method using inter-processor communication of operating system
JPS62286155A (en) Multi cpu control system
JPH02244242A (en) Terminal input/output control system