KR101146293B1 - Source parsing method for effectively extracting mutual relativeness information of application source - Google Patents

Source parsing method for effectively extracting mutual relativeness information of application source Download PDF

Info

Publication number
KR101146293B1
KR101146293B1 KR1020110067083A KR20110067083A KR101146293B1 KR 101146293 B1 KR101146293 B1 KR 101146293B1 KR 1020110067083 A KR1020110067083 A KR 1020110067083A KR 20110067083 A KR20110067083 A KR 20110067083A KR 101146293 B1 KR101146293 B1 KR 101146293B1
Authority
KR
South Korea
Prior art keywords
analysis information
impact analysis
source
information
resources
Prior art date
Application number
KR1020110067083A
Other languages
Korean (ko)
Inventor
김주성
Original Assignee
(주)큐브젠소프트
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by (주)큐브젠소프트 filed Critical (주)큐브젠소프트
Priority to KR1020110067083A priority Critical patent/KR101146293B1/en
Application granted granted Critical
Publication of KR101146293B1 publication Critical patent/KR101146293B1/en

Links

Images

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

Abstract

PURPOSE: A source resource parsing method is provided to reduce time for parting and generate accurate effect analysis information by reproducing effect analysis information about source resources. CONSTITUTION: Effect analysis information about source resource is generated(S230). Effect analysis information about source resources is reproduced at time point for generating effect analysis information(S260). The effect analysis information of the changed source resources is generated(S290). Effect analysis information is reproduced at a point for generating the effect analysis information(S295).

Description

어플리케이션 소스자원의 상호 관련 정보를 효과적으로 추출하는 소스자원 파싱 방법{Source parsing method for effectively extracting mutual relativeness information of application source}Source parsing method for effectively extracting mutual relativeness information of application source}

본 발명은 소스자원 파싱 방법에 관한 것으로, 더욱 상세하게는 소스자원들에 대한 상호 관련 정보 등을 획득하기 위해 소스자원 자원들을 파싱하는 소스자원 파싱 방법에 관한 것이다.
The present invention relates to a source resource parsing method, and more particularly, to a source resource parsing method for parsing source resource resources to obtain correlation information about the source resources and the like.

구조분석정보와 영향분석정보를 생성함에 있어, 구문 분석기는 소스자원 단위로 파싱을 수행한다. 소스자원 단위로 파싱이 수행되는 관계로, 아직 구조분석정보가 생성되지 않은 소스자원과 연관된 소스자원에 대한 영향분석정보는 불완전한 정보로 생성된다.In generating the structure analysis information and the impact analysis information, the parser parses the source resource unit. As parsing is performed in units of source resources, impact analysis information on source resources associated with source resources for which structural analysis information has not yet been generated is generated as incomplete information.

이와 같은 불완전한 영향분석정보를 바로 잡기 위해, 구문 분석기는 모든 소스자원들에 대해 2차 파싱과 3차 파싱을 반복한다. 하지만, 소스자원이 대량인 경우, 파싱 작업에 과도한 시간이 소요되는 문제가 있다. 예를 들어, 40만 개의 소스자원에 대해 2번의 파싱을 수행하는데에는 10일 이상이 소요된다.To correct this incomplete impact analysis information, the parser repeats the second and third parsing of all source resources. However, when a large amount of source resources, there is a problem that takes too much time parsing. For example, two parsing of 400,000 source resources takes more than 10 days.

소스자원의 개수가 증가할수록 파싱에 소요되는 시간이 선형적이 아닌 기하급수적으로 증가된다. 예를 들어, 100개의 소스자원들에 대한 파싱 시간을 300초라 가정하면, 200개의 소스자원들에 대한 파싱 시간은 600초가 아닌 그 이상의 시간이 걸리는 것이다.As the number of source resources increases, the time spent parsing increases exponentially, not linearly. For example, assuming that the parsing time for 100 source resources is 300 seconds, the parsing time for 200 source resources takes more than 600 seconds.

파싱 시간은 소스자원의 특성에 따라 다르겠지만, 일반적으로 2의 지수 배로 증가한다. 즉, 소수의 개수가 10만 개, 20만 개, 30만 개로 증가하는 경우, 파싱 시간은 2일, 4일, 8일로 증가하게 된다.
Parsing time will vary depending on the nature of the source resource, but will generally increase by an exponential multiple of 2. That is, when the number of prime numbers is increased to 100,000, 200,000, and 300,000, the parsing time is increased to 2 days, 4 days, and 8 days.

본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, 본 발명의 목적은, 파싱 시간을 줄이기 위한 방안으로, 영향분석정보에 미확인 정보가 포함되었던 소스자원들에 대한 영향분석정보들을 재생성하는 소스자원 파싱 방법을 제공함에 있다.
The present invention has been made to solve the above problems, an object of the present invention, a method for reducing the parsing time, the source for regenerating the impact analysis information on the source resources that were included in the impact analysis information unidentified information; It is to provide a resource parsing method.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른, 소스자원 파싱 방법은, 소스자원들에 대한 영향분석정보들을 생성하는 단계; 및 상기 소스자원들에 대한 영향분석정보 생성이 완료되면, 영향분석정보에 미확인 정보가 포함되었던 소스자원들에 대한 영향분석정보들을 재생성하는 단계;를 포함한다.Source resource parsing method according to an embodiment of the present invention for achieving the above object, generating impact analysis information for the source resources; And when the generation of the impact analysis information on the source resources is completed, regenerating the impact analysis information on the source resources in which the impact analysis information was included.

상기 생성 단계는, 생성된 영향분석정보에 미확인 정보가 포함되어 있지 않으면, 생성된 영향분석정보를 영향분석정보 테이블에 저장하는 단계; 및 생성된 영향분석정보에 미확인 정보가 포함되어 있으면, 생성된 영향분석정보를 미확인 영향분석정보 테이블에 저장하는 단계;를 포함하는 것이 바람직하다.The generating step may include: storing the generated impact analysis information in an impact analysis information table if unconfirmed information is not included in the generated impact analysis information; And if the generated impact analysis information includes unconfirmed information, storing the generated impact analysis information in an unidentified impact analysis information table.

상기 재생성 단계는, 상기 미확인 영향분석정보 테이블에 영향분석정보가 저장된 소스자원들에 대한 영향분석정보를 재생성하는 단계; 및 재생성된 영향분석정보를 상기 영향분석정보 테이블에 저장하는 단계;를 포함하는 것이 바람직하다.The regenerating step may include: regenerating impact analysis information on source resources in which impact analysis information is stored in the unidentified impact analysis information table; And storing the reproduced impact analysis information in the impact analysis information table.

영향분석정보에 미확인 정보가 포함된 소스자원은, 미확인된 소스자원과 연관되어 있는 소스자원일 수 있다.The source resource including the unidentified information in the impact analysis information may be a source resource associated with the unidentified source resource.

상기 미확인된 소스자원은, 영향분석정보에 미확인 정보가 포함된 소스자원의 영향분석정보를 생성하는 시점에 기본정보가 생성되지 않은 소스자원인 것이 바람직하다.The unidentified source resource is preferably a source resource for which basic information is not generated at the time of generating the impact analysis information of the source resource in which the impact analysis information is included.

상기 소스자원은, 프로그램 소스자원, DB 소스자원, 화면편집 소스자원 및 JCL(Job Control Language) 소스자원 중 적어도 하나를 포함할 수 있다.The source resource may include at least one of a program source resource, a DB source resource, a screen editing source resource, and a job control language (JCL) source resource.

본 소스자원 파싱 방법은, 소스자원들에 대한 구조분석정보들을 생성하는 단계; 및 상기 소스자원들에 대한 구조분석정보들 및 영향분석정보들을 제공하는 단계;를 더 포함하는 것이 바람직하다.The source resource parsing method includes generating structural analysis information about source resources; And providing structure analysis information and impact analysis information for the source resources.

본 소스자원 파싱 방법은, 추가 또는 변경된 소스자원들에 대한 영향분석정보들을 생성하는 단계; 및 상기 추가 또는 변경된 소스자원들에 대한 영향분석정보 생성이 완료되면, 영향분석정보에 미확인 정보가 포함되었던 추가 또는 변경된 소스자원들에 대한 영향분석정보들을 재생성하는 단계;를 더 포함할 수 있다.The method for parsing source resources may include generating impact analysis information on added or changed source resources; And when the generation of the impact analysis information on the added or changed source resources is completed, regenerating the impact analysis information on the added or changed source resources for which the unidentified information is included in the impact analysis information.

한편, 본 발명의 다른 실시예에 따른, 소스자원 구문 분석기는, 소스자원들에 대한 영향분석정보들을 생성하고, 상기 소스자원들에 대한 영향분석정보 생성이 완료되면 영향분석정보에 미확인 정보가 포함되었던 소스자원들에 대한 영향분석정보들을 재생성한다.
On the other hand, according to another embodiment of the present invention, the source resource syntax analyzer generates impact analysis information on source resources, and when the generation of the impact analysis information on the source resources is completed, the unconfirmed information is included in the impact analysis information. Recreate the impact analysis information for the source resources.

이상 설명한 바와 같이, 본 발명에 따르면, 영향분석정보에 미확인 정보가 포함되었던 소스자원들에 대한 영향분석정보들을 재생성하여, 정확한 영향분석정보를 생성하면서도 파싱에 소요되는 시간과 인력을 획기적으로 줄일 수 있게 된다.As described above, according to the present invention, by regenerating the impact analysis information for the source resources that were included in the impact analysis information, the time and manpower required for parsing can be drastically reduced while generating accurate impact analysis information. Will be.

또한, 본 발명에 따르면, 일부의 소스자원이 추가 또는 변경된 경우에도 매우 적은 시간으로 영향분석정보를 생성할 수 있게 된다.
In addition, according to the present invention, even when some source resources are added or changed, it is possible to generate the impact analysis information with very little time.

도 1은 본 발명의 일 실시예에 따른 소스자원 분석기를 도시한 도면,
도 2는, 도 1에 도시된 구문 분석기의 상세 구성을 도시한 도면, 그리고,
도 3은, 도 2에 도시된 구문 분석기에 의한 파싱 과정의 설명에 제공되는 흐름도이다.
1 is a view showing a source resource analyzer according to an embodiment of the present invention;
FIG. 2 is a diagram showing a detailed configuration of the parser shown in FIG. 1, and
3 is a flowchart provided to explain a parsing process by the syntax analyzer shown in FIG. 2.

이하에서는 도면을 참조하여 본 발명을 보다 상세하게 설명한다.Hereinafter, with reference to the drawings will be described the present invention in more detail.

도 1은 본 발명의 일 실시예에 따른 소스자원 분석기를 도시한 도면이다. 도 1에 도시된 소스자원 분석기의 구성들은, 소프트웨어 모듈들로 구현함이 일반적이겠지만, 하드웨어 모듈들로 구현함을 배제하지 않는다.1 is a view showing a source resource analyzer according to an embodiment of the present invention. The configurations of the source resource analyzer shown in FIG. 1, although generally implemented with software modules, do not exclude implementation with hardware modules.

도 1에 도시된 바와 같이, 소스자원 분석기는 어휘 분석기(120)와 구문 분석기(140)를 포함한다.As shown in FIG. 1, the source resource analyzer includes a lexical analyzer 120 and a syntax analyzer 140.

어휘 분석기(120)는 소스자원(110)에 대해, 변수명, 예약어, 상수, 특수 기호 등과 같은 기본 구성 요소를 추출하여, 토큰(130) 단위로 출력한다.The lexical analyzer 120 extracts basic components such as variable names, reserved words, constants, special symbols, and the like, for the source resource 110, and outputs them in units of tokens 130.

소스자원(110)은, 프로그램 소스자원, DB 소스자원, 화면편집 소스자원, JCL(Job Control Language) 소스자원 등을 포함하는 개념이다.The source resource 110 is a concept including a program source resource, a DB source resource, a screen editing source resource, a JCL (Job Control Language) source resource, and the like.

구문 분석기(140)는 토큰(130) 단위로 분리된 소스자원(110)을 파싱하여 분석하고, 분석결과로 구조분석정보(151), 영향분석정보(152), 문법에러정보(153), 기타정보(154) 등을 제공한다.The parser 140 parses and analyzes the source resource 110 separated by the token 130, and analyzes the structure analysis information 151, the impact analysis information 152, the grammar error information 153, and the like as the analysis result. Information 154 and the like.

구조분석정보(151)는 소스자원(110)에 대한 내부 구조에 대한 정보로, 소스자원 단위로 생성된다.The structural analysis information 151 is information on an internal structure of the source resource 110 and is generated in units of source resources.

영향분석정보(152)는 소스자원(110)들 간의 연관정보로, 소스자원 상호 간의 호출, 데이터의 참조, 설정, 변경, 삭제 등의 다양한 형태의 연관 관계에 대한 정보이다. 예를 들면, 영향분석정보(152)에는, 프로그램 소스자원 #1이 프로그램 소스자원 #2를 호출, 프로그램 소스자원 #1이 DB 소스자원 #3을 참조하고 있다는 등의, 소스자원들 간의 연관 관계에 대한 정보가 수록된다.The impact analysis information 152 is association information between the source resources 110 and is information on various types of association relations such as calling, reference, setting, changing, and deleting of the source resources. For example, the impact analysis information 152 includes an association relationship between the source resources, such that the program source resource # 1 calls the program source resource # 2, and the program source resource # 1 refers to the DB source resource # 3. Information about.

영향분석정보(152)는 소스자원를 추가, 변경 또는 삭제하는 경우 등에 참조를 위해 필요한 정보이다. 영향분석정보(152)가 없이 소스자원를 추가, 변경 또는 삭제하는 경우에는, 전산시스템의 에러, 오류 등이 발생될 수 있다.The impact analysis information 152 is information required for reference when adding, changing, or deleting a source resource. In the case of adding, changing, or deleting a source resource without the impact analysis information 152, an error, error, or the like of the computer system may occur.

문법에러정보(153)와 기타정보(154)는, 구문 분석기(140)에 의한 파싱 과정에서 발생하는 부수적인 정보이다.The grammar error information 153 and other information 154 are incidental information generated during the parsing process by the parser 140.

이하에서는, 도 1에 도시된 구문 분석기(140)의 구성에 대해, 도 2를 참조하여 상세히 설명한다. 도 2는, 도 1에 도시된 구문 분석기(140)의 상세 구성을 도시한 도면이다.Hereinafter, the configuration of the parser 140 shown in FIG. 1 will be described in detail with reference to FIG. 2. FIG. 2 is a diagram illustrating a detailed configuration of the syntax analyzer 140 shown in FIG. 1.

도 2에 도시된 바와 같이, 구문 분석기(140)는 파서(141), 기본정보 테이블(143), 영향분석정보 테이블(145) 및 미확인 영향분석정보 테이블(147)을 포함한다.As shown in FIG. 2, the parser 140 includes a parser 141, a basic information table 143, an impact analysis information table 145, and an unidentified impact analysis information table 147.

파서(141)는 소스자원(110)을 하나씩 파싱하여 분석하고, 분석결과를 테이블들(143, 145 및 147)에 저장한다.The parser 141 parses the source resources 110 one by one and stores the analysis results in the tables 143, 145, and 147.

기본정보 테이블(143)에는 파서(141)의 파싱결과로 생성되는 구조분석정보 문법에러정보 및 기타정보 등이 저장된다.The basic information table 143 stores structural analysis information grammar error information and other information generated as a result of parsing of the parser 141.

영향분석정보 테이블(145)과 미확인 영향분석정보 테이블(147)에는, 파서(141)의 파싱결과로 생성되는 영향분석정보가 저장되는 테이블이라는 점에서 공통된다.The impact analysis information table 145 and the unidentified impact analysis information table 147 are common in that the impact analysis information generated as a result of the parsing of the parser 141 is stored in the table.

하지만, 미확인 영향분석정보 테이블(147)에는 미확인 정보가 포함된 영향분석정보가 저장되고, 영향분석정보 테이블(145)에는 미확인 정보가 포함되지 않은 영향분석정보가 저장된다는 점에서, 양자는 차이가 있다.However, since the impact analysis information including the unidentified information is stored in the unidentified impact analysis information table 147, and the impact analysis information without the unidentified information is stored in the impact analysis information table 145, have.

이하에서, 도 2에 도시된 구문 분석기(140)에 의한 파싱 과정에 대해, 도 3을 참조하여 상세히 설명한다.Hereinafter, a parsing process by the parser 140 shown in FIG. 2 will be described in detail with reference to FIG. 3.

도 3에 도시된 바와 같이, 먼저 파서(141)는, 소스자원(110)에 대해 순차적으로 1차 파싱을 시작하여(S210), 기본정보를 생성하여 기본정보 테이블(143)에 저장한다(S220).As shown in FIG. 3, first, the parser 141 starts parsing sequentially on the source resource 110 (S210), generates basic information, and stores the basic information in the basic information table 143 (S220). ).

S220단계에서 생성되는 기본정보에는, 구조분석정보(151), 문법에러정보(153) 및 기타정보(154) 등이 포함된다.The basic information generated in step S220 includes the structural analysis information 151, the grammar error information 153, the other information 154, and the like.

이후, 파서(141)는 기본정보 테이블(143)에 저장된 기본정보를 참조하여 영향분석정보를 생성하는데(S230), 생성된 영향분석정보에 미확인 정보가 포함되어 있는지 확인한다(S240). S240단계에서의 판단결과 S230단계에서 생성된 영향분석정보에 미확인 정보가 포함되어 있으면(S240-Y), 파서(141)는 S230단계에서 생성된 영향분석정보를 미확인 영향분석정보 테이블(147)에 저장한다(S250).Thereafter, the parser 141 generates impact analysis information by referring to the basic information stored in the basic information table 143 (S230), and checks whether the generated impact analysis information includes unconfirmed information (S240). If the determination result at step S240 includes the unconfirmed information in the impact analysis information generated at step S230 (S240-Y), the parser 141 transmits the impact analysis information generated at the step S230 to the unconfirmed impact analysis information table 147. Save (S250).

반면, S230단계에서 생성된 영향분석정보에 미확인 정보가 포함되어 있지 않으면(S240-N), 파서(141)는 S230단계에서 생성된 영향분석정보를 영향분석정보 테이블(145)에 저장한다(S260).On the other hand, if the impact analysis information generated in step S230 does not contain unconfirmed information (S240-N), the parser 141 stores the impact analysis information generated in step S230 in the impact analysis information table 145 (S260). ).

S220단계 내지 S260단계는, 소스자원(110)을 구성하는 모든 소스자원들에 대해 하나씩 순차적으로 수행된다.Steps S220 to S260 are sequentially performed one by one for all source resources constituting the source resource 110.

예를 들어, 소스자원(110)을 구성하는 소스자원들이 10만 개라면, 파서(141)는,For example, if there are 100,000 source resources constituting the source resource 110, the parser 141,

1) 소스자원 #1에 대해 S220단계 내지 S260단계를 수행,1) perform step S220 to step S260 for the source resource # 1,

2) 소스자원 #2에 대해 S220단계 내지 S260단계를 수행,2) perform step S220 to step S260 for the source resource # 2,

3) 소스자원 #3에 대해 S220단계 내지 S260단계를 수행,3) performing step S220 to step S260 for the source resource # 3,

......

100,000) 소스자원 #100,000에 대해 S220단계 내지 S260단계를 수행한다.100,000) Steps S220 to S260 are performed on the source resource # 100,000.

S240단계에서 소스자원의 영향분석정보에 미확인 정보가 포함되어 있는 경우는, 해당 소스자원이 미확인된 소스자원과 연관되어 있는 경우이다.If the unidentified information is included in the impact analysis information of the source resource in step S240, the source resource is associated with the unidentified source resource.

이에 대한 보다 구체적인 설명을 위해, 소스자원 #3이, 소스자원 #1을 참조하고, 소스자원 #10을 호출하는 경우를 상정한다. 소스자원 #3의 참조/호출에 대한 내용은 영향분석정보에 나타난다.For a more detailed explanation, it is assumed that the source resource # 3 refers to the source resource # 1 and calls the source resource # 10. References / calls to source resource # 3 appear in the impact analysis information.

하지만, 소스자원 #3의 영향분석정보를 생성하는 시점에서, 소스자원 #1에 대한 기본정보 생성은 완료되었지만, 소스자원 #10에 대한 기본정보는 생성되지 않았다. 이에 따라, 소스자원 #3의 영향분석정보를 생성하는 과정에서, 파서(141)는 소스자원 #3이 호출하는 소스자원 #10이 무엇인지 확인 불가능하여 이를 미확인 정보로 처리하게 된다.However, at the time of generating the impact analysis information of the source resource # 3, the basic information for the source resource # 1 was completed, but the basic information for the source resource # 10 was not generated. Accordingly, in the process of generating the impact analysis information of the source resource # 3, the parser 141 cannot determine what the source resource # 10 called by the source resource # 3 is to process it as unconfirmed information.

따라서, 위 경우 소스자원 #3의 영향분석정보에는 미확인 정보가 포함되게 된다.Therefore, in this case, the impact analysis information of the source resource # 3 will include unidentified information.

다른 한편으로, 소스자원 #3이, 소스자원 #1을 참조하고, 소스자원 #2를 호출하는 경우를 상정한다. 이 경우, 소스자원 #3의 영향분석정보를 생성하는 시점에서, 소스자원 #1과 소스자원 #2에 대한 기본정보가 모두 생성 완료되었다.On the other hand, suppose that source resource # 3 refers to source resource # 1 and calls source resource # 2. In this case, at the time of generating the impact analysis information of the source resource # 3, all basic information about the source resource # 1 and the source resource # 2 have been generated.

따라서, 소스자원 #3의 영향분석정보를 생성함에 있어, 확인 불가능한 소스자원이 없으므로, 이 경우 소스자원 #3의 영향분석정보에는 미확인 정보가 포함되지 않게 된다.Therefore, in generating the impact analysis information of the source resource # 3, there is no unidentifiable source resource, in this case, the impact analysis information of the source resource # 3 does not include unidentified information.

이를 종합하면, 소스자원의 영향분석정보에 미확인 정보가 존재하는 경우는, 영향분석중인 소스자원이 분석 순서가 자신 보다 늦은 소스자원과 연관되어 있는 경우라 할 수 있다.In summary, when there is unconfirmed information in the impact analysis information of the source resource, it can be said that the source resource under impact analysis is associated with the source resource whose analysis order is later than its own.

소스자원(110)을 구성하는 모든 소스자원들에 대해 S210단계 내지 S260단계가 완료된 경우, 즉 S210단계에서 시작된 1차 파싱이 완료되면(S270-Y), 파서(141)는 미확인 영향분석정보 테이블(147)에 저장된 영향분석정보들을 재생성하기 위해 2차 파싱을 시작한다(S280).When steps S210 to S260 are completed for all source resources constituting the source resource 110, that is, when the first parsing started in step S210 is completed (S270-Y), the parser 141 may determine an unidentified impact analysis information table. Second parsing is started to regenerate the impact analysis information stored at 147 (S280).

2차 파싱 대상은 1차 파싱에서 생성된 영향분석정보가 미확인 영향분석정보 테이블(147)에 저장된 소스자원들(즉, 1차 파싱에서 생성된 영향분석정보에 미확인 정보가 포함되었던 소소들)이다.The secondary parsing targets are source resources whose impact analysis information generated in the primary parsing is stored in the unidentified impact analysis information table 147 (that is, elements in which the impact analysis information generated in the primary parsing includes unidentified information). .

이에, 파서(141)는 이 소스자원들에 대한 영향분석정보들을 기본정보 테이블(143)에 저장된 기본정보를 참조하여 재생성한 후(S290), 영향분석정보 테이블(145)에 저장한다(S295).Accordingly, the parser 141 regenerates the impact analysis information on the source resources with reference to the basic information stored in the basic information table 143 (S290) and stores the impact analysis information in the impact analysis information table 145 (S295). .

S290단계에서의 영향분석정보 재생성 시점은, 1차 파싱 이후이므로, 기본정보가 생성되지 않은 소스자원들이 존재하지 않는다. 따라서, S290단계에서 재생성되는 영향분석정보에는 미확인 정보가 포함되지 않는다.Since the impact analysis information regeneration time at step S290 is after the first parsing, there are no source resources for which basic information is not generated. Therefore, the impact analysis information regenerated in step S290 does not include unidentified information.

지금까지, 본 발명의 바람직한 실시예에 따른 파싱 과정에 대해 도 3을 참조하여 상세히 설명하였다.So far, the parsing process according to the preferred embodiment of the present invention has been described in detail with reference to FIG. 3.

위 과정에 의해 파싱이 완료된 후, 소스자원들이 추가 또는 변경되었다면, 추가 또는 변경된 소스자원들에 대해서만 도 3의 알고리즘을 재수행하면 된다. 즉, 추가 또는 변경된 소스자원들에 대해서만 1차 파싱을 수행한 후, 추가 또는 변경된 소스자원들 중 영향분석정보에 미확인 정보가 포함된 소스자원들에 대해서만 2차 파싱을 수행하는 것으로 족하다.After parsing is completed by the above process, if source resources are added or changed, the algorithm of FIG. 3 only needs to be re-executed for the added or changed source resources. That is, after performing the primary parsing only on the added or changed source resources, it is sufficient to perform the secondary parsing only on the source resources including the unknown information in the impact analysis information among the added or changed source resources.

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.
In addition, while the preferred embodiments of the present invention have been shown and described above, the present invention is not limited to the specific embodiments described above, but the technical field to which the invention belongs without departing from the spirit of the invention claimed in the claims. Of course, various modifications can be made by those skilled in the art, and these modifications should not be individually understood from the technical spirit or the prospect of the present invention.

110 : 소스자원 120 : 어휘 분석기
130 : 토큰 140 : 구문 분석기
141 : 파서 143 : 기본정보 테이블
145 : 영향분석정보 테이블 147 : 미확인 영향분석정보 테이블
150 : 분석정보 151 : 구조분석정보
152 : 영향분석정보 153 : 문법에러정보
154 : 기타정보
110: source resource 120: lexical analyzer
130: Token 140: Parser
141: parser 143: basic information table
145: impact analysis information table 147: unidentified impact analysis information table
150: analysis information 151: structural analysis information
152: impact analysis information 153: grammar error information
154: Other Information

Claims (9)

소스자원들 전체에 대한 영향분석정보들을 1차로 생성하는 단계;
상기 소스자원들 전체에 대한 1차 영향분석정보 생성이 완료되면, 영향분석정보를 생성하는 시점에 기본정보가 생성되지 않은 소스자원과 연관되어 있는 소스자원들 전체에 대한 영향분석정보들을 2차로 재생성하는 단계;
추가 또는 변경된 소스자원들에 대해서만 영향분석정보들을 1차로 추가 생성하는 단계; 및
상기 추가 또는 변경된 소스자원들에 대한 영향분석정보 생성이 완료되면, 영향분석정보를 생성하는 시점에 기본정보가 생성되지 않은 추가 또는 변경된 소스자원과 연관되어 있는 추가 또는 변경된 소스자원들에 대해서만 영향분석정보들을 2차로 추가 재생성하는 단계;를 포함하는 것을 특징으로 하는 소스자원 파싱 방법.
Firstly generating impact analysis information on all of the source resources;
When generation of the primary impact analysis information for all the source resources is completed, secondarily regenerating the impact analysis information for all the source resources associated with the source resource for which the basic information is not generated at the time of generating the impact analysis information. Making;
Generating additional impact analysis information for only additional or changed source resources; And
When generation of the impact analysis information for the added or changed source resources is completed, impact analysis is performed only on the added or changed source resources associated with the added or changed source resources for which basic information is not generated at the time of generating the impact analysis information. And additionally regenerating the information secondly.
제 1항에 있어서,
상기 생성 단계는,
생성된 영향분석정보에 미확인 정보가 포함되어 있지 않으면, 생성된 영향분석정보를 영향분석정보 테이블에 저장하는 단계; 및
생성된 영향분석정보에 미확인 정보가 포함되어 있으면, 생성된 영향분석정보를 미확인 영향분석정보 테이블에 저장하는 단계;를 포함하는 것을 특징으로 하는 소스자원 파싱 방법.
The method of claim 1,
Wherein the generating comprises:
If the generated impact analysis information does not include unconfirmed information, storing the generated impact analysis information in an impact analysis information table; And
If the generated impact analysis information includes unconfirmed information, storing the generated impact analysis information in an unidentified impact analysis information table.
제 2항에 있어서,
상기 재생성 단계는,
상기 미확인 영향분석정보 테이블에 영향분석정보가 저장된 소스자원들에 대한 영향분석정보를 재생성하는 단계; 및
재생성된 영향분석정보를 상기 영향분석정보 테이블에 저장하는 단계;를 포함하는 것을 특징으로 하는 소스자원 파싱 방법.
The method of claim 2,
The regeneration step,
Regenerating impact analysis information on source resources in which impact analysis information is stored in the unidentified impact analysis information table; And
And storing the reconstructed impact analysis information in the impact analysis information table.
삭제delete 삭제delete 제 1항에 있어서,
상기 소스자원은,
프로그램 소스자원, DB 소스자원, 화면편집 소스자원 및 JCL(Job Control Language) 소스자원 중 적어도 하나를 포함하는 것을 특징으로 하는 소스자원 파싱 방법.
The method of claim 1,
The source resource is,
A source resource parsing method comprising at least one of a program source resource, a DB source resource, a screen editing source resource, and a Job Control Language (JCL) source resource.
제 1항에 있어서,
소스자원들에 대한 구조분석정보들을 생성하는 단계; 및
상기 소스자원들에 대한 구조분석정보들 및 영향분석정보들을 제공하는 단계;를 더 포함하는 것을 특징으로 하는 소스자원 파싱 방법.
The method of claim 1,
Generating structural analysis information about source resources; And
And providing structure analysis information and impact analysis information for the source resources.
삭제delete 소스자원들 전체에 대한 영향분석정보들을 1차로 생성하는 단계;
상기 소스자원들 전체에 대한 1차 영향분석정보 생성이 완료되면, 영향분석정보를 생성하는 시점에 기본정보가 생성되지 않은 소스자원과 연관되어 있는 소스자원들 전체에 대한 영향분석정보들을 2차로 재생성하는 단계;
추가 또는 변경된 소스자원들에 대해서만 영향분석정보들을 1차로 추가 생성하는 단계; 및
상기 추가 또는 변경된 소스자원들에 대한 영향분석정보 생성이 완료되면, 영향분석정보를 생성하는 시점에 기본정보가 생성되지 않은 추가 또는 변경된 소스자원과 연관되어 있는 추가 또는 변경된 소스자원들에 대해서만 영향분석정보들을 2차로 추가 재생성하는 단계;를 포함하는 것을 특징으로 하는 소스자원 파싱 방법이 기록된 컴퓨터로 읽을 수 있는 기록매체.
Firstly generating impact analysis information on all of the source resources;
When generation of the primary impact analysis information for all the source resources is completed, secondarily regenerating the impact analysis information for all the source resources associated with the source resource for which the basic information is not generated at the time of generating the impact analysis information. Making;
Generating additional impact analysis information for only additional or changed source resources; And
When generation of the impact analysis information for the added or changed source resources is completed, impact analysis is performed only on the added or changed source resources associated with the added or changed source resources for which basic information is not generated at the time of generating the impact analysis information. And additionally regenerating the information secondly. A computer-readable recording medium having recorded thereon a method for parsing a source resource.
KR1020110067083A 2011-07-06 2011-07-06 Source parsing method for effectively extracting mutual relativeness information of application source KR101146293B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110067083A KR101146293B1 (en) 2011-07-06 2011-07-06 Source parsing method for effectively extracting mutual relativeness information of application source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110067083A KR101146293B1 (en) 2011-07-06 2011-07-06 Source parsing method for effectively extracting mutual relativeness information of application source

Publications (1)

Publication Number Publication Date
KR101146293B1 true KR101146293B1 (en) 2012-05-21

Family

ID=46272156

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110067083A KR101146293B1 (en) 2011-07-06 2011-07-06 Source parsing method for effectively extracting mutual relativeness information of application source

Country Status (1)

Country Link
KR (1) KR101146293B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060045924A (en) * 2004-06-23 2006-05-17 마이크로소프트 코포레이션 Impact analysis in an object model
KR20060077829A (en) * 2004-12-31 2006-07-05 엔원(주) Method for analysing correlation of system elements

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060045924A (en) * 2004-06-23 2006-05-17 마이크로소프트 코포레이션 Impact analysis in an object model
KR20060077829A (en) * 2004-12-31 2006-07-05 엔원(주) Method for analysing correlation of system elements

Similar Documents

Publication Publication Date Title
US8978010B1 (en) Pruning compilation dependency graphs
CN108280023B (en) Task execution method and device and server
CN105446799A (en) Method and system for performing rule management in computer system
US20220019926A1 (en) Apparatus and method for fuzzing firmware
JP2001147819A (en) Optimizing device and recording medium
JP2004199330A (en) Information processor, tracing processing method, program and recording medium
WO2021259217A1 (en) Data association query method and apparatus, and device and storage medium
CN107704369B (en) Operation log recording method, electronic device, storage medium and system
CN109684319B (en) Data cleaning system, method, device and storage medium
CN111008246A (en) Database log synchronization method and device, computer equipment and readable storage medium
JP2021002326A (en) Refinement of repair patterns for static analysis violations in software programs
US8826428B2 (en) Event detection method and apparatus in a distributed environment
US10114951B2 (en) Virus signature matching method and apparatus
KR101146293B1 (en) Source parsing method for effectively extracting mutual relativeness information of application source
CN114416547A (en) Test case based test method
CN104796465B (en) Cloud platform method for processing business and system
WO2023051073A1 (en) Database test method, distributed database, and storage medium
CN116414751A (en) Algorithm access method and device, storage medium and electronic equipment
Miles Automatically adapting source code to document provenance
CN114969200B (en) Data synchronization method, device, electronic equipment and storage medium
CN110825453A (en) Data processing method and device based on big data platform
CN114817311B (en) Parallel computing method applied to GaussDB database storage process
Yamaguchi et al. Deriving protocol specifications from service specifications written as predicate/transition-nets
CN112817663B (en) SECCOMP rule acquisition method and device for application program
US20210216532A1 (en) Method, device and computer program product for processing metadata

Legal Events

Date Code Title Description
A201 Request for examination
A302 Request for accelerated examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20150506

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160503

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20180508

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20190508

Year of fee payment: 8