KR20060067722A - Software automatic generating device and method for selective service - Google Patents
Software automatic generating device and method for selective service Download PDFInfo
- Publication number
- KR20060067722A KR20060067722A KR1020040106616A KR20040106616A KR20060067722A KR 20060067722 A KR20060067722 A KR 20060067722A KR 1020040106616 A KR1020040106616 A KR 1020040106616A KR 20040106616 A KR20040106616 A KR 20040106616A KR 20060067722 A KR20060067722 A KR 20060067722A
- Authority
- KR
- South Korea
- Prior art keywords
- service
- tag
- software
- source code
- analysis
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
본 발명은 선택적 서비스를 위한 소프트웨어 자동 생성 장치 및 그 방법에 관한 것으로, 특히 서비스 태그가 포함된 소프트웨어 코드(20)를 분석하는 분석기(30); 및 분석기(30)의 분석 결과 서비스 태그가 나타나면 사용자가 선택한 해당 서비스(10)의 태그가 있는 부분을 서비스 종료 태그가 나타나는 부분까지 복사하여 소스코드를 생성하는 한편, 분석기(30)의 분석 결과 서비스 태그가 나타나지 않으면 해당 분석된 블록을 바로 복사하여 소스코드를 생성하는 소프트웨어 생성기(40)로 구성된 것을 특징으로 하며, 이러한 본 발명은 서비스 태그를 이용하여 소프트웨어를 구성하고 선택적인 서비스에 따른 소스코드를 자동으로 생성해 줌으로써, 자동 생성된 소프트웨어에서 서비스에 대한 조건문을 배제시켜 소프트웨어의 성능을 향상시켜 주는 효과가 있다.The present invention relates to an apparatus for automatically generating software for a selective service and a method thereof, and in particular, an analyzer (30) for analyzing software code (20) including a service tag; When the service tag appears as a result of the analysis of the analyzer 30, the source code is generated by copying the tagged part of the corresponding service 10 selected by the user to the part where the service end tag appears, and the analysis result service of the analyzer 30. If the tag does not appear, it is characterized by consisting of a software generator 40 for generating the source code by directly copying the analyzed block, the present invention comprises a software using a service tag and the source code according to the optional service By automatically generating, the performance of the software is improved by excluding conditional statements about the service from the automatically generated software.
소프트웨어 생성기, 서비스 태그, 시작 태그, 종료 태그, Software generator, service tag, start tag, end tag,
Description
도 1은 본 발명의 일 실시예에 따른 선택적 서비스를 위한 소프트웨어 자동 생성 장치의 구성을 나타낸 기능 블록도,1 is a functional block diagram illustrating a configuration of an apparatus for automatically generating software for a selective service according to an embodiment of the present invention;
도 2는 본 발명의 일 실시예에 따른 선택적 서비스를 위한 소프트웨어 자동 생성 방법을 나타낸 동작 플로우챠트이다.2 is an operation flowchart illustrating a method for automatically generating software for a selective service according to an embodiment of the present invention.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
10 : 서비스 20 : 소프트웨어 코드10: service 20: software code
30 : 분석기 40 : 소프트웨어 생성기30: Analyzer 40: Software Generator
본 발명은 선택적 서비스(Service)를 위한 소프트웨어(Software) 자동 생성 장치 및 그 방법에 관한 것으로, 더욱 상세하게는 소프트웨어 시스템(Software System)의 개발에 있어서 서비스 태그를 이용하여 소프트웨어를 구성하고 선택적인 서비스에 따른 소스코드를 자동으로 생성해 줌으로써, 소프트웨어에 대해 성능향상을 기대할 수 있는 선택적 서비스를 위한 소프트웨어 자동 생성 장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus for automatically generating software for a selective service and a method thereof, and more particularly, to configure software using a service tag and to selectively select a service in the development of a software system. The present invention relates to an automatic software generating device and a method for an optional service that can be expected to improve the performance of the software by automatically generating the source code according to.
주지하다시피, 종래의 소프트웨어 자동 생성기들은 소프트웨어가 제공할 모든 서비스들을 구현물에 모두 포함시켜 개발하였기 때문에, 사용자가 필요로하는 서비스에 대해서만 소프트웨어를 생성하고자 할 경우에는 별도의 방법이 필요하였다. 따라서, 종래의 소프트웨어 방법을 이용하여 특정 서비스들만 제공하도록 구성할 경우에는 조건문 등을 삽입하여 소프트웨어를 개발해야만 하였다.As is well known, the conventional software automatic generators have developed all the services to be provided by the software. Therefore, a separate method was required to generate the software only for the services required by the user. Therefore, in the case of configuring only specific services by using a conventional software method, software must be developed by inserting conditional statements.
하지만, 상술한 종래의 소프트웨어 개발 방법은 소프트웨어의 수행시에 불필요한 서비스의 제공을 막기위해 수많은 조건문을 수행해야 되므로, 소프트웨어의 성능이 심각하게 저하되는 문제점이 있었다.However, the above-described conventional software development method has to perform a number of conditional statements in order to prevent the provision of unnecessary services during the execution of the software, there is a problem that the performance of the software is seriously degraded.
따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위해 이루어진 것으로서, 본 발명의 목적은 소스 코드상에 서비스 태그를 이용하여 서비스 별로 구현 부분을 표시한 후에 필요한 서비스 대해서만 선택적으로 생성하도록 해줌으로써, 자동 생성된 소프트웨어에서 서비스에 대한 조건문을 배제시켜 소프트웨어의 성능을 향상시켜 주기 위한 선택적 서비스를 위한 소프트웨어 자동 생성 장 치 및 그 방법을 제공하는 데 있다.
Accordingly, the present invention has been made to solve the above-mentioned conventional problems, and an object of the present invention is to selectively generate only necessary services after displaying the implementation part for each service using a service tag on the source code, The purpose of the present invention is to provide a software automatic generation device and a method for an optional service for improving the performance of the software by excluding conditional statements about the service from the automatically generated software.
상기와 같은 목적을 달성하기 위하여 본 발명 선택적 서비스를 위한 소프트웨어 자동 생성 장치는, 서비스 태그가 포함된 소프트웨어 코드를 분석하는 분석기; 및 In order to achieve the above object, the present invention provides an apparatus for automatically generating software for an optional service, comprising: an analyzer for analyzing a software code including a service tag; And
상기 분석기의 분석 결과 서비스 태그가 나타나면 사용자가 선택한 해당 서비스의 태그가 있는 부분을 서비스 종료 태그가 나타나는 부분까지 복사하여 소스코드를 생성하는 한편, 상기 분석기의 분석 결과 서비스 태그가 나타나지 않으면 해당 분석된 블록을 바로 복사하여 소스코드를 생성하는 소프트웨어 생성기로 구성된 것을 특징으로 한다.If the service tag appears as a result of the analysis of the analyzer, the source code is generated by copying the part with the tag of the service selected by the user to the part where the service end tag appears. It is characterized by consisting of a software generator for generating the source code by copying the immediately.
또한, 본 발명 선택적 서비스를 위한 소프트웨어 자동 생성 방법은, 서비스 태그가 포함된 소프트웨어를 해석하는 제 1 단계; In addition, the method for automatically generating software for the optional service of the present invention includes: a first step of interpreting software including a service tag;
소프트웨어 분석과정 중에 서비스 태그가 나타나는지의 여부를 검사하는 제 2 단계; A second step of checking whether a service tag appears during a software analysis process;
상기 제 2 단계에서 분석 결과 서비스 태그가 나타나면, 사용자가 해당 서비스를 선택하였는지의 여부를 확인하는 제 3 단계; A third step of confirming whether or not the service is selected by the user when the service tag appears in the second step;
상기 제 3 단계에서 사용자가 해당 서비스를 선택하면, 해당 서비스 태그가 있는 부분을 서비스 종료 태그가 나타나는 부분까지 복사하여 소스코드를 생성하는 제 4 단계; A fourth step of generating a source code by copying a part including a corresponding service tag to a part where a service end tag appears when the user selects a corresponding service in the third step;
상기 제 2 단계에서 서비스 태그를 발견하지 못하면, 해당 분석된 블록을 바로 복사하여 소스코드를 생성하는 제 5 단계; 및 A fifth step of generating a source code by directly copying the analyzed block if the service tag is not found in the second step; And
상기 제 3 단계에서 사용자가 해당 서비스를 선택하지 않거나, 상기 제 4, 5 단계 이후, 모든 소프트웨어 코드에 대해 분석이 완료되었는지의 여부를 판단하여, 분석이 완료되지 않으면 리턴하는 한편, 분석이 완료되면 종료하는 제 6 단계로 이루어진 것을 특징으로 한다.If the user does not select the corresponding service in the third step, or after the fourth and fifth steps, it is determined whether the analysis is completed for all the software codes, and if the analysis is not completed, the method returns and the analysis is completed. Characterized in that the sixth step of ending.
이하, 본 발명의 일 실시예에 의한 선택적 서비스를 위한 소프트웨어 자동 생성 장치 및 그 방법에 대하여 첨부된 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, an apparatus and method for automatically generating software for selective service according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 일 실시예에 따른 선택적 서비스를 위한 소프트웨어 자동 생성 장치의 구성을 나타낸 기능블록도이다.1 is a functional block diagram illustrating a configuration of an apparatus for automatically generating software for selective service according to an embodiment of the present invention.
소프트웨어가 제공가능한 모든 서비스들(10)은 소스코드(20) 내에 서비스 태그를 통해 표현된다. 상기 서비스 태그(20)의 구성은 서비스 아이디와 코드 상의 분석기(30)가 이해할 수 있는 형태로 표현된다. 이 때, 시작 태그는 "//** <service id= 1>"과 같은 형태로 표현된다. 그러나, 이러한 태그의 표현 방식은 해당 소프트웨어를 구성하는 언어에 따라 바뀔수 있다. 하지만, 서비스를 인식하는 식별 아이디는 포함되어 있어야 한다. 한편, 해당 서비스에 대한 구현이 종료되는 부분에서는 "//** </service id=1>"과 같이 표현되는 종료 태그를 삽입해 둔다. 이 때, 서비스 시작태그와 마찬가지로 종료태그도 해당 소프트웨어를 구성하 는 언어에 따라 바뀔수 있다. 하지만, 종료를 알리는 서비스의 식별 아이디는 포함하고 있어야 한다.All
이렇게 표현된 소프트웨어 코드(20)는 소프트웨어 자산으로 정리되어 보관된 후 상기 분석기(30)와 소프트웨어 생성기(40)를 통하여 원하는 서비스만 들어있는 소프트웨어로 생성된다. 이 때, 상기 분석기(30)는 서비스 태그가 포함된 소프트웨어 소스 코드(20)를 분석하는 기능을 수행한다. 한편, 상기 소프트웨어 생성기(40)는 선택된 서비스에 대한 코드를 생성하는 기능을 수행한다. 이 때, 상기 분석기(30)의 분석과정과 상기 소프트웨어 생성기(40)의 생성과정은 하기의 도 2에 나타나는 절차와 같은 순서를 거쳐서 선택된 서비스에 대한 소스코드로 생성된다. The
이하, 상기와 같은 장치를 이용한 본 발명의 일 실시예에 따른 선택적 서비스를 위한 소프트웨어 자동 생성 방법에 대해 첨부된 도면을 참조하여 설명하기로 한다. 도 2는 본 발명의 일 실시예에 따른 선택적 서비스를 위한 소프트웨어 자동 생성 방법을 나타낸 동작 플로우챠트이다.Hereinafter, a method for automatically generating software for a selective service according to an embodiment of the present invention using the above apparatus will be described with reference to the accompanying drawings. 2 is an operation flowchart illustrating a method for automatically generating software for a selective service according to an embodiment of the present invention.
먼저, 서비스 태그가 포함된 소프트웨어를 해석한다(S1). 그런후, 소프트웨어 분석과정 중에 서비스 태그가 나타나는지의 여부를 검사한다(S2). 이 때, 상기 제 2 단계(S2)에서 분석 결과 서비스 태그가 나타나면(YES), 사용자가 해당 서비스를 선택하였는지의 여부를 확인한다(S3). 상기 제 3 단계(S3)에서 사용자가 해당 서비스를 선택하면(YES), 해당 서비스 태그가 있는 부분을 서비스 종료 태그가 나타나는 부분까지 복사하여 소스코드를 생성한다(S4). First, the software including the service tag is analyzed (S1). Then, it is checked whether the service tag appears during the software analysis process (S2). At this time, if the service tag appears as a result of the analysis in the second step (S2) (YES), it is checked whether or not the user selected the service (S3). When the user selects the corresponding service in the third step S3 (YES), the source code is generated by copying the part having the corresponding service tag to the part where the service end tag appears (S4).
반면에, 상기 제 2 단계(S2)에서 서비스 태그를 발견하지 못하면(NO), 해당 분석된 블록을 바로 복사하여 소스코드를 생성한다(S5).On the other hand, if the service tag is not found in the second step (S2) (NO), the corresponding block is copied directly to generate the source code (S5).
한편, 상기 제 3 단계(S3)에서 사용자가 해당 서비스를 선택하지 않거나(NO), 상기 제 4, 5 단계(S4, S5) 이후, 모든 소프트웨어 코드에 대해 분석이 완료되었는지의 여부를 판단하여, 분석이 완료되지 않으면(NO) 리턴하는 한편, 분석이 완료되면(YES) 종료한다(S6).On the other hand, in the third step (S3) the user does not select the service (NO), or after the fourth and fifth steps (S4, S5), it is determined whether the analysis is completed for all the software code, If the analysis is not completed (NO), the process returns, and when the analysis is completed (YES), the process ends (S6).
상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다.The method of the present invention as described above may be implemented as a program and stored in a computer-readable recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.).
이상에서 몇 가지 실시예를 들어 본 발명을 더욱 상세하게 설명하였으나, 본 발명은 반드시 이러한 실시예로 국한되는 것이 아니고 본 발명의 기술사상을 벗어나지 않는 범위 내에서 다양하게 변형실시될 수 있다.Although the present invention has been described in more detail with reference to some embodiments, the present invention is not necessarily limited to these embodiments, and various modifications can be made without departing from the spirit of the present invention.
상술한 바와 같이 본 발명에 의한 선택적 서비스를 위한 소프트웨어 자동 생성 장치 및 그 방법에 의하면, 서비스 태그를 이용하여 소프트웨어를 구성하고 선택적인 서비스에 따른 소스코드를 자동으로 생성해 줌으로써, 자동 생성된 소프트웨어에서 서비스에 대한 조건문을 배제시켜 소프트웨어의 성능을 향상시켜 주는 뛰어난 효과가 있다.
As described above, according to the apparatus and method for automatically generating software for selective service according to the present invention, by automatically configuring the software using the service tag and automatically generating the source code according to the optional service, It has the effect of improving the performance of software by eliminating conditional statements about services.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040106616A KR20060067722A (en) | 2004-12-15 | 2004-12-15 | Software automatic generating device and method for selective service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020040106616A KR20060067722A (en) | 2004-12-15 | 2004-12-15 | Software automatic generating device and method for selective service |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20060067722A true KR20060067722A (en) | 2006-06-20 |
Family
ID=37162250
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020040106616A KR20060067722A (en) | 2004-12-15 | 2004-12-15 | Software automatic generating device and method for selective service |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20060067722A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100882877B1 (en) * | 2007-01-23 | 2009-02-10 | 전자부품연구원 | Computer-readable medium having interface definition language between embedded device and host server and generating method of source code |
KR101056326B1 (en) * | 2008-12-09 | 2011-08-11 | 한국항공우주산업 주식회사 | Aircraft embedded system for flight simulation and test |
KR20200095241A (en) * | 2019-01-31 | 2020-08-10 | 성균관대학교산학협력단 | Software refactoring method and apparatus using resource monitoring |
-
2004
- 2004-12-15 KR KR1020040106616A patent/KR20060067722A/en not_active Application Discontinuation
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100882877B1 (en) * | 2007-01-23 | 2009-02-10 | 전자부품연구원 | Computer-readable medium having interface definition language between embedded device and host server and generating method of source code |
KR101056326B1 (en) * | 2008-12-09 | 2011-08-11 | 한국항공우주산업 주식회사 | Aircraft embedded system for flight simulation and test |
KR20200095241A (en) * | 2019-01-31 | 2020-08-10 | 성균관대학교산학협력단 | Software refactoring method and apparatus using resource monitoring |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20040049768A1 (en) | Method and program for compiling processing, and computer-readable medium recoding the program thereof | |
US8533664B2 (en) | Method and system to automatically generate GUI object addressing queries | |
US20080228487A1 (en) | Speech synthesis apparatus and method | |
WO2007001108A1 (en) | System for providing feature-oriented software product line engineering environment | |
US8151253B2 (en) | Efficient generation of executable file from program files when some of the program files expressly incorporate other program files | |
KR20060067722A (en) | Software automatic generating device and method for selective service | |
JP2004185508A (en) | Program analysis device and program | |
CN116185853A (en) | Code verification method and device | |
CN116302250A (en) | Interface multiplexing method, device, electronic equipment and storage medium | |
JP2005071135A (en) | Compiling process program for statistically processing variable, its recording media, and its processing method and device | |
US8914678B2 (en) | Systems and methods for debugging model based message sequences | |
KR100916301B1 (en) | Device and Method for Executing Kernel API Interactively | |
KR100625597B1 (en) | Automatic testcase generation method for testing of object - oriented CHILL programs | |
JP2007079906A (en) | Source code generator | |
CN103914306A (en) | Method and device for providing executing result of software program | |
JP2006259805A (en) | Processor design equipment, processor design method, and processor design program | |
JP3003459B2 (en) | Program creation support device | |
JP2006031331A (en) | Computer for executing program conversion, method for executing program conversion, and program | |
JP2006171913A (en) | Information processor, information processing method, program and storage medium | |
JP3551882B2 (en) | Information processing apparatus having interactive screen source code generation function, and recording medium | |
JP2007265098A (en) | Macro definition information acquisition device | |
JP2003036186A (en) | Device, method and program for alias retrieval | |
JPH09274570A (en) | Compile method and compiler system | |
CN118034670A (en) | Software code generation method and device, electronic equipment and storage medium | |
CN115470094A (en) | Test script generation method and device, server and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |