KR20040050420A - System for data processing of ASN.1 editor and method thereof - Google Patents

System for data processing of ASN.1 editor and method thereof Download PDF

Info

Publication number
KR20040050420A
KR20040050420A KR1020020078254A KR20020078254A KR20040050420A KR 20040050420 A KR20040050420 A KR 20040050420A KR 1020020078254 A KR1020020078254 A KR 1020020078254A KR 20020078254 A KR20020078254 A KR 20020078254A KR 20040050420 A KR20040050420 A KR 20040050420A
Authority
KR
South Korea
Prior art keywords
asn
data
user interface
memory
parsing
Prior art date
Application number
KR1020020078254A
Other languages
Korean (ko)
Other versions
KR100488805B1 (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 KR10-2002-0078254A priority Critical patent/KR100488805B1/en
Publication of KR20040050420A publication Critical patent/KR20040050420A/en
Application granted granted Critical
Publication of KR100488805B1 publication Critical patent/KR100488805B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/43Checking; Contextual analysis
    • G06F8/433Dependency analysis; Data or control flow analysis
    • G06F8/434Pointers; Aliasing

Abstract

PURPOSE: A system and a method for processing data on the ASN.1(Abstract Syntax Notation) compilation are provided to enhance user's convenience and manage data intuitively by processing a data architecture described in the ASN.1 through a GUI(Graphic User Interface) screen as using a GUI based ASN.1 data compiler. CONSTITUTION: A user interface module generates/outputs a user interface tree for a term of a parsing table to the GUI screen if the parsing table is generated by parsing the data described in the ASN.1. A memory makes a user input a data value to the memory space by allocating the memory space mapped to respective terms of the parsing table. A CODEC(COder/DECoder) encodes/decodes the data value inputted from the user by inputting the data value to the memory space fit to a predetermined terminal node of the user interface tree generated from the user interface module.

Description

ASN.1 편집에서의 데이터의 처리 시스템 및 그 방법{System for data processing of ASN.1 editor and method thereof}ASSN.1 Data processing system for editing and method thereof {System for data processing of ASN.1 editor and method}

본 발명은 ASN.1 편집에서의 데이터의 처리 시스템 및 그 방법에 관한 것으로, 보다 상세하게는 사용자 편의성을 높이고 직관적인 데이터의 관리를 위한 ASN.1 편집에서의 데이터의 처리 시스템 및 그 방법에 관한 것이다.The present invention relates to a system and method for processing data in ASN.1 editing, and more particularly, to a system and method for processing data in ASN.1 editing for improved user convenience and intuitive data management. will be.

에이에스엔.1(ASN.1)은 프로토콜 처리 과정에서 주로 컨트롤 메시지들을 압축하여 보내기 위한 데이터 압축 규약이다. ASN.1로 표기된 데이터는 특정 형태로 압축되어 전송되는데, 이 통신 규약을 표현하는 표기법을 컴파일하면 목적 코드로써 표기법을 만족하는 고수준의 언어의 자료구조, 디코딩 및 인코딩을 수행할 수 있는 라이브러리가 생성된다.ASN.1 is a data compression protocol mainly for compressing and sending control messages during protocol processing. Data marked as ASN.1 is compressed and transmitted in a specific form. Compiling the notation expressing this communication protocol creates a library that can perform data structure, decoding and encoding of high level language satisfying the notation as object code. do.

즉, ASN.1 표기법으로 기술된 데이터를 처리하는 방법은 ASN.1로 표기된 자료구조를 ASN.1 컴파일러(Complier)를 통하여 컴파일하고, 컴파일된 목적코드를 활용하여 인코딩이나 디코딩을 위한 프로그램을 직접 작성하는 것이다.That is, the method of processing data described in ASN.1 notation compiles data structure expressed in ASN.1 through ASN.1 compiler, and directly uses the compiled object code to program for encoding or decoding. To write.

여기서, 컴파일된 목적코드는 C나 C++, 또는 자바(JAVA)와 같은 고급 언어로 코딩되어 있으며, 인코딩과 디코딩을 위한 라이브러리를 포함한다.Here, the compiled object code is coded in a high-level language such as C, C ++, or JAVA, and includes a library for encoding and decoding.

그러나 사용자가 ASN.1로 표기된 데이터 자체의 내용을 확인하기 위해서는 데이터를 디코딩을 하고, 디코딩된 데이터를 콘솔(Consol)을 통하여 출력하여 보는 방법이 유일하다.However, in order to check the contents of the data itself represented by ASN.1, the only way is to decode the data and output the decoded data through the console.

ASN.1의 표기법에 의한 기술 내용을 체계적으로 읽어보기 위하여, ASN.1의 트리 표현 방법이 제시되고 있다.In order to systematically read the description in ASN.1 notation, a tree representation method of ASN.1 is proposed.

위의 ASN.1의 트리 표현 방법은 셋(SET), 시퀀스(SEQUENCY), 초이스 (CHOICE), 프리미티브(PRIMITIVE)를 포함하여 ASN.1 값을 트리 구조로 표현하고, 사람이 일일이 해당 내용을 이해하면서 ASN.1의 데이터를 적어 나가는 것이다.Tree representation of ASN.1 above expresses ASN.1 value as tree structure including SET, sequence, choice, primitive, and person's understanding. While writing down the data of ASN.1.

위와 같은 ASN.1의 트리 표현 방법은 사용자에 대한 편의성이 떨어지고 직관저긴 내용 식별이 불가능할 뿐만 아니라 자동화할 수 없다는 문제점이 있다.The tree representation method of ASN.1 as described above has a problem in that it is not easy for the user and the intuitive content identification is not only impossible, but also not automated.

본 발명은 위의 문제점을 해결하기 위한 것으로, 본 발명의 목적은 그래픽 사용자 인터페이스(GUI) 기반의 ASN.1 데이터 편집기를 이용하여 ASN.1 표기법으로 기술된 데이터 구조를 GUI 화면을 통해 처리하여 사용자의 편의성을 높이며 직관적인 데이터 관리를 수행하기 위한 ASN.1 편집에서의 데이터의 처리 시스템 및 그 방법을 제공하는 것이다.The present invention is to solve the above problems, an object of the present invention is to use a graphical user interface (GUI) -based ASN.1 data editor to process the data structure described in ASN.1 notation through a GUI screen user To provide a system and method for processing data in ASN.1 editing to enhance the convenience of and to perform intuitive data management.

도 1은 본 발명에 따른 실시예의 ASN.1 편집에서의 데이터의 처리 시스템에서 사용자에게 출력되는 GUI 화면을 도시한 것이다.1 illustrates a GUI screen output to a user in a system for processing data in ASN.1 editing of an embodiment according to the present invention.

도 2는 본 발명에 따른 실시예의 파싱 테이블의 자료 구조 형태를 도시한 것이다.Figure 2 illustrates the data structure form of a parsing table of an embodiment according to the present invention.

상기한 바와 같은 목적을 실현하기 위한 본 발명에 따른 ASN.1 편집에서의 데이터의 처리 시스템의 특징은, ASN.1 표기법으로 기술된 데이터를 파싱(Parsing)하여 파싱 테이블이 생성되면, 상기 파싱 테이블의 항에 대해 사용자 인터페이스 트리(Tree)를 생성하여 사용자에게 그래픽 사용자 인터페이스(GUI) 화면으로 출력하는 사용자 인터페이스 모듈; 상기 파싱 테이블의 각 항들에 대해 사상되는 메모리 공간이 할당되어 상기 메모리 공간에 사용자가 데이터 값을 입력하도록 하는 메모리; 및 상기 사용자 인터페이스 모듈에서 생성된 사용자 인터페이스 트리의 특정 종단 노드에 맞는 메모리 공간에 사용자가 입력한 데이터 값을 넣어 인코딩/디코딩하는 코덱을 포함한다.A feature of the data processing system in ASN.1 editing according to the present invention for realizing the above object is that the parsing table is generated when a parsing table is generated by parsing data described in ASN.1 notation. A user interface module for generating a user interface tree for the term and outputting the user interface on a graphical user interface (GUI) screen; A memory for allocating a memory space mapped to each term of the parsing table to allow a user to input a data value into the memory space; And a codec for encoding / decoding a data value input by a user in a memory space corresponding to a specific end node of the user interface tree generated by the user interface module.

상기 사용자 인터페이스 모듈은, 상기 파싱 테이블이 상기 ASN.1 표기법으로 기술된 데이터를 ASN.1 컴파일러로 컴파일하여 고수준의 언어로 컴파일된 목표코드를 파싱하거나, 또는 ASN.1 표기법으로 기술된 데이터를 직접 파싱하여 생성된다.The user interface module may parse the target code compiled in a high level language by parsing the data described in the parsing table with the ASN.1 compiler, or directly parse the data described in the ASN.1 notation. Generated by parsing.

상기 파싱 테이블의 자료 구조는 하나의 노드가 갖는 항들이 ASN.1에서 데이터 형태를 갖는 변수들, 하위 구조체를 가리키는 포인터(Pointer), 상위 구조체를 가리키는 포인터를 갖는다.The data structure of the parsing table includes terms having a data type in ASN.1, a pointer to a lower structure, and a pointer to a higher structure.

상기 하위 구조체는 상위 구조체의 다음 노드로서, 하나의 노드를 기준으로 재귀적으로 ASN.1을 표현 하는 구조체를 생성해 나간다.The substructure is the next node of the superstructure, and constructs a structure representing ASN.1 recursively based on one node.

상기 메모리는, ASN.1의 각 항에 대한 값을 저장하기 위한 데이터 저장 공간으로 ASN.1을 표현하는 구조체가 메모리에 대한 포인터를 가지고 있어 메모리에 대한 접근이 가능하다. ASN.1 데이터 저장 공간인 메모리는 연속된 하나의 주소 공간으로써 할당이 되며 ASN.1의 각 항에 대한 접근은 ASN.1의 각 항에 대한 메모리 오프셋(offset) 값으로써 가능하다.The memory is a data storage space for storing a value for each term of ASN.1, and a structure representing ASN.1 has a pointer to the memory so that the memory can be accessed. Memory, which is an ASN.1 data storage space, is allocated as a contiguous address space, and access to each term in ASN.1 is possible as a memory offset value for each term in ASN.1.

한편, 본 발명에 따른 ASN.1 편집에서의 데이터의 처리 방법의 특징은, a) ASN.1 표기법으로 기술된 데이터를 처리하기 위해 각 구조체마다 메모리 공간을 할당하는 단계; b) 상기 a) 단계에서 할당된 메모리 공간에 ASN.1 표기법으로 기술된 데이터를 파싱하여 생성된 파싱 테이블의 각 항들과 사상(mapping)하고 사용자 인터페이스 트리를 생성하여 사용자에게 그래픽 사용자 인터페이스(GUI) 화면으로 출력하는 단계; 및 c) 상기 b) 단계에 의해 사용자는 GUI 화면을 통해 사용자 인터페이스 트리의 특정 종단의 노드를 선택하고, 상기 파싱 테이블의 각 항들이 사상된 메모리 공간에 사용자가 데이터 값을 입력하여 디코딩/인코딩하는 단계를 포함한다.On the other hand, a feature of the data processing method in ASN.1 editing according to the present invention includes the steps of: a) allocating memory space for each structure to process data described in ASN.1 notation; b) A graphical user interface (GUI) is presented to the user by mapping each term of the parsing table generated by parsing data described in ASN.1 notation to the memory space allocated in step a) and generating a user interface tree. Outputting to a screen; And c) in step b), the user selects a node of a specific end of the user interface tree through the GUI screen, and decodes / encodes the user by inputting a data value into a memory space where each term of the parsing table is mapped. Steps.

상기 b) 단계에서 파싱 테이블을 생성하는 단계는, 상기 파싱 테이블이 상기 ASN.1 표기법으로 기술된 데이터를 ASN.1 컴파일러로 컴파일하여 고수준의 언어로 컴파일된 목표코드를 파싱하거나, 또는 ASN.1 표기법으로 기술된 데이터를 직접 파싱하여 생성된다.Generating a parsing table in step b) may include parsing the target code compiled in a high level language by compiling the data described in the ASN.1 notation with the ASN.1 compiler, or ASN.1 It is generated by parsing the data described in the notation directly.

상기 파싱 테이블의 자료 구조는 하나의 노드가 가지는 항들이 ASN.1에서 데이터 형태를 갖는 변수들, 하위 구조체를 가리키는 포인터(Pointer), 상위 구조체를 가리키는 포인터를 갖는다.The data structure of the parsing table has variables in which a node has a data type in ASN.1, a pointer to a substructure, and a pointer to a superstructure.

상기 하위 구조체와 상위 구조체는 현재 노드의 다음 노드로서, 하나의 노드를 기준으로 재귀적으로 구조체가 생성된다.The substructure and the superstructure are the next nodes of the current node, and the structure is recursively generated based on one node.

상기 b) 단계에서 사용자 인터페이스 트리를 생성하는 단계는, 상기 파싱 테이블의 각 항들을 사상할 때, 상기 상위 구조체와 하위 구조체는 트리가 생성되고, 상기 데이터 형태를 갖는 변수들은 노드가 생성된다.In the generating of the user interface tree in step b), when mapping each term of the parsing table, the upper structure and the lower structure tree are generated, and the variables having the data type are nodes.

상기 a) 단계에서 메모리 공간을 할당하는 단계는, 상기 파싱 테이블의 각 항의 데이터 항들과 사상을 위하여 오프셋 값을 지정한다.The step of allocating memory space in step a) designates an offset value for mapping with the data terms of each term of the parsing table.

상기 c) 단계에서 디코딩/인코딩하는 단계는 사용자가 사용자 인터페이스 트리의 특정 종단 노드를 선택한 후에 해당 노드에 맞는 메모리 공간에 대한 오프셋 값을 찾고, 상기 오프셋 값에서부터 인코딩/디코딩을 위한 데이터 값을 입력한다.In the step c), in the decoding / encoding step, the user selects a specific end node of the user interface tree, finds an offset value for the memory space corresponding to the node, and inputs a data value for encoding / decoding from the offset value. .

상기 a) 단계에서 메모리 공간을 할당하는 단계는, 연속적인 주소공간을 갖는 메모리를 할당한 후에 상기 메모리에서 상기 파싱 테이블의 각 항을 위한 메모리 공간을 할당함으로써 연속된 메모리로 데이터를 구성한다.In the step a) of allocating the memory space, after allocating the memory having a contiguous address space, the memory is allocated to the contiguous memory by allocating memory space for each term of the parsing table.

이하 첨부된 도면을 참조하여 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있는 바람직한 실시예를 상세히 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에 따른 실시예의 시스템은 사용자 인터페이스 모듈, 메모리, 코덱을 포함하고 있지만 이에 한정되지는 않는다.The system of an embodiment according to the present invention includes, but is not limited to, a user interface module, a memory, and a codec.

사용자 인터페이스 모듈은 ASN.1 표기법으로 기술된 데이터를 파싱(Parsing)하여 파싱 테이블이 생성되면, 상기 파싱 테이블의 항에 대해 사용자 인터페이스트리(Tree)를 생성하여 사용자에게 그래픽 사용자 인터페이스(GUI) 화면으로 출력한다.When the user interface module parses the data described in ASN.1 notation and generates a parsing table, the user interface module generates a user interface tree for the terms of the parsing table and displays the graphical user interface (GUI) screen to the user. Output

도 1은 본 발명에 따른 실시예의 ASN.1 편집에서의 데이터의 처리 시스템에서 사용자에게 출력되는 GUI 화면을 도시한 것이다.1 illustrates a GUI screen output to a user in a system for processing data in ASN.1 editing of an embodiment according to the present invention.

도 1에 도시된 GUI 화면에서와 같이, 사용자 인터페이스 트리는 윈도우 시스템의 레지스트리의 데이터를 입력하고 저장하는 방법과 유사하게, ASN.1 표기법으로 기술된 데이터의 자료 구조가 트리 형태로 만들어져 있고, 트리의 종단 노드에 편집하고자 하는 데이터의 항목이 있다.As in the GUI screen shown in FIG. 1, the user interface tree has a data structure of data described in ASN.1 notation in a tree form, similar to a method of inputting and storing data in a registry of a window system. There is an item of data to edit in the end node.

따라서 사용자는 사용자 인터페이스 트리의 특정 종단 노드를 클릭하고, 입력창이 뜨면 값을 지정하여 데이터 값을 입력하게 된다.Therefore, the user clicks on a specific end node in the user interface tree and enters a data value by specifying a value when an input window appears.

위에서, 파싱 테이블은 ASN.1 표기법으로 기술된 데이터를 ASN.1 컴파일러로 컴파일하여 고수준의 C, C++, 파스칼 등의 헤더 파일이나 프로토 타입의 목표코드를 이용하거나, 또는 ASN.1 표기법으로 기술된 데이터를 직접 파싱하여 생성된다.Above, the parsing table can be compiled with ASN.1 compiler data using ASN.1 compiler to use high-level header files or prototype target code of C, C ++, Pascal, etc., or ASN.1 notation. It is generated by parsing the data directly.

도 2는 본 발명에 따른 실시예의 파싱 테이블의 자료 구조 형태를 도시한 것이다.Figure 2 illustrates the data structure form of a parsing table of an embodiment according to the present invention.

도 2에 도시된 바와 같이, 파싱 테이블의 노드 하나가 가진 항들은 ASN.1에서 데이터 형태를 갖는 변수들, 하위 구조체를 가리키는 포인터, 상위 구조체를 가리키는 포인터를 가지고 있다.As shown in FIG. 2, the terms of one node of the parsing table have variables having a data type in ASN.1, a pointer to a substructure, and a pointer to a superstructure.

하위 구조체는 현재 노드의 다음 노드로서, ASN.1의 데이터 형태를 갖으며, 상위 구조체도 하위 구조체와 같은 형식을 갖는다.The substructure is the next node of the current node and has the data type of ASN.1, and the superstructure has the same format as the substructure.

이러한 하위 구조체와 상위 구조체는 하나의 노드를 기준으로 재귀적으로 만들어져 결과적으로 ASN.1 표기법으로 기술된 데이터의 자료 구조형을 표현하게 된다.These substructures and superstructures are created recursively on a node basis, resulting in the representation of the data structure of the data described in ASN.1 notation.

사용자 인터페이스 모듈이 파싱 테이블의 항에 대해 하나씩 사상되는 노드를 생성해 나갈 때, 하위 구조체와 상위 구조체는 트리가 만들어지고, 데이터 값이 저장되는 변수들은 노드가 생성된다.When the user interface module creates nodes that map one by one to terms in the parsing table, the substructures and superstructures create a tree, and the variables that store the data values create nodes.

최종적으로, 파싱 테이블은 ASN.1 표기가 도 1에 도시된 바와 같이 사용자 인터페이스 트리 형태로 변환되도록 한다.Finally, the parsing table causes the ASN.1 notation to be converted into a user interface tree form as shown in FIG.

메모리(M)는 파싱 테이블의 각 항들에 대해 사상되는 메모리 공간()이 할당되어 이 메모리 공간에 사용자가 데이터 값을 입력하도록 한다.The memory M is allocated a memory space (i) mapped for each term in the parsing table to allow a user to enter a data value in this memory space.

ASN.1 데이터 형태를 갖는 하나의 구조체는 사용자가 GUI 화면을 통해 입력한 데이터 값을 처리하기 위해 하나의 큰 메모리(M)를 할당받는다.One structure with the ASN.1 data type is allocated one large memory (M) to process the data values entered by the user through the GUI screen.

이때, 메모리의 크기는 각 항의 데이터 타입을 위해 할당되는 개별 메모리의 크기와 같다.At this time, the size of the memory is equal to the size of the individual memory allocated for the data type of each term.

하나의 큰 메모리(M)는 파싱 테이블의각 항의 작은 데이터 항들과 사상되도록 오프셋 값(M01, M02, M03...)이 지정되는 메모리 공간으로 구분된다.One large memory M is divided into memory spaces in which offset values M01, M02, M03 ... are specified so as to map to the small data terms of each term in the parsing table.

코덱은 사용자 인터페이스 모듈에서 생성된 사용자 인터페이스 트리의 특정 종단 노드에 맞는 메모리 공간에 사용자가 입력한 데이터 값을 넣어 인코딩/디코딩 하도록 한다.The codec encodes / decodes data input by a user in a memory space corresponding to a specific end node of a user interface tree generated by the user interface module.

이와 같이 구성되는 본 발명에 따른 실시예의 ASN.1 편집에서의 데이터의 처리 시스템의 동작을 살펴보면 다음과 같다.The operation of the data processing system in ASN.1 editing of the embodiment according to the present invention configured as described above is as follows.

먼저, ASN.1 데이터 형태를 갖는 구조체마다 개별 메모리를 할당받고, 하나의 구조체에 할당된 메모리는 다수의 메모리 공간으로 구분되는데, 각 메모리 공간은 오프셋 값이 지정된다.First, individual memories are allocated to each structure having an ASN.1 data type, and memory allocated to one structure is divided into a plurality of memory spaces, each of which is assigned an offset value.

사용자 인터페이스 모듈은 ASN.1 표기법으로 기술된 데이터를 파싱하여 파싱 테이블을 생성하고, 이렇게 생성된 파싱 테이블의 항에 대해 하나씩 사상되는 노드를 생성해 나간다.The user interface module parses the data described in ASN.1 notation to create a parsing table, and generates nodes that map one by one to the term of the parsing table thus generated.

위의 결과로, ASN.1 표기법으로 기술된 데이터가 사용자 인터페이스 트리 형태로 변환되어 GUI 화면으로 출력된다.As a result of the above, data described in ASN.1 notation is converted into a user interface tree form and output to the GUI screen.

그러면, 사용자는 사용자 인터페이스 트리의 특정한 종단 노드를 클릭하고, 해당 종단 노드에 맞는 메모리 공간의 오프셋 값을 찾는다.The user then clicks on a particular end node in the user interface tree and finds the offset value of the memory space for that end node.

사용자는 메모리 공간의 오프셋 값을 찾은 후에 자신이 클릭한 종단 노드의 입력창이 뜨면 오프셋 값에 해당되는 메모리 공간에 데이터를 입력한다. 그러면, 코덱은 사용자가 입력한 데이터를 넣어 전체를 디코딩/인코딩한다.After finding the offset value of the memory space, the user enters data into the memory space corresponding to the offset value when the input window of the end node clicked on is displayed. The codec then decodes / encodes the entirety of the data input by the user.

상기 도면과 발명의 상세한 설명은 단지 본 발명의 예시적인 것으로서, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.The drawings and detailed description of the invention are merely exemplary of the invention, which are used for the purpose of illustrating the invention only and are not intended to limit the scope of the invention as defined in the appended claims or claims. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible from this. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

본 발명에 의한 ASN.1 편집에서의 데이터의 처리 시스템 및 그 방법은 GUI 기반의 ASN.1 편집기의 개발을 가능케 하여 ASN.1 데이터를 분석하고, 분석된 데이터를 사용자 인터페이스가 용이하도록 트리 형태로 변환하여 인코딩/디코딩을 수행함으로써, 사용자의 편의성이 증대되고 작업의 효율성을 증가시킬 수 있는 효과가 있다.The data processing system and method for ASN.1 editing according to the present invention enable the development of a GUI-based ASN.1 editor to analyze ASN.1 data and to use the analyzed data in a tree form to facilitate the user interface. By performing the encoding / decoding by converting, the user's convenience is increased and the efficiency of the work can be increased.

Claims (14)

ASN.1 표기법으로 기술된 데이터를 파싱(Parsing)하여 파싱 테이블이 생성되면, 상기 파싱 테이블의 항에 대해 사용자 인터페이스 트리(Tree)를 생성하여 사용자에게 그래픽 사용자 인터페이스(GUI) 화면으로 출력하는 사용자 인터페이스 모듈;When a parsing table is generated by parsing data described in ASN.1 notation, a user interface for generating a user interface tree for the terms of the parsing table and outputting the graphic to the user through a graphical user interface (GUI) screen. module; 상기 파싱 테이블의 각 항들에 대해 사상되는 메모리 공간이 할당되어 상기 메모리 공간에 사용자가 데이터 값을 입력하도록 하는 메모리; 및A memory for allocating a memory space mapped to each term of the parsing table to allow a user to input a data value into the memory space; And 상기 사용자 인터페이스 모듈에서 생성된 사용자 인터페이스 트리의 특정 종단 노드에 맞는 메모리 공간에 사용자가 입력한 데이터 값을 넣어 인코딩/디코딩하는 코덱Codec that encodes / decodes data input by a user in a memory space corresponding to a specific end node of a user interface tree generated by the user interface module. 을 포함하는 ASN.1 편집에서의 데이터의 처리 시스템.A system for processing data in ASN.1 editing comprising. 제 1 항에 있어서,The method of claim 1, 상기 사용자 인터페이스 모듈은,The user interface module, 상기 파싱 테이블이 상기 ASN.1 표기법으로 기술된 데이터를 ASN.1 컴파일러로 컴파일하여 고수준의 언어로 컴파일된 목표코드를 파싱하거나, 또는 ASN.1 표기법으로 기술된 데이터를 직접 파싱하여 생성되는 것을 특징으로 하는 ASN.1 편집에서의 데이터의 처리 시스템.The parsing table is generated by compiling the data described in the ASN.1 notation with an ASN.1 compiler and parsing the target code compiled in a high level language, or by directly parsing the data described in the ASN.1 notation. Data processing system in ASN.1 editing. 제 1 항에 있어서,The method of claim 1, 상기 파싱 테이블의 자료 구조는,The data structure of the parsing table is 하나의 노드가 가지는 항들이 ASN.1에서 데이터 형태를 갖는 변수들, 하위 구조체를 가리키는 포인터(Pointer), 상위 구조체를 가리키는 포인터를 갖는 것을 특징으로 하는 ASN.1 편집에서의 데이터의 처리 시스템.A system for processing data in an ASN.1 edit, wherein the terms of one node have variables having a data type in ASN.1, a pointer to a substructure, and a pointer to a superstructure. 제 3 항에 있어서,The method of claim 3, wherein 상기 하위 구조체는 상위 구조체의 다음 노드로서, 하나의 노드를 기준으로 재귀적으로 ASN.1을 표현 하는 구조체를 생성해 나가는 것을 특징으로 하는 ASN.1 편집에서의 데이터의 처리 시스템.The substructure is the next node of the superstructure, and generates a structure recursively expressing ASN.1 based on one node. 제 1 항에 있어서,The method of claim 1, 상기 메모리는, ASN.1의 각 항에 대한 값을 저장하기 위한 데이터 저장 공간으로 ASN.1을 표현하는 구조체가 메모리에 대한 포인터를 가지고 있어 상기 메모리에 대한 접근 가능하도록 하는 것을 특징으로 하는 ASN.1 편집에서의 데이터 처리 시스템.Wherein the memory is a data storage space for storing a value for each term of ASN.1, so that the structure representing ASN.1 has a pointer to the memory and is accessible to the memory. 1 Data Processing System in Compilation. 제 1 항에 있어서,The method of claim 1, 상기 메모리는, ASN.1 데이터를 저장하기 위해 연속된 하나의 주소 공간으로써 할당이 되며 ASN.1의 각 항에 대한 접근은 ASN.1의 각 항에 대한 메모리오프셋(offset) 값으로써 가능한 것을 특징으로 하는 ASN.1 편집에서의 데이터의 처리 시스템.The memory is allocated as a contiguous address space for storing ASN.1 data and access to each term in ASN.1 is possible as a memory offset value for each term in ASN.1. Data processing system in ASN.1 editing. a) ASN.1 표기법으로 기술된 데이터를 처리하기 위해 각 구조체마다 메모리 공간을 할당하는 단계;a) allocating memory space for each structure to process data described in ASN.1 notation; b) 상기 a) 단계에서 할당된 메모리 공간에 ASN.1 표기법으로 기술된 데이터를 파싱하여 생성된 파싱 테이블의 각 항들과 사상(mapping)하고 사용자 인터페이스 트리를 생성하여 사용자에게 그래픽 사용자 인터페이스(GUI) 화면으로 출력하는 단계; 및b) A graphical user interface (GUI) is presented to the user by mapping each term of the parsing table generated by parsing data described in ASN.1 notation to the memory space allocated in step a) and generating a user interface tree. Outputting to a screen; And c) 상기 b) 단계에 의해 사용자는 GUI 화면을 통해 사용자 인터페이스 트리의 특정 종단의 노드를 선택하고, 상기 파싱 테이블의 각 항들이 사상된 메모리 공간에 사용자가 데이터 값을 입력하여 디코딩/인코딩하는 단계c) step b), the user selects a node of a specific end of the user interface tree through a GUI screen, and decodes / encodes the user by inputting a data value into a memory space where each term of the parsing table is mapped. 를 포함하는 ASN.1 편집에서의 데이터의 처리 방법.Method of processing data in ASN.1 editing comprising a. 제 7 항에 있어서,The method of claim 7, wherein 상기 b) 단계에서 파싱 테이블을 생성하는 단계는,Generating the parsing table in step b), 상기 파싱 테이블이 상기 ASN.1 표기법으로 기술된 데이터를 ASN.1 컴파일러로 컴파일하여 고수준의 언어로 컴파일된 목표코드를 파싱하거나, 또는 ASN.1 표기법으로 기술된 데이터를 직접 파싱하여 생성하는 것을 특징으로 하는 ASN.1 편집에서의 데이터의 처리 방법.The parsing table compiles the data described in the ASN.1 notation with the ASN.1 compiler to parse the target code compiled in a high level language, or directly parses the data described in the ASN.1 notation. Data processing method in ASN.1 editing. 제 7 항에 있어서,The method of claim 7, wherein 상기 파싱 테이블의 자료 구조는,The data structure of the parsing table is 하나의 노드가 가지는 항들이 ASN.1에서 데이터 형태를 갖는 변수들, 하위 구조체를 가리키는 포인터(Pointer), 상위 구조체를 가리키는 포인터를 갖는 것을 특징으로 하는 ASN.1 편집에서의 데이터의 처리 방법.A method of processing data in ASN.1 editing, wherein the terms of one node have variables having a data type in ASN.1, a pointer to a substructure, and a pointer to a superstructure. 제 9 항에 있어서,The method of claim 9, 상기 하위 구조체는 상위 구조체의 다음 노드로서, 하나의 노드를 기준으로 재귀적으로 ASN.1을 표현 하는 구조체를 생성해 나가는 것을 특징으로 하는 ASN.1 편집에서의 데이터의 처리 방법.The substructure is the next node of the superstructure, and generates a structure expressing ASN.1 recursively based on one node. 제 7 항 또는 제 9 항에 있어서,The method according to claim 7 or 9, 상기 b) 단계에서 사용자 인터페이스 트리를 생성하는 단계는,Generating the user interface tree in step b), 상기 파싱 테이블의 각 항들을 사상할 때, 상기 상위 구조체와 하위 구조체는 트리가 생성되고, 상기 데이터 형태를 갖는 변수들은 노드가 생성되는 것을 특징으로 하는 ASN.1 편집에서의 데이터의 처리 방법.When mapping each term of the parsing table, a tree is generated for the upper structure and the lower structure, and a variable having the data type is a node for generating data in ASN.1 editing. 제 7 항에 있어서,The method of claim 7, wherein 상기 a) 단계에서 메모리 공간을 할당하는 단계는, 상기 파싱 테이블의 각항의 데이터 항들과 사상을 위하여 오프셋 값을 지정하는 것을 특징으로 하는 ASN.1 편집에서의 데이터의 처리 방법.The step of allocating the memory space in the step a), specifies an offset value for mapping with the data terms of each term of the parsing table. 제 7 항 또는 제 12 항에 있어서,The method according to claim 7 or 12, 상기 c) 단계에서 디코딩/인코딩하는 단계는,Decoding / encoding in step c) includes: 사용자가 사용자 인터페이스 트리의 특정 종단 노드를 선택한 후에 해당 노드에 맞는 메모리 공간에 대한 오프셋 값을 찾고, 상기 오프셋 값에서부터 인코딩/디코딩을 위한 데이터 값을 입력하는 것을 특징으로 하는 ASN.1 편집에서의 데이터의 처리 방법.After the user selects a specific end node of the user interface tree, the user finds an offset value for the memory space corresponding to the node, and inputs a data value for encoding / decoding from the offset value. Treatment method. 제 7 항에 있어서,The method of claim 7, wherein 상기 a) 단계에서 메모리 공간을 할당하는 단계는, 연속적인 주소 공간을 갖는 메모리를 할당한 후에 상기 메모리에서 상기 파싱 테이블의 각 항을 위한 메모리 공간을 할당함으로써 연속된 메모리로 데이터를 구성하는 것을 특징으로 하는 ASN.1 편집에서의 데이터의 처리 방법.The step of allocating the memory space in the step a) comprises allocating the memory having the contiguous address space and then configuring the data into the contiguous memory by allocating the memory space for each term of the parsing table in the memory. Data processing method in ASN.1 editing.
KR10-2002-0078254A 2002-12-10 2002-12-10 System for data processing of ASN.1 editor and method thereof KR100488805B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0078254A KR100488805B1 (en) 2002-12-10 2002-12-10 System for data processing of ASN.1 editor and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0078254A KR100488805B1 (en) 2002-12-10 2002-12-10 System for data processing of ASN.1 editor and method thereof

Publications (2)

Publication Number Publication Date
KR20040050420A true KR20040050420A (en) 2004-06-16
KR100488805B1 KR100488805B1 (en) 2005-05-12

Family

ID=37344619

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0078254A KR100488805B1 (en) 2002-12-10 2002-12-10 System for data processing of ASN.1 editor and method thereof

Country Status (1)

Country Link
KR (1) KR100488805B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100938226B1 (en) * 2008-09-24 2010-01-22 (주)지슨 Method for storing data according to a size of asn.1 file
US9736899B2 (en) 2013-01-16 2017-08-15 Lg Electronics Inc. Lighting apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69226404T2 (en) * 1991-06-28 1999-04-15 Digital Equipment Corp Method and device for converting abstract syntaxes at a high level into an intermediate form
JP2833612B2 (en) * 1992-10-29 1998-12-09 日本電気株式会社 Service primitive generation system
JP2000172604A (en) * 1998-12-10 2000-06-23 Nec Corp Asn.1 data handling processor
KR20000039608A (en) * 1998-12-15 2000-07-05 이계철 Method and apparatus for forming protocol using abstract syntax notation
JP3531536B2 (en) * 1999-05-28 2004-05-31 日本電気株式会社 Dynamic Assignment of Type Information in Data Structure Definition Using Abstract Syntax Notation
US6883164B2 (en) * 2000-12-15 2005-04-19 International Business Machines Corporation Strategy for dynamically modeling ASN.1 data to an object model

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100938226B1 (en) * 2008-09-24 2010-01-22 (주)지슨 Method for storing data according to a size of asn.1 file
US9736899B2 (en) 2013-01-16 2017-08-15 Lg Electronics Inc. Lighting apparatus

Also Published As

Publication number Publication date
KR100488805B1 (en) 2005-05-12

Similar Documents

Publication Publication Date Title
US7140028B2 (en) System and method for building a target operating system from a source operating system
CN106598581B (en) ASTERIX message analysis code generation method based on XML
CN111666526A (en) Page generation method, device, equipment and storage medium
CN106648662B (en) Report generation device and method based on project cost calculation description language BCL
JPH08202545A (en) Object-oriented system and method for generation of target language code
CN109086215B (en) Embedded software unit test case generation method and system
CN104317589A (en) Automatic code generating method and automatic code generating device for loading dynamic link library
CN104731588A (en) Page layout file generation method and device
CN102693238B (en) Widget application process, system and multimedia terminal
CN105204837B (en) Method and device for realizing logic programming
CN110955410A (en) Automatic code generation method, device, equipment and medium
CN109710244B (en) User-defined animation configuration method and device, equipment and storage medium
CN114564199A (en) Method, device and equipment for generating use page and readable storage medium
CN112860264B (en) Method and device for reconstructing abstract syntax tree
JP2006301989A (en) Method, apparatus and program for automatically generating program in computer language from block diagram
CN108153528B (en) Flow model expansion processing method and device, storage medium and electronic equipment
KR100488805B1 (en) System for data processing of ASN.1 editor and method thereof
CN107092474B (en) Program development method, ETL processing method and device
CN101794240A (en) Method and system for aggregating data content
CN114757159A (en) Packaging development method and system of multifunctional data table component
CN103488477A (en) Visual editing system and visual editing method of JAVA interface
CN113885844A (en) Business service arranging method and related device
CN103246671A (en) Processing method and device for abstract syntax notation files
CN112199335A (en) Generation method and generation system of operation log
US7603661B2 (en) Parse table generation method and system

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

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20130730

Year of fee payment: 18