KR102567773B1 - Log information extraction device and method in combat system system - Google Patents

Log information extraction device and method in combat system system Download PDF

Info

Publication number
KR102567773B1
KR102567773B1 KR1020230047422A KR20230047422A KR102567773B1 KR 102567773 B1 KR102567773 B1 KR 102567773B1 KR 1020230047422 A KR1020230047422 A KR 1020230047422A KR 20230047422 A KR20230047422 A KR 20230047422A KR 102567773 B1 KR102567773 B1 KR 102567773B1
Authority
KR
South Korea
Prior art keywords
information
node
log
log information
delete delete
Prior art date
Application number
KR1020230047422A
Other languages
Korean (ko)
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 KR1020230047422A priority Critical patent/KR102567773B1/en
Application granted granted Critical
Publication of KR102567773B1 publication Critical patent/KR102567773B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3442Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for planning or managing the needed capacity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/301Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is a virtual computing platform, e.g. logically partitioned systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/321Display for diagnostics, e.g. diagnostic result display, self-test user interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/113Details of archiving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/131Fragmentation of text files, e.g. creating reusable text-blocks; Linking to fragments, e.g. using XInclude; Namespaces
    • 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45537Provision of facilities of other operating environments, e.g. WINE
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45591Monitoring or debugging support

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a device and a method for extracting log information in a combat system that automatically records/collects and stores log information of Linux applications running within the combat system and displays the recorded/collected results so that an operator can check the same. The device of the present invention comprises: a first database storing node details for at least one node; and a control unit reading and outputting node details stored in the first database when a log information extraction program is running according to a request of the operator and using the node details to be connected to a selected node when the operator selects one node among the output node details to read the log information from the corresponding node and then output the corresponding log information.

Description

전투체계 시스템에서의 로그 정보 추출장치 및 그 방법{Log information extraction device and method in combat system system}Log information extraction device and method in combat system system}

본 발명은 전투체계 시스템에서의 로그 정보 추출장치 및 그 방법에 관한 것으로서, 특히 전투체계 내 실행되는 리눅스 응용프로그램의 로그 정보를 자동으로 기록/취합하여 저장하고, 기록/취합 결과를 운용자가 확인할 수 있도록 디스플레이하는 전투체계 시스템에서의 로그 정보 추출장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus and method for extracting log information from a combat system system, and in particular, log information of a Linux application program executed in a combat system is automatically recorded/collected and stored, and the recording/collected result can be checked by an operator. It relates to a log information extraction device and method for displaying log information in a combat system system.

일반적으로, 운영체제(operating system)는 시스템 하드웨어를 관리하고 응용 소프트웨어를 실행하기 위하여, 하드웨어 추상화 플랫폼과 공통 시스템 서비스를 제공하는 시스템 소프트웨어이다.In general, an operating system is system software that provides a hardware abstraction platform and common system services to manage system hardware and execute application software.

운영체제는 응용 소프트웨어를 실행하여 프로세스를 생성할 수 있고, 이를 종료할 수 있다. 그리고 운영체제는 실행 중인 프로세스를 중단할 수 있고, 이를 재개할 수 있다. 또한 운영체제는 메모리를 관리할 수 있고, 입출력 장치를 제어할 수 있다.The operating system may create a process by executing application software and may terminate it. And the operating system can suspend the running process and resume it. In addition, the operating system can manage memory and control input/output devices.

운영체제는 컴퓨터 시스템의 종류에 따라 여러 종류로 구분할 수 있다. 예를 들어 운영체제는, 데스크탑 운영체제, 모바일 운영체제, 서버 운영체제, 임베디드 운영체제 등으로 구분할 수 있다. 각각의 운영체제는 자체적으로 파일 시스템을 구현하여 파일을 관리할 수 있다.Operating systems can be classified into several types depending on the type of computer system. For example, the operating system may be classified into a desktop operating system, a mobile operating system, a server operating system, and an embedded operating system. Each operating system can manage files by implementing its own file system.

운영체제 별로 프로세스와 메모리, 입출력 장치를 관리하거나 제어하는 방법이 서로 다르기 때문에, 운영체제별로 서로 다르게 빌드(build)한 응용 소프트웨어를 배포할 수 있다. 따라서 한 운영체제에서 실행할 수 있게 빌드 및 배포한 응용 소프트웨어를 다른 운영체제에서 실행할 수는 없다.Since each operating system has a different method of managing or controlling processes, memory, and input/output devices, it is possible to distribute application software built differently for each operating system. Therefore, application software built and distributed to run on one operating system cannot be run on another operating system.

이를 해결하기 위해, 한 운영체제에서 가상머신(virtual machine) 소프트웨어를 실행한 후, 가상머신 상에서 다른 운영체제를 설치 및 실행한 다음, 다른 운영체제용으로 빌드 및 배포한 응용 소프트웨어를 설치함으로써, 다른 운영체제용으로 빌드 및 배포한 응용 소프트웨어를 실행할 수 있다.To solve this problem, after running virtual machine software in one operating system, installing and running another operating system on the virtual machine, and then installing application software built and distributed for the other operating system, You can run built and distributed application software.

윈도우즈 운영체제는 가상화 기술을 사용하여 리눅스 운영체제를 실행할 수 있게 해주는 WSL2(Windows Subsystem for Linux 2)를 제공한다. 이에 따라 리눅스 운영체제용으로 빌드 및 배포한 응용 소프트웨어를 윈도우즈 운영체제 상에서 실행할 수 있게 되었다.The Windows operating system provides WSL2 (Windows Subsystem for Linux 2), which enables running the Linux operating system using virtualization technology. Accordingly, application software built and distributed for the Linux operating system can be executed on the Windows operating system.

한편, 임베디드 시스템(Embedded system)은 특정한 응용 프로그램을 수행하거나 범용으로 사용되는 환경이 아닌 특정환경에 특화된 컴퓨터 시스템을 의미한다. 휴대폰, 가정용 게임기, 디지털 TV등이 대표적인 내장형 시스템이며, 점점 내장형 시스템 장치의 요구 기능이 복잡해짐에 따라서 전통적으로 운영체제 없이 작동되던 내 장형 시스템에서 현대적인 운영체제를 탑재한 내장형 시스템으로 발전하고 있다. On the other hand, an embedded system refers to a computer system specialized for a specific environment, not an environment that executes a specific application program or is used for general purposes. Mobile phones, home game consoles, and digital TVs are representative embedded systems, and as the required functions of embedded system devices become increasingly complex, embedded systems that traditionally operate without operating systems are evolving into embedded systems equipped with modern operating systems.

내장형 시스템은 개인용 컴퓨터와 달리 사용 용도에 따라서 다양한 프로세서와 메모리, 주변기기로 구성되어 있다. 그리고 특정 용도에 기능을 제한하여 시스템을 구성하기에 대부분 저장용량이 작고, 처리 속력이 빠르지 않은 중앙처리 장치를 사용한다. Unlike personal computers, embedded systems are composed of various processors, memories, and peripherals depending on the purpose of use. In addition, to configure the system by limiting functions to specific uses, most of them use a central processing unit with a small storage capacity and a low processing speed.

이와 같이, 다양한 구성을 가질 수 있는 내장형 시스템에 사용되는 운영체계(OS: Operating System)로서 리눅스(Linux)를 선택하는 시도가 많이 이루어지고 있다. As such, many attempts have been made to select Linux as an operating system (OS) used in an embedded system that can have various configurations.

리눅스는 대형 기종에서나 작동하던 운영체계인 유닉스를 소형 PC에서도 작동할 수 있도록 만든 컴퓨터 기본 운영체계이다. 리눅스는 프로그램 소스코드가 공개돼 있어 프로그래머가 원하는 대로 특정기능을 추가할 수 있고, 더욱이 어느 플랫폼에도 포팅이 가능하다는 장점이 있다. 특히, 리눅스는 프로그램 소스코드가 무료로 공개돼 있어 제품의 단가를 낮출 수 있는 장점이 있다. Linux is a computer basic operating system that made Unix, an operating system that only operated on large models, to operate on small PCs. Linux has the advantage that program source codes are open, so programmers can add specific functions as desired, and porting to any platform is possible. In particular, Linux has the advantage of being able to lower the unit cost of the product because the program source code is open to the public for free.

한편, 내장형 시스템의 제한적인 환경으로 인해 시스템에 설치될 응용 프로그램과 커널(Kernel)의 기능 중 필요한 것만 선택하여 설치할 수 있는 개발환경이 필요하다. 커널은 컴퓨터 운영체계의 가장 중요한 핵 심으로서, 운영체계의 다른 모든 부분에 여러 가지 기본적인 서비스를 제공한다. On the other hand, due to the limited environment of the embedded system, a development environment capable of selecting and installing only necessary applications and kernel functions to be installed in the system is required. The kernel is the most important core of a computer operating system and provides several basic services to all other parts of the operating system.

일반적으로, 커널에는 종료된 입출력 연산 등의 커널의 서비스를 경쟁적으로 요구하는 모든 요청들을 처리하는 인터럽트 처리기와 어떤 프로그램들이 어떤 순서로 커널의 처리시간을 공유할 것인지를 결정하는 스케줄러 및 스케줄이 끝나 면 실제로 각 프로세스들에게 컴퓨터의 사용권을 부여하는 슈퍼바이저 등이 포함되어 있다. In general, the kernel includes an interrupt handler that handles all requests that competitively request kernel services, such as completed input/output operations, and a scheduler that determines which programs, in what order, share the kernel's processing time, and when the schedule is finished. In fact, it includes a supervisor that grants the right to use the computer to each process.

커널은 또한, 메모리나 저장장치 내에서 운영체계의 주소공간을 관리하고, 이들을 모든 주변장치들과 커널의 서비스들을 사용하는 다른 사용자들에게 고루 나누어 주는 메모리 관리자를 가지고 있다. The kernel also has a memory manager that manages the operating system's address space in memory or storage and distributes them evenly among all peripherals and other users who use the kernel's services.

커널의 서비스는 운영체계의 다른 부분이나 시스템 호출이라고 알려진 일련의 프로그램 인터페이스들을 통해 요청된다. 커널을 유지하기 위한 코드는 지속적으로 사용되기 때문에, 보통 커널은 자주 사용되지 않는 운영체계의 나머지 부분에 의해 덮어씌워져 훼손되지 않도록, 보호된 메모리 영역에 적재된다.Services from the kernel are requested from other parts of the operating system or through a series of programmatic interfaces known as system calls. Since the code to maintain the kernel is used continuously, the kernel is usually loaded into a protected memory area so that it cannot be overwritten and corrupted by the rest of the operating system that is not used very often.

이와 같은 리눅스 응용 프로그램의 경우, 다양한 전투체계에 적용되고 있으며, 기존 전투체계에서의 리눅스 응용 프로그램의 로그를 확인하기 위해서는 ssh(Secure Shell)를 통해 개별 접속한 후, “”명령어를 통해 특정 로그 파일에 대하여 확인하였다. 여기서, ssh는 원격지 호스트 컴퓨터에 접속하기 위해 사용되는 인터넷 프로토콜이다. In the case of such a Linux application program, it is applied to various combat systems, and in order to check the log of a Linux application program in an existing combat system, after individual access through ssh (Secure Shell), a specific log file is opened through the “” command. confirmed about. Here, ssh is an Internet protocol used to connect to a remote host computer.

특히, 다수의 노드에 접근하기 위해서는 해당 노드 개수만큼 반복작업을 실시하여야 한다. 즉, 해당 노드의 로그에 접근하기 위해서는 ssh를 통한 접속 후 로그 파일을 읽어야 한다.In particular, in order to access multiple nodes, it is necessary to perform repetitive tasks as many as the number of corresponding nodes. That is, in order to access the log of the corresponding node, the log file must be read after connecting through ssh.

그리고, ssh를 통한 접속을 위해서는 명령 프롬프트나 TeraTerm 같은 ssh 프로그램을 통해 ID/PW 입력 후 명령어를 통해 로그를 읽는 절차를 수행한다. And, for access through ssh, enter ID/PW through command prompt or ssh program such as TeraTerm, and then read the log through command.

그리고, 해당 로그 저장 필요 시 필요한 부분을 식별하여 복사 후 별도 텍스트 파일에 저장해야 하는 번거로움이 존재하고, 다수의 노드 확인이 필요한 경우 N번 만큼 상기한 절차를 수행해야 하기 때문에 그 절차가 복잡하고 시간이 많이 소요되는 문제점이 있다. In addition, there is the hassle of identifying and copying the necessary parts when necessary to save the log and storing them in a separate text file, and when it is necessary to check multiple nodes, the procedure is complicated because the above procedure must be performed N times. There is a problem that takes a lot of time.

따라서, 본 발명은 상기한 종래 기술에 따른 문제점을 해결하기 위한 것으로, 본 발명의 목적은, 전투체계 내 실행되는 리눅스 응용프로그램의 로그를 자동으로 기록/취합하여 저장하고, 기록/취합 결과를 운용자가 확인할 수 있도록 디스플레이하는 전투체계 시스템에서의 로그 정보 추출장치 및 그 방법을 제공함에 있다. Therefore, the present invention is to solve the above problems according to the prior art, the purpose of the present invention is to automatically record / collect and store logs of Linux application programs executed in the combat system, and record / collect results to the operator It is to provide a log information extraction device and method in a combat system system that is displayed so that it can be confirmed.

즉, 본 발명의 목적은, 기존의 수동 접속 후 명령어를 일일이 입력하는 반복 작업에서 노드 체크를 통해 필요한 노드만 바로 확인할 수 있는 뷰어를 개발하여, 개발자들이 문제 발생 시 손쉽게 로그를 확인하여 디버깅할 수 있는 환경을 제공하고자 하는 전투체계 시스템에서의 로그 정보 추출장치 및 그 방법을 제공함에 있다. That is, an object of the present invention is to develop a viewer that can immediately check only necessary nodes through node check in the existing repetitive task of manually entering commands after manual connection, so that developers can easily check logs and debug when problems occur. An object of the present invention is to provide a log information extraction device and method in a combat system system intended to provide a suitable environment.

다만, 본 발명이 해결하고자 하는 과제는 상기된 바와 같은 과제로 한정되지 않으며, 또다른 과제들이 존재할 수 있다.However, the problem to be solved by the present invention is not limited to the above problem, and other problems may exist.

상기한 목적을 달성하기 위한 본 발명의 일 실시예에 따른 전투체계 시스템에서의 로그 정보 추출장치는, 적어도 하나 이상의 노드에 대한 노드 상세 정보를 저장하는 제1 데이터베이스; 및 운용자의 요청에 따라 로그 정보 추출 프로그램이 실행되면, 상기 제1 데이터베이스에 저장된 노드 상세 정보를 리드하여 출력하고, 출력된 노드 상세 정보 중 운용자가 일 노드를 선택한 경우, 선택된 노드에 상기 노드 상세 정보를 이용하여 접속하여 해당 노드로부터 로그 정보를 리드한 후, 해당 로그 정보를 출력하는 제어부를 포함할 수 있다. An apparatus for extracting log information in a combat system system according to an embodiment of the present invention for achieving the above object includes: a first database for storing detailed node information on at least one node; and when the log information extraction program is executed according to the operator's request, the node detailed information stored in the first database is read and output, and when the operator selects a node from the output node detailed information, the node detailed information is displayed on the selected node. After accessing by using and reading log information from a corresponding node, a control unit for outputting the corresponding log information may be included.

상기 노드 상세 정보는, 노드 이름 정보, 노드 주소 정보, ID/PW 정보 중 적어도 하나 이상의 정보를 포함할 수 있다. The detailed node information may include at least one or more of node name information, node address information, and ID/PW information.

상기 선택 노드에 대한 접속은 ssh를 통해 이루어질 수 있다. Access to the selected node may be made through ssh.

상기 노드 상세 정보와, 상기 로그 정보를 디스플레이하는 디스플레이부를 더 포함할 수 있다. The display unit may further include displaying the detailed node information and the log information.

상기 선택 노드로부터 리드된 로그 정보는 전체 syslog 정보로서 TreeView 형태로 상기 디스플레이부 화면에 출력할 수 있다. The log information read from the selected node can be displayed on the screen of the display unit in the form of TreeView as entire syslog information.

상기 제어부는, 상기 전체 syslog 정보가 상기 디스플레이부 화면에 출력된 상태에서, 운용자가 로그 내용을 입력하는 경우, 전체 로그 정보에서 입력된 로그 내용에 대응하는 로그 정보만을 추출하여 상기 디스플레이 화면에 출력할 수 있다. The control unit extracts only log information corresponding to the input log contents from the entire log information when an operator inputs log contents in a state in which the entire syslog information is output on the screen of the display unit, and outputs the extracted log information on the display screen. can

상기 제어부는, 상기 로그 정보 추출 프로그램이 실행되면, 상기 제1 데이터베이스에 저장된 다수의 노드들의 노드 이름 정보를 리드하여 상기 디스플레이부에 출력하고, 출력된 노드 이름 정보 중 운용자가 일 노드 이름 정보를 선택한 경우, 선택된 노드에 대한 노드 주소 정보와 ID/PW 정보를 상기 제1 데이터베이스로부터 추출하여 추출된 주소 및 ID/PW 정보를 이용하여 해당 노드에 접속하며, 접속된 해당 노드로부터 로그 정보를 리드한 후, 해당 로그 정보를 상기 디스플레이부에 출력할 수 있다. When the log information extraction program is executed, the controller reads and outputs node name information of a plurality of nodes stored in the first database to the display unit, and an operator selects one node name information from among the output node name information. In this case, node address information and ID/PW information for the selected node are extracted from the first database, the extracted address and ID/PW information are used to access the corresponding node, and log information is read from the connected node. , corresponding log information can be output to the display unit.

상기 입력된 로그 내용에 대응하는 로그 정보를 로그 시간 순으로 출력할 수 있다. Log information corresponding to the input log content may be output in order of log time.

상기 제어부는, 상기 로그 내용에 대응하는 로그 정보에 대하여 운용자로부터 저장 요청이 있는 경우, 해당 로그 정보를 텍스트(txt) 파일로 변환할 수 있다. The control unit may convert the corresponding log information into a text (txt) file when there is a storage request from an operator for log information corresponding to the log contents.

상기 txt 파일로 변환된 로그 정보를 저장하는 제2 데이터베이스를 더 포함할 수 있다. A second database for storing the log information converted into the txt file may be further included.

한편, 본 발명의 실시예에 따른 전투체계 시스템에서의 로그 정보 추출방법은, 적어도 하나 이상의 노드에 대한 노드 상세 정보를 제1 데이터베이스에 저장하는 단계; 및 운용자의 요청에 따라 로그 정보 추출 프로그램이 실행되면, 상기 제1 데이터베이스에 저장된 노드 상세 정보를 리드하여 출력하고, 출력된 노드 상세 정보 중 운용자가 일 노드를 선택한 경우, 선택된 노드에 상기 노드 상세 정보를 이용하여 접속하여 해당 노드로부터 로그 정보를 리드한 후, 해당 로그 정보를 출력하는 단계를 포함할 수 있다. Meanwhile, a method for extracting log information in a combat system system according to an embodiment of the present invention includes storing detailed node information about at least one node in a first database; and when the log information extraction program is executed according to the operator's request, the node detailed information stored in the first database is read and output, and when the operator selects a node from the output node detailed information, the node detailed information is displayed on the selected node. After accessing using and reading log information from a corresponding node, outputting the corresponding log information may be included.

상기 노드 상세 정보는, 노드 이름 정보, 노드 주소 정보, ID/PW 정보 중 적어도 하나 이상의 정보를 포함할 수 있다. The detailed node information may include at least one or more of node name information, node address information, and ID/PW information.

상기 선택 노드에 대한 접속은 ssh를 통해 이루어질 수 있다. Access to the selected node may be made through ssh.

상기 노드 상세 정보와, 상기 로그 정보를 디스플레이부 화면에 출력할 수 있다. The detailed node information and the log information may be displayed on a screen of a display unit.

상기 선택 노드로부터 리드된 로그 정보는 전체 syslog 정보로서 TreeView 형태로 상기 디스플레이부 화면에 출력할 수 있다. The log information read from the selected node can be displayed on the screen of the display unit in the form of TreeView as entire syslog information.

상기 해당 로그 정보를 출력하는 단계는, 상기 전체 syslog 정보가 상기 디스플레이부 화면에 출력된 상태에서, 운용자가 로그 내용을 입력하는 경우, 전체 로그 정보에서 입력된 로그 내용에 대응하는 로그 정보만을 추출하여 상기 디스플레이 화면에 출력할 수 있다. In the step of outputting the corresponding log information, when an operator inputs log contents in a state in which the entire syslog information is output on the screen of the display unit, only log information corresponding to the input log contents is extracted from the entire log information, It can be output on the display screen.

상기 해당 로그 정보를 출력하는 단계는, 상기 로그 정보 추출 프로그램이 실행되면, 상기 제1 데이터베이스에 저장된 다수의 노드들의 노드 이름 정보를 리드하여 상기 디스플레이부에 출력하고, 출력된 노드 이름 정보 중 운용자가 일 노드 이름 정보를 선택한 경우, 선택된 노드에 대한 노드 주소 정보와 ID/PW 정보를 상기 제1 데이터베이스로부터 추출하여 추출된 주소 및 ID/PW 정보를 이용하여 해당 노드에 접속하며, 접속된 해당 노드로부터 로그 정보를 리드한 후, 해당 로그 정보를 상기 디스플레이부에 출력할 수 있다. In the step of outputting corresponding log information, when the log information extraction program is executed, node name information of a plurality of nodes stored in the first database is read and output to the display unit, and an operator among the output node name information When one node name information is selected, node address information and ID/PW information for the selected node are extracted from the first database, the extracted address and ID/PW information are used to access the corresponding node, and from the connected corresponding node After reading the log information, the corresponding log information can be output to the display unit.

상기 입력된 로그 내용에 대응하는 로그 정보를 로그 시간 순으로 출력할 수 있다. Log information corresponding to the input log content may be output in order of log time.

상기 해당 로그 정보를 출력하는 단계는, 상기 로그 내용에 대응하는 로그 정보에 대하여 운용자로부터 저장 요청이 있는 경우, 해당 로그 정보를 텍스트(txt) 파일로 변환하는 단계를 더 포함할 수 있다. The outputting of the corresponding log information may further include converting the corresponding log information into a text (txt) file when there is a storage request from an operator for the log information corresponding to the log contents.

상기 해당 로그 정보를 출력하는 단계는, 상기 txt 파일로 변환된 로그 정보를 제2 데이터베이스에 저장하는 단계를 더 포함할 수 있다. The outputting of the corresponding log information may further include storing the log information converted into the txt file in a second database.

상술한 과제를 해결하기 위한 본 발명의 다른 면에 따른 컴퓨터 프로그램은, 하드웨어인 컴퓨터와 결합되어 상기 전투체계 시스템에서의 로그 정보 추출방법을 실행하며, 컴퓨터 판독가능 기록매체에 저장된다.A computer program according to another aspect of the present invention for solving the above problems is combined with a computer that is hardware to execute a log information extraction method in the combat system system, and is stored in a computer readable recording medium.

본 발명의 기타 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Other specific details of the invention are included in the detailed description and drawings.

본 발명에 따르면, 전투체계 내 실행되는 리눅스 응용프로그램의 로그를 자동으로 기록/취합하여 저장하고, 기록/취합 결과를 운용자가 용이하게 확인할 수 있도록 디스플레이할 수 있다. 즉, 본 발명에 따르면, 기존의 수동 접속 후 명령어를 일일이 입력하는 반복 작업에서 노드 체크를 통해 필요한 노드만 바로 확인할 수 있는 뷰어를 개발하여, 개발자들이 문제 발생 시 손쉽게 로그를 확인하여 디버깅할 수 있는 환경을 제공할 수 있다. According to the present invention, logs of Linux application programs executed in a combat system are automatically recorded/collected and stored, and the results of the records/collected can be displayed so that an operator can easily check them. That is, according to the present invention, by developing a viewer that can immediately check only necessary nodes through node check in the existing repetitive task of manually entering commands after manual connection, developers can easily check logs and debug when problems occur. environment can be provided.

본 발명의 효과들은 이상에서 언급된 효과로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The effects of the present invention are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the description below.

이하에 첨부되는 도면들은 본 실시 예에 관한 이해를 돕기 위한 것으로, 상세한 설명과 함께 실시 예들을 제공한다. 다만, 본 실시 예의 기술적 특징이 특정 도면에 한정되는 것은 아니며, 각 도면에서 개시하는 특징들은 서로 조합되어 새로운 실시 예로 구성될 수 있다.
도 1은 본 발명에 따른 본 발명에 따른 전투체계 시스템에서의 로그 정보 추출장치에 대한 블록 구성을 나타낸 도면.
도 2는 본 발명에 따른 전투체계 시스템에서의 로그 정보 추출장치 및 방법에 적용되는 로그 추출 뷰어의 일 화면 예시를 나타낸 도면.
도 3은 본 발명에 따른 전투체계 시스템에서의 로그 정보 추출방법에 대한 동작 플로우챠트를 나타낸 도면.
The accompanying drawings are provided to aid understanding of the present embodiment, and provide embodiments along with detailed descriptions. However, the technical features of this embodiment are not limited to specific drawings, and features disclosed in each drawing may be combined with each other to form a new embodiment.
1 is a diagram showing the block configuration of a log information extraction device in a combat system system according to the present invention according to the present invention.
2 is a diagram showing an example of a screen of a log extraction viewer applied to an apparatus and method for extracting log information in a combat system system according to the present invention.
3 is a diagram showing an operational flow chart for a log information extraction method in a combat system system according to the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나, 본 발명은 이하에서 개시되는 실시예들에 제한되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술 분야의 통상의 기술자에게 본 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. Advantages and features of the present invention, and methods of achieving them, will become clear with reference to the detailed description of the following embodiments taken in conjunction with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but may be implemented in various different forms, only these embodiments are intended to complete the disclosure of the present invention, and are common in the art to which the present invention belongs. It is provided to fully inform the person skilled in the art of the scope of the invention, and the invention is only defined by the scope of the claims.

본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성요소 외에 하나 이상의 다른 구성요소의 존재 또는 추가를 배제하지 않는다. 명세서 전체에 걸쳐 동일한 도면 부호는 동일한 구성 요소를 지칭하며, "및/또는"은 언급된 구성요소들의 각각 및 하나 이상의 모든 조합을 포함한다. 비록 "제1", "제2" 등이 다양한 구성요소들을 서술하기 위해서 사용되나, 이들 구성요소들은 이들 용어에 의해 제한되지 않음은 물론이다. 이들 용어들은 단지 하나의 구성요소를 다른 구성요소와 구별하기 위하여 사용하는 것이다. 따라서, 이하에서 언급되는 제1 구성요소는 본 발명의 기술적 사상 내에서 제2 구성요소일 수도 있음은 물론이다.Terminology used herein is for describing the embodiments and is not intended to limit the present invention. In this specification, singular forms also include plural forms unless specifically stated otherwise in a phrase. As used herein, "comprises" and/or "comprising" does not exclude the presence or addition of one or more other elements other than the recited elements. Like reference numerals throughout the specification refer to like elements, and “and/or” includes each and every combination of one or more of the recited elements. Although "first", "second", etc. are used to describe various components, these components are not limited by these terms, of course. These terms are only used to distinguish one component from another. Accordingly, it goes without saying that the first element mentioned below may also be the second element within the technical spirit of the present invention.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야의 통상의 기술자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또한, 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless otherwise defined, all terms (including technical and scientific terms) used in this specification may be used with meanings commonly understood by those skilled in the art to which the present invention belongs. In addition, terms defined in commonly used dictionaries are not interpreted ideally or excessively unless explicitly specifically defined.

이하, 본 발명에 따른 전투체계 시스템에서의 로그 추출장치 및 방법에 대하여 첨부한 도면을 참조하여 상세하게 설명하기로 한다. Hereinafter, a log extraction apparatus and method in a combat system system according to the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 본 발명에 따른 전투체계 시스템에서의 로그 정보 추출장치에 대한 블록 구성을 나타낸 도면이고, 도 2는 본 발명에 따른 전투체계 시스템에서의 로그 정보 추출장치 및 방법에 적용되는 로그 추출 뷰어의 일 화면 예시를 나타낸 도면이다. 1 is a block diagram showing a block configuration of a log information extraction device in a combat system system according to the present invention, and FIG. 2 is applied to a log information extraction device and method in a combat system system according to the present invention. It is a diagram showing an example of one screen of the log extraction viewer.

도 1을 참조하면, 본 발명에 따른 전투체계 시스템에서의 로그 정보 추출장치는, 입력부(100), 제1 데이터베이스(200), 제어부(300), 제2 데이터베이스(400), 디스플레이부(500) 및 다수의 노드(600-1, 600-2, ?? ,600-n)를 포함할 수 있다. 여기서, 상기 다수의 노드(600-1, 600-2, ?? ,600-n) 각각은 자신의 노드에 접속된 로그 기록 정보들을 저장하는 데이터베이스(DB)를 각각 포함할 수 있다. Referring to FIG. 1, the log information extraction device in the combat system system according to the present invention includes an input unit 100, a first database 200, a control unit 300, a second database 400, and a display unit 500. and a plurality of nodes 600-1, 600-2, ??, 600-n. Here, each of the plurality of nodes 600-1, 600-2, ??, 600-n may include a database (DB) for storing log record information connected to its own node.

입력부(100)는 전투체계 시스템에서의 로그 정보 추출 프로그램을 실행하기 위한 입력신호를 제어부(300)로 제공한다. The input unit 100 provides the control unit 300 with an input signal for executing a log information extraction program in the combat system system.

제1 데이터베이스(200)는 다수의 노드(600-1, 600-2, ??. ,600-n)들에 대한 노드 정보들을 저장할 수 있다. 여기서, 노드 정보는, 노드 이름 정보, 노드 주소 정보, 노드 접속을 위한 ID/PW 정보를 포함할 수 있으며, 노드 정보는 운용자의 선택에 따라 추가 또는 삭제될 수 있다. The first database 200 may store node information about the plurality of nodes 600-1, 600-2, ??., 600-n. Here, the node information may include node name information, node address information, and ID/PW information for node access, and the node information may be added or deleted according to an operator's selection.

제2 데이터베이스(400)는 운용자가 원하는 노드에 대한 로그 추출 결과 정보를 저장할 수 있다. The second database 400 may store log extraction result information for a node desired by an operator.

디스플레이부(500)는 로그 추출 과정에서 발생되는 다양한 정보들을 디스플레이한다. The display unit 500 displays various information generated in the log extraction process.

다수의 노드(600-1, 600-2, ??. ,600-n)는 서로 다른 노드 이름, 주소 및 ID/PW 정보를 가질 수 있으며, 각 노드 별로 로그 정보들을 자신의 데이터베이스에 저장될 수 있다. A plurality of nodes (600-1, 600-2, ??., 600-n) may have different node names, addresses, and ID/PW information, and log information for each node may be stored in its own database. there is.

제어부(300)는 운용자의 선택에 따라 로그 추출 프로그램을 실행하여 운용자가 원하는 노드 및 로그 정보를 추출하여 디스플레이부(500) 화면에 디스플레이한다. The controller 300 executes a log extraction program according to the operator's selection, extracts node and log information desired by the operator, and displays them on the screen of the display unit 500 .

이와 같은 구성을 갖는 본 발명에 따른 전투체계 시스템에서의 로그 추출장치의 구체적인 동작에 대하여 설명해 보기로 하자. Let's explain the specific operation of the log extraction device in the combat system system according to the present invention having such a configuration.

먼저, 입력부(100)를 통해 운용자가 로그 정보 추출 프로그램을 실행시키기 위한 입력신호를 입력하면, 제어부(300)는 로그 추출 프로그램을 실행시키게 된다.First, when an operator inputs an input signal for executing a log information extraction program through the input unit 100, the controller 300 executes the log extraction program.

로그 정보 추출 프로그램이 실행되면, 제어부(300)는 먼저, 제1 데이터베이스(200)에 저장된 다수의 노드들(600-1, 600-2, ??. ,600-n)에 대한 각 노드 이름 정보를 추출한 후, 추출된 다수의 노드(600-1, 600-2, ??. ,600-n)들에 대한 이름 정보를 디스플레이부(500) 화면에 디스플레이한다. 여기서, 노드 이름 정보를 화면에 디스플레이할 경우, 운용자가 노드 이름 정보를 선택할 수 있도록 체크 박스 형태로 디스플레이할 수 있다. When the log information extraction program is executed, the control unit 300 first obtains node name information for a plurality of nodes 600-1, 600-2, ??., 600-n stored in the first database 200. After extracting , name information about the extracted nodes 600-1, 600-2, ??., 600-n is displayed on the screen of the display unit 500. Here, when displaying the node name information on the screen, it may be displayed in the form of a check box so that the operator can select the node name information.

다수의 노드들(600-1, 600-2, ??. ,600-n)에 대한 노드 이름(종류) 정보가 체크 박스 형태로 화면에 디스플레이된 상태에서, 운용자가 입력부(100)를 통해 원하는 노드를 선택(체크)할 경우, 제어부(300)는 제1 데이터베이스(200)로부터 선택된 노드에 대한 주소 정보, 접속을 위한 ID/PW 정보를 추출하고, 추출된 주소 정보로 ID/PW를 통해 ssh 접속한다.In a state where node name (type) information for a plurality of nodes (600-1, 600-2, ??., 600-n) is displayed on the screen in the form of a check box, the operator When selecting (checking) a node, the control unit 300 extracts address information about the selected node from the first database 200 and ID/PW information for connection, and ssh through ID/PW with the extracted address information. connect

접속 후, 제어부(300)는 접속된 노드로 syslog 정보를 요청하고, 해당 노드는 데이터베이스에 저장된 syslog 정보를 리드한 후, 리드한 syslog 정보를 제어부(300)로 제공한다. After connection, the control unit 300 requests syslog information from the connected node, the corresponding node reads the syslog information stored in the database, and provides the read syslog information to the control unit 300.

제어부(300)는 해당 운용자가 선택한 노드로부터 제공되는 해당 노드에 대한 syslog 정보를 수신하고, 수신된 syslog 정보를 디스플레이부(500) 화면(TreeView)에 디스플레이한다. The control unit 300 receives syslog information about the corresponding node provided from the node selected by the corresponding operator, and displays the received syslog information on the screen (TreeView) of the display unit 500 .

이와 같이, 선택 노드에 대한 syslog 정보가 디스플레이부(500) 화면에 디스플레이된 상태에서, 도 2에 도시된 바와 같이 입력부(100)를 통해 도 2에 도시된 바와 같은 필터 입력 필드에 운용자가 원하는 즉, 소팅(Sorting)하고자 하는 로그 내용을 입력하는 경우, 제어부(300)는 입력된 로그 내용에 해당되는 로그 정보만을 로그 시간 순으로 소팅(필터링)한 후, 소팅된 로그 정보를 도 2와 같이 디스플레이부(500) 화면에 디스플레이하는 것이다. In this way, in a state where the syslog information for the selected node is displayed on the screen of the display unit 500, as shown in FIG. 2, the operator wants to enter the filter input field as shown in FIG. , When log contents to be sorted are input, the control unit 300 sorts (filters) only log information corresponding to the input log contents in order of log time, and then displays the sorted log information as shown in FIG. 2. It is displayed on the screen of the sub 500 .

이와 같이, 최종적인 로그 정보가 디스플레이부(500)화면에 디스플레이된 상태에서, 운용자가 해당 정보를 저장하기 위한 저장 요구신호를 입력하는 경우, 즉, 디스플레이부(500) 화면의 저장 버튼(도 2 참조)을 선택한 경우, 도 2에 도시된 바와 같은 최종적으로 선택된 로그 내용으로 소팅된 로그 정보를 텍스트(txt)파일 형태로 제2 데이터베이스(400)에 저장할 수 있다. In this way, in a state where the final log information is displayed on the screen of the display unit 500, when the operator inputs a storage request signal for saving the corresponding information, that is, the save button on the screen of the display unit 500 (FIG. 2 Reference) is selected, the log information sorted by the finally selected log contents as shown in FIG. 2 can be stored in the second database 400 in the form of a text (txt) file.

상기한 바와 같은 본 발명에 따른 전투체계 시스템에서의 로그 정보 추출장치의 동작과 상응하는 본 발명에 따른 전투체계 시스템에서의 로그 정보 추출방법에 대하여 도 3을 참조하여 단계적으로 살펴보기로 한다. As described above, a log information extraction method in the combat system system according to the present invention corresponding to the operation of the log information extraction device in the combat system system according to the present invention will be described step by step with reference to FIG. 3 .

도 3은 본 발명에 따른 전투체계 시스템에서의 로그 정보 추출방법에 대한 동작 플로우챠트를 나타낸 도면이다. 3 is a diagram showing an operation flow chart for a log information extraction method in a combat system system according to the present invention.

도 3을 참조하면, 전투체계 시스템에서의 로그 정보 추출방법은 먼저, 운용자로부터 로그 정보 추출 프로그램의 실행 요청이 있는지 확인한다(S310).Referring to FIG. 3 , in the log information extraction method in the combat system system, first, it is checked whether there is a request to execute a log information extraction program from an operator (S310).

확인 결과, 운용자로부터 로그 정보 추출 프로그램 실행 요청이 있는 경우, 로그 정보 추출 프로그램을 실행시키게 된다.As a result of the confirmation, if there is a request to execute the log information extraction program from the operator, the log information extraction program is executed.

로그 정보 추출 프로그램이 실행되면, 먼저, 제1 데이터베이스에 저장된 다수의 노드들에 대한 각 노드 이름 정보를 추출한 후, 추출된 다수의 노드들에 대한 이름 정보를 화면에 표시한다(S320). 여기서, 노드 이름 정보를 화면에 디스플레이할 경우, 운용자가 노드 이름 정보를 선택할 수 있도록 도 2의 상부에 표시된 바와 같이 체크 박스 형태로 표시할 수 있다. When the log information extraction program is executed, first, after extracting each node name information for a plurality of nodes stored in the first database, the extracted name information for a plurality of nodes is displayed on the screen (S320). Here, when the node name information is displayed on the screen, it may be displayed in the form of a check box as shown in the upper part of FIG. 2 so that the operator can select the node name information.

이어, 다수의 노드들에 대한 노드 이름(종류) 정보가 체크 박스 형태로 화면에 표시된 상태에서, 체크박스에서 운용자로부터 원하는 일 노드가 선택되었는지 판단한다(S330).Next, with node name (type) information on a plurality of nodes displayed on the screen in the form of a check box, it is determined whether a desired node is selected from the check box by the operator (S330).

판단 결과, 운용자로부터 체크 박스를 통해 일 노드가 선택된 경우, 제1 데이터베이스(200)에 저장된 선택 노드에 대한 주소 정보, 접속을 위한 ID/PW 정보를 추출한다(S340).As a result of the determination, when a node is selected by the operator through a check box, address information about the selected node stored in the first database 200 and ID/PW information for access are extracted (S340).

이어, 상기 추출된 선택 노드의 주소로 ID/PW를 이용하여 ssh 접속을 수행한다(S350).Subsequently, ssh access is performed using the ID/PW to the address of the extracted selected node (S350).

이어, 상기 추출된 선택 노드의 주소로 ID/PW를 이용하여 ssh 접속 후, 접속된 노드로 syslog 정보를 요청하고, 해당 노드는 데이터베이스로부터 syslog 정보를 리드하여 리드된 syslog 정보를 화면(TreeView)에 표시한다(S360). Then, after ssh connection using ID/PW to the address of the extracted selected node, syslog information is requested to the connected node, and the node reads syslog information from the database and displays the read syslog information on the screen (TreeView). It is displayed (S360).

이어, 해당 노드에 대한 syslog 정보가 화면에 표시된 상태에서, 해당 화면의 임의의 위치에 위치한 로그 내용 입력 필드에 원하는 로그 내용이 운용자로부터 입력되었는지 판단한다(S370). 즉, 운용자가 선택한 노드에 대한 syslog 정보가 화면에 디스플레이된 상태에서, 도 2에 도시된 바와 같은 필터 입력 필드에 운용자가 원하는 즉, 소팅(Sorting)하고자 하는 로그 내용이 입력되었는지를 판단하는 것이다.Subsequently, while the syslog information for the corresponding node is displayed on the screen, it is determined whether desired log contents are input from the operator to the log contents input field located at an arbitrary position on the corresponding screen (S370). That is, while the syslog information for the node selected by the operator is displayed on the screen, it is determined whether the log content desired by the operator, that is, to be sorted, is input to the filter input field as shown in FIG. 2 .

판단 결과, 운용자로부터 로그 내용 입력 필드에 원하는 로그 내용을 입력한 경우, 입력된 로그 내용에 해당되는 로그 정보만을 로그 시간 순으로 소팅(필터링)한 후, 소팅된 로그 정보를 도 2와 같이 화면에 표시한다(S380). As a result of the determination, when the operator inputs desired log contents into the log contents input field, after sorting (filtering) only the log information corresponding to the entered log contents in the order of log time, the sorted log information is displayed on the screen as shown in FIG. It is displayed (S380).

이어, 최종적인 로그 정보가 화면에 표시된 상태에서, 운용자로부터 해당 정보를 저장하기 위한 저장 요구신호가 입력되었는지를 판단한다(S390). Then, with the final log information displayed on the screen, it is determined whether a storage request signal for storing the corresponding information has been input from the operator (S390).

이어, 운용자로부터 해당 정보를 저장하기 위한 저장 요구신호가 입력된 경우, 즉, 도 2에 도시된 화면에서 저장 버튼을 운용자가 선택한 경우, 도 2에 도시된 바와 같은 최종적으로 선택된 로그 내용으로 소팅된 로그 정보를 텍스트(txt)파일 형태로 제2 데이터베이스에 저장하는 것이다(S400). Subsequently, when a storage request signal for saving the corresponding information is input from the operator, that is, when the operator selects the save button on the screen shown in FIG. 2, the finally selected log contents are sorted as shown in FIG. Log information is stored in a second database in the form of a text (txt) file (S400).

이상에서 전술한 본 발명의 일 실시예에 따른 전투체계 시스템에서의 로그 정보 추출방법은, 하드웨어인 컴퓨터와 결합되어 실행되기 위해 프로그램(또는 어플리케이션)으로 구현되어 매체에 저장될 수 있다.The log information extraction method in the combat system system according to an embodiment of the present invention described above may be implemented as a program (or application) to be executed in combination with a computer, which is hardware, and stored in a medium.

상기 전술한 프로그램은, 상기 컴퓨터가 프로그램을 읽어 들여 프로그램으로 구현된 상기 방법들을 실행시키기 위하여, 상기 컴퓨터의 프로세서(CPU)가 상기 컴퓨터의 장치 인터페이스를 통해 읽힐 수 있는 C, C++, JAVA, Ruby, 기계어 등의 컴퓨터 언어로 코드화된 코드(Code)를 포함할 수 있다. 이러한 코드는 상기 방법들을 실행하는 필요한 기능들을 정의한 함수 등과 관련된 기능적인 코드(Functional Code)를 포함할 수 있고, 상기 기능들을 상기 컴퓨터의 프로세서가 소정의 절차대로 실행시키는데 필요한 실행 절차 관련 제어 코드를 포함할 수 있다. 또한, 이러한 코드는 상기 기능들을 상기 컴퓨터의 프로세서가 실행시키는데 필요한 추가 정보나 미디어가 상기 컴퓨터의 내부 또는 외부 메모리의 어느 위치(주소 번지)에서 참조되어야 하는지에 대한 메모리 참조관련 코드를 더 포함할 수 있다. 또한, 상기 컴퓨터의 프로세서가 상기 기능들을 실행시키기 위하여 원격(Remote)에 있는 어떠한 다른 컴퓨터나 서버 등과 통신이 필요한 경우, 코드는 상기 컴퓨터의 통신 모듈을 이용하여 원격에 있는 어떠한 다른 컴퓨터나 서버 등과 어떻게 통신해야 하는지, 통신 시 어떠한 정보나 미디어를 송수신해야 하는지 등에 대한 통신 관련 코드를 더 포함할 수 있다.The above-mentioned program is C, C++, JAVA, Ruby, C, C++, JAVA, Ruby, which the processor (CPU) of the computer can read through the device interface of the computer so that the computer reads the program and executes the methods implemented as a program. It may include a code coded in a computer language such as machine language. These codes may include functional codes related to functions defining necessary functions for executing the methods, and include control codes related to execution procedures necessary for the processor of the computer to execute the functions according to a predetermined procedure. can do. In addition, these codes may further include memory reference related codes for which location (address address) of the computer's internal or external memory should be referenced for additional information or media required for the computer's processor to execute the functions. there is. In addition, when the processor of the computer needs to communicate with any other remote computer or server in order to execute the functions, the code uses the computer's communication module to determine how to communicate with any other remote computer or server. It may further include communication-related codes for whether to communicate, what kind of information or media to transmit/receive during communication, and the like.

상기 저장되는 매체는, 레지스터, 캐쉬, 메모리 등과 같이 짧은 순간 동안 데이터를 저장하는 매체가 아니라 반영구적으로 데이터를 저장하며, 기기에 의해 판독(reading)이 가능한 매체를 의미한다. 구체적으로는, 상기 저장되는 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있지만, 이에 제한되지 않는다. 즉, 상기 프로그램은 상기 컴퓨터가 접속할 수 있는 다양한 서버 상의 다양한 기록매체 또는 사용자의 상기 컴퓨터상의 다양한 기록매체에 저장될 수 있다. 또한, 상기 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장될 수 있다.The storage medium is not a medium that stores data for a short moment, such as a register, cache, or memory, but a medium that stores data semi-permanently and is readable by a device. Specifically, examples of the storage medium include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc., but are not limited thereto. That is, the program may be stored in various recording media on various servers accessible by the computer or various recording media on the user's computer. In addition, the medium may be distributed to computer systems connected through a network, and computer readable codes may be stored in a distributed manner.

전술한 본 발명의 설명은 예시를 위한 것이며, 본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 본 발명의 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 쉽게 변형이 가능하다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 예를 들어, 단일형으로 설명되어 있는 각 구성 요소는 분산되어 실시될 수도 있으며, 마찬가지로 분산된 것으로 설명되어 있는 구성 요소들도 결합된 형태로 실시될 수 있다.The above description of the present invention is for illustrative purposes, and those skilled in the art can understand that it can be easily modified into other specific forms without changing the technical spirit or essential features of the present invention. will be. Therefore, the embodiments described above should be understood as illustrative in all respects and not limiting. For example, each component described as a single type may be implemented in a distributed manner, and similarly, components described as distributed may be implemented in a combined form.

본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.The scope of the present invention is indicated by the following claims rather than the detailed description above, and all changes or modifications derived from the meaning and scope of the claims and equivalent concepts should be construed as being included in the scope of the present invention. do.

100: 입력부
200: 제1 데이터베이스
300: 제어부
400: 제2 데이터베이스
500: 디스플레이부
600-1, ?? ,600-n: 노드
100: input unit
200: first database
300: control unit
400: second database
500: display unit
600-1, ?? ,600-n: node

Claims (20)

전투체계 시스템에서의 로그 정보 추출장치에 있어서,
적어도 하나 이상의 노드에 대한 노드 상세 정보를 저장하는 제1 데이터베이스; 및
운용자의 요청에 따라 로그 정보 추출 프로그램이 실행되면, 상기 제1 데이터베이스에 저장된 노드 상세 정보를 리드하여 출력하고, 출력된 노드 상세 정보 중 운용자가 일 노드를 선택한 경우, 선택된 노드에 상기 노드 상세 정보를 이용하여 접속하여 해당 노드로부터 로그 정보를 리드한 후, 해당 로그 정보를 출력하는 제어부를 포함하고,
상기 노드 상세 정보는, 노드 이름 정보, 노드 주소 정보, ID/PW 정보 중 적어도 하나 이상의 정보를 포함하며,
상기 선택된 노드에 대한 접속은 ssh를 통해 이루어지고,
상기 노드 상세 정보와, 상기 로그 정보를 디스플레이하는 디스플레이부를 더 포함하며, 상기 선택된 노드로부터 리드된 로그 정보는 전체 syslog 정보로서 TreeView 형태로 디스플레이부 화면에 출력하고,
상기 제어부는, 상기 전체 syslog 정보가 상기 디스플레이부 화면에 출력된 상태에서, 운용자가 로그 내용을 입력하는 경우, 전체 로그 정보에서 입력된 로그 내용에 대응하는 로그 정보만을 추출하여 상기 디스플레이 화면에 출력하며,
상기 제어부는, 상기 로그 정보 추출 프로그램이 실행되면, 상기 제1 데이터베이스에 저장된 다수의 노드들의 노드 이름 정보를 리드하여 상기 디스플레이부에 출력하고, 출력된 노드 이름 정보 중 운용자가 일 노드 이름 정보를 선택한 경우, 선택된 노드에 대한 노드 주소 정보와 ID/PW 정보를 상기 제1 데이터베이스로부터 추출하여 추출된 주소 및 ID/PW 정보를 이용하여 해당 노드에 접속하며, 접속된 해당 노드로부터 로그 정보를 리드한 후, 해당 로그 정보를 상기 디스플레이부에 출력하고,
상기 입력된 로그 내용에 대응하는 로그 정보를 로그 시간 순으로 출력하며,
상기 제어부는, 상기 로그 내용에 대응하는 로그 정보에 대하여 운용자로부터 저장 요청이 있는 경우, 해당 로그 정보를 텍스트(txt) 파일로 변환하며, 상기 txt 파일로 변환된 로그 정보를 저장하는 제2 데이터베이스를 더 포함하는 것인 전투체계 시스템에서의 로그 정보 추출장치.
In the log information extraction device in the combat system system,
A first database for storing detailed node information on at least one node; and
When the log information extraction program is executed according to the operator's request, the node detailed information stored in the first database is read and output, and when the operator selects a node from the output node detailed information, the node detailed information is sent to the selected node. A control unit that accesses the node by using a connection, reads log information from the corresponding node, and then outputs the corresponding log information;
The detailed node information includes at least one or more of node name information, node address information, and ID/PW information,
Access to the selected node is made through ssh,
Further comprising a display unit for displaying the detailed node information and the log information, and outputting the log information read from the selected node in the form of TreeView on the screen of the display unit as total syslog information;
The control unit extracts only log information corresponding to the input log contents from the entire log information when an operator inputs log contents in a state in which the entire syslog information is output on the screen of the display unit, and outputs the extracted log information to the display screen. ,
When the log information extraction program is executed, the controller reads and outputs node name information of a plurality of nodes stored in the first database to the display unit, and an operator selects one node name information from among the output node name information. In this case, node address information and ID/PW information for the selected node are extracted from the first database, the extracted address and ID/PW information are used to access the corresponding node, and log information is read from the connected node. , Outputting corresponding log information to the display unit,
Outputting log information corresponding to the input log contents in the order of log time;
The control unit converts the log information into a text (txt) file when there is a storage request from the operator for the log information corresponding to the log contents, and a second database for storing the log information converted into the txt file A log information extraction device in the combat system system that is further included.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 전투체계 시스템에서의 로그 정보 추출방법에 있어서,
적어도 하나 이상의 노드에 대한 노드 상세 정보를 제1 데이터베이스에 저장하는 단계; 및
운용자의 요청에 따라 로그 정보 추출 프로그램이 실행되면, 상기 제1 데이터베이스에 저장된 노드 상세 정보를 리드하여 출력하고, 출력된 노드 상세 정보 중 운용자가 일 노드를 선택한 경우, 선택된 노드에 상기 노드 상세 정보를 이용하여 접속하여 해당 노드로부터 로그 정보를 리드한 후, 해당 로그 정보를 출력하는 단계를 포함하고,
상기 노드 상세 정보는, 노드 이름 정보, 노드 주소 정보, ID/PW 정보 중 적어도 하나 이상의 정보를 포함하며,
상기 선택된 노드에 대한 접속은 ssh를 통해 이루어지고,
상기 노드 상세 정보와, 상기 로그 정보를 디스플레이부 화면에 출력하며, 상기 선택된 노드로부터 리드된 로그 정보는 전체 syslog 정보로서 TreeView 형태로 상기 디스플레이부 화면에 출력하고,
상기 해당 로그 정보를 출력하는 단계는, 상기 전체 syslog 정보가 상기 디스플레이부 화면에 출력된 상태에서, 운용자가 로그 내용을 입력하는 경우, 전체 로그 정보에서 입력된 로그 내용에 대응하는 로그 정보만을 추출하여 상기 디스플레이 화면에 출력하며,
상기 해당 로그 정보를 출력하는 단계는, 상기 로그 정보 추출 프로그램이 실행되면, 상기 제1 데이터베이스에 저장된 다수의 노드들의 노드 이름 정보를 리드하여 상기 디스플레이부에 출력하고, 출력된 노드 이름 정보 중 운용자가 일 노드 이름 정보를 선택한 경우, 선택된 노드에 대한 노드 주소 정보와 ID/PW 정보를 상기 제1 데이터베이스로부터 추출하여 추출된 주소 및 ID/PW 정보를 이용하여 해당 노드에 접속하며, 접속된 해당 노드로부터 로그 정보를 리드한 후, 해당 로그 정보를 상기 디스플레이부에 출력하고,
상기 입력된 로그 내용에 대응하는 로그 정보를 로그 시간 순으로 출력하며,
상기 해당 로그 정보를 출력하는 단계는, 상기 로그 내용에 대응하는 로그 정보에 대하여 운용자로부터 저장 요청이 있는 경우, 해당 로그 정보를 텍스트(txt) 파일로 변환하는 단계를 더 포함하며,
상기 해당 로그 정보를 출력하는 단계는, 상기 txt 파일로 변환된 로그 정보를 제2 데이터베이스에 저장하는 단계를 더 포함하는 것인 전투체계 시스템에서의 로그 정보 추출방법.
In the log information extraction method in the combat system system,
Storing detailed node information about one or more nodes in a first database; and
When the log information extraction program is executed according to the operator's request, the node detailed information stored in the first database is read and output, and when the operator selects a node from the output node detailed information, the node detailed information is sent to the selected node. After accessing using and reading log information from a corresponding node, outputting the corresponding log information;
The detailed node information includes at least one or more of node name information, node address information, and ID/PW information,
Access to the selected node is made through ssh,
The node detailed information and the log information are output to the display unit screen, and the log information read from the selected node is output to the display unit screen in the form of TreeView as entire syslog information;
In the step of outputting the corresponding log information, when an operator inputs log contents in a state in which the entire syslog information is output on the screen of the display unit, only log information corresponding to the input log contents is extracted from the entire log information, output on the display screen,
In the step of outputting corresponding log information, when the log information extraction program is executed, node name information of a plurality of nodes stored in the first database is read and output to the display unit, and an operator among the output node name information When one node name information is selected, node address information and ID/PW information for the selected node are extracted from the first database, the extracted address and ID/PW information are used to access the corresponding node, and from the connected corresponding node After reading the log information, outputting the log information to the display unit;
Outputting log information corresponding to the input log contents in the order of log time;
The step of outputting the corresponding log information further includes converting the corresponding log information into a text (txt) file when there is a storage request from an operator for the log information corresponding to the log contents,
The step of outputting the corresponding log information further comprises the step of storing the log information converted to the txt file in a second database.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020230047422A 2023-04-11 2023-04-11 Log information extraction device and method in combat system system KR102567773B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020230047422A KR102567773B1 (en) 2023-04-11 2023-04-11 Log information extraction device and method in combat system system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020230047422A KR102567773B1 (en) 2023-04-11 2023-04-11 Log information extraction device and method in combat system system

Publications (1)

Publication Number Publication Date
KR102567773B1 true KR102567773B1 (en) 2023-08-17

Family

ID=87800113

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020230047422A KR102567773B1 (en) 2023-04-11 2023-04-11 Log information extraction device and method in combat system system

Country Status (1)

Country Link
KR (1) KR102567773B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241850A (en) * 2006-03-10 2007-09-20 Net In Kyoto:Kk Log collection method in large-scaled network system
JP2010073123A (en) * 2008-09-22 2010-04-02 Nec Corp Log managing apparatus, system, method and program
JP2011197785A (en) * 2010-03-17 2011-10-06 Nomura Research Institute Ltd System and program for collecting log
JP2017058751A (en) * 2015-09-14 2017-03-23 Necプラットフォームズ株式会社 Information processor, log acquisition method and log acquisition program
JP2018067241A (en) * 2016-10-21 2018-04-26 日本電気株式会社 Operation log generation device, operation log generation system, operation log generation method, and operation log generation program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007241850A (en) * 2006-03-10 2007-09-20 Net In Kyoto:Kk Log collection method in large-scaled network system
JP2010073123A (en) * 2008-09-22 2010-04-02 Nec Corp Log managing apparatus, system, method and program
JP2011197785A (en) * 2010-03-17 2011-10-06 Nomura Research Institute Ltd System and program for collecting log
JP2017058751A (en) * 2015-09-14 2017-03-23 Necプラットフォームズ株式会社 Information processor, log acquisition method and log acquisition program
JP2018067241A (en) * 2016-10-21 2018-04-26 日本電気株式会社 Operation log generation device, operation log generation system, operation log generation method, and operation log generation program

Similar Documents

Publication Publication Date Title
US11093270B2 (en) Fast-booting application image
US9189263B1 (en) Object synchronization in shared object space
US6799316B1 (en) Virtualizing hardware with system management interrupts
US8219987B1 (en) Optimized virtual machine specification for provisioning application specific runtime environment
US7386609B2 (en) Method, system, and program for managing devices in a network
US7434167B2 (en) Accessibility system and method
US7971047B1 (en) Operating system environment and installation
US8464242B2 (en) Virtualization of configuration settings
CN101650660B (en) Booting a computer system from central storage
US7543301B2 (en) Shared queues in shared object space
US20050246704A1 (en) Registry emulation
US20100205604A1 (en) Systems and methods for efficiently running multiple instances of multiple applications
JP5483116B2 (en) Maintenance system, maintenance method, and maintenance program
US8346854B2 (en) Method and system of operating system independence
EP1379948A2 (en) Collecting and restoring user environment data using removable storage
JPH06295290A (en) Data processing system and method
JP5376258B2 (en) Maintenance system, maintenance method, and maintenance program
US20060106896A1 (en) System and method for creating list of backup files based upon program properties
KR101615646B1 (en) Computer system, control method thereof and recording medium storing computer program thereof
US20090119310A1 (en) Saving and restarting discrete event simulations
US20050156925A1 (en) Graphical user interface for pre-boot operating environment
US8904346B1 (en) Method and system for automated load testing of web applications
US20040061714A1 (en) Logical element tree and method
CN114048415A (en) Form generation method and device, electronic equipment and computer readable storage medium
KR102567773B1 (en) Log information extraction device and method in combat system system

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant