JPH02224167A - Batch input system for command and subcommand - Google Patents

Batch input system for command and subcommand

Info

Publication number
JPH02224167A
JPH02224167A JP1045757A JP4575789A JPH02224167A JP H02224167 A JPH02224167 A JP H02224167A JP 1045757 A JP1045757 A JP 1045757A JP 4575789 A JP4575789 A JP 4575789A JP H02224167 A JPH02224167 A JP H02224167A
Authority
JP
Japan
Prior art keywords
input
command
subcommand
record
storage area
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
JP1045757A
Other languages
Japanese (ja)
Inventor
Yoshihiro Okada
岡田 喜博
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 JP1045757A priority Critical patent/JPH02224167A/en
Publication of JPH02224167A publication Critical patent/JPH02224167A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To easily execute the batch input of subcommands by the same format as a command by providing batch input system with a text dividing/extracting means for dividing a record into texts and an input storing area for storing an unprocessed record. CONSTITUTION:The batch input system is constituted of a terminal 1, an input processing part 7, a command control part 10, and a command 13. The input processing part 7 includes an input storage area capable of storing an input record up to the generation of the succeeding input request and a text dividing/ extracting means 5 for dividing the record in the input storage area 6 into texts by delimiters and extracting the divided texts. Consequently, the batch input of the subcommands is easily executed by the same format as that of the command.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はコマンドとサブコマンドの一括入力方式に関し
、特にコマンドおよびサブコマンドの混在した一括入力
を順次実行する一括入力方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a batch input method for commands and subcommands, and more particularly to a batch input method for sequentially executing batch input of a mixture of commands and subcommands.

(従来の技術) 従来、この種のコマンドとサブコマンドの一括入力方式
は、第4図に示すように入力処理部42は端末41から
受け取ったレコードをそのままコマンド制御部43に渡
し、コマンド制御部43の分割起動手段44がレコード
を分割して各種コマンドA、B、Cを順次に起動する方
式となっている。
(Prior Art) Conventionally, in this type of batch input method of commands and subcommands, as shown in FIG. The division activation means 44 of 43 divides the record and sequentially activates various commands A, B, and C.

(発明が解決しようとする課題) 上述した従来のコマンドとサブコマンドの一括入力方式
は、コマンド制御部がレコードをテキストに分割するの
で、起動されたコマンドがサブコマンドをもつ場合、そ
のサブコマンドはコマンドと同じ形式ではなくコマンド
のパラメータとして指定しなければならないという欠点
がある。
(Problem to be Solved by the Invention) In the conventional command and subcommand batch input method described above, the command control unit divides the record into texts, so if the activated command has subcommands, the subcommands are The disadvantage is that it must be specified as a command parameter rather than in the same format as the command.

また、従来の処理方式で同じ形式のコマンドとサブコマ
ンドを許そうとすると、サブコマンドをもつコマンドは
次コマンドがコマンド制御部にあるかどうかをコマンド
制御部に問い合わせ、サブコマンドをコマンド制御部か
ら受け取るか端末から受け収るかの両方を処理すれば可
能であるが、これはサブコマンドをもつコマンドすべて
が対応しなければならないという欠点がある。
Also, if you try to allow commands and subcommands of the same format using the conventional processing method, a command that has a subcommand will ask the command control unit whether the next command is in the command control unit, and the subcommand will be sent from the command control unit. This is possible if you process both receiving and receiving from the terminal, but this has the disadvantage that all commands with subcommands must correspond.

(課題を解決するための手段) 本発明によるコマンドとサブコマンドの一括入力方式は
、入力レコードを次回の入力要求が行われるまで保存可
能な入力記憶域と、端末からのキー入力を受け取り1レ
コードを作成するキー入力手段と、キー入力手段により
作成されたレコードを前記入力記憶域に登録するレコー
ド登録手段と、前記入力記憶域のレコードを区切り文字
で分割して1テキストを取り出すテキスト分割取り出し
手段と、これらの手段を管理し未処理レコードの判定や
エラー時の削除処理を行い要求元に1テキストを返却す
る入力手段とを含む入力処理部と;前記入力処理部を使
用してコマンドの入力と解析を行うコマンド入力手段と
、コマンド入力手段の解析結果により対応するコマンド
を起動するコマンド起動手段とを含むコマンド制御部と
;前記入力処理部を使用してサブコマンドの入力と解析
を行うサブコマンド入力手段と、前記サブコマンド入力
手段の解析結果により対応するサブコマンドの処理を行
うサブコマンド実行手段とを含むコマンド群とを有する
(Means for Solving the Problem) The batch input method of commands and subcommands according to the present invention has an input storage area that can save input records until the next input request is made, and a single record that receives key input from a terminal. a key input means for creating a record, a record registration means for registering a record created by the key input means in the input storage area, and a text division and extraction means for dividing the record in the input storage area by a delimiter character to retrieve one text. and an input processing section that includes an input means that manages these means, performs processing for determining unprocessed records, performing deletion processing in the event of an error, and returning one text to the request source; inputting a command using the input processing section; a command control section that includes a command input means for analyzing a subcommand, and a command starting means for starting a corresponding command based on the analysis result of the command input means; It has a command group including a command input means and a subcommand execution means for processing a corresponding subcommand based on the analysis result of the subcommand input means.

(実施例) 次に、本発明について図面を参照して詳細に説明する。(Example) Next, the present invention will be explained in detail with reference to the drawings.

第1図を参照すると、本発明によるコマンドとサブコマ
ンドの一括入力方式の一実施例は、端末1、入力処理部
7、コマンド制御部10、コマンド13から構成されて
いる。
Referring to FIG. 1, one embodiment of the batch input method of commands and subcommands according to the present invention is comprised of a terminal 1, an input processing section 7, a command control section 10, and a command 13.

入力処理部7は、入力処理部7の全体を管理する入力管
理手段2と、入力レコードを次回の入力要求があるまで
保存可能な入力記憶域6と、端末1からのキー入力を受
け取り1レコードを作成するキー入力手段3と、キー入
力手段3により作成されたレコードを入力記憶域6に登
録するレコード登録手段4と、入力記憶域6のレコード
を区切り文字でテキストに分割して取り出すテキスト分
割取り出し手段5を含んで構成されている。
The input processing unit 7 includes an input management means 2 that manages the entire input processing unit 7, an input storage area 6 that can store input records until the next input request, and receives key input from the terminal 1 and stores one record. A key input means 3 for creating a record, a record registration means 4 for registering a record created by the key input means 3 into an input storage area 6, and a text division means for dividing the record in the input storage area 6 into texts using delimiters and retrieving them. It is configured to include a take-out means 5.

コマンド制御部10は、コマンドの入力と解析を行うコ
マンド入力手段8と、コマンド入力手段8の解析結果に
より対応するコマンドを起動するコマンド起動手段9と
を含んで構成されている。
The command control section 10 includes a command input means 8 that inputs and analyzes commands, and a command activation means 9 that activates a corresponding command based on the analysis result of the command input means 8.

コマンド13は、サブコマンドの入力と解析を行うサブ
コマンド入力手段11と、サブコマンド入力手段11の
解析結果により対応するサブコマンドの処理を行うサブ
コマンド実行手段12とを含んで構成されており実際に
は複数存在する。
The command 13 includes a subcommand input means 11 that inputs and analyzes subcommands, and a subcommand execution means 12 that processes the corresponding subcommand based on the analysis result of the subcommand input means 11. There are multiple.

第2図には本実施例の処理流れが示されている。FIG. 2 shows the processing flow of this embodiment.

入力処理部7においては、コマンド制御部10またはコ
マンド13からテキストの要求があると、入力管理手段
2は入力記憶域6に未処理レコードがあるかないか判定
する(ステップ21)。未処理レコードがない場合は、
キー入力手段3により端末1からのキー入力を受け取り
1レコードを作成しくステップ23)、レコード登録手
段4により入力記憶域6に登録する(ステップ24)。
In the input processing section 7, when there is a request for text from the command control section 10 or the command 13, the input management means 2 determines whether there are any unprocessed records in the input storage area 6 (step 21). If there are no outstanding records,
The key input means 3 receives the key input from the terminal 1 and creates one record (step 23), and the record registration means 4 registers it in the input storage area 6 (step 24).

未処理レコードが存在する場合は、入力管理手段2およ
びレコード登録手段4の処理は行わずテキスト分割取り
出し手段5の処理に移る。また、この入力処理部7では
、−柄入力の途中のコマンドまたはサブコマンドの実行
時にエラーが発生した場合に以降のテキストを無視する
ため、リセットが要求された場合は未処理レコードがあ
ってもなしと見なして処理するようになっている(ステ
ップ22)、テキスト分割取り出し手段5は、入力記憶
域6のレコード先頭から検索して区切り文字までをテキ
ストとして要求元に返し、入力記憶域6のその部分を削
除する(ステップ25)。
If an unprocessed record exists, the processing by the input management means 2 and the record registration means 4 is not performed, and the process proceeds to the text division and extraction means 5. In addition, in this input processing section 7, if an error occurs during execution of a command or subcommand during - pattern input, the following text is ignored, so if a reset is requested, even if there are unprocessed records. The text division/retrieval means 5 searches from the beginning of the record in the input storage area 6 and returns the text up to the delimiter to the request source as text (step 22). That part is deleted (step 25).

第3図は、区切り文字を「;」とし端末1からrA;B
、BA、BB、CJが1レコードとして入力された場合
の各部の動作を示している。
In Figure 3, the delimiter is ";" and terminal 1 to rA;B
, BA, BB, and CJ are input as one record.

コマンド制御部10のコマンド入力手段8が入力処理部
7にテキストを要求し、端末1から入力文字列rA;B
:BA;BB;C,+が入力されたとするとr A J
を返却する。テキスト「A」はコマンド起動手段9に渡
され、コマンドAを起動する。コマンドAはサブコマン
ドをもたず実行後終了したとすると、コマンド制御部1
0に戻りコマンド入力手段8が次のテキストを要求する
。ここで次のテキストrB、が返却されサブコマンドを
もつコマンド813が起動される。
The command input means 8 of the command control unit 10 requests text from the input processing unit 7, and inputs the input character string rA;B from the terminal 1.
:BA;BB;C,+ is input, r A J
to be returned. The text "A" is passed to the command activation means 9, which activates the command A. Assuming that command A has no subcommands and ends after execution, command control unit 1
The command input means 8 then returns to 0 and requests the next text. Here, the next text rB is returned and a command 813 with subcommands is activated.

コマンド813のサブコマンド入力手段11が入力処理
部7にテキストを要求すると、次のテキスト「BA」が
返却されるのでコマンド813は「BA」のサブコマン
ドをサブコマンド実行手段12により実行する1次に入
力処理部7にテキストを・要求するとrBB、が返却さ
れるのでrBB。
When the subcommand input means 11 of the command 813 requests a text from the input processing unit 7, the next text "BA" is returned, so the command 813 is a primary command in which the subcommand "BA" is executed by the subcommand execution means 12. If you request text from the input processing unit 7, rBB will be returned, so rBB.

サブコマンドを実行してサブコマンドをもつコマンドB
13が終了するとする。
Command B that executes subcommands and has subcommands
13 ends.

再び制御がコマンド制御部10に戻り、次のテキストを
要求すると[C」が返却されコマンドCが起動されるこ
とになる。
Control returns to the command control unit 10 again, and when the next text is requested, [C] is returned and command C is activated.

ここで、コマンドCがサブコマンドをもっており入力処
理部7にテキストを要求したとすると、こんどは入力処
理部7の入力記憶域6に未処理レコードがないので、端
末1から新たに入力されたレコードの一部または全体が
返却されることになる。もし、コマンドCがサブコマン
ドをもっておらずそのまま終了したとすると、同じこと
がコマンド制御部10がデキストを入力処理部7に要求
したときに処理される。
Here, if command C has a subcommand and requests text from the input processing section 7, then since there is no unprocessed record in the input storage area 6 of the input processing section 7, a new record input from terminal 1 will be sent. may be partially or completely returned. If command C does not have a subcommand and ends as is, the same process will be performed when command control section 10 requests text from input processing section 7.

以上のように、コマンド制御部10およびサブコマンド
をもつコマンド13は端末1からコマンドおよびサブコ
マンドが一括入力されたかどうかを意識することなしに
、入力処理部7を呼ぶことによって処理を行うことがで
きる。
As described above, the command control unit 10 and the command 13 having subcommands can be processed by calling the input processing unit 7 without being aware of whether commands and subcommands are input all at once from the terminal 1. can.

(発明の効果) 以上説明したように本発明は、端末からの入力処理部に
レコードをテキストに分割する手段と未処理のレコード
を保存する入力記憶域を備えているので、コマンド制御
部およびサブコマンドをもつコマンドを改造することな
く、サブコマンドをコマンドと同じ形式で一括入力する
ことができる効果がある。
(Effects of the Invention) As explained above, the present invention includes a means for dividing records into text in an input processing unit from a terminal and an input storage area for saving unprocessed records. This has the effect of allowing subcommands to be input all at once in the same format as the command without modifying the command.

1・・・端末、2・・・入力管理手段、3・・・キー入
力手段、4・・・レコード登録手段、5.6・・・テキ
スト分割取り出し手段、7・・・入力処理部、8・・・
コマンド入力手段、9・・・コマンド起動手段、10・
・・コマンド制御部、11・・・サブコマンド入力手段
、12・・・サブコマンド実行手段、13・・・コマン
ド。
DESCRIPTION OF SYMBOLS 1...Terminal, 2...Input management means, 3...Key input means, 4...Record registration means, 5.6...Text division extraction means, 7...Input processing unit, 8 ...
Command input means, 9... Command activation means, 10.
...Command control unit, 11...Subcommand input means, 12...Subcommand execution means, 13...Command.

Claims (1)

【特許請求の範囲】[Claims] 入力レコードを次回の入力要求が行われるまで保存可能
な入力記憶域と、端末からのキー入力を受け取り1レコ
ードを作成するキー入力手段と、前記キー入力手段によ
り作成されたレコードを前記入力記憶域に登録するレコ
ード登録手段と、前記入力記憶域のレコードを区切り文
字で分割して1テキストを取り出すテキスト分割取り出
し手段と、これらの手段を管理し未処理レコードの判定
やエラー時の削除処理を行い要求元に1テキストを返却
する入力手段とを含む入力処理部と;前記入力処理部を
使用してコマンドの入力と解析を行うコマンド入力手段
と、前記コマンド入力手段の解析結果により対応するコ
マンドを起動するコマンド起動手段とを含むコマンド制
御部と;前記入力処理部を使用してサブコマンドの入力
と解析を行うサブコマンド入力手段と、前記サブコマン
ド入力手段の解析結果により対応するサブコマンドの処
理を行うサブコマンド実行手段とを含むコマンド群とを
有することを特徴とするコマンドとサブコマンドの一括
入力方式。
an input storage area capable of storing input records until the next input request is made; a key input means for receiving key input from a terminal and creating one record; and the input storage area for storing records created by the key input means. a record registration means for registering records in the input storage area, a text division and extraction means for dividing records in the input storage area by delimiter characters and extracting one text, and managing these means to determine unprocessed records and perform deletion processing in the event of an error. an input processing section including an input means for returning one text to a request source; a command input means for inputting and analyzing a command using the input processing section; and a corresponding command based on the analysis result of the command input means. a command control section including a command starting means to start; a subcommand inputting means for inputting and analyzing a subcommand using the input processing section; and processing of the corresponding subcommand according to the analysis result of the subcommand inputting means. 1. A method for collectively inputting commands and subcommands, comprising: a group of commands including subcommand execution means for executing subcommands.
JP1045757A 1989-02-27 1989-02-27 Batch input system for command and subcommand Pending JPH02224167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1045757A JPH02224167A (en) 1989-02-27 1989-02-27 Batch input system for command and subcommand

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1045757A JPH02224167A (en) 1989-02-27 1989-02-27 Batch input system for command and subcommand

Publications (1)

Publication Number Publication Date
JPH02224167A true JPH02224167A (en) 1990-09-06

Family

ID=12728167

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1045757A Pending JPH02224167A (en) 1989-02-27 1989-02-27 Batch input system for command and subcommand

Country Status (1)

Country Link
JP (1) JPH02224167A (en)

Similar Documents

Publication Publication Date Title
JPH02224167A (en) Batch input system for command and subcommand
JPH06230844A (en) Method for starting processing
JPH08147278A (en) Program registering device for external editing
JP2624170B2 (en) Logical deletion data physical deletion method
JPH03129570A (en) Data base retrieving system
JPH02128246A (en) Control system in discrete data base system
JP2740238B2 (en) File exclusive control unit
JPH0926967A (en) Data base retrieval system
JP2650803B2 (en) Full screen editor control processor
JPH0414161A (en) Transaction processing system
JPH04188339A (en) Control system for deleted record
JP2000122878A (en) Method and system for starting and managing job
JPH02250157A (en) Cursor control system for word processor
JPH02151956A (en) Command procedure starting system
JPS62269229A (en) Command processing system for interactive system
JPH05233313A (en) Symbol table processing system
JPH07271649A (en) Method and device for data base control
JPH0279121A (en) Source code management system
JPH02236663A (en) Data processor
JPH05324667A (en) Product processor
JPH02159646A (en) Data maintenance system for data base
JPH04326162A (en) Data base retrieval processing system
JPH02255979A (en) Document producing device
JPH05150984A (en) Knowledge base system acquiring processor
JPS584436A (en) Forming system for file definition of program product