KR0119286B1 - Static analyzer for supporting signal information - Google Patents

Static analyzer for supporting signal information

Info

Publication number
KR0119286B1
KR0119286B1 KR1019940032101A KR19940032101A KR0119286B1 KR 0119286 B1 KR0119286 B1 KR 0119286B1 KR 1019940032101 A KR1019940032101 A KR 1019940032101A KR 19940032101 A KR19940032101 A KR 19940032101A KR 0119286 B1 KR0119286 B1 KR 0119286B1
Authority
KR
South Korea
Prior art keywords
information
signal
make
file
generation means
Prior art date
Application number
KR1019940032101A
Other languages
Korean (ko)
Other versions
KR960018928A (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 KR1019940032101A priority Critical patent/KR0119286B1/en
Publication of KR960018928A publication Critical patent/KR960018928A/en
Application granted granted Critical
Publication of KR0119286B1 publication Critical patent/KR0119286B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Devices For Executing Special Programs (AREA)
  • Stored Programmes (AREA)

Abstract

Disclosed is an apparatus for obtaining a signal information between operation modules including a make file generation means, make index generation means, a signal related material generation means, an analyzing means, a object code generation means, and make means. The make file generation means provide a make file including compile commands and time relation between files for performing the make function. The make index generation means generate a common file by extracting the names only used for a program in order to guarantee the unification of informations. The signal related material generation means generate a file having material structure of a communication message and the signal related items which the user define by receiving the common file. The analyzing means generate a final information table for a signal output information. The object code generation means generate object codes. The make means generate a final operation module capable of performing by linking the object codes and message library module etc. Thus, the output level about the signal information is clarified as a simple information and a detailed information and the signal information is output through the user terminal connected to the object system and the determination of the output level is controlled by storing the input value of shell command in the data area.

Description

실행 모듈들간의 시그널 정보 획득을 위한 장치 (Static Analyzer for Supporting Signal Information)Static Analyzer for Supporting Signal Information

제1도는 컴파일러 및 목적 시스템의 실행환경에 대한 구성 예시도.1 is an exemplary configuration diagram of a compiler and an execution environment of a target system.

제2도는 본 발명의 결과인 시그널 정보 생성 영역의 기능요소들과 컴파일러의 구성요소들간의 연계 구성 예시도.2 is a diagram illustrating an example of a linkage configuration between functional elements of a signal information generation area and components of a compiler that are the result of the present invention.

제3도는 최종 실행 모듈이 적재된 프로세서와 사용자 터미널간의 인터페이스 구조.3 is an interface structure between a user terminal and a processor loaded with a final execution module.

제4도는 시그널 링크 정보처리 과정의 순서도.4 is a flowchart of a signal link information processing process.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

100 : 호스트 시스템 영역 200 : 목적 시스템 영역100: host system area 200: destination system area

300 : 인터페이스 영역 400 : 사용자 영역300: interface area 400: user area

402 : 분석단계 403 : 생성단계402: analysis step 403: generation step

405 : 메이크파일 생성기 406 : 메이크목차 생성기405: Makefile Generator 406: Make Table of Contents Generator

407 : 목적코드부 408 : 링커407: object code part 408: linker

본 발명은 목적 시스템상에서 실행되는 실행 모듈들간의 시그널 정보 획득을 위한 방식에 관한 것으로 특히, 분산환경하에서 프로세스들간 또는 프로세서들간의 통신과 동기화 방법을 지원하는 시그널 송수신에 관련된 정보들을 응용프로그램 레벨에서 처리하기 위한 실행 모듈들간의 시그널 정보 획득을 위한 장치에 관한 것이다.The present invention relates to a method for acquiring signal information between execution modules executed on an object system. In particular, the present invention processes information related to signal transmission and reception supporting a method of communication and synchronization between processes or processors in a distributed environment at an application program level. The present invention relates to an apparatus for obtaining signal information between execution modules.

일반적으로, 프로그래머들은 시그널의 송수신 상태 및 정보를 확인하기 위한 주요방법으로 시뮬레이션 환경과 교차 디버거 기법을 사용하여 왔다.In general, programmers have used simulation environments and cross-debugger techniques as the primary way to check the status and information of a signal.

상술한 시뮬레이션 환경이란, 호스트상에서 목적 시스템과 유사한 환경을 제공한 후 교환기 특정 소프트웨어 블럭들에 대한 동작을 시뮬래이션하여 목적 시스템에 탑재하기 전에 대부분의 오류를 조기에 발견하고 해결할 수 있는 환경을 제공하는 것을 칭하며, 또한 교차 디버거 기법이란, 목적 시스템에서 실행되는 특정 소프트웨어 블럭을 이데네트(Ethernet)을 이용하여 호스트에서 디버깅하는 기능을 제공하는 소스레벨 디버거이다.The simulation environment described above provides an environment similar to the target system on the host, and then simulates the operation of the exchanger specific software blocks so that most errors can be detected and resolved early before being loaded into the target system. Also, the cross debugger technique is a source level debugger that provides the ability to debug a particular software block running on the target system on a host using Ethernet.

상기와 같은 종래의 기법들은 시그널 추적시 호스트에 종속성을 갖기 때문에 특정 소프트웨어 블럭에 대해서만 가능하기 때문에, 소프트웨어 블럭과 운영체제의 변경없이 응용 프로그램 수준에서 다량의 소프트웨어 블럭들에 적용할 수 있는 시그널 디버깅 지원 기능이 요구되는 문제점이 발생되었다.The conventional techniques described above are only available for specific software blocks because they depend on the host for signal tracking, so they can be applied to a large number of software blocks at the application level without changing the software blocks and operating system. This required problem has arisen.

상기와 같은 문제점을 해소하기 위한 본 발명의 목적은 시그널에 관련된 사항들이 들어있는 화일을 스캔하여 얻은 자료들과 이 자료들을 처리하는 함수들로 조합된 코드를 소프트웨어 블럭과 링크하여 하나의 실행 모듈로 구성한 후 목적 시스템에서 실행할 수 있는 실행 모듈들간의 시그널 정보 획득을 위한 장치를 제공하는데 있다.An object of the present invention to solve the above problems is to link the software block to the software block by combining the data obtained by scanning the file containing the signal-related matters and the functions that process the data into a single execution module After the configuration is to provide a device for obtaining signal information between the execution modules that can be executed in the target system.

상기 목적을 달성하기 위한 본 발명의 특징은, 호스트 시스템 영역과 목적 시스템 영역과 인터페이스 영역 및 사용자 영역으로 구분할 수 있는 컴파일러 및 목적 시스템의 실행환경을 갖는 네트워크 시스템에서의 실행 모듈들간의 시그널 정보 획득을 위한 장치에 있어서, 분리 컴파일 관리를 위해서 현재 UNIX 시스템에서 제공하는 매이크기능을 이용하여 상기 메이크기능을 수행하기 위해서 화일들간의 시간 의존관계와 컴파일 명령어를 포함하는 메이크파일을 제공하는 메이크파일 생성수단과, 상기 메이크파일 생성수단에서 제공되는 메이크파일을 사용하여 소프트웨어 개발시에 프로세스, 시그널, 프로세스나 시그널에 대한 속성 이름 그리고 모드 정의 등에 대한 정보들의 일치성을 보장하기 위하여 프로그램에서 사용되는 이름들만을 추출해서 공통 화일을 생성시켜 주는 메이크목차 생성수단과, 상기 메이크목차 생성수단에서 생성되어진 공통 화일을 제공받아 사용자가 정의한 시그널 관련사항 및 통신메세지의 자료구조를 갖고 있는 화일을 발생시키는 시그널 관련자료 발생수단과, 상기 시그널 관련자료 발생수단에서 발생되어지는 화일을 스캔하여 시그널 추적에 필요한 정보들을 추출한 후 테이블 형태로 저장하며, 이러한 테이블을 입력으로 하여 시그널 출력정보를 위한 최종 정보 테이블을 생성하는 분석수단과, 상기 분석수단에서 생성되어지는 최종 정보 테이블을 입력받아 시그널 번호, 시그널 이름, 메세지 자료구조 이름, 매세지의 크기, 자료구조의 필드 정보를 참조하기 위한 인텍스로 구성되는 혜드 테이블과 인덱스, 필드명 그리고 필드의 속성으로 구성되는 필드 테이블 그리고 이러한 테이블들을 참조하는 동작들로 조합된 오브젝트 코드를 생성시키는 오브젝트 코드 생성수단 및 상기 메이크목차 생성수단과 오브젝트 코드 생성수단에서 발생되어지는 데이타를 입력받아 사용자 소프트웨어 블럭들로부터 생성된 오브젝트 코드들과 메세지 라이브러리 모듈등을 링크시켜 실행가능한 최종 실행모듈을 생성하는 메이크수단을 포함하는데 있다.A feature of the present invention for achieving the above object is to obtain signal information between execution modules in a network system having an execution environment of a compiler and a target system which can be divided into a host system region, a target system region, an interface region, and a user region. A device for generating a makefile that provides a makefile including a time dependency relationship between files and a compile command to perform the make function by using a make function provided by a current UNIX system for separate compilation management. And, using the makefile provided by the makefile generating means, extract only the names used in the program to ensure the consistency of information on processes, signals, property names for process or signal, mode definition, etc. during software development. By A means for generating a table of contents for generating a file, a means for generating signal related data for generating a file having a user-defined signal related information and a communication message data structure by receiving a common file generated by the make table of contents generating means; Analyze means for scanning the file generated by the signal-related data generating means to extract the information required for signal tracking and store the information in the form of a table, and to generate a final information table for signal output information by inputting such a table; A hand table, an index, a field name, and a field composed of a signal number, a signal name, a message data structure name, a message size, and an index for referencing field information of the data structure by receiving a final information table generated by the analysis means. A field table consisting of the attributes of Object code generation means for generating an object code combined with operations referring to these tables, and object codes and messages generated from user software blocks by receiving data generated by the make table of contents generation means and object code generation means; Linking a library module and the like to make a means for generating the final executable module.

이하, 첨부한 도며을 참조하여 본 발명에 따른 바람직한 일실시예를 설명한다.Hereinafter, with reference to the accompanying drawings will be described a preferred embodiment according to the present invention.

제1도는 컴파일러 및 목적 시스템의 실행환경에 대한 구성 예시도로서, 크게 호스트 시스템 영역(100)과 목적 시스템 영역(200)과 인터페이스 영역(300) 및 사용자 영역(400)으로 구분할 수 있는데, 기능상 주요 특성을 간략히 살펴보면, 상기 호스트 시스템 영역(100)은 VAX/UNIX와 SUN-3/UNIX를 위한 컴파일러와 목적 시스템을 위한 교차(Cross) 컴파일러등이 구비되어 있으며, 각 컴파일러는 칠(CHILL)코드를 중간 코드로 변환하는 하나의 프론트 종료(Front-End)신호를 공유하고 호스트와 목적기계에 대한 백 종료(Back-End)신호로 이루어져 있다.FIG. 1 is an exemplary configuration diagram of an execution environment of a compiler and a target system, and can be broadly divided into a host system region 100, a target system region 200, an interface region 300, and a user region 400. Briefly, the host system region 100 includes a compiler for VAX / UNIX and SUN-3 / UNIX and a cross compiler for a target system. Each compiler includes a CHILL code. It consists of one Front-End signal that converts to intermediate code, and consists of Back-End signal to host and target machine.

상기 호스트 시스템 영역(100)을 제외한 실행환경은 교차 컴파일러에 의해 생성된 최종 실행모듈이 적재되어 실행될 다수개의 프로세서들로 구성된 목적 시스템 영역(200)과, 워크스테이션과 사용자 터미널로 구성된 사용자 영역(400) 및 상기 목적 시스템 영역(200)과 사용자 영역(400)간의 데이타 통신을 제공하기 위한 인터페이스(300)로 이루어져 있다.The execution environment except for the host system region 100 includes a target system region 200 including a plurality of processors to be loaded and executed by a final execution module generated by a cross compiler, and a user region 400 including a workstation and a user terminal. And an interface 300 for providing data communication between the target system area 200 and the user area 400.

상기와 같은 구성을 갖는 컴파일러 및 목적 시스템의 실행환경에 대하여 본 발명에 따른 호스트 시스템 영역에 존재하는 시그널 정보 생성 영역의 기능요소들과 컴파일러의 구성요소들간의 연계구조를 첨부한 제2도를 참조하여 살펴보면 다음과 같다.Referring to FIG. 2 attached to a linkage structure between functional elements of a signal information generation region existing in a host system region and components of a compiler with respect to a compiler having the above configuration and an execution environment of a target system according to the present invention. Looking at it as follows.

우선, 크게 시그널 자료 분석 및 정보 생성 영역과 컴파일러 영역으로 구분되는데, 상기 시그널 자료 분석 및 정보 생성 영역은 다시 분석단계(402)와 생성단계(403)로 구성되며, 상기 컴파일러 영역은 메이크파일 생성기(405)와 메이크목차 생성기(406) 및 메이크부(407,408)로 구성된다.First, the signal data analysis and information generation area and the compiler area are largely divided. The signal data analysis and information generation area is composed of an analysis step 402 and a generation step 403. The compiler area includes a makefile generator ( 405, make table of contents generator 406, and make sections (407, 408).

상기와 같은 구성별 특징을 살펴보면, 상기 분석단계(402)에서는 사용자가 정의한 시그널 관련사항 및 통신매세지의 자료구조를 갖고 있는 화일(401)을 스캔하여 시그널 추적에 필요한 정보들을 추출한 후 테이블 형태로 저장하며, 이러한 테이블을 입력으로 하여 시그널 출력정보를 위한 최종 정보 테이블을 생성한다.Looking at the characteristics of the configuration as described above, in the analysis step 402 scans a file 401 having a user-defined signal-related information and a communication message data structure to extract the information required for signal tracking and store in a table form And, input these table to create final information table for signal output information.

또한, 상기 생성단계(403)에서는 시그널 번호, 시그널 이름, 메세지 자료구조 이름, 메세지의 크기, 자료 구조의 필드 정보를 참조하기 위한 인텍스로 구성되는 해드 테이블과 인덱스, 필드명 그리고 필드의 속성으로 구성되는 필드 테이블 그리고 이러한 테이블들을 참조하는 동작들로 조합된 오브젝트 코드(404)를 생성한다.In addition, the generation step 403 consists of a head table consisting of a signal number, a signal name, a message data structure name, a message size, an index for referencing field information of the data structure, an index, a field name, and field attributes. Generate an object code 404 that is combined with the field table being referred to and the operations that reference these tables.

또한, 상기 메이크파일 생성기(405)는 분리 컴파일러 관리를 위해서 현재 UNIX 시스템에서 제공하는 메이크(make)기능을 이용하여. 메이크를 수행하기 위해서 화일들간의 시간 의존관계와 컴파일러 명령어를 포함하는 메이크파일(Makefile)을 제공한다.In addition, the makefile generator 405 uses a make function provided by a current UNIX system for managing a separated compiler. Provide a makefile containing the time dependencies between the files and compiler instructions to perform the make.

또한, 상기 메이크목차 생성기(406)는 소프트웨어 개발시에 프로세스, 시그널, 프로세스나 시그널에 대한 속성 이름 그리고 모드 정의 등에 대한 정보들의 일치성을 보장하기 위하여 프로그램에서 사용되는 이름들만을 추출해서 공통 화일을 생성시켜 주는 역할을 한다.In addition, the make table of contents generator 406 generates a common file by extracting only the names used in the program to ensure the consistency of information on processes, signals, property names for processes or signals, mode definitions, and the like during software development. It plays a role.

또한, 상기 메이크부(407,408)는 목적코드부(407)와 링커(408)로 구성되는데, 사용자 소프트웨어 블럭들로부터 생성된 오브젝트 코드들과 메세지 라이브러리 모듈 등을 링크시켜 실현가능한 최종 실행 모듈(409)을 생성 한다.In addition, the make units 407 and 408 may include an object code unit 407 and a linker 408. The final execution module 409 may be realized by linking object codes generated from user software blocks with a message library module. Create

제3도는 최종 실행 모듈이 적재된 목적 시스템영역에 존재하는 프로세서와 사용자 영역에 존재하는 사용자 터미널간의 인터페이스 구조를 나타낸다.3 illustrates an interface structure between a processor existing in a target system region in which a final execution module is loaded and a user terminal existing in a user region.

사용자 터미널(500)은 RS-232c 인터페이스(A)를 통해 최종 실행 모들이 적재된 서브시스템별 프로세서들(501~507)과 연결되어 시그널 정보의 요구 및 출력에 대한 입·출력 동작을 행한다.The user terminal 500 is connected to the subsystem-specific processors 501 to 507 loaded with the final execution modules through the RS-232c interface A to perform input / output operations for requesting and outputting signal information.

이때, 상기 프로세서들의 기능은 다음과 잘다.At this time, the functions of the processors are as follows.

OMP(Operation and Maintenance Processor)는 시스템에 대한 일련의 운용과 유지보수 관련기능을 총괄한다.OMP (Operation and Maintenance Processor) oversees a series of operations and maintenance functions for the system.

따라서 이에 필요한 보조기억장치로 MT 및 디스크를 구비한다.Therefore, the secondary storage device required for this is provided with an MT and a disk.

상기 MT에는 요금 기록, 통계, 유지보수 그리고 운용관리정보 등이 수록되며, 디스크에는 일반 프로그램 및 데이터 등이 수록된다.The MT includes charge records, statistics, maintenance and operation management information, and the disk contains general programs and data.

MMP(Man-machine Processor)는 운용자와 시스템간의 또는 운용센터와 시스템간의 대화를 가능하게 한다.Man-machine processors (MMPs) enable communication between operators and systems, or between operations centers and systems.

운용자와 시스템간의 대화를 위해서는 시스템 콘솔을 포함한 VDU(Visual Display Unit)들과 출력 데이타를 하드카피(Hardcopy)하기 위한 프린터들이 사용된다.For the dialogue between the operator and the system, VDUs (Visual Display Units) including the system console and printers for hard copying the output data are used.

원격운용센터와의 데이타 링크를 위해서는 동기/비동기 채널을 사용한다.Synchronous / asynchronous channels are used for data linking with the remote operations center.

상기 VDU의 시각화 보완, 명령어 화일저장 등의 용도로 로컬 디스크를 이용한다.The local disk is used to supplement the VDU's visualization and store command files.

INP(Interconnection Network Processor)는 공간 스위치를 사용하는 통화로의 검색, 할당 및 관리 등의 모든 스위치 네트워크에 대한 제어를 행한다.The INP (Interconnection Network Processor) controls all the switch networks, such as searching, assigning and managing a call using a spatial switch.

또한, NTP(Numver Translation Processor)에서는 시스템내의 구성에 따른 루트 및 번호에 대한 정보를 관장하며 각 ASP에서 오는 번호번역 요구에 응답하게 되며, 루트 제어기능을 수행한다.In addition, NTP (Numver Translation Processor) manages the information about the route and number according to the configuration of the system, responds to the number translation request from each ASP, and performs the route control function.

ASP(Access Switching Processor)는 집중화된 번호, 통화로 탐색을 제의한 모든 호처리 기능을 수행하며, NO.7 유지보수, ASS 유지보수 및 관리 등을 수행한다.The Access Switching Processor (ASP) performs all call processing functions that suggest searching by centralized number and call, and performs NO.7 maintenance, ASS maintenance and management.

LRAP에서는 이동가입자에 대한 호처리, 핸드오버 그리고 위치갱신 등의 기능을 처리할 때 이동 가입자에 대한 정보가 필요하다.In LRAP, information about mobile subscriber is needed when handling functions such as call processing, handover and location update for mobile subscriber.

이러한 경우 교환기내의 다른 프로세서와의 IPC 처리 및 타교환기와의 NO.7 신호방식의 TCAP, MAP에 대한 처리를 수행하며, LRDP에 있는 정보를 원하는 곳으로 전달하는 기능을 수행한다.In this case, it performs IPC processing with other processors in the exchange and processing of NO.7 signaling TCAP and MAP with other exchanges, and delivers the information in the LRDP to the desired location.

LRDP에서는 이동가입자에 대한 정보의 .저장 및 관리를 하는 프로세서로서 LRAP로부터 가입자에 대한 정보의 액세스/등록/취소/변경에 대한 처리를 수행하며, 가입자 정보의 변경시 및 주기적으로 디스크에 모든 데이타를 백업하는 기능을 수행한다.LRDP is a processor that stores and manages information about mobile subscribers. It handles access / registration / cancellation / change of information for subscribers from LRAP. Perform a backup function.

상기 제2도와 제3도에 도시되어 있는 바와 같은 구조를 갖는 본 발명에 따른 시그널 정보 생성 영역과 컴파일러간의 연계구조에서 시그널 링크 정보처리 과정의 순서를 첨부한 제3도를 참조하여 살펴보면, 제4도는 사용자 프로그램의 시그널 관련 문장에 인 라인되어 컴파일된 오브젝트 코드와 시그널 추적을 위한 제2도의 처리과정에 대한 전체적인 과정을 단순화한 것으로써, 정적분석기에 의해 생성된 오브젝트(MSG-LIB.o) 코드를 링크하여 최종 실행모듈을 생성하는 과정을 나타낸 것이다.Referring to FIG. 3 attached to the procedure of the signal link information processing procedure in the linkage structure between the signal information generation region and the compiler according to the present invention having the structure shown in FIG. 2 and FIG. 3, FIG. Figure simplifies the overall process of processing the object code compiled and inline in the signal-related statements of the user program and the process of Figure 2 for signal tracking, and the object (MSG-LIB.o) code generated by the static analyzer. Shows the process of creating a final execution module by linking to.

스텝 S601에서 사용자는 프로그램을 칠(CHILL) 언어의 문법에 적합하도록 작성하되 모듈화를 지향하도록 하여 작성한다.In step S601, the user writes the program so as to conform to the grammar of the CHILL language, but aims at modularization.

상기 스텝 S601에서 작성되어진 프로그램은 제2도에 도시되어 있는 메이크파일 생성기(405)에서 처리되고(S6O2), 이후 스텝 S603으로 진행한다.The program created in step S601 is processed by the makefile generator 405 shown in FIG. 2 (S6002), and the flow advances to step S603.

상기 스텝 S603에서는 메이크목차 생성기(406)가 상기 스텝 S6O2에서 제공되는 메이크파일(Makefile)을 사용하여 공통 화일을 생성시키게 된다.In step S603, the make table generator 406 generates a common file using a makefile provided in step S6O2.

이때. 상기 스텝 S6O2와 스텝 S603에서 동작하는 메이크파일 생성기(405)와 메이크목차 생성기(406)의 상세한 동작설명은 제2도의 설명에서 상술한 바 있으므로 동작상의 상세한 설명은 생략한다.At this time. Detailed operation descriptions of the makefile generator 405 and the make-up table generator 406 operating in the above steps S6O2 and S603 have been described above with reference to FIG.

이후, 상기 스텝 S603에서 생성되어진 공통 화일은 시그널 자료분석 및 정보생성 영역의 시그널 관련자 료(401)에 제공되는데, 스텝 S604에서는 작업 디렉토리에 존재하는 사용자 프로그램을 스캔하여 시그널 송수신 관련정보를 추출하는 기능과 추출된 정보들을 형식화하는 기능으로 구성되는 분석단계와 형식화된 정보들을 참조하는 명령어들을 구성하는 생성단계로 이루어진다.Thereafter, the common file generated in step S603 is provided to the signal related data 401 in the signal data analysis and information generation area. In step S604, a function of extracting signal transmission / reception related information by scanning a user program existing in the working directory is scanned. And an analysis step consisting of a function of formatting the extracted information and a generation step of configuring instructions referring to the formatted information.

이때, 상기 분석 단계에서는 칠(CHILL) 언어의 구문예약어를 식별 명으로 하여 (시그널 번호, 시그널 이름), (시그널 이름, 메세지 자료구조 이름), (매크로 이름, 매크로 값)의 형태로 테이블들을 생성하며, 이러한 테이블들로부터 (시그널 번호, 시그널 이름, 메세지 이름, 메세지 크기, FT 시작 인덱스, FT 종료 인덱스)의 형태를 갖는 HT와 (인덱스, 필드 이름, 변위 +바이트 수+타입정보)의 형태를 갖는 FT 생성한다.At this time, in the analyzing step, tables are created in the form of (signal number, signal name), (signal name, message data structure name), (macro name, macro value) using syntax reserved words of the CHILL language as identification names. From these tables, HT in the form of (signal number, signal name, message name, message size, FT start index, FT end index) and the form of (index, field name, displacement + byte number + type information) Having FT produces

상기 변위는 통신 메세지의 메모리 시작번지로부터의 변위이며, 필드의 바이트 수는 메세지 자료구조에 선언된 필드에 대한 메모리 할당 바이트 수이고, 타입은 메세지 자료구조에 선언된 필드의 타입을 나타낸다.The displacement is the displacement from the memory start address of the communication message, the byte count of the field is the memory allocation byte number for the field declared in the message data structure, and the type indicates the type of the field declared in the message data structure.

또한, 상기 생성단계에서는 시그널 송수신 시점에서 HT를 검색하는 이진검색 함수와 HT의 레코드중 시작 인덱스와 종료 인덱스에 의해 참조되는 FT의 레코드로부터 얻은 시그널 정보들을 형식화하는 함수들로 구성 된다.In addition, the generating step includes a binary search function for searching the HT at the time of signal transmission and reception, and a function for formatting the signal information obtained from the record of the FT referenced by the start index and the end index among the records of the HT.

상기와 같이 동작하는 본 발명에 따른 분산환경하에서 프로세스들간 또는 프로세서들간의 통신과 동기화 방법을 지원하는 시그널 송수신에 관련된 정보들을 응용프로그램 레벨에서 처리하기 위한 실행 모듈들간의 시그널 정보 획득을 위한 방법 및 그 장치를 제공하여 시그널 정보에 대한 출력레벨은 단순정보와 상세정보로 구별되며, 시그널 정보들은 목적 시스템에 연결된 사용자 터미널을 통하여 출력되도록 하고 출력 레벨의 결정은 쉘 명령어의 입력값을 프로세스의 데이타 영역에 저장·관리함으로써 제어되도록 하는 효과가 있다.Method for acquiring signal information between execution modules for processing information related to signal transmission / reception at the application program level supporting communication and synchronization methods between processes or processors in a distributed environment according to the present invention operating as described above and the same By providing a device, the output level for signal information is divided into simple information and detailed information. The signal information is output through the user terminal connected to the target system. The output level is determined by inputting a shell command's input into the process's data area. It is effective to be controlled by storing and managing.

Claims (1)

호스트 시스템 영역과 목적 시스템 영역과 인터페이스 영역 및 사용자 영역으로 구분할 수 있는 컴파일러 및 목적 시스템의 실행환경을 갖는 네트워크 시스템실행 모듈들간의 시그널 정보 획득을 위한 장치에 있어서, 분리 컴파일 관리를 위해서 현재 UNIX 시스템에서 제공하는 메이크기능을 이용하여 상기 메이크기능을 수행하기 위해서 화일들간의 시간 의존관계와 컴파일 명령어를 포함하는 메이크파일을 제공하는 메이크파일 생성수단과; 상기 메이크파일 생성수단에서 제공되는 메이크파일을 사용하여 소프트웨어 개발시에 프로세스, 시그널, 프로세스나 시그널에 대한 속성 이름 그리고 모드 정의 등에 대한 정보들의 일치성을 보장하기 위하여 프로그램에서 사용되는 이름들만을 추출해서 공통 화일을 생성시켜 주는 메이크목차 생성수단과; 상기 메이크목차 생성수단에서 생성되어진 공통 화일을 제공받아 사용자가 정의한 시그널관련사항 및 통신메세지의 자료구조를 갖고 있는 화일을 발생시키는 시그널 관련자료 발생수단과; 상기 시그널 관련자료 발생수단에서 발생되어지는 화일을 스캔하여 시그널 추적에 필요한 정보들을 추출한 후 테이블 형태로 저장하며, 이러한 테이블을 입력으로 하여 시그널 출력정보를 위한 최종 정보 테이블을 생성하는 분석수단과; 상기 분석수단에서 생성되어지는 최종 정보 테이블을 입력받아 시그널 번호, 시그널 이름, 메세지 자료구조 이름, 메세지의 크기, 자료구조의 필드 정보를 참조하기 위한 인덱스로 구성되는 헤드 테이블과 인덱스, 필드명 그리고 필드의 속성으로 구성되는 필드 테이블 그리고 이러한 테이블들을 참조하는 동작들로 조합된오브젝트 코드를 생성시키는 오브젝트 코드 생성수단; 및 상기 메이크목차 생성수단과 오브젝트 코드 생성수단에서 발생되어지는 데이타를 입력받아 사용자 소프트웨어 블럭들로부터 생성된 오브젝트 코드들과 메세지 라이브러리모듈등을 링크시켜 실행가능한 최종 실행모듈을 생성하는 메이크수단을 포함하는 것을 특징으로 하는 실행 모듈들간의 시그널 정보 획득을 위한 장치.Apparatus for acquiring signal information between a network system execution module having a compiler and a target environment that can be divided into a host system area, a target system area, an interface area, and a user area. A makefile generating means for providing a makefile including a time dependency relation between files and a compilation instruction to perform the make function by using a make function provided by the make function; By using the makefile provided by the makefile generating means, only the names used in the program are extracted in order to ensure the consistency of information on a process, a signal, a property name for a process or a signal, and a mode definition during software development. A table of contents generating means for generating a file; A signal related data generating means for receiving a common file generated by the make table of contents generating means and generating a file having a user-defined signal related matter and a data structure of a communication message; An analysis means for scanning a file generated by the signal related data generating means, extracting information necessary for signal tracking, storing the information in a table form, and generating a final information table for signal output information by inputting such a table; Head table, index, field name and field consisting of an index for referencing a signal number, a signal name, a message data structure name, a message size, and field information of the data structure by receiving a final information table generated by the analysis means. Object code generating means for generating an object code combined with a field table consisting of attributes of and operations referring to these tables; And a make means for receiving the data generated by the make table generating means and the object code generating means, linking the object codes generated from the user software blocks with the message library module to generate an executable final execution module. Apparatus for obtaining signal information between execution modules, characterized in that.
KR1019940032101A 1994-11-30 1994-11-30 Static analyzer for supporting signal information KR0119286B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940032101A KR0119286B1 (en) 1994-11-30 1994-11-30 Static analyzer for supporting signal information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940032101A KR0119286B1 (en) 1994-11-30 1994-11-30 Static analyzer for supporting signal information

Publications (2)

Publication Number Publication Date
KR960018928A KR960018928A (en) 1996-06-17
KR0119286B1 true KR0119286B1 (en) 1997-10-04

Family

ID=19399746

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940032101A KR0119286B1 (en) 1994-11-30 1994-11-30 Static analyzer for supporting signal information

Country Status (1)

Country Link
KR (1) KR0119286B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000050238A (en) * 2000-05-30 2000-08-05 김호광 Manufacturing System and Method for executable program operating at multiple platform
KR20010105756A (en) * 2000-05-18 2001-11-29 김형순 Application programming interface for developing computer telephony interface service program and operating method thereof
KR20010112690A (en) * 2000-06-12 2001-12-21 이형원 Linking and/or Including Method for Networked Computer Programming Resources

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010105756A (en) * 2000-05-18 2001-11-29 김형순 Application programming interface for developing computer telephony interface service program and operating method thereof
KR20000050238A (en) * 2000-05-30 2000-08-05 김호광 Manufacturing System and Method for executable program operating at multiple platform
KR20010112690A (en) * 2000-06-12 2001-12-21 이형원 Linking and/or Including Method for Networked Computer Programming Resources

Also Published As

Publication number Publication date
KR960018928A (en) 1996-06-17

Similar Documents

Publication Publication Date Title
US5881289A (en) Remote compiling of source code for cross development
EP1400896B1 (en) Compiler for distributed processing
US5745897A (en) Method and system for compiling management information base specifications
JP3762867B2 (en) Compiler device, compiling method, and storage medium storing program therefor
Vuong et al. Semiautomatic implementation of protocols using an Estelle-C compiler
Leue et al. Synthesizing ROOM models from message sequence chart specifications
CN101458633B (en) Method for accessing host program by script program, and system and apparatus thereof
EP0520708B1 (en) Method and apparatus for converting high level form abstract syntaxes into an intermediate form
KR0119286B1 (en) Static analyzer for supporting signal information
CN115658140A (en) SDK packaging method, device, terminal and storage medium
JP3328056B2 (en) Information extraction device from parse tree
US5982769A (en) Switch reconfiguration
KR100214125B1 (en) Function parameter tracking method in full electronic switching system
Sarikaya et al. Estelle-based test generation tool
KR100671683B1 (en) Automatic method for generating ess nms database loader which stores data output from telephone exchange into database
KR100426315B1 (en) Analysis method and apparatus for extraction of ejb component from servlet program
Weber Creation of a family of compilers and runtime environments by combining reusable components
KR19990031954A (en) How to generate output command data of electronic exchange
Mañas et al. λβ: a virtual LOTOS machine
Madhavji et al. Software construction using typed fragments
KR0152715B1 (en) Method for managing block source compile in mobile switches
CA2342423C (en) Distributed processing
Carter et al. Transparent microprogramming in support of abstract type oriented dynamic vertical migration
McAvaney et al. A Simple Parallelising Compiler
CN116360797A (en) DSL-based security baseline creation method, system, device and medium

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: 20070702

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee