KR20130033201A - Method for controlling and testing target system using script file - Google Patents
Method for controlling and testing target system using script file Download PDFInfo
- Publication number
- KR20130033201A KR20130033201A KR1020110097137A KR20110097137A KR20130033201A KR 20130033201 A KR20130033201 A KR 20130033201A KR 1020110097137 A KR1020110097137 A KR 1020110097137A KR 20110097137 A KR20110097137 A KR 20110097137A KR 20130033201 A KR20130033201 A KR 20130033201A
- Authority
- KR
- South Korea
- Prior art keywords
- script file
- execution
- target system
- command
- command script
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/28—Error detection; Error correction; Monitoring by checking the correct order of processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3696—Methods or tools to render software testable
Abstract
Description
The present invention relates to software performance control and testing technology, and more particularly, to an apparatus and method for performance control / testing of software developed by a development server in a target system.
In the related art, in order to perform the performance control and test by loading the software developed in the development server on the target, the software developer directly accesses the target system, executes a command directly, and checks the function through the output message.
Moreover, in order to perform performance control and test between distributed target systems, it is very complicated to access individual target systems repeatedly, execute individual commands repeatedly, and check output messages individually. It is difficult to determine the presence or absence.
In addition, since it is performed as a separate execution procedure for each target system unit, a lot of time and effort are required for work such as functional test or configuration setting that are mutually interoperable.
Therefore, in order to save such time and effort, there is a method of executing individual command units as one script file in the target system and executing them at once. However, even in such a case, although there is an advantage that the operation time can be shortened by sequentially executing simple commands at a time, there is a problem that a method of integrally executing the distributed system is not provided.
The present invention executes a command script file in a target system by interworking with a target system using a script file composed of a command and a performance control syntax in a development server located remotely for a system composed of a control system having a distributed structure, and then a target system. Provides a remote execution control and test method using a script file that receives and outputs the results performed in.
The present invention is a remote execution control and test method using a command script file, the step of editing the script file consisting of the command, using the edited command script file to interoperate with the target system and deliver the command script file, The method includes receiving a command script file from a system, executing the target script on the target system according to the contents of the script file, and delivering the execution result to the development server, and receiving and outputting the result of the command script executed on the target.
The present invention is a distributed system structure consisting of a line card and a switch device for accommodating one or more control processors and subscribers, such as a switch and a router system, directly linked to the target system in the development server that the user performs development tasks, instructions Performance control and testing can be performed in real time using script files and multi-action script files.
In addition, since the command script file is composed of various combinations of individual commands required, the command script file can be flexibly configured in the function block unit required by the user, so that the system configuration and test function can be effectively performed.
In addition, the target system is provided by providing a method for the user to variously configure the multi-execution script files configured by combining the command script file, the waiting time required for the execution control, and the wait until the result message is received. It is possible to control and test a wide range of performance with many automated procedures.
In addition, efficient combinations of command script files and multi-execution script files that perform various functions can greatly improve the efficiency of system operation and maintenance, thus providing an effective method for reducing system operating costs.
1 is a diagram illustrating a distributed structure control system according to an exemplary embodiment of the present invention.
2 is a diagram illustrating an interworking structure between a development server and a target system for performing a target system test using a command script file according to an embodiment of the present invention.
3 illustrates a window configuration for providing command script file information according to an exemplary embodiment of the present invention.
4 illustrates a window configuration for editing or modifying a new command script file according to a menu selection.
5 illustrates a process flow for loading or executing a command script file into a target system according to menu selection.
6 illustrates a window configuration for providing multi-execution script file information according to an exemplary embodiment of the present invention.
7 illustrates a window configuration showing an embodiment for editing a multi-execution script file.
8 illustrates an operation flow between a development server and a target system as an operation type of a multi-execution script file.
9 is a flowchart illustrating a target system execution control method using a script file according to an exemplary embodiment of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the like elements throughout.
In the following description of the present invention, when it is determined that detailed descriptions of related known functions or configurations may unnecessarily obscure the gist of the embodiments of the present invention, the detailed description thereof will be omitted.
Terms used throughout the specification are terms defined in consideration of functions in the embodiments of the present invention, and may be sufficiently modified according to the intention, custom, etc. of the user or operator, and the definitions of these terms are used throughout the specification of the present invention. It should be made based on the contents.
In order to clarify the contents described in the present invention, the terms used are divided and defined as follows.
Command script file : A file unit composed of a combination of commands executed in the target system. The command script file is executed in the order of the commands described in the command script file in the target system.
Configuration Example) File Name: Test-setup
ip address 157.89.1.3 255.255.0.0 / * Target system command * /
int eth 0 / * target system command * /
ip address 2008.1.1.4 255.255.255.0 / * Target system command * /
Multiple (Multiple) performing the script file: receiving a command script file from the <sleep x> phrase, a target system to refer to the waiting time for the command script file and the control response that execution completion {waiting for the request to run the following command script file for answer} A unit of file consisting of a combination of statements.
Configuration Example) File Name: Setup-and-test
[129.254.193.123,129.254.193.140] / * Single or multiple target system addresses * /
Test-setup / * Command Script File * /
<
Test-loopback, Test-routing-info / * Single or Multiple Command Script Files * /
{waiting for answer} / * Syntax waiting for completion response * /
Test-send-icmp / * Command Script File * /
1 is a diagram illustrating a distributed structure control system according to an exemplary embodiment of the present invention.
Referring to FIG. 1, each
The
The present invention provides a script for setting and testing instructions that configure system configuration information in a stage where a software binary execution module developed in the
2 is a diagram illustrating an interworking structure between a development server and a target system for performing a target system test using a command script file according to an embodiment of the present invention.
Referring to FIG. 2, the script
The script file
The target script
The script file execution
3 illustrates a window configuration for providing command script file information according to an exemplary embodiment of the present invention.
Referring to FIG. 3, a screen of a script
The server directory (Dir) 205, which is a storage directory location in the development server, basically provides information that is set, and when a different directory location is designated, the server directory may be changed using the open 230 menu.
When loading on the target system, the
In this case, when the existing script file is modified, the corresponding script file is selected from the list of the currently registered command script files 215, and then the Edit (240) menu is selected. The current script contents are provided in the edit window of FIG. do. When the current script file is deleted, the corresponding script file is selected from the
To mount the created script file on the target system, select the script file from the list of the currently registered
In addition, in order to execute the created script file on the target system by automatic procedure, select the script file in the same manner as the Load function execution procedure, select the
4 illustrates a window configuration for editing or modifying a new command script file according to the New 230 or Edit 240 menu selection.
When a script file is newly created, the Edit
5 is a flowchart illustrating a process of loading or executing a command script file into a target system according to the Load 260 and Run 270 menu selections.
In the Load (400) function of loading a script file on a target system, the process of copying a specified
In this case, the target system is automatically executed through the function of periodically monitoring for automatic execution of the script file (470), the execution result information and the execution completion information of the script file are delivered to the development server and provided to the user through the output window ( 480).
6 illustrates a window configuration for providing multi-execution script file information according to an exemplary embodiment of the present invention.
The Multiple Target & Script window (500) that provides the multi-execution script file information includes a target address area (510) for providing address information for the registered target system and a test scripts (560) area for providing a list of registered command script files. In addition, it is divided into a Multiple Run Script List 610 area for controlling a multiple execution script file.
The
The Test Scripts (560) area, which provides a list of the command script files registered to date, provides
To create a new multi-execution script file, select New (650) menu, or to modify the already-created multi-execution script file, select the file name 630 and then select the Edit (660) menu. An edit script file window is provided.
In order to delete the multi-execution script file, select the file name 630 and then select the Delete (670) menu, and select the List (680) menu to view the newly registered multi-execution script file list. When the execution is completed, select the Close (690) menu to end the execution.
FIG. 7 is a diagram illustrating a window configuration showing an embodiment for editing a multi-execution script file.
FIG. 7 is a multi-task script file edit window for selecting a New (640) menu of FIG. 6 to generate a multi-script file for a new multi-target, or selecting an Edit (650) menu to modify an existing multi-task script file. 700 shows a configuration, when newly created, designates a
When waiting for a certain time while executing the command script file, set the sleep time value of sleep corresponding to the standby state and select the Add (730) menu to insert the <sleep x> statement in the multi-execution script file. . In addition, if it is necessary to wait until the reception of execution result information is completed after executing a command script, selecting the Add (740) menu for adding a response waiting function, the {waiting for answer} syntax is displayed in the multi-execution script file. Is added.
If you want to save the edited multi-execution script file, select the Save (750) menu. If you run the target system in conjunction with the target system, select the Run (760) menu. In the Run function, select the contents of the multi-execution script file. Command script file is executed by interworking with target system. If there is <sleep x> or {waiting for answer} statement in the process, the command script file is waited for a certain time and waiting until the result is received. If the execution is completed, select the Close (770) menu to end.
In this case, the <sleep x> and {waiting for answer} syntax included in the multi-execution script file are used to distinguish the purpose of the function. Does not become. In addition, the multi-execution script file edit window 700 restricts editing to only the Add (540, 590, 730, 740) menu in order to prevent editing with non-existent target system or unregistered command script file information.
8 illustrates an operation flow between a development server and a target system using a multi-execution script file.
The simultaneous execution of
In this case, because the command script file is executed simultaneously on two target systems, a result message window may be mixed and displayed.
The multi-target execution wait 900 requests the execution of one command script file for two target systems, such as the contents of the multi-script file 910 (920), and then waits for the time specified by <
The multi-target
Although embodiments of the present invention have been described with respect to the three
9 is a flowchart illustrating a method of executing a command script file in a target system.
Referring to FIG. 9, the target system transitions to the standby state for the next performance in
If it is determined in
In
On the other hand, if the command script file does not exist as a result of the determination in
Claims (1)
Editing a script file consisting of commands,
Interworking with the target system using the edited command script file and delivering the command script file,
Receiving the command script file from the target system and executing the script file on the target system according to the contents of the script file, and delivering the result to the development server;
Remote execution control and test method using a command script file comprising the step of receiving and outputting the result of the command script executed in the target.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110097137A KR20130033201A (en) | 2011-09-26 | 2011-09-26 | Method for controlling and testing target system using script file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110097137A KR20130033201A (en) | 2011-09-26 | 2011-09-26 | Method for controlling and testing target system using script file |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20130033201A true KR20130033201A (en) | 2013-04-03 |
Family
ID=48435758
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020110097137A KR20130033201A (en) | 2011-09-26 | 2011-09-26 | Method for controlling and testing target system using script file |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20130033201A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9800666B2 (en) | 2015-08-28 | 2017-10-24 | Xiaomi Inc. | Method and client terminal for remote assistance |
CN112000372A (en) * | 2020-08-24 | 2020-11-27 | 福建天晴在线互动科技有限公司 | Method and system for executing command in Linux system |
-
2011
- 2011-09-26 KR KR1020110097137A patent/KR20130033201A/en not_active Application Discontinuation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9800666B2 (en) | 2015-08-28 | 2017-10-24 | Xiaomi Inc. | Method and client terminal for remote assistance |
CN112000372A (en) * | 2020-08-24 | 2020-11-27 | 福建天晴在线互动科技有限公司 | Method and system for executing command in Linux system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH10177473A (en) | Computer program installation method and system therefor | |
CN108399331B (en) | Application process trial method and system | |
CN112333096A (en) | Micro-service traffic scheduling method and related components | |
CN111198695A (en) | Automatic deployment method of micro-service administration management platform and electronic equipment | |
CN105426165A (en) | Script tool processing method and apparatus | |
CN111695827B (en) | Business process management method and device, electronic equipment and storage medium | |
CN103064703A (en) | Staged rapid application stream transmission using on-demand | |
CN104239114A (en) | Application compiling method and device | |
CN115292022B (en) | Workflow engine system, implementation method, storage medium and computer equipment | |
CN114115838A (en) | Data interaction method and system based on distributed components and cloud platform | |
KR20130033201A (en) | Method for controlling and testing target system using script file | |
CN112651705B (en) | Mail processing method, device, equipment and medium | |
CN108881460B (en) | Method and device for realizing unified monitoring of cloud platform | |
US20160330151A1 (en) | Method and system for managing an informational site using a social networking application | |
CN114666161B (en) | Component security policy management method, device, equipment and storage medium | |
CN115712468A (en) | Time information processing method and device, computing equipment and storage medium | |
CN114356387A (en) | Process automation method, equipment and system for realizing process automation | |
US20140237613A1 (en) | Distribution apparatus, device, control method for distribution apparatus, and storage medium | |
CN109558182A (en) | Information popularization method, electronic equipment and computer storage medium based on plug-in unit | |
JP6705979B2 (en) | Device setting device, device setting method, and program | |
CN106325923A (en) | Method and device for managing function plugins | |
CN115576573B (en) | Delivery method and system based on credit-wound environment | |
CN111694671B (en) | Big data component management method, device, server, electronic equipment and system | |
CN113176913B (en) | Processing method and device of JAVA agent, terminal equipment and storage medium | |
CN111465077B (en) | Equipment control method and device, storage medium and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |