KR100281416B1 - Remote Shell Operation of the Embedded Real-Time Operating System - Google Patents

Remote Shell Operation of the Embedded Real-Time Operating System Download PDF

Info

Publication number
KR100281416B1
KR100281416B1 KR1019980046279A KR19980046279A KR100281416B1 KR 100281416 B1 KR100281416 B1 KR 100281416B1 KR 1019980046279 A KR1019980046279 A KR 1019980046279A KR 19980046279 A KR19980046279 A KR 19980046279A KR 100281416 B1 KR100281416 B1 KR 100281416B1
Authority
KR
South Korea
Prior art keywords
shell
command
remote
udp
message
Prior art date
Application number
KR1019980046279A
Other languages
Korean (ko)
Other versions
KR20000028138A (en
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 KR1019980046279A priority Critical patent/KR100281416B1/en
Publication of KR20000028138A publication Critical patent/KR20000028138A/en
Application granted granted Critical
Publication of KR100281416B1 publication Critical patent/KR100281416B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/24Arrangements for supervision, monitoring or testing with provision for checking the normal operation
    • H04M3/241Arrangements for supervision, monitoring or testing with provision for checking the normal operation for stored program controlled exchanges
    • H04M3/242Software testing
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/007Telephonic communication systems specially adapted for combination with other electrical systems with remote control systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

본 발명은 내장형(embedded) 시스템인 교환시스템에서 사용하는 실시간 운영체제의 쉘(shell)을 원격 운용하는 내장형 실시간 운영체제의 원격 쉘 운용 방법을 제공하는 데 그 목적이 있다.It is an object of the present invention to provide a remote shell operating method of an embedded real-time operating system for remotely operating a shell of a real-time operating system used in an exchange system, which is an embedded system.

본 발명에 따르면, 내장형 실시간 운영체제의 원격 쉘 운용 방법에 있어서, 원격 쉘 인터페이스가 외부로부터 쉘 명령어를 입력받아 등록된 명령어이고, 원격 쉘 수행종료 명령어가 아님에 따라 쉘 명령어 수행을 요청하기 위한 요청 메시지를 생성하여 원격 쉘 수행 데몬에게 송신하는 제 1 단계; 상기 원격 쉘 수행 데몬이 요청 메시지를 분석하여, 쉘 명령어가 등록된 명령어임에 따라 쉘 명령어 처리부를 사용하여 쉘 명령어를 수행하는 제 2 단계; 상기 원격 쉘 수행 데몬이 수행 결과를 메시지로 구성하여 상기 원격 쉘 인터페이스로 송신하는 제 3 단계; 및 수행 결과 메시지를 수신한 상기 원격 쉘 인터페이스는 수행 결과 메시지에 따른 출력 메시지를 생성하여 출력하는 제 4 단계를 포함하여 이루어진 원격 쉘 운용방법이 제공된다.According to the present invention, in the remote shell operating method of the built-in real-time operating system, a request message for requesting the execution of the shell command as the remote shell interface is a command registered by receiving a shell command from the outside, and is not a command to terminate the remote shell execution Generating a first step of transmitting the remote shell to the daemon; A second step of analyzing, by the remote shell execution daemon, a request message and executing a shell command using a shell command processing unit as a shell command is a registered command; A third step of configuring, by the remote shell execution daemon, a result of the execution as a message to the remote shell interface; And a fourth step of generating the output message according to the execution result message and outputting the output message according to the execution result message.

Description

내장형 실시간 운영체제의 원격 쉘 운용 방법Remote Shell Operation of the Embedded Real-Time Operating System

본 발명은 내장형(embedded) 시스템인 교환시스템에서 사용하는 실시간 운영체제의 쉘(shell)을 원격 운용하는 내장형 실시간 운영체제의 원격 쉘 운용 방법에 관한 것이다.The present invention relates to a remote shell operating method of an embedded real-time operating system for remotely operating a shell of a real-time operating system used in an exchange system, which is an embedded system.

일반적으로 쉘은 운영체제가 제공하는 기능 중에 하나로 사용자들이 개발한 프로그램을 수행시킬 수 있는 실행환경을 제공하는 도구를 의미한다.In general, the shell is one of functions provided by the operating system, and means a tool that provides an execution environment for executing programs developed by users.

그리고, 교환시스템과 같은 내장형 시스템은 프로그래밍 및 실행환경을 동시에 제공하는 UNIX와 같은 범용 운영체제를 기반으로 하는 범용 컴퓨터와 달리, 실행 환경만을 제공하는 실시간 운영체제를 사용하고, 모니터와 같은 디스플레이 장치를 구비하지 않는다.And, a built-in system such as an exchange system uses a real-time operating system that provides only an execution environment and does not have a display device such as a monitor, unlike a general-purpose computer based on a general-purpose operating system such as UNIX, which simultaneously provides a programming and execution environment. Do not.

그런데, 이러한 내장형 시스템을 개발하는 과정에서, 개발자들은 개발한 소프트웨어를 내장형 하드웨어에 탑재된 실시간 운영체제 상에 다운 로딩하여 실행 시킨 다음, 그 소프트웨어가 올바르게 동작하는지 시험하고 디버깅하는 과정이 필요하다.However, in developing such an embedded system, developers need to download and execute the developed software on a real-time operating system installed in the embedded hardware, and then test and debug the software for proper operation.

이 때 사용하는 종래기술에 따른 방법은 모니터를 구비한 범용 컴퓨터를 이용하여 시리얼 라인을 통해 내장형 시스템에 접속한 다음에, 내장형 시스템에 탑재된 실시간 운영체제에서 제공하는 쉘 명령어를 직접 이용하여, 개발한 프로그램을 다운로딩한 후에 실행시키고 시험 및 디버깅하는 방법을 사용하였다.In this case, the conventional method used here is developed by using a general-purpose computer equipped with a monitor to access an embedded system through a serial line and then directly using shell commands provided by a real-time operating system installed in the embedded system. After downloading the program, we ran it, tested it, and debugged it.

즉, 범용 컴퓨터의 모니터를 마치 내장형 시스템의 콘솔인 것처럼 실시간 운영체제의 제어하에 그 실시간 운영체제에서 제공하는 쉘 기능을 직접 이용하는 기술이 종래의 모니터가 없는 내장형 시스템의 실시간 운영체제의 쉘 운용 방법이었다.That is, the technology of directly using the shell function provided by the real-time operating system under the control of the real-time operating system as if the monitor of the general-purpose computer is the console of the embedded system was a method of operating the shell of the real-time operating system of the embedded system without the conventional monitor.

그러나, 시리얼 라인으로 연결된 범용 컴퓨터의 모니터와 연결된 내장형 시스템에서 내장형 시스템의 실시간 운영체제가 제공하는 쉘 기능을 직접 이용하는 종래의 기술은 반드시 내장형 시스템과 모니터를 구비한 범용 컴퓨터가 직접 시리얼 라인으로 연결 되어 있어야 하고, 물리적으로 매우 가깝게 위치되어야 하는 단점이 있었다.However, in the embedded system connected to the monitor of the general-purpose computer connected by the serial line, the conventional technology that directly uses the shell function provided by the real-time operating system of the embedded system must be connected directly to the general-purpose computer having the embedded system and the monitor by the serial line. And physically located very close.

즉, 컴퓨터 네트워크를 이용하여 원격에서 내장형 시스템의 운영체제가 제공하는 쉘 기능을 이용할 수 없다는 문제점이 있었다.That is, there is a problem in that the shell function provided by the operating system of the embedded system can not be used remotely using a computer network.

또한, 내장형 시스템과 모니터를 구비한 범용컴퓨터가 시리얼 라인으로 직접 연결되어 있기 때문에 내장형 시스템의 운영체제가 다수 사용자 쉘 기능을 제공하지 않는 경우에는 동시에 다수 사용자가 쉘 기능을 사용할 수 없다는 문제점이 있었다.In addition, since a general-purpose computer having an embedded system and a monitor is directly connected by a serial line, when the operating system of the embedded system does not provide a multi-user shell function, there is a problem that multiple users cannot use the shell function at the same time.

본 발명은 앞서 설명한 바와 같은 종래 기술의 문제점을 해결하기 위하여 안출된 것으로서, 대용량의 내장형 시스템을 편리하게 개발할 수 있도록 내장형 시스템에 탑재되는 운영체제에서 제공하는 수행 환경인 쉘이 다수 사용자용이 아니더라도, 동시에 다수의 사용자들이 통신 네트워크를 이용하여 원격으로 사용할 수 있도록 하는 내장형 실시간 운영체제의 원격 쉘 운용 방법을 제공하는 데 그 목적이 있다.The present invention has been made to solve the problems of the prior art as described above, even if the shell, which is an execution environment provided by the operating system mounted on the embedded system to conveniently develop a large-capacity embedded system, if not for multiple users, The purpose of this application is to provide a remote shell operation method of the embedded real-time operating system that allows users of the remote control to use the communication network.

도 1은 본 발명이 적용되는 시스템의 구성도이고,1 is a block diagram of a system to which the present invention is applied,

도 2는 본 발명이 적용되는 시스템의 기능 블록도이고,2 is a functional block diagram of a system to which the present invention is applied;

도 3은 본 발명의 일실시예에 따른 내장형 실시간 운영체제의 원격 쉘 운용방법의 흐름도이고,3 is a flowchart illustrating a remote shell operating method of an embedded real-time operating system according to an embodiment of the present invention.

도 4는 본 발명의 일실시예에 따른 원격 쉘 인터페이스에서의 내장형 실시간 운영체제의 원격 쉘 운용 과정의 흐름도이고,4 is a flowchart illustrating a remote shell operation process of the embedded real-time operating system in the remote shell interface according to an embodiment of the present invention;

도 5는 본 발명의 일실시예에 따른 원격 쉘 수행 데몬에서의 내장형 실시간 운영체제의 원격 쉘 운용 과정의 흐름도.5 is a flow chart of a remote shell operation process of the embedded real-time operating system in the remote shell execution daemon according to an embodiment of the present invention.

♠ 도면의 주요부분에 대한 부호의 설명 ♠♠ Explanation of symbols on the main parts of the drawing ♠

1 : 운용보전 프로세서 2 : 호처리 프로세서1: operation preservation processor 2: call processing processor

3 : 스위치 망 4 : 교환 시스템3: switch network 4: switching system

5 : 범용 컴퓨터 6 : 이더넷5: general purpose computer 6: Ethernet

7 : 범용 컴퓨터 8 : 범용 운영체제7: general purpose computer 8: general purpose operating system

9 : 원격 쉘 인터페이스 10 : 교환 시스템9: remote shell interface 10: exchange system

11 : 내장형 실시간 운영체제 12 : 쉘 명령어 처리부11: embedded real-time operating system 12: shell command processing unit

13 : 원격 쉘 수행 데몬 14 : 사용자13: Remote Shell Execution Daemon 14: User

앞서 설명한 바와 같은 목적을 달성하기 위한 본 발명에 따르면, 내장형 실시간 운영체제의 원격 쉘 운용 방법에 있어서, 원격 쉘 인터페이스가 외부로부터 쉘 명령어를 입력받아 등록된 명령어이고, 원격 쉘 수행종료 명령어가 아님에 따라 쉘 명령어 수행을 요청하기 위한 요청 메시지를 생성하여 원격 쉘 수행 데몬에게 송신하는 제 1 단계; 상기 원격 쉘 수행 데몬이 요청 메시지를 분석하여, 쉘 명령어가 등록된 명령어임에 따라 쉘 명령어 처리부를 사용하여 쉘 명령어를 수행하는 제 2 단계; 상기 원격 쉘 수행 데몬이 수행 결과를 메시지로 구성하여 상기 원격 쉘 인터페이스로 송신하는 제 3 단계; 및 수행 결과 메시지를 수신한 상기 원격 쉘 인터페이스는 수행 결과 메시지에 따른 출력 메시지를 생성하여 출력하는 제 4 단계를 포함하여 이루어진 원격 쉘 운용 방법이 제공된다.According to the present invention for achieving the object as described above, in the remote shell operating method of the embedded real-time operating system, the remote shell interface is a command that is registered by receiving a shell command from the outside, and is not a remote shell execution command Generating a request message for requesting execution of a shell command and transmitting the generated request message to a remote shell execution daemon; A second step of analyzing, by the remote shell execution daemon, a request message and executing a shell command using a shell command processing unit as a shell command is a registered command; A third step of configuring, by the remote shell execution daemon, a result of the execution as a message to the remote shell interface; And a fourth step of generating the output message according to the execution result message and outputting the output message according to the execution result message.

또한, 본 발명에 따르면, 컴퓨터에, 원격 쉘 인터페이스는 외부로부터 원격 쉘 명령어를 입력받아 원격 쉘 명령어 수행 데몬과 통신할 수 있는 UDP/IP 소켓 포트번호를 할당한 후에, 소켓 포트를 여는 제 1 단계; 쉘 명령어 종류를 분석한 후에, 약속한 프로토콜에 맞도록 요청 메시지로 구성하는 제 2 단계; 구성한 요청 메시지를 이더넷 상의 UDP/IP 통신 경로를 통하여 전송할 수 있도록 UDP/IP 패킷으로 구성하는 제 3 단계; 상기 원격 쉘 수행 데몬에게 해당 UDP/IP 패킷을 전송하는 제 4 단계; 및 상기 원격 쉘 수행 데몬으로부터 응답 메시지를 수신한 후에, 출력 메시지를 구성하여 출력하는 제 5 단계를 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체가 제공된다.In addition, according to the present invention, the remote shell interface receives a remote shell command from the outside and allocates a UDP / IP socket port number for communicating with a remote shell command execution daemon, and then opens the socket port. ; After analyzing the type of shell command, constructing a request message in accordance with a promised protocol; A third step of composing the configured request message into UDP / IP packets so as to be transmitted through a UDP / IP communication path over Ethernet; Transmitting a corresponding UDP / IP packet to the remote shell execution daemon; And a computer-readable recording medium having recorded thereon a program for executing a fifth step of constructing and outputting an output message after receiving a response message from the remote shell execution daemon.

또한, 본 발명에 따르면, 컴퓨터에, 다수의 원격 쉘 인터페이스들이 원격 쉘 수행 데몬으로 접속할 수 있는 유일한 UDP/IP 소켓 포트를 설정하는 제 1 단계; 상기 원격 쉘 인터페이스들이 접속할 수 있도록 설정한 UDP/IP 소켓 포트의 속성을 바인딩 하는 제 2 단계; 상기 원격 쉘 수행 데몬은 원격에 위치한 범용 컴퓨터에 탑재된 상기 원격 쉘 인터페이스들로부터의 쉘 수행 요청 메시지를 담은 UDP/IP 패킷을 수신하기 위해 대기하는 제 3 단계; UDP/IP 패킷을 수신하여 송신측 범용 컴퓨터의 인터넷 주소와 UDP/IP 소켓 포트 번호를 저장한 다음, UDP/IP 패킷에서 상기 원격 쉘 인터페이스가 보낸 요청 메시지를 분석하는 제 4 단계; 등록된 쉘 명령어임에 따라 쉘 명령어 종류를 판별하여 해당 쉘 명령어 기능을 쉘 명령어 처리부를 이용하여 실행하는 제 5 단계; 약속된 프로토콜 메시지 형태로 실행 결과를 응답 메시지로 구성하는 제 6 단계; 및 구성한 응답 메시지를 UDP/IP 패킷으로 만들어, 저장해 둔 송신측 인터넷 주소와 UDP/IP 소켓 포트 번호로 전송하는 제 7 단계를 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체가 제공된다.According to the present invention, there is also provided a computer comprising: a first step of establishing, on a computer, a unique UDP / IP socket port to which a plurality of remote shell interfaces can connect to a remote shell execution daemon; Binding a property of a UDP / IP socket port configured to allow the remote shell interfaces to connect; A third step of waiting for the remote shell execution daemon to receive a UDP / IP packet containing a shell execution request message from the remote shell interfaces mounted on a remote general purpose computer; A fourth step of receiving a UDP / IP packet, storing an Internet address and a UDP / IP socket port number of a general-purpose general purpose computer, and analyzing a request message sent by the remote shell interface in a UDP / IP packet; A fifth step of determining a shell command type according to the registered shell command and executing a corresponding shell command function using a shell command processor; A sixth step of composing the execution result as a response message in the form of a promised protocol message; And a computer-readable recording medium having recorded thereon a program for executing the seventh step of converting the configured response message into a UDP / IP packet and transmitting the stored Internet address and the UDP / IP socket port number.

아래에서, 본 발명에 따른 내장형 실시간 운영체제의 원격 쉘 운용 방법의 양호한 실시예를 첨부한 도면을 참조로 하여 상세히 설명하겠다.Hereinafter, with reference to the accompanying drawings a preferred embodiment of a remote shell operating method of the embedded real-time operating system according to the present invention will be described in detail.

일반적으로 교환 시스템과 같은 대형인 내장형 시스템을 개발하기 위해서는 다수의 사용자들이 동시에 내장형 시스템의 운영체제가 제공하는 쉘 기능을 이용하여, 개발한 소프트웨어를 수행시켜 시험할 수 있고, 시험용 교환 시스템이 있는 실험실이 아닌 거리적으로 떨어진 자신의 사무실에서 실험실에 있는 시험용 교환시스템의 운영체제가 제공하는 쉘 기능을 이용할 수 있으면, 소프트웨어 생산성 향상에 많은 도움이 된다.In general, in order to develop a large embedded system such as an exchange system, many users can simultaneously test the developed software using the shell function provided by the operating system of the embedded system. If you are able to take advantage of the shell functionality provided by the operating system of the test exchange system in your lab, at a distance away from your office, it will help you improve your software productivity.

따라서, 본 발명은 대용량의 내장형 시스템을 편리하게 개발할 수 있도록 내장형 시스템에 탑재되는 운영체제에서 제공하는 수행 환경인 쉘이 다수 사용자용이 아니더라도, 동시에 다수의 사용자들이 통신 네트워크를 이용하여 원격으로 사용할 수 있는 방법을 제공한다.Therefore, the present invention provides a method for enabling multiple users to remotely use a communication network at the same time, even if the shell, which is an execution environment provided by an operating system mounted on the embedded system, is not used for multiple users so that a large-capacity embedded system can be conveniently developed. To provide.

도면에서, 도 1은 본 발명이 적용되는 시스템의 구성도이다.1 is a block diagram of a system to which the present invention is applied.

도면에 도시된 바와 같이, 본 발명이 적용되는 시스템은, 내장형 실시간 운영체제를 탑재한 운용보전 프로세서(1)와 호처리 프로세서들(2)이 스위치 망(3)으로 연결된 교환시스템(4), 유닉스(UNIX)와 같은 범용 운영체제를 탑재한 범용 컴퓨터들(5)을 물리적으로 연결해주는 이더넷(ethernet)(6)을 구비하고 있다.As shown in the figure, the system to which the present invention is applied includes an exchange system 4 and a UNIX system in which an operation maintenance processor 1 and call processing processors 2 equipped with a built-in real-time operating system are connected to a switch network 3. Ethernet 6 is provided for physically connecting general-purpose computers 5 equipped with a general-purpose operating system such as UNIX.

본 발명은 상기 교환시스템의 운용보전 프로세서(1)와 호처리 프로세서(2)에 탑재되는 내장형 실시간 운영체제에서 제공하는 쉘 기능을 원격에 위치한 범용 컴퓨터(5)에서 언제 어디서나 편리하게 이용할 수 있도록 제공해 주는 내장형 실시간 운영체제의 원격 쉘 운용 방법에 관한 것이다.The present invention provides a shell function provided by the built-in real-time operating system mounted on the operation maintenance processor (1) and the call processing processor (2) of the exchange system so that it can be conveniently used anytime and anywhere in the general purpose computer (5) remotely located. The present invention relates to a remote shell operation method of an embedded real-time operating system.

도면에서, 도 2는 본 발명이 적용되는 시스템의 기능 블록도이다.2 is a functional block diagram of a system to which the present invention is applied.

도면에 도시된 바와 같이, 본 발명이 적용되는 시스템의 기능 블록은, 내장형 실시간 운영체제의 원격 쉘 기능은 범용 컴퓨터(7)의 범용 운영체제(8) 상에 탑재되는 원격 쉘 인터페이스(9), 교환시스템(10)의 내장형 실시간 운영체제(11)내의 쉘 명령어 처리부(12)와 원격 쉘 수행 데몬(13)을 구비하고 있다.As shown in the figure, the functional block of the system to which the present invention is applied, the remote shell interface 9 of the built-in real-time operating system is mounted on the general-purpose operating system 8 of the general-purpose computer 7, exchange system A shell command processing unit 12 and a remote shell execution daemon 13 in the built-in real-time operating system 11 of (10) are provided.

상기 원격 쉘 인터페이스(9)는 사용자 인터페이스로의 역할을 하며, 사용자(14)로부터 원격 쉘 명령어를 입력 받아 원격에 위치한 원격 쉘 수행 데몬(13)에게 실행 요청을 하기 위한 요청 메시지를 구성하여 이더넷 통신 선로를 통해 전송하고, 원격 쉘 수행 데몬(13)으로부터 온 쉘 명령어 수행 결과를 전송 받아 사용자(14)에게 모니터를 통해 수행 결과를 보여주는 역할을 한다.The remote shell interface 9 serves as a user interface, and receives a remote shell command from the user 14 to construct a request message for requesting execution to a remote shell execution daemon 13 located at a remote location. Transmission through the line, and receives the execution result of the shell command from the remote shell execution daemon 13 serves to show the user 14 the execution result through the monitor.

상기 쉘 명령어 처리부(12)는 내장형 실시간 운영체제가 제공하는 쉘 기능 블록으로 원격 쉘 수행 데몬(13)이 원격 쉘 인터페이스(9)로부터 요청 받은 쉘 명령어를 수행할 때 사용하는 기능 블록이다.The shell command processor 12 is a shell function block provided by the embedded real-time operating system, which is used by the remote shell execution daemon 13 to execute a shell command requested from the remote shell interface 9.

상기 원격 쉘 수행 데몬(13)은 원격 쉘 인터페이스(9)로부터 요청 받은 쉘 명령어를 수행하고 그 결과를 응답 메시지로 구성하여 이더넷 통신 선로를 이용하여 원격 쉘 인터페이스(9)에게 전송하는 역할을 한다.The remote shell execution daemon 13 performs a shell command requested from the remote shell interface 9, and configures the result as a response message and transmits the result to the remote shell interface 9 using an Ethernet communication line.

도면에서, 도 3은 본 발명의 일실시예에 따른 내장형 실시간 운영체제의 원격 쉘 운용 방법의 흐름도이다.3 is a flowchart of a remote shell operating method of an embedded real-time operating system according to an embodiment of the present invention.

도면에 도시된 바와 같이, 본 발명의 일실시예에 따른 내장형 실시간 운영체제의 원격 쉘 운용 방법은, 먼저 범용 컴퓨터의 원격 쉘 인터페이스에서 사용자로부터 쉘 명령어를 입력 받아(15) 등록된 쉘 명령어인지 판단하여(16), 등록된 쉘 명령어가 아니면 오류 메시지를 출력하고(17), 사용자로부터 명령어를 입력 받는 과정(15)부터 반복 수행한다.As shown in the figure, the remote shell operating method of the built-in real-time operating system according to an embodiment of the present invention, first receives a shell command from the user in the remote shell interface of the general-purpose computer (15) to determine whether it is a registered shell command (16), if it is not a registered shell command, an error message is output (17), and the process is repeated from the process of receiving a command from the user (15).

판단 결과, 입력 받은 명령어가 등록된 쉘 명령어이면 원격 쉘 수행 종료 명령어인지 판단하여(18), 원격 쉘 수행 종료 명령어이면 종료하고, 원격 쉘 수행 종료 명령어가 아니면 내장형 시스템의 원격 쉘 수행 데몬에게 해당 명령어 수행을 요청하기 위해 원격 쉘 수행 데몬과 약속한 프로토콜에 맞는 요청 메시지를 구성한다(19).If it is determined that the received command is a registered shell command, it is determined whether the command is a remote shell execution command (18). If the command is a remote shell execution command, the command is terminated. If the command is not a remote shell command, the command is transmitted to the remote shell execution daemon of the embedded system. To request execution, construct a request message for the protocol promised with the remote shell execution daemon (19).

상기 구성한 요청 메시지를 UDP/IP 통신 프로토콜을 이용하여 전송할 수 있도록 UDP/IP 패킷으로 구성하여 원격 쉘 수행 데몬에게 전송한다(20).The request message is configured as a UDP / IP packet to be transmitted using a UDP / IP communication protocol and transmitted to a remote shell execution daemon (20).

다음, 내장형 시스템의 실시간 운영체제의 원격 쉘 수행 데몬이 원격 쉘 인터페이스로부터 수신한 UDP/IP 패킷에서 요청 메시지를 분석하여 수행해야 할 쉘 명령어를 판별한 후에(21), 쉘 명령어 처리부에 등록된 쉘 명령어인지 판단한다(22).Next, after the remote shell execution daemon of the real-time operating system of the embedded system analyzes the request message in the UDP / IP packet received from the remote shell interface to determine the shell command to be executed (21), the shell command registered in the shell command processing unit It is determined whether or not (22).

판단 결과, 등록된 쉘 명령어가 아닌 경우 오류 메시지를 응답 메시지로 구성하여 UDP/IP 패킷을 만들어(23) 원격 쉘 인터페이스로 전송한다(26).As a result, if it is not a registered shell command, an error message is composed of a response message, and a UDP / IP packet is created (23) and transmitted to a remote shell interface (26).

판단 결과, 쉘 명령어 처리부에 등록된 명령어인 경우에는 원격 쉘 수행 데몬은 쉘 명령어 처리부의 해당 쉘 명령어를 수행한다(24).If it is determined that the command is registered in the shell command processor, the remote shell execution daemon executes the corresponding shell command of the shell command processor (24).

이후에, 원격 쉘 인터페이스에게 전달하기 위해 원격 쉘 수행 데몬은 원격 쉘 인터페이스와 약속한 프로토콜에 맞게 수행 결과를 응답 메시지로 구성한 다음, UDP/IP 통신 프로토콜로 전달할 수 있도록 UDP/IP 패킷을 만들어(25) 원격 쉘 인터페이스로 전송한다(26).Subsequently, for delivery to the remote shell interface, the remote shell execution daemon constructs a response message based on the protocol agreed with the remote shell interface, and then creates UDP / IP packets for delivery to the UDP / IP communication protocol (25). (26) to the remote shell interface.

다음에, 원격 쉘 인터페이스는 원격 쉘 데몬으로부터 수신한 쉘 명령어 수행 결과를 담은 응답 메시지를 분석하여 사용자 모니터로 출력할 출력 메시지를 구성하여 출력하고(27), 다음 쉘 명령어를 처리하기 위해 원격 쉘 인터페이스가 사용자로부터 쉘 명령어를 입력 받는 과정(15)부터 반복 수행한다.Next, the remote shell interface analyzes the response message containing the result of executing the shell command received from the remote shell daemon, constructs and outputs an output message to be output to the user monitor (27), and the remote shell interface to process the next shell command. Repeats the process of receiving a shell command from the user (15).

도면에서, 도 4는 본 발명의 일실시예에 따른 원격 쉘 인터페이스에서의 내장형 실시간 운영체제의 원격 쉘 운용 과정의 흐름도이다.4 is a flowchart of a remote shell operation process of the embedded real-time operating system in the remote shell interface according to an embodiment of the present invention.

도면에 도시된 바와 같이, 본 발명의 일실시예에 따른 원격 쉘 인터페이스에서의 내장형 실시간 운영체제의 원격 쉘 운용 과정은, 먼저, 원격 쉘 인터페이스는 사용자로부터 원격 쉘 명령어를 입력 받으면 원격 쉘 수행 데몬에게 요청하는데 필요한 이더넷 통신 선로를 확보하기 위해 원격 쉘 모드로 들어가서 원격 쉘 명령어 수행 데몬과 통신할 수 있는 UDP/IP 소켓 포트번호를 할당하고 소켓 포트를 연다(28).As shown in the figure, the remote shell operating process of the embedded real-time operating system in the remote shell interface according to an embodiment of the present invention, first, the remote shell interface requests the remote shell execution daemon when a remote shell command is input from the user In order to secure the necessary Ethernet communication lines, it enters remote shell mode, assigns a UDP / IP socket port number to communicate with the remote shell command execution daemon, and opens the socket port (28).

이후에, 사용자로부터 쉘 명령어 입력을 기다리고 있다가, 입력을 받으면 쉘 명령어 종류를 분석하여(29) 등록된 명령어인지 판단한다(30).Subsequently, the user waits for a shell command input from the user, and upon receiving the input, analyzes the shell command type (29) and determines whether the command is a registered command (30).

판단 결과, 등록된 명령어가 아니면 오류 메시지를 출력하고(31), 다음 명령어 입력을 기다리며(29), 등록된 명령어인 경우는 원격 쉘 종료 명령어인지 판단하여(32), 종료 명령어이면, 원격 명령어 수행 데몬과 통신하기 위해 열어 둔 UDP/IP 소켓 포트를 닫은 다음(33) 원격 쉘 모드에서 빠져 나온다(34).As a result of the determination, if it is not a registered command, an error message is output (31), the next command is inputted (29), and if it is a registered command, it is determined whether it is a remote shell termination command (32). Close any UDP / IP socket ports you have open to communicate with the daemon (33) and then exit remote shell mode (34).

판단 결과, 종료 명령어가 아니고 등록된 일반 원격 쉘 명령어이면 내장형 시스템의 실시간 운영체제의 원격 쉘 명령어 수행 데몬에게 수행 요청을 하기 위해 약속한 프로토콜에 맞도록 요청 메시지로 구성한다(35).If it is determined that the command is not a shutdown command and is a registered general remote shell command, the request message is configured to conform to the protocol promised to make a request to the remote shell command execution daemon of the real-time operating system of the embedded system (35).

상기 구성한 요청 메시지를 이더넷 상의 UDP/IP 통신 경로를 통하여 전송할 수 있도록 UDP/IP 패킷으로 구성하고(36), 패킷을 전송하기 전에 응답시간 타임아웃을 설정한 다음, 원격 쉘 수행 데몬에게 해당 UDP/IP 패킷을 전송한다(37).Configure the request message as a UDP / IP packet so that it can be transmitted through a UDP / IP communication path over Ethernet (36), set the response timeout before transmitting the packet, and then send the corresponding UDP / Send an IP packet (37).

이후에, 원격 쉘 인터페이스는 설정한 타임아웃 메시지나 원격 쉘 수행 데몬으로부터의 쉘 명령어 수행 결과를 담은 응답메시지를 수신하기 위해 기다린다(38).Thereafter, the remote shell interface waits (38) for a set timeout message or a response message containing the result of executing a shell command from the remote shell execution daemon.

다음에, 수신된 메시지가 타임아웃 메시지인지를 판단하여(39), 타임아웃 메시지가 도착하면(39) 타임아웃 오류에 대한 메시지를 출력하고(31), 사용자로부터 쉘 명령어 입력을 기다리다가 쉘 명령을 입력받으면 쉘 명령어 종류를 분석하는 과정(29)부터 반복 수행한다.Next, it is determined whether the received message is a timeout message (39), and when the timeout message arrives (39), a message about a timeout error is output (31), and the user waits for a shell command input from the user before entering the shell command. If is input, the process is repeated from the process of analyzing the shell command type (29).

판단 결과, 타임아웃 메시지가 아니면, 응답 메시지인지를 판단하여(40), 응답 메시지가 도착하면 응답 메시지를 사용자에게 보여줄 출력 메시지로 구성하여 수행결과를 사용자에게 모니터로 출력하여 주고(41), 타임아웃 메시지도 아니고(39) 응답메시지도 아닌 경우는(40) 오류 메시지를 출력하고(31) 처음부터 다시 사용자로부터의 쉘 명령어 입력을 기다리는 과정(29)부터 반복 수행한다.As a result of the determination, if it is not the timeout message, it is determined whether it is a response message (40), and when the response message arrives, the response message is configured as an output message to be shown to the user, and the result is output to the monitor (41). If the message is not an out message (39) or a response message (40), an error message is output (31), and the process is repeated from step 29 waiting for a shell command input from the user.

도면에서, 도 5는 본 발명의 일실시예에 따른 원격 쉘 수행 데몬에서의 내장형 실시간 운영체제의 원격 쉘 운용 과정의 흐름도이다.5 is a flowchart illustrating a remote shell operation process of an embedded real-time operating system in a remote shell execution daemon according to an embodiment of the present invention.

도면에 도시된 바와 같이, 본 발명의 일실시예에 따른 원격 쉘 수행 데몬에서의 내장형 실시간 운영체제의 원격 쉘 운용 과정은, 다수의 원격 쉘 인터페이스들이 원격 쉘 수행 데몬으로 접속할 수 있는 유일한 UDP/IP 소켓 포트를 설정한 후에(42), 원격 쉘 인터페이스들이 통신 네트워크 상의 어느 노드 즉 어느 범용 컴퓨터에 위치 하던지 상관 없이 접속할 수 있도록 설정한 UDP/IP 소켓 포트의 속성을 바인딩 한다(43).As shown in the figure, the remote shell operation process of the built-in real-time operating system in the remote shell execution daemon according to an embodiment of the present invention, the only UDP / IP socket that a plurality of remote shell interfaces can connect to the remote shell execution daemon After setting the port (42), it binds (43) the properties of the UDP / IP socket port that the remote shell interfaces are set to connect to regardless of which node on the communication network, which general purpose computer is located.

이후에, 원격 쉘 수행 데몬은 원격에 위치한 범용 컴퓨터에 탑재된 원격 쉘 인터페이스들로부터의 쉘 수행 요청 메시지를 담은 UDP/IP 패킷을 수신하기 위해 기다린다(44).Thereafter, the remote shell execution daemon waits (44) to receive a UDP / IP packet containing a shell execution request message from remote shell interfaces mounted on a remote general purpose computer.

상기 단계에서 UDP/IP 패킷을 수신하면 그 패킷을 보낸 송신측 범용 컴퓨터의 인터넷 주소와 UDP/IP 소켓 포트 번호를 저장한(45) 다음, UDP/IP 패킷에서 원격 쉘 인터페이스가 보낸 요청 메시지를 분석하여 등록된 쉘 명령어인지 판단한다(46).When the UDP / IP packet is received in the above step, the Internet address and the UDP / IP socket port number of the sender general purpose computer which sent the packet are stored (45), and then the request message sent by the remote shell interface is analyzed in the UDP / IP packet. In operation 46, the processor determines whether the command is a registered shell command.

판단 결과, 등록된 쉘 명령어가 아닌 경우에는 수행 오류를 응답 메시지로 구성한(48) 다음, UDP/IP 패킷으로 만들어 저장해 둔 송신측 인터넷 주소와 UDP/IP 소켓 포트 번호로 응답하고(51) 다음 요청 메시지를 수신하기 위한 과정(44)부터 반복 수행한다.As a result of the determination, if it is not a registered shell command, the execution error is composed of a response message (48), and then the response is made using the sender Internet address and the UDP / IP socket port number stored and stored as a UDP / IP packet (51). The process is repeated from step 44 for receiving a message.

판단 결과, 등록된 쉘 명령어이면 쉘 명령어 종류를 판별하여 해당 쉘 명령어 기능을 쉘 명령어 처리부를 이용하여 실행한다(49).As a result of the determination, if it is a registered shell command, the shell command type is determined and the corresponding shell command function is executed using the shell command processor (49).

상기 실행 결과를 실행 요청한 원격 쉘 인터페이스에게 전송하기 위해 원격 쉘 인터페이스와 약속된 프로토콜 메시지 형태로 실행 결과를 응답 메시지로 구성한(50) 다음, 구성한 응답 메시지를 UDP/IP 패킷으로 만들어, 저장해 둔 송신측 인터넷 주소와 UDP/IP 소켓 포트 번호로 전송한(51) 후, 다음 요청 메시지를 수신하기 위해 대기하는 과정(44)부터 반복 수행한다.In order to transmit the execution result to the remote shell interface requesting execution, the execution result is composed of a response message in the form of a protocol message promised with the remote shell interface (50), and then the configured response message is made into a UDP / IP packet and stored. After transmitting (51) to the Internet address and the UDP / IP socket port number, the process repeats the process of waiting for receiving the next request message (44).

앞서 상세히 설명한 바와 같이 본 발명의 내장형 실시간 운영체제의 원격 쉘 운용 방법은 이더넷으로 연결된 통신 네트워크 환경에서 내장형 시스템이 어디에 위치하던지 상관없이 범용 컴퓨터에 위치하는 원격 쉘 인터페이스를 통해 내장형 시스템의 실시간 운영체제에 내장된 쉘 기능을 원격으로 사용할 수 있고, 내장형 실시간 운영체제가 제공하는 쉘 기능이 다수의 사용자용이 아니더라도, 이더넷 통신 메커니즘을 이용함으로써 동시에 다수의 사용자들이 원격으로 내장형 실시간 운영체제의 쉘 기능을 이용하여 개발 중에 있는 내장형 시스템에 탑재되는 사용자 프로그램을 다운로딩하여 시험하고 디버깅하는데 편리하게 이용할 수 있으므로 소프트웨어 생산성 향상에 기여하는 효과가 있다.As described in detail above, the remote shell operating method of the embedded real-time operating system of the present invention is embedded in the real-time operating system of the embedded system through a remote shell interface located in a general-purpose computer regardless of where the embedded system is located in an Ethernet-connected communication network environment. Even though the shell function can be used remotely and the shell function provided by the embedded real-time operating system is not for many users, the embedded communication system which is under development by using the Ethernet communication mechanism to simultaneously remotely use the shell function of the embedded real-time operating system. It is useful for downloading, testing, and debugging user programs loaded on the system, thus contributing to software productivity improvement.

이상에서 본 발명의 내장형 실시간 운영체제의 원격 쉘 운용 방법에 대한 기술사상을 첨부도면과 함께 서술하였지만 이는 본 발명의 가장 양호한 실시예를 예시적으로 설명한 것이지 본 발명을 한정하는 것은 아니다. 또한, 이 기술분야의 통상의 지식을 가진 자이면 누구나 본 발명의 기술사상의 범주를 이탈하지 않는 범위내에서 다양한 변형 및 모방이 가능함은 명백한 사실이다.In the above description, the technical idea of the method for operating the remote shell of the embedded real-time operating system of the present invention has been described with the accompanying drawings, but this is by way of example and not by way of limitation. In addition, it is obvious that any person skilled in the art can make various modifications and imitations without departing from the scope of the technical idea of the present invention.

Claims (7)

내장형 실시간 운영체제의 원격 쉘 운용 방법에 있어서,In the remote shell operating method of the embedded real-time operating system, 원격 쉘 인터페이스가 외부로부터 쉘 명령어를 입력받아 등록된 명령어이고, 원격 쉘 수행종료 명령어가 아님에 따라 쉘 명령어 수행을 요청하기 위한 요청 메시지를 생성하여 원격 쉘 수행 데몬에게 송신하는 제 1 단계;A first step of generating a request message for requesting execution of a shell command and transmitting the generated shell command to a remote shell execution daemon as the remote shell interface receives a shell command from an external source and is not a remote shell execution end command; 상기 원격 쉘 수행 데몬이 요청 메시지를 분석하여, 쉘 명령어가 등록된 명령어임에 따라 쉘 명령어 처리부를 사용하여 쉘 명령어를 수행하는 제 2 단계;A second step of analyzing, by the remote shell execution daemon, a request message and executing a shell command using a shell command processing unit as a shell command is a registered command; 상기 원격 쉘 수행 데몬이 수행 결과를 메시지로 구성하여 상기 원격 쉘 인터페이스로 송신하는 제 3 단계; 및A third step of configuring, by the remote shell execution daemon, a result of the execution as a message to the remote shell interface; And 수행 결과 메시지를 수신한 상기 원격 쉘 인터페이스는 수행 결과 메시지에 따른 출력 메시지를 생성하여 출력하는 제 4 단계를 포함하여 이루어진 원격 쉘 운용 방법.The remote shell interface receiving the execution result message comprises a fourth step of generating and outputting an output message according to the execution result message. 제 1 항에 있어서,The method of claim 1, 상기 제 1 단계는,The first step is, 상기 원격 쉘 인터페이스는 외부로부터 원격 쉘 명령어를 입력받아 상기 원격 쉘 명령어 수행 데몬과 통신할 수 있는 UDP/IP 소켓 포트번호를 할당한 후에, 소켓 포트를 여는 제 5 단계;A fifth step of opening a socket port after allocating a UDP / IP socket port number for receiving a remote shell command from an external device and communicating with the remote shell command execution daemon; 쉘 명령어 종류를 분석하여 등록된 명령어인지 판단하는 제 6 단계;Analyzing a shell command type to determine whether the command is a registered command; 상기 제 6 단계의 판단 결과, 등록된 명령어가 아니면 오류 메시지를 출력한 후에, 명령어 입력을 기다리는 제 7 단계;A seventh step of waiting for a command input after outputting an error message if it is not a registered command as a result of the determination of the sixth step; 상기 제 6 단계의 판단 결과, 등록된 명령어이면 원격 쉘 종료 명령어인지 판단하는 제 8 단계;An eighth step of determining whether the registered command is a remote shell termination command as a result of the determination of the sixth step; 상기 제 8 단계의 판단 결과, 종료 명령어이면, 원격 명령어 수행 데몬과 통신하기 위해 열어 둔 UDP/IP 소켓 포트를 닫은 다음 원격 쉘 모드에서 빠져 나오는 제 9 단계;A ninth step of exiting the remote shell mode after closing the UDP / IP socket port opened for communication with the remote command execution daemon if the termination command is determined as the result of the eighth step; 상기 제 8 단계의 판단 결과, 등록된 일반 원격 쉘 명령어이면 약속한 프로토콜에 맞도록 요청 메시지로 구성하는 제 10 단계; 및As a result of the determination of the eighth step, a tenth step of configuring the request message according to the promised protocol if the registered general remote shell command; And 구성한 요청 메시지를 이더넷 상의 UDP/IP 통신 경로를 통하여 전송할 수 있도록 UDP/IP 패킷으로 구성한 후에, 패킷을 전송하기 전에 응답시간 타임아웃을 설정한 다음, 원격 쉘 수행 데몬에게 해당 UDP/IP 패킷을 전송하는 제 11 단계를 포함하여 이루어진 원격 쉘 운용 방법.After configuring the configured request message as a UDP / IP packet to be transmitted through the UDP / IP communication path over Ethernet, set the response timeout before sending the packet, and then send the UDP / IP packet to the remote shell execution daemon. Remote shell operation method comprising the eleventh step. 제 2 항에 있어서,The method of claim 2, 상기 제 2 단계는,The second step, 다수의 상기 원격 쉘 인터페이스들이 상기 원격 쉘 수행 데몬으로 접속할 수 있는 유일한 UDP/IP 소켓 포트를 설정하는 제 12 단계;Establishing a unique UDP / IP socket port to which the plurality of remote shell interfaces can connect to the remote shell execution daemon; 상기 원격 쉘 인터페이스들이 접속할 수 있도록 설정한 UDP/IP 소켓 포트의 속성을 바인딩 하는 제 13 단계;Binding a property of a UDP / IP socket port configured to be accessible by the remote shell interfaces; 상기 원격 쉘 수행 데몬은 원격에 위치한 범용 컴퓨터에 탑재된 상기 원격 쉘 인터페이스들로부터의 쉘 수행 요청 메시지를 담은 UDP/IP 패킷을 수신하기 위해 대기하는 제 14 단계;The remote shell execution daemon (14), waiting to receive a UDP / IP packet containing a shell execution request message from the remote shell interfaces mounted on a remote general purpose computer; UDP/IP 패킷을 수신하여 송신측 범용 컴퓨터의 인터넷 주소와 UDP/IP 소켓 포트 번호를 저장한 다음, UDP/IP 패킷에서 상기 원격 쉘 인터페이스가 보낸 요청 메시지를 분석하여 등록된 쉘 명령어인지 판단하는 제 15 단계;Receiving the UDP / IP packet, storing the Internet address of the sending general purpose computer and the UDP / IP socket port number, and analyzing the request message sent by the remote shell interface in the UDP / IP packet to determine whether it is a registered shell command. Step 15; 상기 제 15 단계의 판단 결과, 등록된 쉘 명령어가 아닌 경우에는 수행 오류를 응답 메시지로 구성하여 송신측 인터넷 주소와 UDP/IP 소켓 포트 번호로 응답한 후에, 상기 제 14 단계부터 반복 수행하는 제 16 단계;As a result of the determination of the fifteenth step, if it is not a registered shell command, the execution error is configured as a response message, and the response is performed with the sender internet address and the UDP / IP socket port number, and the sixteenth operation is repeated from the fourteenth step. step; 상기 제 15 단계의 판단 결과, 등록된 쉘 명령어이면 쉘 명령어 종류를 판별하여 해당 쉘 명령어 기능을 상기 쉘 명령어 처리부를 이용하여 실행하는 제 17 단계를 포함하여 이루어진 원격 쉘 운용 방법.And a seventeenth step of determining a type of shell command and executing the corresponding shell command function using the shell command processing unit, in response to the determination of the fifteenth step. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 3 단계는,The third step, 약속된 프로토콜 메시지 형태로 실행 결과를 응답 메시지로 구성하는 제 18 단계; 및An eighteenth step of constructing an execution result as a response message in the form of a promised protocol message; And 구성한 응답 메시지를 UDP/IP 패킷으로 만들어, 저장해 둔 송신측 인터넷 주소와 UDP/IP 소켓 포트 번호로 전송한 후, 상기 제 14 단계부터 반복 수행하는 제 19 단계를 포함하여 이루어진 원격 쉘 운용 방법.And a nineteenth step of repeating the operation from the fourteenth step after transmitting the configured response message into a UDP / IP packet and transmitting it to a stored sender internet address and a UDP / IP socket port number. 제 4 항에 있어서,The method of claim 4, wherein 상기 제 4 단계는,The fourth step, 수신된 메시지가 타임아웃 메시지인지를 판단하는 제 20 단계;A twentieth step of determining whether the received message is a timeout message; 상기 제 20 단계의 판단 결과, 타임아웃 메시지가 도착하면 타임아웃 오류에 대한 메시지를 출력한 후에, 상기 제 1 단계부터 반복 수행하는 제 21 단계;A twenty-first step of repeating from the first step after outputting a message for a time-out error when the time-out message arrives as a result of the determination of the twenty step; 상기 제 20 단계의 판단 결과, 타임아웃 메시지가 아니면 응답 메시지인지를 판단하는 제 22 단계;A twenty-second step of determining whether the response message is a timeout message or a response message as a result of the determination in the twentieth step; 상기 제 22 단계의 판단결과, 응답 메시지가 아니면 오류에 대한 메시지를 출력한 후에, 상기 제 1 단계부터 반복 수행하는 제 23 단계; 및A twenty-third step of repeating the first step after outputting a message for an error if the response message is not a response message; And 상기 제 23 단계의 판단 결과, 응답 메시지이면 응답 메시지를 사용자에게 보여줄 출력 메시지를 구성하여 출력하는 제 24 단계As a result of the determination of the twenty-third step, if the response message is a twenty-fourth step of configuring and outputting an output message to show the response message to the user 를 포함하여 이루어진 원격 쉘 운용 방법.Remote shell operation method comprising a. 컴퓨터에,On your computer, 원격 쉘 인터페이스는 외부로부터 원격 쉘 명령어를 입력받아 원격 쉘 명령어 수행 데몬과 통신할 수 있는 UDP/IP 소켓 포트번호를 할당한 후에, 소켓 포트를 여는 제 1 단계;The remote shell interface may include: a first step of opening a socket port after allocating a UDP / IP socket port number capable of receiving a remote shell command from an external device and communicating with a remote shell command execution daemon; 쉘 명령어 종류를 분석한 후에, 약속한 프로토콜에 맞도록 요청 메시지로 구성하는 제 2 단계;After analyzing the type of shell command, constructing a request message in accordance with a promised protocol; 구성한 요청 메시지를 이더넷 상의 UDP/IP 통신 경로를 통하여 전송할 수 있도록 UDP/IP 패킷으로 구성하는 제 3 단계;A third step of composing the configured request message into UDP / IP packets so as to be transmitted through a UDP / IP communication path over Ethernet; 상기 원격 쉘 수행 데몬에게 해당 UDP/IP 패킷을 전송하는 제 4 단계; 및Transmitting a corresponding UDP / IP packet to the remote shell execution daemon; And 상기 원격 쉘 수행 데몬으로부터 응답 메시지를 수신한 후에, 출력 메시지를 구성하여 출력하는 제 5 단계A fifth step of constructing and outputting an output message after receiving a response message from the remote shell execution daemon; 를 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for executing the program. 컴퓨터에,On your computer, 다수의 원격 쉘 인터페이스들이 원격 쉘 수행 데몬으로 접속할 수 있는 유일한 UDP/IP 소켓 포트를 설정하는 제 1 단계;Setting a unique UDP / IP socket port to which a plurality of remote shell interfaces can connect to a remote shell execution daemon; 상기 원격 쉘 인터페이스들이 접속할 수 있도록 설정한 UDP/IP 소켓 포트의 속성을 바인딩 하는 제 2 단계;Binding a property of a UDP / IP socket port configured to allow the remote shell interfaces to connect; 상기 원격 쉘 수행 데몬은 원격에 위치한 범용 컴퓨터에 탑재된 상기 원격 쉘 인터페이스들로부터의 쉘 수행 요청 메시지를 담은 UDP/IP 패킷을 수신하기 위해 대기하는 제 3 단계;A third step of waiting for the remote shell execution daemon to receive a UDP / IP packet containing a shell execution request message from the remote shell interfaces mounted on a remote general purpose computer; UDP/IP 패킷을 수신하여 송신측 범용 컴퓨터의 인터넷 주소와 UDP/IP 소켓 포트 번호를 저장한 다음, UDP/IP 패킷에서 상기 원격 쉘 인터페이스가 보낸 요청 메시지를 분석하는 제 4 단계;A fourth step of receiving a UDP / IP packet, storing an Internet address and a UDP / IP socket port number of a general-purpose general purpose computer, and analyzing a request message sent by the remote shell interface in a UDP / IP packet; 등록된 쉘 명령어임에 따라 쉘 명령어 종류를 판별하여 해당 쉘 명령어 기능을 쉘 명령어 처리부를 이용하여 실행하는 제 5 단계;A fifth step of determining a shell command type according to the registered shell command and executing a corresponding shell command function using a shell command processor; 약속된 프로토콜 메시지 형태로 실행 결과를 응답 메시지로 구성하는 제 6 단계; 및A sixth step of composing the execution result as a response message in the form of a promised protocol message; And 구성한 응답 메시지를 UDP/IP 패킷으로 만들어, 저장해 둔 송신측 인터넷 주소와 UDP/IP 소켓 포트 번호로 전송하는 제 7 단계를 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for executing the seventh step of converting the configured response message into a UDP / IP packet and transmitting the stored Internet address and UDP / IP socket port number.
KR1019980046279A 1998-10-30 1998-10-30 Remote Shell Operation of the Embedded Real-Time Operating System KR100281416B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980046279A KR100281416B1 (en) 1998-10-30 1998-10-30 Remote Shell Operation of the Embedded Real-Time Operating System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980046279A KR100281416B1 (en) 1998-10-30 1998-10-30 Remote Shell Operation of the Embedded Real-Time Operating System

Publications (2)

Publication Number Publication Date
KR20000028138A KR20000028138A (en) 2000-05-25
KR100281416B1 true KR100281416B1 (en) 2001-02-01

Family

ID=19556494

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980046279A KR100281416B1 (en) 1998-10-30 1998-10-30 Remote Shell Operation of the Embedded Real-Time Operating System

Country Status (1)

Country Link
KR (1) KR100281416B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000034157A (en) * 1998-11-27 2000-06-15 서평원 Shell command process method in switcher

Also Published As

Publication number Publication date
KR20000028138A (en) 2000-05-25

Similar Documents

Publication Publication Date Title
KR0150526B1 (en) Apparatus and method for testing multiport protocol
US5812529A (en) Method and apparatus for network assessment
US6549882B1 (en) Mechanisms for providing and using a scripting language for flexibly simulationg a plurality of different network protocols
CN101068206B (en) Grouping exchange, network node, packet exchanging structure and data packet routing method
CN108804313B (en) Method and device for remotely debugging program and server
WO2002056541B1 (en) Methods and systems for testing comminications network components
US20150135165A1 (en) Debugging a web application locally during development
US20010011215A1 (en) Network device simulation system and method
CN111159019B (en) Application program testing method, testing control terminal and testing terminal
KR100619960B1 (en) Remote control apparatus and method for controlling remotely debugging tool through internet
Galtier et al. Predicting and controlling resource usage in a heterogeneous active network
Schulz et al. NexMon: A cookbook for firmware modifications on smartphones to enable monitor mode
KR100281416B1 (en) Remote Shell Operation of the Embedded Real-Time Operating System
Harkous et al. P4RCProbe for evaluating the performance of P4Runtime-based controllers
Dinda The minet tcp/ip stack
MacMahon et al. LightWeight IP (lwIP) Application Examples
Bolla et al. A high performance ip traffic generation tool based on the intel ixp2400 network processor
CN113890877B (en) Cloud testing method and device
Lindblom et al. Real Time Communication Platform: Using ARM Cortex M7 and MQTT
CN215186817U (en) Application debugging device of cross-mechanism internal network
KR100275513B1 (en) An automatic invoking method of a target debug server dynamically for a cross debugging
Velusamy Lightweight ip (lwip) application examples
KR100380327B1 (en) Interface system and method between ATM switch and TMT agent
Osiński et al. New approaches to data plane programmability for software datapaths in the NFV infrastructure
Nuriddinov et al. Reproducible functional tests for multi-scale network services

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20041101

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee