WO2016143092A1 - コマンド管理装置及びコマンド管理方法及びコマンド管理プログラム - Google Patents

コマンド管理装置及びコマンド管理方法及びコマンド管理プログラム Download PDF

Info

Publication number
WO2016143092A1
WO2016143092A1 PCT/JP2015/057153 JP2015057153W WO2016143092A1 WO 2016143092 A1 WO2016143092 A1 WO 2016143092A1 JP 2015057153 W JP2015057153 W JP 2015057153W WO 2016143092 A1 WO2016143092 A1 WO 2016143092A1
Authority
WO
WIPO (PCT)
Prior art keywords
command
execution
execution method
read
document file
Prior art date
Application number
PCT/JP2015/057153
Other languages
English (en)
French (fr)
Inventor
祐輔 石川
拓司 下村
Original Assignee
三菱電機株式会社
三菱電機インフォメーションシステムズ株式会社
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 三菱電機株式会社, 三菱電機インフォメーションシステムズ株式会社 filed Critical 三菱電機株式会社
Priority to JP2017504501A priority Critical patent/JP6214818B2/ja
Priority to PCT/JP2015/057153 priority patent/WO2016143092A1/ja
Publication of WO2016143092A1 publication Critical patent/WO2016143092A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt

Definitions

  • the present invention relates to command execution.
  • Some existing operation management software automatically executes scripts according to a set schedule.
  • the agent must be installed on all target servers.
  • RBA Run Book Automation
  • Patent Document 1 As a method for enabling a command to be automatically executed without manual operation by an operator, there is a method of surrounding a command with a tag and automatically identifying the command by the tag.
  • Patent Document 2 there is a technique in which a tag is set for each command in an execution processing script (for example, a script described in a markup language such as XML), and the command is read based on the tag. It is disclosed.
  • Patent Document 1 Patent Document 2, Patent Document 3, it is necessary to create an execution processing script, and the development load is large.
  • the above-described existing operation management software requires a workflow definition in RBA and a new development of a script, resulting in a large development load. Further, even if an operation of using a command execution support tool is performed on a server to which RBA cannot be introduced, an operation by a worker's manual operation is involved, so that a work error or work leakage occurs.
  • the present invention has been made in view of such circumstances, and is intended to automate command execution and prevent operator errors and omissions without creating a new script for command execution. With a purpose.
  • the command management device is: A delimiter is extracted from a second document file generated by adding an execution method key and a delimiter, which are identifiers of a command execution method, to each command in the first document file including a plurality of commands, and the command A command reading unit that reads from the second document file a combination of the execution method key and the command set; An execution method determination unit that determines an execution method of a command included in the command set based on an execution method key included in the command set for each command set read by the command reading unit; For each command set read by the command reading unit, a command execution unit that executes a command included in the command set with the execution method determined by the execution method determination unit.
  • the command and the execution method key can be read from the second document file generated from the first document file. For this reason, command execution can be automated without creating a new script for command execution, and operator errors and omissions can be prevented.
  • FIG. 3 is a diagram illustrating an example of a system configuration according to the first embodiment.
  • FIG. 6 shows an example of a second document file according to the first embodiment.
  • FIG. 4 is a diagram showing an example of an execution method table according to the first embodiment. The flowchart figure which shows the operation example of the worker at the time of starting of the command automatic execution part which concerns on Embodiment 1, and a command automatic execution part.
  • FIG. 4 is a flowchart showing an operation example of a command reading unit according to the first embodiment.
  • FIG. 4 is a flowchart showing an operation example of an execution method determination unit according to the first embodiment.
  • FIG. 6 is a flowchart showing an operation example of a command execution unit according to the first embodiment.
  • FIG. 1 is a diagram illustrating an example of a system configuration according to the first embodiment.
  • FIG. 6 shows an example of a second document file according to the first embodiment.
  • FIG. 4 is a diagram showing an example of an execution method table according to the first embodiment. The
  • FIG. 10 is a diagram showing an example of a second document file according to the second embodiment.
  • FIG. 9 is a flowchart showing an operation example of a command execution unit according to the second embodiment.
  • FIG. 10 is a diagram showing a system configuration example according to the third embodiment.
  • FIG. 10 is a flowchart showing an example of operation of an operator and a command automatic execution unit when a command automatic execution unit according to the third embodiment is activated.
  • FIG. 4 is a diagram illustrating a hardware configuration example of a command management apparatus according to the first to third embodiments.
  • the worker use terminal device 100 is a terminal device used by a worker.
  • the worker use terminal device 100 is also simply referred to as a work user terminal.
  • the work execution terminal device 200 is a terminal device that is remotely accessed by the worker use terminal device 100.
  • the work execution terminal device 200 corresponds to an example of a command management device.
  • the work execution terminal device 200 is also simply referred to as a work execution terminal.
  • the file server device 700 is a server device that stores the second document file 800.
  • a command and an execution method key that is an identifier of a command execution method and a command reading tag that is a delimiter are described.
  • the file server device 700 is also simply referred to as a file server.
  • a DB (database) server apparatus 1300 is a server apparatus having an execution method key DB 1000.
  • An execution method table 1100 is stored in the execution method key DB 1000.
  • the execution method table 1100 describes a plurality of execution method keys, and a command execution method is defined for each execution method key.
  • the DB server device 1300 is also simply referred to as a DB server.
  • the execution target server device 1200 is a server device on which the work execution terminal device 200 executes a command. Note that the execution target server device 1200 is also simply referred to as an execution target server.
  • the work execution terminal device 200 includes an automatic command execution unit 300 as a functional module.
  • the automatic command execution unit 300 includes a command reading unit 400, an execution method determination unit 500, and a command execution unit 600.
  • the command reading unit 400 extracts a command reading tag as a delimiter from the second document file 800 and reads a combination of the command and the execution method key from the second document file 800.
  • a combination of a command and an execution method key is called a command set.
  • the execution method determination unit 500 determines, for each command set read by the command reading unit 400, the execution method of the command included in the command set based on the execution method key included in the command set.
  • the execution method determination unit 500 accesses the DB server device 1300 using the execution method key included in the command set, and obtains information on the command execution method from the DB server device 1300.
  • the command execution unit 600 executes a command included in the command set by the execution method determined by the execution method determination unit 500 for each command set read by the command reading unit 400.
  • the command reading unit 400 every time the command reading unit 400 reads a command set from the second document file 800, the command reading unit 400 calls the execution method determination unit 500.
  • the execution method determination unit 500 executes the command included in the read command set based on the execution method key included in the command set read by the command reading unit 400 each time it is called by the command reading unit 400.
  • the command execution unit 600 is called.
  • the command execution unit 600 executes a command included in the command set read by the command reading unit 400 using the execution method determined by the execution method determination unit 500.
  • FIG. 2 shows an example of the second document file 800.
  • a command for example, “ps ⁇ eaf
  • a command is sandwiched between two types of tags. That is, in the second document file 800, a command is sandwiched between an execution method key (for example, “ccccc” in FIG. 2) and a command reading tag (for example, “xxxx” in FIG. 2).
  • An execution method key is described immediately before and after the command, and a command reading tag is described outside the command and the execution method key.
  • Each of the command, command reading tag, and execution method key has a line feed, and a line feed code (for example, “ ⁇ n”) is set before and after.
  • the second document file 800 is a document file generated by adding an execution method key and a command reading tag to each command in the first document file 850 including only a comment, a line feed code, and a command. That is, in the first document file 850, in addition to the comment and the line feed code, only “ps-eaf
  • FIG. 3 shows an example of the execution method table 1100.
  • the execution method table 1100 includes an execution method key column in which an execution method key is described, and a method column in which an execution method corresponding to the execution method key described in the execution method key column is described. In the method column, a command execution method is described.
  • FIG. 4 shows an operation example of the worker who uses the operator terminal device 100 and the command automatic execution unit 300 when the command automatic execution unit 300 is activated.
  • FIG. 5 shows an operation example of the command reading unit 400.
  • FIG. 6 shows an operation example of the execution method determination unit 500.
  • FIG. 7 shows an operation example of the command execution unit 600. 4 to 7 show processing examples of the command management method and command management program of the present application.
  • the worker logs in to the worker use terminal device 100 (S1).
  • the worker remotely logs in to the work execution terminal device 200 from the worker use terminal device 100 (S2) and activates the command automatic execution unit 300 (S3).
  • the command automatic execution unit 300 accesses the file server device 700 and displays a document file list for selecting the second document file 800 on the display of the operator terminal device 100 (S4).
  • the operator selects the second document file 800 (S5).
  • the command automatic execution unit 300 tries to read the second document file 800, and when the second document file 800 is read (YES in S6), the command reading unit 400 is called (S7).
  • the operation of the command reading unit 400 will be described with reference to FIG.
  • the command automatic execution unit 300 displays a reading error screen on the display of the worker terminal device 100 (S9), and processing Exit.
  • the command reading unit 400 refers to the second document file 800 read in S6 of FIG. 4 (S11), and reads the character string in the second document file 800 (S12). If a command reading tag (for example, “ ⁇ xxxxxxxx ⁇ n” in FIG. 2) sandwiched between line feed codes in the process of S ⁇ b> 12 can be retrieved (YES in S ⁇ b> 13), the command reading unit 400 sandwiches between the retrieved line feed codes. The command reading tag to be stored is stored in the memory (S14). Next, the command reading unit 400 reads the character string of the second document file 800 again immediately after the reading position of S13 (S15). If a command reading tag (for example, “ ⁇ xxxxxxxx ⁇ n” in FIG.
  • the command reading unit 400 extends from the last line feed code of the command reading tag sandwiched by the line feed code searched in S13 to the first line feed code of the command reading tag sandwiched by the line feed code searched in S16.
  • a character string between them (for example, “ ⁇ nccccc ⁇ nps ⁇ eaf
  • the command reading unit 400 stores the character string cut out in S17 as a command set in the memory (S18).
  • the command reading unit 400 calls the execution method determination unit 500 (S19). In the case of NO in S13 or NO in S16, the command reading unit 400 displays an error screen with no search target on the display of the operator terminal device 100 (S21), and ends the process (S99). ).
  • the process shown in FIG. 5 corresponds to an example of a command reading process.
  • the execution method determination unit 500 reads the command set stored in the memory in S18 of FIG. 5 (S23). Next, the execution method determination unit 500 determines whether or not an execution method key (for example, “ ⁇ nccccc ⁇ n” in FIG. 2) sandwiched between the command set and the line feed code can be retrieved, and the command set uses the line feed code. If the execution method key to be sandwiched can be retrieved (YES in S24), the execution method key sandwiched by the retrieved line feed code is stored in the memory (S25).
  • an execution method key for example, “ ⁇ ncccccc ⁇ n” in FIG. 2
  • the execution method key sandwiched by the retrieved line feed code is stored in the memory (S25).
  • the execution method determination unit 500 deletes the line feed code from the execution method key sandwiched between the line feed codes stored in the memory in S25, and stores the execution method key after removal of the line feed code in the memory (S26) (for example, “ Delete two " ⁇ n” from “ ⁇ nccccc ⁇ n” and store "ccccc” in the memory).
  • the execution method determination unit 500 reads the command set again immediately after the reading position in S24 (S27). If an execution method key (for example, “ ⁇ nccccc ⁇ n” in FIG. 2) sandwiched by the same line feed code as the execution method key sandwiched by the line feed code stored in the memory in S25 can be retrieved (YES in S28).
  • the execution method determination unit 500 determines the characters between the last line feed code of the execution method key sandwiched by the line feed code searched in S24 and the first line feed code of the execution method key sandwiched by the line feed code searched in S28.
  • a column (for example, “ ⁇ nps ⁇ eaf
  • the execution method determination unit 500 stores the character string cut out in S29 in the memory as command information (S30).
  • the execution method determination unit 500 accesses the DB server device 1300, and in the execution method table 1100 in the execution method key DB 1000, an execution method key that is the same as the execution method key stored in the memory in S26 is described. Look for method key columns.
  • the execution method determination unit 500 calls the command execution unit 600 (S33). In the case of NO in S24 or NO in S28, the execution method determination unit 500 displays an error screen with no search target on the display of the worker terminal device 100 (S36), and ends the process (S36). S99). If NO in S31, the execution method determination unit 500 displays an error screen with no target column data on the display of the operator terminal device 100 (S35), and ends the process (S99).
  • the process illustrated in FIG. 6 corresponds to an example of an execution method determination process.
  • the command execution unit 600 reads the command information stored in the memory in S30 (S38).
  • the command execution unit 600 removes the line feed code from the command information read in S38, and stores the command after removal of the line feed code in the memory (S39) (for example, “ ⁇ nps-eaf
  • the command execution unit 600 reads the execution method argument stored in the memory in S32 (S40), and tries to call a process corresponding to the execution method argument.
  • the command execution unit 600 uses the execution method corresponding to the execution method argument to execute the command stored in the memory in S39 for the execution target server device 1200. Is executed (S42).
  • S42 the command execution unit 600 determines whether there is a character string that has not yet been read. Specifically, the command execution unit 600 determines whether there is a character string after the line feed code following the command reading tag searched in S16 of FIG. If there is a character string that has not yet been read (YES in S43), the processing after S12 is performed (S44).
  • the command execution unit 600 displays an error screen with no corresponding process on the display of the worker use terminal device 100 (S46), and ends the process (S99). If NO in S43, the command execution unit 600 displays a process end screen on the display of the operator terminal device 100, and ends the process (S99).
  • the process shown in FIG. 7 corresponds to an example of a command execution process.
  • Embodiment 2 the command set is read one by one from the second document file 800, and the command included in the command set is automatically executed by the corresponding execution method each time the command set is read. Indicated.
  • a value representing the execution order of commands is set in the command reading tag, the command set read from the second document file 800 is listed, and the command set includes the command reading tag values in the order of values.
  • FIG. 8 shows an example of the second document file 800 according to the present embodiment.
  • numerical values for example, “e1”, “e2”, “e3” in FIG. 8 are described in the command reading tag.
  • FIG. 8 shows that the commands are executed in the order of e1, e2, and e3.
  • the system configuration example according to the present embodiment is the same as that shown in FIG. However, in this embodiment, the operation of the command execution unit 600 is different.
  • the command execution unit 600 each time the command execution unit 600 is called by the execution method determination unit 500, the command execution unit 600 reads the execution order value described in the command reading tag of the command set read by the command reading unit 400, and the command A set of the command included in the command set read by the reading unit 400 and the execution method determined by the execution method determination unit 500 is registered in the execution list. Then, the command execution unit 600 registers pairs of execution order values, commands, and execution methods in the execution list for all command sets included in the second document file 800 of FIG. The command registered in the execution list is executed in accordance with the execution method registered in the execution list in accordance with the execution order value.
  • differences from the first embodiment will be mainly described. Matters not described below are the same as those in the first embodiment.
  • the command execution unit 600 reads the command information stored in the memory at S30 (S38). Next, the command execution unit 600 removes the line feed code from the command information read in S38, and stores the command after removal of the line feed code in the memory (S39) (for example, “ ⁇ nps-eaf
  • the command execution unit 600 acquires a command reading tag sandwiched between the line feed codes stored in the memory in S14, deletes the line feed code, and executes the command read tags after the line feed code is deleted.
  • the data is stored in the memory (S47).
  • the command execution unit 600 associates the execution order data stored in the memory in S47 with the execution method argument read in S40 and the command stored in the memory in S39 (for example, the execution order data, the execution method argument, and the command Are combined with “: e1: command: ps ⁇ eaf
  • the command execution unit 600 determines whether there is a character string that has not yet been read.
  • the command execution unit 600 determines whether there is a character string after the line feed code following the command reading tag searched in S16 of FIG. If there is a character string that has not yet been read (YES in S49), the processing after S12 is performed (S54). When all the character strings have been read (NO in S49), the execution list includes “e1: command: ps-eaf
  • the command execution unit 600 calls the combination of the execution method argument and the command according to the values of the execution order (“1”, “2”, “3” of e1, e2, and e3) (S50).
  • the command execution unit 600 calls “command: ps-eaf
  • “file: ⁇ abc ⁇ def ⁇ zzzz.exe” associated with e ⁇ b> 3 is called.
  • the command execution part 600 calls the process according to an execution system argument about each called combination.
  • the command execution unit 600 executes the command to the execution target server device 1200 using the execution method corresponding to the execution method argument (S52).
  • S52 When S52 is completed, the command execution unit 600 displays a process end screen on the display of the worker use terminal device 100, and ends the process (S99). If NO in S51, the command execution unit 600 displays an error screen with no corresponding process on the display of the operator terminal device 100 (S55), and ends the process (S99).
  • Embodiment 3 FIG. In the first embodiment and the second embodiment described above, the example in which the command is executed by the client application has been described. In the present embodiment, an example in which the command is executed by the Web application will be described.
  • FIG. 10 shows a system configuration example of the present embodiment.
  • the operator terminal device 100, the file server device 700, the second document file 800, the execution method key DB 1000, the execution method table 1100, the execution target server device 1200, and the DB server device 1300 are as shown in FIG. This is the same and will not be described.
  • the work execution terminal device 200 is a terminal device that is remotely accessed by the worker use terminal device 100.
  • the application server device 1400 is a server device that the work execution terminal device 200 accesses from a browser. In the present embodiment, the application server device 1400 corresponds to an example of a command management device.
  • the command automatic execution unit 300, the command reading unit 400, the execution method determination unit 500, and the command execution unit 600 included in the application server device 1400 are the same as those described in the first embodiment. Perform the operation described. Hereinafter, differences from the first embodiment will be mainly described. Matters not described below are the same as those in the first embodiment.
  • FIG. 11 shows an operation example of the operator and the command automatic execution unit 300 when the command automatic execution unit 300 is activated.
  • FIG. 11 corresponds to FIG. In FIG. 11, as compared with FIG. 4, only a process (S56) for calling the command automatic execution unit 300 from the browser of the work execution terminal device 200 is added.
  • S1, S2, and S3 are the same as those in FIG. 4, and after S8, the processes in FIGS. 5 and 6 are performed, and then the processes in FIG. 7 and FIG. 9 are performed.
  • the command can be automatically executed not only in the client application shown in the first and second embodiments but also in the Web application.
  • the command management device is a computer.
  • the command management device includes hardware such as a processor 901, an auxiliary storage device 902, a memory 903, a communication device 904, an input interface 905, and a display interface 906.
  • the processor 901 is connected to other hardware via the signal line 910, and controls these other hardware.
  • the input interface 905 is connected to the input device 907.
  • the display interface 906 is connected to the display 908.
  • the processor 901 is an IC (Integrated Circuit) that performs processing.
  • the processor 901 is, for example, a CPU (Central Processing Unit), a DSP (Digital Signal Processor), or a GPU (Graphics Processing Unit).
  • the auxiliary storage device 902 is, for example, a ROM (Read Only Memory), a flash memory, or an HDD (Hard Disk Drive).
  • the memory 903 is, for example, a RAM (Random Access Memory).
  • the communication device 904 includes a receiver 9041 that receives data and a transmitter 9042 that transmits data.
  • the communication device 904 is, for example, a communication chip or a NIC (Network Interface Card).
  • the input interface 905 is a port to which the cable 911 of the input device 907 is connected.
  • the input interface 905 is, for example, a USB (Universal Serial Bus) terminal.
  • the display interface 906 is a port to which the cable 912 of the display 908 is connected.
  • the display interface 906 is, for example, a USB terminal or an HDMI (registered trademark) (High Definition Multimedia Interface) terminal.
  • the input device 907 is, for example, a mouse, a keyboard, or a touch panel.
  • the display 908 is, for example, an LCD (Liquid Crystal Display).
  • the command reading unit 400, the execution method determination unit 500, and the command execution unit 600 (hereinafter, the command reading unit 400, the execution method determination unit 500, and the command execution unit 600 shown in FIG. A program that realizes the function of “denoted” is stored.
  • This program is loaded into the memory 903, read into the processor 901, and executed by the processor 901.
  • the auxiliary storage device 902 also stores an OS (Operating System). Then, at least a part of the OS is loaded into the memory 903, and the processor 901 executes a program that realizes the function of “unit” while executing the OS.
  • the command management apparatus may include a plurality of processors 901.
  • a plurality of processors 901 may execute a program for realizing the function of “unit” in cooperation with each other.
  • information, data, signal values, and variable values indicating the processing results of “unit” are stored in the memory 903, the auxiliary storage device 902, or a register or cache memory in the processor 901.
  • circuitry may be provided as “circuitry”. Further, “part” may be read as “circuit”, “process”, “procedure”, or “processing”. “Circuit” and “Circuitry” include not only the processor 901 but also other types of processing circuits such as a logic IC or GA (Gate Array) or ASIC (Application Specific Integrated Circuit) or FPGA (Field-Programmable Gate Array). It is a concept to include.
  • GA Gate Array
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • 100 worker use terminal device 200 work execution terminal device, 300 command automatic execution unit, 400 command reading unit, 500 execution method determination unit, 600 command execution unit, 700 file server device, 800 second document file, 850 first Document file, 1000 execution method key DB, 1100 execution method table, 1200 execution target server device, 1300 DB server device, 1400 application server device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

 コマンド読取部(400)は、複数のコマンドが含まれる第1の文書ファイル内の各コマンドにコマンドの実行方式の識別子である実行方式キーとデリミタとが追加されて生成された第2の文書ファイル(800)からデリミタを抽出して、コマンドと実行方式キーとの組合せをコマンドセットとして第2の文書ファイル(800)から読取る。実行方式判定部(500)は、コマンドセットごとに、コマンドセットに含まれる実行方式キーに基づき、コマンドセットに含まれるコマンドの実行方式を判定する。コマンド実行部(600)は、コマンドセットごとに、実行方式判定部(500)により判定された実行方式にて、コマンドセットに含まれるコマンドを実行する。

Description

コマンド管理装置及びコマンド管理方法及びコマンド管理プログラム
 本発明は、コマンドの実行に関する。
 現在、計算機システムに対するオペレーション(災害対応オペレーション、障害対応オペレーション等)では、作業者が文書から実行対象のコマンドを読取り、読み取ったコマンドを作業者が手作業にて1つ1つ打鍵することが一般的である。
 このように、作業者の手作業による操作が介在する場合は、作業ミス又は作業漏れが発生する可能性がある。
 既存の運用管理ソフトウェアには、設定されたスケジュールに合わせて、スクリプトが自動で実行されるものもある。
 しかしながら、この運用管理ソフトウェアでは、エージェントを全ての対象サーバに導入しなければならない。
 また、この運用管理ソフトウェアでは、Run Book Automation(RBA:IT運用管理プロセスを自動化する機能)におけるワークフローの定義やスクリプトを新規開発しなければならない。
 このため、この運用管理ソフトウェアでは、開発負荷の増大が懸念される。
 また、RBAが導入できないサーバに対しては、コマンドをテンプレート化し、コマンドの実行を省力化するコマンド実行支援ツールの導入も考えられるが、実行すべきコマンドの選択及び引数の入力は作業者が手作業で実施しなければならない。
 従って、このコマンド実行支援ツールを導入しても、作業者の手作業による操作が介在するため、作業ミス又は作業漏れが発生する可能性がある。
 作業者が手作業を行わずに、コマンドが自動で実行できるようにするための方法として、コマンドをタグで囲み、タグによりコマンドを自動識別させるという手法がある。
 特許文献1、特許文献2及び特許文献3では、実行処理スクリプト(例えば、XML等のマークアップ言語で記述されたスクリプト)内のコマンドごとにタグを設定し、タグに基づいてコマンドを読み取る技術が開示されている。
特開2002-342086号公報 特開2003-216427号公報 特開2005-122377号公報
 しかしながら、特許文献1、特許文献2及び特許文献3では、実行処理スクリプトを作成する必要があり、開発負荷が大きい。
 また、前述した、既存の運用管理ソフトウェアでは、RBAにおけるワークフローの定義やスクリプトの新規開発が必要であり、開発負荷が大きい。
 更に、RBAが導入できないサーバに対してはコマンド実行支援ツール使用するという運用を行ったとしても、作業者の手作業による操作が介在するため、作業ミス又は作業漏れが発生する。
 本発明は、このような事情に鑑みたものであり、コマンド実行のためのスクリプトを新規に作成しなくても、コマンド実行を自動化し、作業者の作業ミス及び作業漏れを防止することを主な目的とする。
 本発明に係るコマンド管理装置は、
 複数のコマンドが含まれる第1の文書ファイル内の各コマンドにコマンドの実行方式の識別子である実行方式キーとデリミタとが追加されて生成された第2の文書ファイルからデリミタを抽出して、コマンドと実行方式キーとの組合せをコマンドセットとして前記第2の文書ファイルから読取るコマンド読取部と、
 前記コマンド読取部により読取られたコマンドセットごとに、コマンドセットに含まれる実行方式キーに基づき、コマンドセットに含まれるコマンドの実行方式を判定する実行方式判定部と、
 前記コマンド読取部により読取られたコマンドセットごとに、前記実行方式判定部により判定された実行方式にて、コマンドセットに含まれるコマンドを実行するコマンド実行部とを有する。
 本発明によれば、第1の文書ファイルから生成された第2の文書ファイルからコマンドと実行方式キーとを読取ることができる。
 このため、コマンド実行のためのスクリプトを新規に作成しなくても、コマンド実行を自動化することができ、作業者の作業ミス及び作業漏れを防止することができる。
実施の形態1に係るシステム構成例を示す図。 実施の形態1に係る第2の文書ファイルの例を示す図。 実施の形態1に係る実行方式テーブルの例を示す図。 実施の形態1に係るコマンド自動実行部の起動時の作業者及びコマンド自動実行部の動作例を示すフローチャート図。 実施の形態1に係るコマンド読取部の動作例を示すフローチャート図。 実施の形態1に係る実行方式判定部の動作例を示すフローチャート図。 実施の形態1に係るコマンド実行部の動作例を示すフローチャート図。 実施の形態2に係る第2の文書ファイルの例を示す図。 実施の形態2に係るコマンド実行部の動作例を示すフローチャート図。 実施の形態3に係るシステム構成例を示す図。 実施の形態3に係るコマンド自動実行部の起動時の作業者及びコマンド自動実行部の動作例を示すフローチャート図。 実施の形態1~3に係るコマンド管理装置のハードウェア構成例を示す図。
 実施の形態1.
***構成の説明***
 図1は、本実施の形態に係るシステム構成例を示す。
 作業者使用端末装置100は、作業者が使用する端末装置である。
 なお、作業者使用端末装置100は、単に作業使用者端末とも表記する。
 作業実施端末装置200は、作業者使用端末装置100がリモートアクセスする端末装置である。
 作業実施端末装置200は、コマンド管理装置の例に相当する。
 なお、作業実施端末装置200は、単に作業実施端末とも表記する。
 ファイルサーバ装置700は、第2の文書ファイル800を記憶するサーバ装置である。
 第2の文書ファイル800には、コマンドとコマンドの実行方式の識別子である実行方式キーとデリミタであるコマンド読取用タグが記述されている。
 なお、ファイルサーバ装置700は、単にファイルサーバとも表記する。
 DB(database)サーバ装置1300は、実行方式キーDB1000を有するサーバ装置である。
 実行方式キーDB1000には、実行方式テーブル1100が格納されている。
 実行方式テーブル1100には、複数の実行方式キーが記述され、各実行方式キーに対してコマンドの実行方式が定義されている。
 なお、DBサーバ装置1300は、単にDBサーバとも表記する。
 実行対象サーバ装置1200は、作業実施端末装置200がコマンドを実行する対象のサーバ装置である。
 なお、実行対象サーバ装置1200は、単に実行対象サーバとも表記する。
 作業実施端末装置200は、機能モジュールとしてコマンド自動実行部300を有する。
 コマンド自動実行部300は、コマンド読取部400、実行方式判定部500及びコマンド実行部600で構成される。
 コマンド読取部400は、第2の文書ファイル800からデリミタであるコマンド読取用タグを抽出して、コマンドと実行方式キーとの組合せを第2の文書ファイル800から読み取る。
 なお、コマンドと実行方式キーとの組合せをコマンドセットという。
 実行方式判定部500は、コマンド読取部400により読み取られたコマンドセットごとに、コマンドセットに含まれる実行方式キーに基づき、コマンドセットに含まれるコマンドの実行方式を判定する。
 実行方式判定部500は、より具体的には、コマンドセットに含まれる実行方式キーを用いてDBサーバ装置1300にアクセスし、DBサーバ装置1300からコマンドの実行方式の情報を得る。
 コマンド実行部600は、コマンド読取部400により読み取られたコマンドセットごとに、実行方式判定部500により判定された実行方式にて、コマンドセットに含まれるコマンドを実行する。
 本実施の形態では、コマンド読取部400が、第2の文書ファイル800からコマンドセットを読み出す度に、実行方式判定部500を呼び出す。
 そして、実行方式判定部500は、コマンド読取部400により呼び出される度に、コマンド読取部400により読み取られたコマンドセットに含まれる実行方式キーに基づき、読み取られたコマンドセットに含まれるコマンドの実行方式を判定し、コマンド実行部600を呼び出す。
 コマンド実行部600は、実行方式判定部500により呼び出される度に、実行方式判定部500により判定された実行方式にて、コマンド読取部400により読み取られたコマンドセットに含まれるコマンドを実行する。
 図2は、第2の文書ファイル800の例を示す。
 第2の文書ファイル800では、コマンド(例えば、図2中の「ps -eaf | grep process」)を、二種類のタグで挟んでいる。
 つまり、第2の文書ファイル800では、コマンドを実行方式キー(例えば、図2中の「ccccc」)とコマンド読取用タグ(例えば、図2中の「xxxxx」)で挟んでいる。
 コマンドの直前直後には実行方式キーが記述され、更にコマンドと実行方式キーの外側をコマンド読取用タグが記述されている。
 コマンド、コマンド読取用タグ、実行方式キーはそれぞれ、改行されており、前後に改行コード(例えば、「¥n」)が設定されている。
 第2の文書ファイル800は、コメントと改行コードとコマンドのみが含まれる第1の文書ファイル850内の各コマンドに実行方式キーとコマンド読取用タグが追加されて生成された文書ファイルである。
 つまり、第1の文書ファイル850には、コメントと改行コードの他には、「ps -eaf | grep process」、「1」及び「¥¥abc¥def¥zzz.exe」のみが記述されている。
 第2の文書ファイル800では、前述したように、コマンド「ps -eaf | grep process」に2つの実行方式キー「ccccc」と2つのコマンド読取用タグ「xxxxx」が追加されている。
 同様に、第2の文書ファイル800では、コマンド「1」に2つの実行方式キー「aaaaa」と2つのコマンド読取用タグ「xxxxx」が追加されている。
 同様に、第2の文書ファイル800では、コマンド「¥¥abc¥def¥zzz.exe」に2つの実行方式キー「fffff」と2つのコマンド読取用タグ「xxxxx」が追加されている。
 図3は実行方式テーブル1100の例を示す。
 実行方式テーブル1100は、実行方式キーが記述される実行方式キーカラムと、実行方式キーカラムに記述される実行方式キーに対応する実行方式が記述される方式カラムで構成される。
 方式カラムには、コマンドの実行方式が記述されている。
***動作の説明***
 図4、図5、図6、図7は、本実施の形態に係る動作フローを示す。
 図4は、コマンド自動実行部300の起動時の作業者使用端末装置100を利用する作業者及びコマンド自動実行部300の動作例を示す。
 図5は、コマンド読取部400の動作例を示す。
 図6は、実行方式判定部500の動作例を示す。
 図7は、コマンド実行部600の動作例を示す。
 なお、図4~図7には、本願のコマンド管理方法及びコマンド管理プログラムの処理例が示される。
 図4において、作業者は作業者使用端末装置100にログインする(S1)。
 作業者は、作業者使用端末装置100から作業実施端末装置200にリモートログインし(S2)、コマンド自動実行部300を起動する(S3)。
 コマンド自動実行部300は、ファイルサーバ装置700にアクセスし、第2の文書ファイル800を選択するための文書ファイルリストを作業者使用端末装置100のディスプレイ上に表示する(S4)。
 作業者は、第2の文書ファイル800を選択する(S5)。
 コマンド自動実行部300は、第2の文書ファイル800の読込みを試行し、第2の文書ファイル800を読込めた場合(S6でYES)は、コマンド読取部400を呼び出す(S7)。
 コマンド読取部400の動作は、図5を用いて説明する。
 一方、第2の文書ファイル800を読込めなかった場合(S6でNO)は、コマンド自動実行部300は、作業者使用端末装置100のディスプレイ上に読込みエラー画面を表示して(S9)、処理を終了する。
 図5において、コマンド読取部400は、図4のS6で読込まれた第2の文書ファイル800を参照し(S11)、第2の文書ファイル800内の文字列を読取る(S12)。
 S12の過程で改行コードで挟まれるコマンド読取用タグ(例えば、図2の「¥nxxxxx¥n」)を検索できた場合(S13でYES)は、コマンド読取部400は、検索した改行コードで挟まれるコマンド読取用タグをメモリに格納する(S14)。
 次に、コマンド読取部400は、S13の読取り位置の直後から第2の文書ファイル800の文字列を再び読取る(S15)。
 そして、S14でメモリに格納した改行コードで挟まれるコマンド読取用タグと同じ改行コードで挟まれるコマンド読取用タグ(例えば、図2の「¥nxxxxx¥n」)を検索できた場合(S16でYES)は、コマンド読取部400は、S13で検索された改行コードで挟まれるコマンド読取用タグの最後の改行コードからS16で検索された改行コードで挟まれるコマンド読取用タグの最初の改行コードまでの間の文字列(例えば、図2の「¥nccccc¥nps -eaf | grep process¥nccccc¥n」)を切り出す(S17)。
 そして、コマンド読取部400は、S17で切り出した文字列を、コマンドセットとしてメモリに格納する(S18)。
 S18が完了したら、コマンド読取部400は、実行方式判定部500を呼び出す(S19)。
 なお、S13でNOの場合、あるいはS16でNOの場合は、コマンド読取部400は、検索対象なしエラー画面を作業者使用端末装置100のディスプレイ上に表示し(S21)、処理を終了する(S99)。
 なお、図5に示す処理はコマンド読取処理の例に相当する。
 図6において、実行方式判定部500は、図5のS18でメモリに格納されたコマンドセットを読込む(S23)。
 次に、実行方式判定部500は、コマンドセットから改行コードで挟まれる実行方式キー(例えば、図2の「¥nccccc¥n」)を検索できるか否かを判定し、コマンドセットから改行コードで挟まれる実行方式キーが検索できた場合(S24でYES)は、検索した改行コードで挟まれる実行方式キーをメモリに格納する(S25)。
 次に、実行方式判定部500は、S25でメモリに格納した改行コードで挟まれる実行方式キーから改行コードを削除し、改行コード除去後の実行方式キーをメモリに格納する(S26)(例えば「¥nccccc¥n」から2つの「¥n」を削除して「ccccc」をメモリに格納する)。
 次に、実行方式判定部500は、S24の読取り位置の直後からコマンドセットを再び読取る(S27)。
 そして、S25でメモリに格納した改行コードで挟まれる実行方式キーと同じ改行コードで挟まれる実行方式キー(例えば、図2の「¥nccccc¥n」)を検索できた場合(S28でYES)は、実行方式判定部500は、S24で検索された改行コードで挟まれる実行方式キーの最後の改行コードからS28で検索された改行コードで挟まれる実行方式キーの最初の改行コードまでの間の文字列(例えば、図2の「¥nps -eaf | grep process¥n」)を切り出す(S29)。
 そして、実行方式判定部500は、S29で切り出した文字列を、コマンド情報としてメモリに格納する(S30)。
 次に、実行方式判定部500は、DBサーバ装置1300へアクセスし、実行方式キーDB1000にある実行方式テーブル1100において、S26でメモリに格納した実行方式キーと同一の実行方式キーが記述される実行方式キーカラムを探す。
 該当する実行方式キーカラムが検索できた場合(S31でYES)は、この実行方式キーカラムに対応する方式カラムのデータ(実行方式)を取得し、取得したデータを実行方式引数としてメモリに格納する(S32)。
 S32が完了したら、実行方式判定部500はコマンド実行部600を呼び出す(S33)。
 なお、S24でNOの場合、あるいはS28でNOの場合は、実行方式判定部500は、検索対象なしエラー画面を作業者使用端末装置100のディスプレイ上に表示し(S36)、処理を終了する(S99)。
 また、S31でNOの場合は、実行方式判定部500は、対象カラムデータなしエラー画面を作業者使用端末装置100のディスプレイ上に表示し(S35)、処理を終了する(S99)。
 なお、図6に示す処理は実行方式判定処理の例に相当する。
 図7において、コマンド実行部600は、S30でメモリに格納されたコマンド情報を読込む(S38)。
 次に、コマンド実行部600は、S38で読込んだコマンド情報から改行コードを除去し、改行コードの除去後のコマンドをメモリに格納する(S39)(例えば図2の「¥nps -eaf | grep process¥n」から2つの「¥n」を削除して「ps -eaf | grep process」をメモリに格納する)。
 次に、コマンド実行部600はS32でメモリに格納した実行方式引数を読込み(S40)、実行方式引数に応じた処理の呼び出しを試行する。
 実行方式引数に応じた処理を呼び出せた場合(S41でYES)は、コマンド実行部600は、実行方式引数に応じた実行方式にて、実行対象サーバ装置1200に対し、S39でメモリに格納したコマンドを実行する(S42)。
 S42が完了したら、コマンド実行部600は、まだ読取られていない文字列があるかどうかを判断する。
 具体的には、コマンド実行部600は、図5のS16で検索されたコマンド読取用タグに続く改行コードの後に文字列があるかどうかを判断する。
 まだ読取られていない文字列がある場合(S43でYES)は、S12以降の処理が行われる(S44)。
 S41でNOの場合は、コマンド実行部600は、対応処理なしエラー画面を作業者使用端末装置100のディスプレイ上に表示し(S46)、処理を終了する(S99)。
 また、S43でNOの場合は、コマンド実行部600は、処理終了画面を作業者使用端末装置100のディスプレイ上に表示し、処理を終了する(S99)。
 なお、図7に示す処理はコマンド実行処理の例に相当する。
***効果の説明***
 以上のように、本実施の形態では、第1の文書ファイルに含まれるコマンドがコマンド読取用タグと実行方式キーで挟まれている第2の文書ファイルからコマンドと実行方式キーを読取ることにより、予め用意されているコマンドを適切な実行方式で自動実行することが可能となる。
 このため、本実施の形態によれば、作業者の作業ミス及び手順ミスを防止し、作業負荷の軽減を図ることができる。
 また、予め用意されている第1の文書ファイルを利用した第2の文書ファイルを用いるので、開発者の開発負荷の軽減も図ることができる。
 実施の形態2.
 以上の実施の形態1では、第2の文書ファイル800からコマンドセットを一つ一つ読取り、コマンドセットの読取りの度に、コマンドセットに含まれるコマンドを対応する実行方式にて自動実行する例を示した。
 本実施の形態では、コマンド読取用タグにコマンドの実行順序を表す値を設定し、第2の文書ファイル800から読み取ったコマンドセットをリスト化し、コマンド読取用タグの値の順に、コマンドセットに含まれるコマンドを対応する実行方式にて自動実行する例を説明する。
***構成の説明***
 図8は、本実施の形態に係る第2の文書ファイル800の例を示す。
 図8の第2の文書ファイル800では、コマンド読取用タグに数値(例えば、図8中の「e1」「e2」「e3」)が記述されている。
 コマンド読取用タグに数値を記述するために、コマンド読取タグの読取り順序を予め設定しておく必要がある。
 図8では、e1、e2、e3の順で、コマンドが実行されることが示されている。
 本実施の形態に係るシステム構成例は、図1に示すものと同様である。
 但し、本実施の形態では、コマンド実行部600の動作が異なる。
 本実施の形態では、コマンド実行部600は、実行方式判定部500により呼び出される度に、コマンド読取部400により読取られたコマンドセットのコマンド読取用タグに記述されている実行順序の値と、コマンド読取部400により読取られたコマンドセットに含まれるコマンドと、実行方式判定部500により判定された実行方式との組を実行リストに登録する。
 そして、コマンド実行部600は、図8の第2の文書ファイル800に含まれる全てのコマンドセットについて実行順序の値とコマンドと実行方式との組が実行リストに登録された後に、実行リストに登録されている実行順序の値に従って、実行リストに登録されているコマンドを実行リストに登録されている実行方式にて実行する。
 以下では、主に実施の形態1との差異を説明する。
 以下で説明していない事項は、実施の形態1と同じである。
***動作の説明***
 次に動作について説明する。
 図4、図5、図6のコマンド実行部600の呼び出し(S34)までは実施の形態1と同じであるため、説明を省略する。
 以下では、図9を参照して、本実施の形態に係るコマンド実行部600の内部処理を説明する。
 コマンド実行部600は、S30でメモリに格納されたコマンド情報を読込む(S38)。
 次に、コマンド実行部600は、S38で読込んだコマンド情報から改行コードを除去し、改行コードの除去後のコマンドをメモリに格納する(S39)(例えば図2の「¥nps -eaf | grep process¥n」から2つの「¥n」を削除して「ps -eaf | grep process」をメモリに格納する) 。
 次に、コマンド実行部600はS32でメモリに格納した実行方式引数を読込む(S40)。
 更に、コマンド実行部600は、S14でメモリに格納された改行コードで挟まれるコマンド読取用タグを取得し、改行コードを削除して、改行コードが削除された後のコマンド読取用タグを実行順序データとしてメモリに格納する(S47)。
 次に、コマンド実行部600は、S47でメモリに格納した実行順序データとS40で読込んだ実行方式引数とS39でメモリに格納したコマンドを対応付け(例えば、実行順序データと実行方式引数とコマンドを:で連結して「e1:command:ps -eaf | grep process」とする)、実行順序データと実行方式引数とコマンドを実行リストに登録する(S48)。
 次に、コマンド実行部600は、まだ読取られていない文字列があるかどうかを判断する。
 具体的には、コマンド実行部600は、図5のS16で検索されたコマンド読取用タグに続く改行コードの後に文字列があるかどうかを判断する。
 まだ読取られていない文字列がある場合(S49でYES)は、S12以降の処理が行われる(S54)。
 全ての文字列が読取られている場合(S49でNO)は、実行リストには、図8の例では、「e1:command:ps -eaf | grep process;e2:argument:1;e3:file:¥¥abc¥def¥zzz.exe」が登録されている。
 コマンド実行部600は、実行順序の値(e1、e2、e3のうちの「1」、「2」、「3」)に従い、実行方式引数とコマンドの組合せを呼び出す(S50)。
 前出の例では、コマンド実行部600は、e1と対応付けられている「command:ps -eaf | grep process」を呼び出し、次に、e2と対応付けられている「argument:1」を呼び出し、次に、e3と対応付けられている「file:¥¥abc¥def¥zzz.exe」を呼び出す。
 そして、コマンド実行部600は、呼び出した各組合せについて、実行方式引数に応じた処理を呼び出す。
 実行方式引数に応じた処理を呼び出せた場合(S51でYES)は、コマンド実行部600は、実行方式引数に応じた実行方式にて、実行対象サーバ装置1200に対し、コマンドを実行する(S52)。
 S52が完了したら、コマンド実行部600は、処理終了画面を作業者使用端末装置100のディスプレイ上に表示し、処理を終了する(S99)。
 また、S51でNOの場合は、コマンド実行部600は、対応処理なしエラー画面を作業者使用端末装置100のディスプレイ上に表示し(S55)、処理を終了する(S99)。
***効果の説明***
 以上のように、本実施の形態では、実行すべきコマンドを一括でリスト化し、予め決定した順序に従い、コマンドを連続実行することで、実施の形態1の利点をなくさずに、スループットの向上を期待することができる。
 実施の形態3.
 以上の実施の形態1及び実施の形態2では、クライアントアプリケーションでコマンドを実行する例を説明したが、本実施の形態では、Webアプリケーションでコマンドを実行する例を説明する。
***構成の説明***
 図10は、本実施の形態のシステム構成例を示す。
 図10において、作業者使用端末装置100、ファイルサーバ装置700、第2の文書ファイル800、実行方式キーDB1000、実行方式テーブル1100、実行対象サーバ装置1200、DBサーバ装置1300は図1に示すものと同様であり、説明を省略する。
 作業実施端末装置200は、作業者使用端末装置100がリモートアクセスする端末装置である。
 アプリケーションサーバ装置1400は、作業実施端末装置200がブラウザからアクセスするサーバ装置である。
 本実施の形態では、アプリケーションサーバ装置1400がコマンド管理装置の例に相当する。
 なお、アプリケーションサーバ装置1400に含まれるコマンド自動実行部300、コマンド読取部400、実行方式判定部500及びコマンド実行部600は、実施の形態1で説明したものと同じであり、実施の形態1で説明した動作を行う。
 以下では、主に実施の形態1との差異を説明する。
 以下で説明していない事項は、実施の形態1と同じである。
***動作の説明***
 図11は、コマンド自動実行部300の起動時の作業者及びコマンド自動実行部300の動作例を示す。
 図11は、図4に対応する。
 図11では、図4と比較して、作業実施端末装置200のブラウザからコマンド自動実行部300を呼び出すプロセス(S56)が追加されるのみである。
 S1、S2、S3以降の処理は図4と同じであり、また、S8以降は、図5、図6の処理が行われ、次に、図7又は図9の処理が行われる。
***効果の説明***
 以上のように、実施の形態1及び実施の形態2に示したクライアントアプリケーションだけでなく、Webアプリケーションにおいてもコマンドを自動実行することができる。
***その他***
 以上、本発明の実施の形態について説明したが、これらの実施の形態のうち、2つ以上を組み合わせて実施しても構わない。
 あるいは、これらの実施の形態のうち、1つを部分的に実施しても構わない。
 あるいは、これらの実施の形態のうち、2つ以上を部分的に組み合わせて実施しても構わない。
 なお、本発明は、これらの実施の形態に限定されるものではなく、必要に応じて種々の変更が可能である。
 例えば、実施の形態1~3では、コマンドを実行方式キーで挟み、更に、コマンド読取用タグで挟む例を説明したが、これに代えて、コマンドをコマンド読取用のデリミタと実行方式キーで挟むようにしてもよい。
 具体的には、「xxxxx」「¥n」「ps -eaf | grep process」「¥n」「ccccc」といった配置にしてもよい。
***ハードウェア構成の説明***
 最後に、コマンド管理装置(作業実施端末装置200又はアプリケーションサーバ装置1400)のハードウェア構成例を図12を参照して説明する。
 コマンド管理装置はコンピュータである。
 コマンド管理装置は、プロセッサ901、補助記憶装置902、メモリ903、通信装置904、入力インタフェース905、ディスプレイインタフェース906といったハードウェアを備える。
 プロセッサ901は、信号線910を介して他のハードウェアと接続され、これら他のハードウェアを制御する。
 入力インタフェース905は、入力装置907に接続されている。
 ディスプレイインタフェース906は、ディスプレイ908に接続されている。
 プロセッサ901は、プロセッシングを行うIC(Integrated Circuit)である。
 プロセッサ901は、例えば、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、GPU(Graphics Processing Unit)である。
 補助記憶装置902は、例えば、ROM(Read Only Memory)、フラッシュメモリ、HDD(Hard Disk Drive)である。
 メモリ903は、例えば、RAM(Random Access Memory)である。
 通信装置904は、データを受信するレシーバー9041及びデータを送信するトランスミッター9042を含む。
 通信装置904は、例えば、通信チップ又はNIC(Network Interface Card)である。
 入力インタフェース905は、入力装置907のケーブル911が接続されるポートである。
 入力インタフェース905は、例えば、USB(Universal Serial Bus)端子である。
 ディスプレイインタフェース906は、ディスプレイ908のケーブル912が接続されるポートである。
 ディスプレイインタフェース906は、例えば、USB端子又はHDMI(登録商標)(High Definition Multimedia Interface)端子である。
 入力装置907は、例えば、マウス、キーボード又はタッチパネルである。
 ディスプレイ908は、例えば、LCD(Liquid Crystal Display)である。
 補助記憶装置902には、図1に示すコマンド読取部400、実行方式判定部500及びコマンド実行部600(以下、コマンド読取部400、実行方式判定部500及びコマンド実行部600をまとめて「部」と表記する)の機能を実現するプログラムが記憶されている。
 このプログラムは、メモリ903にロードされ、プロセッサ901に読み込まれ、プロセッサ901によって実行される。
 更に、補助記憶装置902には、OS(Operating System)も記憶されている。
 そして、OSの少なくとも一部がメモリ903にロードされ、プロセッサ901はOSを実行しながら、「部」の機能を実現するプログラムを実行する。
 図12では、1つのプロセッサ901が図示されているが、コマンド管理装置が複数のプロセッサ901を備えていてもよい。
 そして、複数のプロセッサ901が「部」の機能を実現するプログラムを連携して実行してもよい。
 また、「部」の処理の結果を示す情報やデータや信号値や変数値が、メモリ903、補助記憶装置902、又は、プロセッサ901内のレジスタ又はキャッシュメモリに記憶される。
 「部」を「サーキットリー」で提供してもよい。
 また、「部」を「回路」又は「工程」又は「手順」又は「処理」に読み替えてもよい。
 「回路」及び「サーキットリー」は、プロセッサ901だけでなく、ロジックIC又はGA(Gate Array)又はASIC(Application Specific Integrated Circuit)又はFPGA(Field-Programmable Gate Array)といった他の種類の処理回路をも包含する概念である。
 100 作業者使用端末装置、200 作業実施端末装置、300 コマンド自動実行部、400 コマンド読取部、500 実行方式判定部、600 コマンド実行部、700 ファイルサーバ装置、800 第2の文書ファイル、850 第1の文書ファイル、1000 実行方式キーDB、1100 実行方式テーブル、1200 実行対象サーバ装置、1300 DBサーバ装置、1400 アプリケーションサーバ装置。

Claims (7)

  1.  複数のコマンドが含まれる第1の文書ファイル内の各コマンドにコマンドの実行方式の識別子である実行方式キーとデリミタとが追加されて生成された第2の文書ファイルからデリミタを抽出して、コマンドと実行方式キーとの組合せをコマンドセットとして前記第2の文書ファイルから読取るコマンド読取部と、
     前記コマンド読取部により読取られたコマンドセットごとに、コマンドセットに含まれる実行方式キーに基づき、コマンドセットに含まれるコマンドの実行方式を判定する実行方式判定部と、
     前記コマンド読取部により読取られたコマンドセットごとに、前記実行方式判定部により判定された実行方式にて、コマンドセットに含まれるコマンドを実行するコマンド実行部とを有するコマンド管理装置。
  2.  前記コマンド読取部は、
     前記第2の文書ファイルからコマンドセットを読取る度に、前記実行方式判定部を呼び出し、
     前記実行方式判定部は、
     前記コマンド読取部により呼び出される度に、前記コマンド読取部により読取られたコマンドセットに含まれる実行方式キーに基づき、読取られたコマンドセットに含まれるコマンドの実行方式を判定し、前記コマンド実行部を呼び出し、
     前記コマンド実行部は、
     前記実行方式判定部により呼び出される度に、前記実行方式判定部により判定された実行方式にて、前記コマンド読取部により読取られたコマンドセットに含まれるコマンドを実行する請求項1に記載のコマンド管理装置。
  3.  前記コマンド読取部は、
     デリミタにコマンドの実行順序の値が記述されている第2の文書ファイルからコマンドセットを読取る度に、前記実行方式判定部を呼び出し、
     前記実行方式判定部は、
     前記コマンド読取部により呼び出される度に、前記コマンド読取部により読取られたコマンドセットに含まれる実行方式キーに基づき、読取られたコマンドセットに含まれるコマンドの実行方式を判定し、前記コマンド実行部を呼び出し、
     前記コマンド実行部は、
     前記実行方式判定部により呼び出される度に、前記コマンド読取部により読取られたコマンドセットのデリミタに記述されている実行順序の値と、前記コマンド読取部により読取られたコマンドセットに含まれるコマンドと、前記実行方式判定部により判定された実行方式との組を実行リストに登録し、前記第2の文書ファイルに含まれる全てのコマンドセットについて実行順序の値とコマンドと実行方式との組が前記実行リストに登録された後に、前記実行リストに登録されている実行順序の値に従って、前記実行リストに登録されているコマンドを前記実行リストに登録されている実行方式にて実行する請求項1に記載のコマンド管理装置。
  4.  前記コマンド読取部は、
     タグである実行方式キーがコマンドを挟み込み、タグであるデリミタがコマンドと実行方式キーとを挟み込むことで生成された第2の文書ファイルからデリミタを抽出して、コマンドセットを前記第2の文書ファイルから読取る請求項1に記載のコマンド管理装置。
  5.  前記コマンド管理装置がアプリケーションサーバ装置である請求項1に記載のコマンド管理装置。
  6.  コンピュータが、複数のコマンドが含まれる第1の文書ファイル内の各コマンドにコマンドの実行方式の識別子である実行方式キーとデリミタとが追加されて生成された第2の文書ファイルからデリミタを抽出して、コマンドと実行方式キーとの組合せをコマンドセットとして前記第2の文書ファイルから読取り、
     前記コンピュータが、読取られたコマンドセットごとに、コマンドセットに含まれる実行方式キーに基づき、コマンドセットに含まれるコマンドの実行方式を判定し、
     前記コンピュータが、読取られたコマンドセットごとに、判定された実行方式にて、コマンドセットに含まれるコマンドを実行するコマンド管理方法。
  7.  複数のコマンドが含まれる第1の文書ファイル内の各コマンドにコマンドの実行方式の識別子である実行方式キーとデリミタとが追加されて生成された第2の文書ファイルからデリミタを抽出して、コマンドと実行方式キーとの組合せをコマンドセットとして前記第2の文書ファイルから読取るコマンド読取処理と、
     前記コマンド読取処理により読取られたコマンドセットごとに、コマンドセットに含まれる実行方式キーに基づき、コマンドセットに含まれるコマンドの実行方式を判定する実行方式判定処理と、
     前記コマンド読取処理により読取られたコマンドセットごとに、前記実行方式判定処理により判定された実行方式にて、コマンドセットに含まれるコマンドを実行するコマンド実行処理とをコンピュータに実行させるコマンド管理プログラム。
PCT/JP2015/057153 2015-03-11 2015-03-11 コマンド管理装置及びコマンド管理方法及びコマンド管理プログラム WO2016143092A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017504501A JP6214818B2 (ja) 2015-03-11 2015-03-11 コマンド管理装置及びコマンド管理方法及びコマンド管理プログラム
PCT/JP2015/057153 WO2016143092A1 (ja) 2015-03-11 2015-03-11 コマンド管理装置及びコマンド管理方法及びコマンド管理プログラム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/057153 WO2016143092A1 (ja) 2015-03-11 2015-03-11 コマンド管理装置及びコマンド管理方法及びコマンド管理プログラム

Publications (1)

Publication Number Publication Date
WO2016143092A1 true WO2016143092A1 (ja) 2016-09-15

Family

ID=56878676

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/057153 WO2016143092A1 (ja) 2015-03-11 2015-03-11 コマンド管理装置及びコマンド管理方法及びコマンド管理プログラム

Country Status (2)

Country Link
JP (1) JP6214818B2 (ja)
WO (1) WO2016143092A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08286872A (ja) * 1995-04-14 1996-11-01 Nec Corp 教育ヘルプ装置
JP2003115879A (ja) * 2001-10-02 2003-04-18 Gakken Co Ltd サーバ及びその制御方法並びにそれを用いた制御システム

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03266162A (ja) * 1990-03-16 1991-11-27 Fujitsu Ltd コマンド実行方式
JP3391808B2 (ja) * 1992-01-14 2003-03-31 キヤノン株式会社 自然言語入力方法及び装置
JPH07168642A (ja) * 1993-12-15 1995-07-04 Hitachi Ltd 電子計算機の自動運転方式

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08286872A (ja) * 1995-04-14 1996-11-01 Nec Corp 教育ヘルプ装置
JP2003115879A (ja) * 2001-10-02 2003-04-18 Gakken Co Ltd サーバ及びその制御方法並びにそれを用いた制御システム

Also Published As

Publication number Publication date
JPWO2016143092A1 (ja) 2017-06-08
JP6214818B2 (ja) 2017-10-18

Similar Documents

Publication Publication Date Title
US11544452B2 (en) Generating templates for automated user interface components and validation rules based on context
US20120173989A1 (en) Automatically Selecting Internet Browser and Providing Web Page Service
US8875103B2 (en) Method of testing multiple language versions of a software system using one test script
US9652220B2 (en) Zero down-time deployment of new application versions
WO2016177341A1 (zh) 接口调用方法、装置及终端
US10169005B2 (en) Consolidating and reusing portal information
US11468229B2 (en) Describing changes in a workflow based on changes in structured documents containing workflow metadata
US11741002B2 (en) Test automation systems and methods using logical identifiers
US10956309B2 (en) Source code management systems and methods
CN110941779B (zh) 加载页面的方法、装置、存储介质及电子设备
CA3157678A1 (en) Method and apparatus for automatically testing visual report tool based on vuex
US20170161181A1 (en) Testing support system, and testing support method
US11443011B2 (en) Page objects library
JP6214818B2 (ja) コマンド管理装置及びコマンド管理方法及びコマンド管理プログラム
JP5414633B2 (ja) アプリケーション実行装置及びアプリケーション実行方法
Amarasinghe Service worker development cookbook
US9250982B2 (en) Automatically deriving a command for starting a program in an operating system of a computer
CN113326079A (zh) 服务版本切换方法、切换装置、电子设备和存储介质
JP2018120256A (ja) 設定操作入力支援装置、設定操作入力支援システム
US11023216B2 (en) Storage medium, information processing apparatus, and control method
JP6840656B2 (ja) テストスクリプト修正装置及びプログラム
EP1868099B1 (en) Bug management tool
JP2015148925A (ja) プログラム生成装置および方法
JP2017091027A (ja) システム開発支援システム
CN113778434A (zh) 多语言文案管理方法、装置、电子设备以及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15884583

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017504501

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15884583

Country of ref document: EP

Kind code of ref document: A1