KR100331470B1 - Apparatus and Method for Guaranteeing Integrity of Database in the Switching System - Google Patents
Apparatus and Method for Guaranteeing Integrity of Database in the Switching System Download PDFInfo
- Publication number
- KR100331470B1 KR100331470B1 KR1019990049007A KR19990049007A KR100331470B1 KR 100331470 B1 KR100331470 B1 KR 100331470B1 KR 1019990049007 A KR1019990049007 A KR 1019990049007A KR 19990049007 A KR19990049007 A KR 19990049007A KR 100331470 B1 KR100331470 B1 KR 100331470B1
- Authority
- KR
- South Korea
- Prior art keywords
- database
- integrity
- data
- common library
- dbms
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000012508 change request Methods 0.000 claims abstract description 15
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q3/00—Selecting arrangements
- H04Q3/42—Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker
- H04Q3/54—Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised
- H04Q3/545—Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised using a stored programme
- H04Q3/54575—Software application
- H04Q3/54591—Supervision, e.g. fault localisation, traffic measurements, avoiding errors, failure recovery, monitoring, statistical analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q2213/00—Indexing scheme relating to selecting arrangements in general and for multiplex systems
- H04Q2213/13547—Indexing scheme relating to selecting arrangements in general and for multiplex systems subscriber, e.g. profile, database, database access
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q2213/00—Indexing scheme relating to selecting arrangements in general and for multiplex systems
- H04Q2213/166—Prevention of faults
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
본 발명은 교환기 응용 프로그램의 데이터베이스(Database) 변경 요구에 대한 무결성 검사를 수행하도록 한 교환기 데이터베이스 무결성 보장 장치 및 방법에 관한 것으로, 데이터베이스의 무결성 검사를 위한 데이터 무결성 룰(Rule)을 정의하며, 해당 정의된 데이터 무결성 룰의 형태를 공용 라이브러리 형태로 적재하여 호출하며, 응용 프로그램의 요구에 의하여 DBMS에서 공용 라이브러리를 호출하고 무결성 검사를 수행함으로써, 데이터베이스의 오류를 직접적으로 일으키는 변경을 통제할 수 있고 이를 통해 데이터베이스의 무결성을 확보할 수 있다.The present invention relates to an apparatus and method for guaranteeing the integrity of an exchange database for performing an integrity check for a database change request of an exchange application. The present invention defines a data integrity rule for checking the integrity of a database, and defines the data. It loads and calls the data integrity rule in the form of a common library, and calls the common library in the DBMS and performs an integrity check at the request of the application to control the change that directly causes the database error. Ensure the integrity of the database.
Description
본 발명은 교환기 데이터베이스 무결성 보장 장치 및 방법에 관한 것으로, 특히 교환기 응용 프로그램의 데이터베이스 변경 요구에 대한 무결성 검사를 수행하도록 한 교환기 데이터베이스 무결성 보장 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for ensuring database integrity of a switch, and more particularly, to an apparatus and method for guaranteeing database integrity for performing an integrity check on a database change request of an exchange application.
종래의 교환기 내에서 데이터베이스의 변경에 대한 무결성 검사는 존재하지 않았으며, 단지 응용 프로그램 개발 시에 응용 프로그램의 소스(Source) 내에 위치하고 있는 데이터 변경문에 대하여 기본적인 검사를 수행하였다.In the existing exchange, there was no integrity check for the change of the database, and the basic check was performed on the data change statement located in the source of the application at the time of application development.
즉, 교환기 응용 프로그램은 프로그래밍 언어로 CHILL(CCITT High Level Language)을 사용하며, 이에 따라 해당 CHILL로 작성된 응용 프로그램에서 데이터베이스를 접근할 수 있도록 하는 CHILL 삽입형 데이터 조작어인 EDML(Embedded Database Manipulation Language)를 통해 응용 프로그램 컴파일 시에 데이터 변경 명령문에 대하여 기본적인 검사를 수행하며, DBMS를 통해 데이터베이스의 변경을 수행하도록 한다. 여기서, 해당 응용 프로그램은 교환기에서 동작하는 프로그램 중 OS(Operating System)와 DBMS를 제외한 프로그램을 말한다.In other words, the exchange application uses CHILL (CCITT High Level Language) as the programming language, and therefore through the Embedded Database Manipulation Language (EDML), a CHILL embedded data manipulation language that allows the database to be accessed by applications written in that CHILL. When compiling an application program, basic checks on data change statements are made. Database changes can be performed through the DBMS. Here, the application program refers to a program excluding the OS (Operating System) and DBMS among the programs operating in the exchange.
그러면, 상기 기본적인 검사를 수행하기 위한 종래 구성으로는 도 1에 도시된 바와 같이, 워크스테이션(10)과, 교환기(20)로 이루어져 있다.Then, the conventional configuration for performing the basic inspection, as shown in Figure 1, consists of a workstation 10, the exchanger 20.
여기서, 해당 워크스테이션(10)에는 응용 프로그램의 개발, 즉 컴파일(Compile) 이전의 동작 수행 단계까지 개발하는 프로그램 개발 부분(11)과 응용 프로그램의 개발 과정 중에 컴파일 동작 수행을 통해 해당 교환기(20)에서 실행 가능한 형태의 응용 프로그램으로 변경해 주는 실행 프로그램 부분(12)을 포함하여 이루어진다.Here, the workstation 10 includes a program development part 11 for developing an application, that is, a development operation up to a performance performing step before compilation, and a corresponding exchanger 20 by performing a compilation operation during a development process of the application. It includes an executable program portion 12 for changing to an executable program of the form.
그리고, 해당 교환기(20)는 실행 프로그램 부분(21)과, DBMS(22)와, 데이터베이스(23)를 포함하여 이루어지는데, 해당 실행 프로그램 부분(21)은 해당 워크스테이션(10)으로부터 응용 프로그램을 수신받아 데이터베이스 변경을 해당 DBMS(22)에 요구하고 해당 DBMS(22)로부터 데이터베이스 변경 결과를 통보받으며, 해당 DBMS(22)는 해당 실행 프로그램 부분(21)으로부터 데이터베이스 변경 요구를 수신받아 해당 데이터베이스(23)를 변경시켜 주고 해당 결과를 해당 실행 프로그램 부분(21)에 통보해 준다.The switch 20 includes an executable program portion 21, a DBMS 22, and a database 23, which executes an application program from the workstation 10. Receives a request for a database change to the DBMS 22 and receives a database change result from the DBMS 22, the DBMS 22 receives the database change request from the executable program portion 21 receives the database 23 ) And notify the execution program part 21 of the result.
상술한 바와 같은 구성의 동작을 간략하게 살펴보면, 응용 프로그램 개발자가 데이터 변경을 위해서 데이터 접근 언어인 EDML을 사용하여 프로그램을 작성하게 되면, 해당 프로그램이 완료된 후에 해당 프로그램은 워크스테이션(10)의 실행 프로그램 부분(12)을 통해서 컴파일 단계를 거치게 된다.Briefly looking at the operation of the configuration as described above, if the application developer writes a program using EDML, a data access language for data change, after the program is completed, the program is an executable program of the workstation 10 Part 12 undergoes a compilation step.
이 때, 해당 컴파일 단계에서 데이터 변경문에 대한 검사를 수행하게 되는데, 이때 해당 검사는 데이터 변경문의 에러(Error) 포함 여부, 변경하고자 하는 어트리뷰트(Attribute) 범위 내의 적정한 요구인가 등의 최소한의 검사를 의미한다.At this time, the data change statement is checked at the compilation stage. In this case, the data change statement is checked for minimal errors such as whether an error is included in the data change statement and whether it is a proper request within an attribute range to be changed. it means.
그런 후, 해당 컴파일이 완료된 응용 프로그램은 교환기(20)에 적재되어지며, 운용 중인 응용 프로그램의 데이터베이스 요구는 DBMS(22)로 전달되고 해당 전달된 요구에 따라 해당 DBMS(22)에서 데이터베이스(23)를 변경하게 된다.Thereafter, the compiled application is loaded into the switch 20, and the database request of the running application is transferred to the DBMS 22, and the database 23 in the DBMS 22 according to the transferred request. Will change.
그런데, 데이터베이스의 변경은 응용 프로그램의 요구를 수신받은 DBMS에 의해 이루어지고 해당 DBMS는 해당 수신받은 데이터베이스 변경 요구를 그대로 수용하여 데이터베이스를 변경하게 됨으로써, 응용 프로그램이 타당하지 않은 요구를 인가하였을 경우도 그대로 해당 DBMS에 반영되며, 이로 인해 데이터베이스의 불일치를 유발시키고 해당 데이터베이스를 접근하는 다른 응용 프로그램에게 영향을 미쳐 교환기의 오동작 및 서비스 불능 상태를 유발시킬 수 있는 문제점이 있었다.However, the database is changed by the DBMS that receives the request of the application, and the DBMS accepts the received database change request as it is and changes the database. It is reflected in the DBMS, which causes the inconsistency of the database and affects other applications that access the database, which may cause the exchanger to malfunction and to become out of service.
또한, 데이터베이스의 불일치로 인한 응용 프로그램의 오동작이나 서비스 불능 상태를 복구하기 위해서는 많은 시간과 인력이 필요하게 되어 서비스 사용자의 불만을 초래하게 된다.In addition, it takes a lot of time and manpower to recover the malfunction or service outage of the application due to the inconsistency of the database, resulting in complaints of service users.
전술한 바와 같은 문제점을 해결하기 위한 것으로, 본 발명은 데이터 무결성 정의, 교환기 적재 및 적재 형태와 무결성 검사를 수행하여 데이터베이스의 오류를 직접적으로 일으키는 변경을 통제할 수 있고 이를 통해 데이터베이스의 무결성을 확보하는데 그 목적이 있다. 즉, 본 발명은 교환기 응용 프로그램의 데이터 변경 요구에 대하여 데이터 변경 전의 변경 요구에 대한 무결성 검사를 통해 교환기 데이터베이스에 가해지는 모든 변경의 무결성을 확보에 적당하도록 하는데 그 목적이 있다.In order to solve the problems described above, the present invention can control the change that directly causes the database error by performing data integrity definition, exchange and loading form and integrity check, thereby ensuring the integrity of the database. The purpose is. That is, an object of the present invention is to make it appropriate to ensure the integrity of all changes made to the exchange database through the integrity check on the change request before the data change with respect to the data change request of the exchange application program.
도 1은 종래 응용 프로그램 개발 시의 기본적인 검사를 수행하기 위한 구성을 나타낸 블록도.1 is a block diagram showing a configuration for performing a basic inspection when developing a conventional application.
도 2는 본 발명의 실시 예에 따른 교환기 데이터베이스(Database) 무결성(Integrity) 검사를 수행하기 위한 구성을 나타낸 블록도.2 is a block diagram illustrating a configuration for performing an exchange database integrity check according to an embodiment of the present invention.
도 3은 본 발명의 실시 예에 따른 교환기 데이터베이스 무결성 보장 방법을 나타낸 플로우챠트.3 is a flowchart illustrating a method of guaranteeing an exchange database integrity according to an embodiment of the present invention.
* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
30 : 워크스테이션(Workstation)30: Workstation
31 : 릴레이션(Relation) 정의부31: relation definition part
32 : 공용 라이브러리(Shared Library) 변환부32: shared library conversion unit
33 : 공용 라이브러리 34 : 적재부33: common library 34: loading
40 : 교환기 41 : 데이터베이스40: exchange 41: database
42 : 응용 프로그램 43 : DBMS(Database Management System)42: application 43: DBMS (Database Management System)
44 : 공용 라이브러리 영역44: common library area
상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 교환기 데이터베이스 무결성 보장 장치는 데이터를 저장하는 데이터베이스와, 해당 데이터베이스의 변경을 요구하고 그 결과를 통보받는 응용 프로그램과, 해당 응용 프로그램의 데이터베이스 변경 요구에 따라 해당 데이터베이스 변경을 실행하고 그 결과를 통보하는 DBMS를 포함하여 이루어진 교환기에서, 교환기 응용 프로그램 개발자의 릴레이션 정의에 따라 릴레이션 스키마 및 데이터 무결성 룰을 정의하여 생성시켜 주는 릴레이션 정의부와; 상기 릴레이션 정의부에서 생성한 무결성 룰의 형태를 컴파일한 후에 모든 릴레이션의 무결성 룰을 통합한 하나의 공용 라이브러리 형태로 만들어 공용 라이브러리를 형성해 주는 공용 라이브러리 변환부와; 상기 릴레이션 정의부에서 생성한 릴레이션 스키마 부분을 데이터와 결합시켜 상기 데이터베이스에 적재하며, 교환기 프로그램 로딩 시에 상기 공용 라이브러리 변환부에서 형성한 공용 라이브러리를 적재시켜 주는 적재부와; 상기 적재부에 의해 공용 라이브러리를 적재하며, 상기 DBMS를 통한 상기 응용 프로그램의 데이터베이스 변경 요구에 따라 상기 데이터베이스의 무결성 검사를 수행하여 그 결과를 상기 DBMS에게 통보하는 검사부를 포함하여 이루어진 것을 특징으로 한다.In accordance with an aspect of the present invention, an apparatus for guaranteeing an exchange database integrity according to an embodiment of the present invention includes a database storing data, an application program requesting a change of the database and being notified of the result, and a database of the application program. A relation definition unit for generating and generating relation schemas and data integrity rules according to the relation definition of the exchange application program developer in the exchange including a DBMS for executing a corresponding database change and reporting the result according to the change request; A common library converting unit which compiles the integrity rule generated by the relation definition unit and forms a common library by integrating all the integrity rules of the relation into a common library form; A loading unit which combines the relation schema part generated by the relation definition unit with data and loads the data into the database, and loads the common library formed by the common library converting unit when the exchange program is loaded; And a checker which loads a common library by the loading unit and performs integrity check of the database according to a database change request of the application program through the DBMS and notifies the DBMS of the result.
또한, 상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시 예에 따른 교환기 데이터베이스 무결성 보장 방법은 교환기 응용 프로그램 개발자의 릴레이션 정의에 따라 데이터베이스의 무결성 검사를 위한 데이터 무결성 룰 및 릴레이션 스키마를 릴레이션 정의부에서 정의하는 과정과; 적재부에서 상기 릴레이션 스키마를 데이터와 결합시켜 데이터베이스에 적재함과 동시에 상기 데이터 무결성 룰을 컴파일한 후에 모든 릴레이션의 무결성 룰을 통합한 하나의 공용 라이브러리 형태로 적재하는 과정과; 응용 프로그램의 요구에 따라 DBMS에서 공용 라이브러리 영역을 호출하고 해당 공용 라이브러리 영역에서 상기 데이터베이스에 저장된 데이터에 대한 무결성 검사를 수행하는 과정을 포함하여 이루어진 것을 특징으로 한다. 이하, 본 발명의 실시 예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다.In addition, according to an embodiment of the present invention for achieving the object as described above, the method for guaranteeing the integrity of the exchange database according to the relation definition of the exchange application program developer in the relation definition unit for the data integrity rules and relation schema for the integrity check of the database; Defining process; Loading the relation schema with data in a loading unit, loading the relation schema into a database, compiling the data integrity rules, and then loading the relation schema into one common library integrating the integrity rules of all relations; Calling the common library area in the DBMS according to the request of the application, and performing the integrity check on the data stored in the database in the corresponding common library area. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
본 발명의 실시 예에 따른 교환기 데이터베이스 무결성 보장 장치는 도 2에 도시된 바와 같이, 워크스테이션(30)과 교환기(40)로 이루어진다.As shown in FIG. 2, an apparatus for guaranteeing database integrity according to an embodiment of the present invention includes a workstation 30 and an exchange 40.
여기서, 상기 워크스테이션(30)은 릴레이션 정의부(31)와, 공용 라이브러리 변환부(32)와, 공용 라이브러리(33)와, 적재부(34)를 포함하여 이루어지는데, 해당 릴레이션 정의부(31)는 교환기 응용 프로그램 개발자의 릴레이션 정의에 따라 자신의 응용 프로그램에서 사용하는 릴레이션 스키마(Schema)뿐만 아니라 데이터베이스의 무결성 검사를 위한 데이터 무결성 룰을 정의해 주며, 해당 공용 라이브러리 변환부(32)는 해당 릴레이션 정의부(31)에서 만들어진 무결성 룰의 형태를 컴파일한 후에 모든 릴레이션의 무결성 룰을 통합한 하나의 공용 라이브러리 형태로 만들어 해당 공용 라이브러리(33)를 형성해 주며, 해당 적재부(34)는 해당 릴레이션 정의부(31)에서 정의된 릴레이션 스키마 부분을 데이터와 결합시켜 데이터베이스로 만들어 상기 교환기(40)의 데이터베이스(41)에 적재하고 교환기 프로그램 로딩 시에 해당 공용 라이브러리 변환부(32)에서 생성한 공용 라이브러리(33)를 다른 패키지와 함께 상기 교환기(40)의 공용 라이브러리 영역(44)에 적재해 준다.Here, the workstation 30 includes a relation defining unit 31, a shared library converting unit 32, a shared library 33, and a loading unit 34. ) Defines data integrity rules for checking the integrity of the database as well as the relation schema (Schema) used in the own application according to the relation definition of the exchange application developer, and the corresponding common library conversion unit 32 defines the relation After compiling the form of the integrity rule created by the definition unit 31 and forming the common library 33 by integrating the integrity rules of all relations to form the corresponding common library 33, the loading unit 34 defines the relation The relation schema part defined in the section 31 is combined with data to form a database, and the data of the exchange 40 The library 41 is loaded on the base 41 and loaded in the shared library area 44 of the exchanger 40 together with other packages.
그리고, 상기 교환기(40)는 데이터베이스(41)와, 응용 프로그램(42)과, DBMS(43)와, 공용 라이브러리 영역(44)을 포함하여 이루어지는데, 해당 데이터베이스(41)는 상기 워크스테이션(30)으로부터 인가되는 데이터베이스를 저장하며, 해당 응용 프로그램(42)은 데이터베이스 변경을 해당 DBMS(43)에게 요구하고 해당 DBMS(43)로부터 그 결과를 통보받으며, 해당 DBMS(43)는 해당 응용 프로그램(42)으로부터 인가되는 데이터베이스 변경 요구에 따라 해당 공용 라이브러리 영역(44)을 호출하고 해당 공용 라이브러리 영역(44)으로부터 검사 결과를 통보받아 상기 데이터베이스(41)의 변경 여부를 판단하고 변경을 실행하며, 해당 공용 라이브러리 영역(44)은 공용 라이브러리를 수행하는 검사부로서 상기 워크스테이션(30)으로부터 인가되는 공용 라이브러리를 적재하고 해당 DBMS(43)의 호출에 따라 해당 데이터베이스(41)의 무결성 검사를 수행하여 그 결과를 해당 DBMS(43)에게 통보한다.The switch 40 includes a database 41, an application program 42, a DBMS 43, and a common library area 44. The database 41 includes the workstation 30. The application 42 requests the DBMS 43 for database changes and is informed of the result from the DBMS 43, and the DBMS 43 receives the application 42. In response to a request for a database change authorized from the call, the corresponding public library area 44 is called and the test result is notified from the corresponding public library area 44 to determine whether the database 41 has been changed and execute the change. The library area 44 is a checker that executes a common library, and loads a common library authorized from the workstation 30, and loads the corresponding DBMS. According to the call of 43, the integrity check of the database 41 is performed, and the result is notified to the DBMS 43.
본 발명의 실시 예에 따른 교환기 데이터베이스 무결성 보장 방법을 도 3의 플로우챠트를 참고하여 설명하면 다음과 같다.Referring to the flowchart of FIG. 3, a method for guaranteeing an exchange database integrity according to an exemplary embodiment of the present invention is as follows.
먼저, 교환기 응용 프로그램을 개발하는 개발자가 릴레이션을 정의하는 경우, 워크스테이션(30) 내의 릴레이션 정의부(31)에서는 해당 개발자의 릴레이션 정의에 따라 자신의 응용 프로그램에서 사용하는 릴레이션 스키마 및 데이터베이스의 무결성 검사를 위한 데이터 무결성 룰을 정의해 준다(단계 S1). 여기서, 해당 데이터 무결성 룰은 어트리뷰트의 무결성을 보장할 수 있는 정보로서, 해당 어트리뷰트와 다른 릴레이션의 어트리뷰트간의 관계, 해당 어트리뷰트의 제약 사항 및 해당 어트리뷰트가 가져야할 튜플(Tuple)의 정보를 표시해 준다. 그리고, 해당 데이터 무결성 룰의 정의는 데이터 처리 언어인 EDML과 C를 사용하여 이루어진다.First, when a developer who develops an exchanger application defines a relation, the relation definition unit 31 in the workstation 30 checks the integrity of the relation schema and database used by the application according to the relation definition of the developer. Define a data integrity rule for (step S1). Here, the data integrity rule is information that can guarantee the integrity of an attribute, and indicates the relationship between the attribute and the attribute of another relation, the constraints of the attribute, and the information of the tuple that the attribute should have. The data integrity rules are defined using EDML and C, which are data processing languages.
이에, 상기 릴레이션 정의부(31)를 통해 정의된 릴레이션 스키마 부분은 상기 워크스테이션(30)의 적재부(34)에 의해 데이터와 결합되어 데이터베이스로 만들어져 교환기(40)의 주메모리(Main Memory) 부분인 데이터베이스(41)에 적재시켜 준다(단계 S2).Accordingly, the relation schema portion defined through the relation definition unit 31 is combined with data by the loading unit 34 of the workstation 30 to form a database, and thus, a main memory portion of the exchange 40. It loads into the database 41 (step S2).
그리고, 상기 릴레이션 정의부(31)를 통해 정의된 데이터 무결성 룰 부분은 상기 교환기(40)에 적재되는 모든 패키지(Package)를 제작하는 담당자의 명령에 따라 상기 워크스테이션(30)의 공용 라이브러리 변환부(32)에서 모든 어트리뷰트의 무결성 룰을 모아 하나의 공용 라이브러리(33)로 만들어진다. 즉, 해당 공용 라이브러리 변환부(32)에서는 상기 릴레이션 정의부(31)에서 만들어진 무결성 룰의 형태를 컴파일한 후에 모든 릴레이션의 무결성 룰을 통합한 하나의 공용 라이브러리 형태로 만들어준다(단계 S3). 이때, 해당 제3단계(S3)에서 만들어진 공용 라이브러리(33)의 상단 부분에는 각 어트리뷰트를 실행할 수 있는 주소가 있으며, 그 다음 부분에는 어트리뷰트 무결성 룰이 있다.The data integrity rule portion defined through the relation definition unit 31 is a common library conversion unit of the workstation 30 according to a command of a person in charge of producing all packages loaded on the exchanger 40. In (32), the integrity rules of all the attributes are gathered into one common library (33). That is, the common library converting unit 32 compiles the form of the integrity rule created by the relation defining unit 31 and forms the form of one common library integrating the integrity rules of all relations (step S3). At this time, the upper part of the common library 33 created in the third step (S3) has an address for executing each attribute, the next part is the attribute integrity rules.
이에, 상기 제3단계(S3)에서 만들어진 공용 라이브러리(33)는 호출 시에 각 어트리뷰트의 주소를 포함하기 위하여 상기 교환기(40)의 DBMS(43) 컴파일 시에 링크(Link)되어지는데, 상기 공용 라이브러리(33)는 상기 적재부(34)에 의해서 교환기 프로그램 로딩 시에 다른 패키지, 예로 교환기 응용 프로그램, OS, DBMS, 국 데이터(Office Data) 등과 함께 상기 교환기(40)의 공용 라이브러리 영역(44)에 적재되어진다(단계 S4). 이때, 상기 공용 라이브러리 영역(44)에 적재된 공용 라이브러리의 각 부분은 단독 실행 파일 형태로 되어 있어 단독 실행이 가능하다.Accordingly, the common library 33 created in the third step S3 is linked when the DBMS 43 of the exchange 40 is compiled to include the address of each attribute when called. The library 33 is shared library area 44 of the exchanger 40 with other packages, eg exchanger application, OS, DBMS, office data, etc., upon loading of the exchanger program by the loading section 34. (Step S4). At this time, each part of the shared library loaded in the shared library area 44 is in the form of a single executable file, which can be executed alone.
그런 후, 상기 교환기(40)의 동작과 함께 내부의 응용 프로그램(42)에서 데이터의 변경을 상기 DBMS(43)에게 요구하며(단계 S5), 상기 DBMS(43)는 해당 응용 프로그램(42)의 요구에 의하여 상기 공용 라이브러리 영역(44)을 호출하는데, 즉 해당 응용 프로그램(42)의 데이터 변경 요구를 수신받은 DBMS(43)는 데이터 변경 요구 시에 입력된 인자를 이용하여 상기 공용 라이브러리 영역(44)의 전체 중 데이터 변경되어야 하는 부분이 포함된 영역을 호출한다(단계 S6).Then, with the operation of the switch 40, the internal application 42 requests the DBMS 43 to change the data (step S5), and the DBMS 43 of the application 42 The common library area 44 is called by request, that is, the DBMS 43 receiving the data change request of the corresponding application program 42 uses the factor inputted at the time of the data change request. The area containing the portion of the whole to be changed in data is called (step S6).
이에, 상기 DBMS(43)에 의해 호출된 공용 라이브러리 영역(44)은 어트리뷰트별로 실행 프로그램 형태로 되어 있는데, 호출 시에 넘겨받은 릴레이션, 어트리뷰트 및 튜플 정보를 수신받아 주메모리의 데이터베이스(41) 내에 저장되어 있는 데이터에 대한 무결성을 검사하며(단계 S7), 그 결과를 상기 DBMS(43)에게 통보하게 된다.Accordingly, the common library area 44 called by the DBMS 43 has an execution program form for each attribute, and receives the relation, attribute, and tuple information received during the call, and stores the received information in the database 41 of the main memory. The integrity of the data is checked (step S7), and the result is notified to the DBMS 43.
이에 따라, 상기 DBMS(43)는 상기 공용 라이브러리 영역(44)으로부터 검사 결과를 통보받아 상기 데이터베이스(41)의 변경 여부를 판단하고 변경을 실행한 후에 그 결과를 상기 응용 프로그램(42)에게 통보해 준다.Accordingly, the DBMS 43 receives the test result from the common library area 44, determines whether the database 41 is changed, and executes the change, and then notifies the application program 42 of the result. give.
다시 말해서, 상기 제7단계(S7)에서 무결성 검사 결과로 데이터의 변경이 타당한지를 확인하는데(단계 S8), 해당 제8단계(S8)에서 데이터의 변경이 타당하지 않을 경우, 즉 변경하고자 하는 값이 무결성 룰을 만족하지 않는 경우에 상기 공용 라이브러리 영역(44)은 에러를 상기 DBMS(43)에게 통보하며, 상기 DBMS(43)는 상기응용 프로그램(42)에게 에러를 통보해 처리할 수 있도록 해 준다(단계 S9).In other words, in the seventh step S7, it is checked whether the change of data is valid as a result of the integrity check (step S8). If the change of data is not valid in the eighth step S8, that is, the value to be changed. If the integrity rule is not satisfied, the common library area 44 notifies the DBMS 43 of the error, and the DBMS 43 notifies the application 42 of the error so that it can be processed. (Step S9).
반면에, 상기 제8단계(S8)에서 데이터의 변경이 타당한 경우, 상기 DBMS(43)는 상기 데이터베이스(41)의 변경을 실행한 후(단계 S10), 그 결과를 상기 응용 프로그램(42)으로 통보해 준다.On the other hand, if the change of the data in the eighth step (S8) is reasonable, the DBMS 43 executes the change of the database 41 (step S10), and the result is sent to the application program 42. Notify me.
이상과 같이, 종래에는 데이터베이스의 변경이 응용 프로그램의 변경 요구를 DBMS에서 그대로 수용하여 데이터베이스를 변경시켜 주었으나, 본 발명에 의해 데이터베이스 변경 요구에 대한 무결성 검사를 수행함으로써 데이터베이스의 오류를 직접적으로 일으키는 변경을 통제할 수 있고 이를 통해 데이터베이스의 무결성을 확보할 수 있다.As described above, in the past, the change of the database has changed the database by accepting the change request of the application as it is in the DBMS, but the change causing the error of the database directly by performing the integrity check on the change request of the database according to the present invention. Can control the integrity of the database.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990049007A KR100331470B1 (en) | 1999-11-05 | 1999-11-05 | Apparatus and Method for Guaranteeing Integrity of Database in the Switching System |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019990049007A KR100331470B1 (en) | 1999-11-05 | 1999-11-05 | Apparatus and Method for Guaranteeing Integrity of Database in the Switching System |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20010045662A KR20010045662A (en) | 2001-06-05 |
KR100331470B1 true KR100331470B1 (en) | 2002-04-09 |
Family
ID=19618867
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019990049007A KR100331470B1 (en) | 1999-11-05 | 1999-11-05 | Apparatus and Method for Guaranteeing Integrity of Database in the Switching System |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100331470B1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100500837B1 (en) * | 2002-09-30 | 2005-07-12 | 주식회사 케이티 | Method for managing common database in network operating systems |
KR100532823B1 (en) * | 2002-11-30 | 2005-12-02 | 이원재 | Apparatus and method for managing data integrity, and computer-readable recording medium having data integrity management program recorded thereon |
KR100940616B1 (en) * | 2003-05-21 | 2010-02-05 | 엘지노텔 주식회사 | System Data Management Apparatus And Method Of Exchange System |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970049759A (en) * | 1995-12-27 | 1997-07-29 | 이준 | How to Provide Data Integrity in Non-Distributed Database Systems |
KR20000033956A (en) * | 1998-11-26 | 2000-06-15 | 이계철 | Database construction method for remote switching system |
KR20000041891A (en) * | 1998-12-24 | 2000-07-15 | 서평원 | Object-oriented program interface for relational dbms |
KR20000042104A (en) * | 1998-12-24 | 2000-07-15 | 이계철 | Method for managing database of electronic exchange |
KR20010003649A (en) * | 1999-06-24 | 2001-01-15 | 윤종용 | Method for comparing relation in exchange system |
KR20010047758A (en) * | 1999-11-23 | 2001-06-15 | 윤종용 | Method for generating database of exchange |
-
1999
- 1999-11-05 KR KR1019990049007A patent/KR100331470B1/en not_active IP Right Cessation
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR970049759A (en) * | 1995-12-27 | 1997-07-29 | 이준 | How to Provide Data Integrity in Non-Distributed Database Systems |
KR20000033956A (en) * | 1998-11-26 | 2000-06-15 | 이계철 | Database construction method for remote switching system |
KR20000041891A (en) * | 1998-12-24 | 2000-07-15 | 서평원 | Object-oriented program interface for relational dbms |
KR20000042104A (en) * | 1998-12-24 | 2000-07-15 | 이계철 | Method for managing database of electronic exchange |
KR20010003649A (en) * | 1999-06-24 | 2001-01-15 | 윤종용 | Method for comparing relation in exchange system |
KR20010047758A (en) * | 1999-11-23 | 2001-06-15 | 윤종용 | Method for generating database of exchange |
Also Published As
Publication number | Publication date |
---|---|
KR20010045662A (en) | 2001-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Albano et al. | An object data model with roles | |
US7614040B2 (en) | System and method for efficiently analyzing and building interdependent resources in a software project | |
Binkley | Semantics guided regression test cost reduction | |
US6341308B1 (en) | Input/output device information management system for multi-computer system | |
Luckham et al. | Three concepts of system architecture | |
US7124060B1 (en) | Method for isolating a fault from error messages | |
US7318215B1 (en) | Stored procedure interface language and tools | |
US20080127303A1 (en) | Generating security validation code automatically | |
JPS62164136A (en) | Data base access control system | |
Shen et al. | A toolset for supporting UML static and dynamic model checking | |
US7171649B1 (en) | Optimizing safe downcasting in an object-oriented programming language | |
JP2007257654A5 (en) | ||
CN109032631A (en) | Application program service packs acquisition methods, device, computer equipment and storage medium | |
Horwat | Concurrent Smalltalk on the message-driven processor | |
CN103186463A (en) | Method and system for determining testing range of software | |
KR100331470B1 (en) | Apparatus and Method for Guaranteeing Integrity of Database in the Switching System | |
KR20030015200A (en) | Robust logging system for embedded systems for software compilers | |
Albert et al. | An abstract interpretation-based approach to mobile code safety | |
Ducournau | Coloring, a versatile technique for implementing object‐oriented languages | |
Kwon et al. | Memory management based on method invocation in RTSJ | |
CN114064218A (en) | Mirror image generation method, system, medium and application for machine learning component | |
Stemple et al. | Integrating reflection, strong typing and static checking | |
JP3682050B2 (en) | Embedded software development equipment | |
CN109308256A (en) | A kind of java dynamically analyzing of program method, equipment and storage medium | |
Loitzl | Supporting Register Pairs in CompCert |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20120220 Year of fee payment: 11 |
|
LAPS | Lapse due to unpaid annual fee |