KR970011854B1 - Relation data processing method of distribution dbms system - Google Patents
Relation data processing method of distribution dbms system Download PDFInfo
- Publication number
- KR970011854B1 KR970011854B1 KR1019940025574A KR19940025574A KR970011854B1 KR 970011854 B1 KR970011854 B1 KR 970011854B1 KR 1019940025574 A KR1019940025574 A KR 1019940025574A KR 19940025574 A KR19940025574 A KR 19940025574A KR 970011854 B1 KR970011854 B1 KR 970011854B1
- Authority
- KR
- South Korea
- Prior art keywords
- information
- monitoring
- relation
- output
- execution
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/22—Arrangements for supervision, monitoring or testing
- H04M3/2254—Arrangements for supervision, monitoring or testing in networks
Abstract
Description
제1도는 본 발명이 적용되는 시스템 구조도,1 is a system structural diagram to which the present invention is applied;
제2도는 릴레이션 데이타 변경을 감시하기 위한 주제어 처리 흐름도,2 is a flowchart of main processing for monitoring relation data changes;
제3도는 릴레이션 정보를 출력하기 위한 상세 처리 흐름도,3 is a detailed processing flowchart for outputting relation information;
제4도는 릴레이션 단위로 감시하기 위한 상세 처리 흐름도,4 is a detailed processing flowchart for monitoring in relation units;
제5도는 감시 결과 정보를 분석하기 위한 상세 처리 흐름도,5 is a detailed processing flowchart for analyzing monitoring result information;
제6도는 각 프로세서에서의 릴레이션 감시 수행을 위한 상세 처리 흐름도,6 is a detailed processing flowchart for performing relation monitoring in each processor;
제7도는 감시 수행중인 정보를 출력하기 위한 상세 처리 흐름도,7 is a detailed processing flowchart for outputting monitoring information;
제8도는 감시 수행을 중지하기 위한 상세 처리 흐름도.8 is a detailed processing flowchart for stopping monitoring execution.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1 : 애널로그 가입자 서비스 서브시스템1: Analog Subscriber Service Subsystem
2 : 디지틀 가입자 서비스 서브시스템2: Digital Subscriber Service Subsystem
3 : 중계선 서비스 서브시스템3: trunk line service subsystem
4 : 상호 연결망 서브시스템4: interconnect network subsystem
5 : 중앙 제어 서브시스템5: central control subsystem
본 발명은 데이타 베이스 정보들을 대상으로 초기 실장 후 변경이 되지 않는 불변(Permanet) 정보를 제외한 운용중 변경이 되는 정보를 대상으로 임의의 데이타 베이스 정보를 지정하여 주기적인 감시 기능을 부여하여 변경이 이루어지는 가장 가까운 시점에서 변경 전후의 정보를 출력하도록 함으로써 정상적인 데이타 베이스의 변경이 이루어지는지를 감시하여 시스템에 분산 수용된 데이타 베이스 정보들의 정상적인 변경이 이루어지고 실제적으로 변경되는 데이타를 출력함으로서 확인이 가능한 분산 데이타 베이스 시스템에서의 릴레이션별 데이타 변경 감시 방법에 관한 것이다.According to the present invention, random database information is assigned to information that is changed during operation except for permanent information, which is not changed after initial mounting, to give periodic monitoring function. Distributed database system that can be checked by outputting data before and after the change at the closest point of time to monitor whether normal database changes are made, and to normally change the database information distributed and accommodated in the system It relates to a data change monitoring method for each relation in.
종래의 데이타 베이스로 구성된 데이타 감시 기능에서는 특정 릴레이션에 대한 임의의 애트리뷰트를 대상으로 시스템 운용중에 주기적인 감시에 의하여 미리 지정됨 범위 이외의 값으로 변경이 될 경우를 검출하여 필요한 오류 정부를 출력하고 원래의 초기치 정보로 변경하고 종료하는 기능으로 되어 있다.In the conventional data monitoring function, the data monitoring function detects the case where any attribute of a specific relation is changed to a value out of the range specified in advance by periodic monitoring while operating the system, and outputs the necessary error information. The function changes to the initial value information and ends.
따라서, 상기 종래와 같은 분산 데이타 베이스 시스템에서의 릴레이션별 데이타 변경 감시 방법은 새로운 정보를 추가시킬 경우에는 추가시키고자 하는 애트리뷰트에 대한 감시 기능을 수행할 수 있도록 프로그램을 변경하여야 하는 문제점이 있다.Accordingly, the conventional method for monitoring data change by relation in a distributed database system according to the related art has a problem in that a program must be changed to perform a monitoring function for an attribute to be added when new information is added.
상기 문제점을 해결하기 위하여 안출된 본 발명은 운용자 요구에 의하여 데이타 베이스의 임의의 릴레이션에 대한 변경 여부를 감시하기 위한 내용을 접수하여 해당 데이타 베이스가 실장되는 프로세서로 감시 요구를 위한 정보를 전달하고, 각 프로세서 내의 감시 기능에서는 요구한 데이타 베이스에 대하여 요구한 감시 주기로 해당 데이타를 읽어 변경이 발생되었는지를 확인하고 변경된 경우에는 변경 전후의 정보를 제어 기능에 전달하여 운용자 정합 기능을 통하여 출력하는데 운영상의 편의를 위하여 데이타의 형태에 따라 정수, 문자 및 데이타의 의미를 부여한 세트(set) 형태로 구성된 것으로 분류하여 문자와 세트 형태인 경우에는 해당 정보가 나타내는 의미있는 문자 정보를 출력할 수 있도록 모든 릴레이션에 대한 구성 정보를 관리하는 데이타를 이용하여 정보를 제공하고, 감시 기능의 편의를 위하여 한 번의 명령어를 통하여 요구한 키값의 범위를 확장하여 수행할 수 있도록 하고, 감시 기능을 수행중인 정보의 출력과 중지를 운용자의 명령어를 통하여 수행할 수 있는 분산 데이타 베이스 시스템에서의 릴레이션별 데이타 변경 감시 방법을 제공하는데 그 목적이 있다.In order to solve the above problems, the present invention receives information for monitoring whether a relation of a database is changed by an operator's request, and transmits information for monitoring request to a processor in which the database is mounted. The monitoring function in each processor reads the data at the required monitoring interval for the requested database and checks whether the change has occurred, and if it is changed, transmits the information before and after the change to the control function and outputs it through the operator matching function. For this purpose, it is classified into a set form that gives an integer, a character, and a meaning of data according to the type of data. In the case of a character and a set form, all relations can be output to output meaningful character information indicated by the information. To manage configuration information. It provides information by using other, and it is possible to extend the range of the requested key value through one command for the convenience of monitoring function, and to output and stop the information during the monitoring function through the operator's command. The purpose of the present invention is to provide a method for monitoring data change by relations in a distributed database system.
상기 목적을 달성하기 위하여 안출된 본 발명은, 접속 교환 프로세서(ASP)를 포함하는 애널로그 가입자 서비스 서브시스템(ASS-S:Access Switching Subsystem-Subscriber)과 디지틀 가입자 서비스 서브시스템(ASS-I:Access Switching Subsystem-ISDN)과 중계선 서비스 서브시스템(ASS-T:Access Switching Subsystem-Trunk), 번호 번역 프로세서(NTP)와 내부 연결망 프로세서(INP)를 포함하는 상호 연결망 서브시스템(INS:Interconnection Network Subsystem), 운용 및 유지 보수 프로세서(OMP)와 입출력 제어 프로세서(MMP)를 포함하는 중앙 제어 서브시스템(CCS:Centeral Control Subsystem) 및 각 서브시스템에 실장되는 프로세서간의 통신로를 설정하는 IPC(Inter Processor Communication)를 구비하는 분산 데이타 베이스 시스템에 적용되는 데이타 변경 감시 방법에 있어서, 상기 입출력 제어 프로세서(MMP)는 운영 체계에 의해 구동되어 운용자 명령어를 접수하기 위한 대기 상태로 전환하는 제1단계; 상기 제1단계 수행 후, 데이타 베이스 릴레이션 정보 출력을 요구하면 해당 명령어를 수행하고, 다음 명령어를 접수하기 위하여 상기 대기 상태로 전환하는 제2단계; 상기 제1단계 수행 후, 임의의 릴레이션에 대한 감시를 요구하면 해당 명령어를 수행하고 상기 대기 상태로 전환하는 제3단계; 상기 제1단계 수행 후, 감시 수행 상태를 확인하기 위하여 감시 수행 정보 출력을 요구하면 해당 명령어를 수행하고 상기 대기 상태로 전환하는 제4단계; 및 상기 제1단계 수행 후, 감시 수행 중지를 위한 감시 수행 중지 명령어를 접수하면 해당 명령어를 수행하고 상기 대기 상태로 전환하는 제5단계를 포함하는 것을 특징으로 한다.The present invention devised to achieve the above object, the present invention, an access switching subsystem (ASS-S) including an access switching processor (ASP) and a digital subscriber service subsystem (ASS-I: Access) Interconnection Network Subsystem (INS) including Switching Subsystem-ISDN and Access Switching Subsystem-Trunk (ASS-T), Number Translation Processor (NTP) and Internal Network Processor (INP), Central Processor Subsystem (CCS), including the Operation and Maintenance Processor (OMP) and Input / Output Control Processor (MMP), and the Inter Processor Communication (IPC), which establishes the communication path between the processors mounted in each subsystem. In a data change monitoring method applied to a distributed database system provided, the input / output control processor (MMP) is configured by an operating system It is the first step to enter the standby state for receiving the operator instructions; A second step of performing a corresponding command when requesting to output database relation information after performing the first step, and switching to the standby state to receive a next command; A third step of performing a corresponding command and transitioning to the standby state when the monitoring of any relation is requested after performing the first step; A fourth step of performing a corresponding command and transitioning to the standby state if a request for outputting monitoring execution information is requested to confirm the monitoring execution state after performing the first step; And a fifth step of performing a corresponding command and switching to the standby state after receiving the monitoring execution stop command for stopping the monitoring execution after performing the first step.
이하, 첨부된 도면을 참조하여 본 발명에 따른 일실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment according to the present invention;
제1도는 본 발명이 적용되는 시스템 구조도로서, 애널로그 가입자 서비스 서브시스템(ASS-S:Access Switching Subsystem-Subscriber)(1), 디지틀 가입자 서비스 서브시스템(ASS-I:Access Switching Subsystem-ISDN)(2)과 중계선 서비스 서브시스템(ASS-T:Access Switching Subsystem-Trunk)(3), 번호 번역 및 스위치 연결을 제어하는 상호 연결망 서브시스템(INS:Interconnection Network Subsystem)(4) 및 기능적인 계층 구조에서 서브시스템별 장애 및 상태 정보를 최종적으로 취합 분석하고 운용자 요구에 의한 명령어 처리 등의 전체적인 운용 관리 및 유지 보수 기능을 총괄하는 중앙 제어 서브시스템(CCS:Centeral Control Subsystem)(5)를 구비하며, 각 서브시스템에 실장되는 프로세서간에는 IPC(Inter Processor Communication)(6) 통신로를 이용하여 정보를 주고 받는다. 그리고, 각 서브 시스템에 분산 실장되는 운용 및 유지 보수 프로세서(OMP), 입출력 제어 프로세서(MMP), 접속 교환 프로세서(ASP), 번호 번역 프로세서(NTP), 내부 연결망 프로세서(INP)는 상위 프로세서(MP:Main Processor)로서 자원의 정보 관리, 운용자 메시지 처리, 데이타 베이스 관리 및 호처리 제어 등의 역할을 담당한다. 본 발명에서 제안한 기능은 입출력 제어 프로세서(MMP)에 실장된 SSDH(System Data Handler:이하, "SSDH"라 함)(7)에서 운용자 정합 기능으로부터 입력되는 정보를 받아 분산된 서브시스템 내 각 상위 프로세서(MP)에 실장된 DBSH(Database Sypervision Hander; 이하, "DBSH"라 함(8) 블럭을 통하여 데이타의 감시를 수행한다. 운용중인 상태에서는 SSDH(7)와 DBSH(8)간의 상호 연동으로 관리되는 감시 기능의 상태 정보를 이용하여 수행중인 정보의 확인이나 중지를 수행하게 된다.FIG. 1 is a system architecture diagram to which the present invention is applied, and includes an Access Switching Subsystem-Subscriber (ASS-S) 1 and an Access Switching Subsystem-ISDN (ASS-I) ( 2) and the trunk switching service subsystem (ASS-T) (3), the Interconnection Network Subsystem (INS) (4), which controls number translation and switch connections, and a functional hierarchy. A central control subsystem (CCS) (5), which collects and analyzes failure and status information for each subsystem and finally manages overall operation management and maintenance functions such as command processing by an operator's request, is provided. Processors mounted in the subsystems exchange information using an Inter Processor Communication (IPC) 6 communication path. In addition, the operation and maintenance processor (OMP), the input / output control processor (MMP), the access exchange processor (ASP), the number translation processor (NTP), and the internal connection network processor (INP) distributed to each subsystem are distributed to the upper processor (MP). Main Processor is responsible for resource information management, operator message processing, database management and call processing control. The function proposed by the present invention receives information input from the operator matching function in the SSDH (hereinafter referred to as "SSDH") 7 mounted in the input / output control processor (MMP), and each higher processor in the distributed subsystem. Data monitoring is performed through a DBSH (Database Sypervision Hander) implemented in (MP) (hereinafter referred to as “DBSH”) block 8. In operation, management is performed by interworking between SSDH 7 and DBSH 8. The status information of the monitoring function is used to check or stop the information being performed.
제2도는 릴레이션 데이타 변경을 감시하기 위한 주 제어 처리 흐름도로서, 입출력 제어 프로세서(MMP)에 실장되는 주 제어 기능에서 운용자의 요구에 접수하여 프로세서 단위로 구성된 세부 기능들의 수행 절차를 설명한다. SSDH(7)는 입출력 제어 프로세서(MMP)의 재시동 완료 시점에서 운영 체계에 의해 구동되어(20) 운용자 명령어를 접수하기 위한 대기 상태로 전환한다(21). 데이타 베이스 릴레이션에 대한 정보의 출력을 요구하면(22) 해당 명령어를 처리하기 위한 프로세스를 생성시키고(23) 다음 명령어를 접수하기 위한 대기 상태로 전환한다(30). 임의의 릴레이션에 대한 감시 기능을 요구하면(24) 해당 명령어를 처리하기 위한 프로세스를 생성시키고(25) 다음 명령어를 접수하기 위한 대기 상태로 전환한다(30). 감시 수행중인 기능의 상태를 확인하기 위하여 감시 정보 출력을 요구하면(26) 해당 명령어를 처리하기 위한 프로세스를 생성하고(27) 다음 명령어를 접수하기 위한 대기 상태로 전환한다(30). 감시 수행중인 기능의 중지를 위한 감시 수행 중지 명령어를 접수하면(28) 해당 명령어를 처리하기 위한 프로세스를 생성하고(29) 다음 명령어를 접수하기 위한 대기 상태로 전환한다(30).2 is a flowchart of a main control process for monitoring relation data change, and illustrates a procedure of performing detailed functions configured in units of processors in response to an operator's request in a main control function mounted in an input / output control processor (MMP). The SSDH 7 is driven by the operating system at the completion time of restarting the input / output control processor MMP (20) and transitions to a standby state for receiving an operator command (21). Requesting the output of information about the database relation (22) creates a process for processing the instruction (23) and transitions to the wait state for receiving the next instruction (30). When a watch function is requested for an arbitrary relation (24), a process for processing a corresponding instruction is created (25) and the state transitions to a waiting state for receiving the next instruction (30). When the monitoring information output is requested to check the status of the function being monitored (26), a process for processing the corresponding command is generated (27), and the state is switched to the waiting state for receiving the next command (30). Upon receiving the monitoring execution stop command for stopping the monitoring execution function (28), a process for processing the command is generated (29) and the state is switched to the standby state for receiving the next command (30).
제3도는 릴레이션 정보를 출력하기 위한 상세 처리 흐름도로서, 제2도에서 운용자 요구 따라 릴레이션 정보를 출력하기 위한 프로세스 생성 과정(23)의 세부 흐름도이다.FIG. 3 is a detailed process flow chart for outputting relation information. In FIG. 2, a process flow process 23 for outputting relation information according to an operator's request is shown.
주 제어 기능에 의하여 구동되며(31) 운용자가 요구한 출력 형태에 따라(32) 처리 과정이 분류된다. 릴레이션 번호로 요구한 경우에는 릴레이션 번호를 이용하여 전체 릴레이션에 대한 정보 중에서 요구한 릴레이션에 대한 정보를 읽으며(33), 릴레이션 이름으로 요구한 경우에는 릴레이션 이름을 이용하여 요구한 릴레이션에 대한 정보를 읽게 된다(34). 읽은 릴레이션의 결과를 분석하여(35) 해당 릴레이션이 없으며 존재하지 않는 릴레이션으로 출력 메시지를 출력하고(36) 종료하며(37), 데이타 베이스 접근에 대한 오류이면 데이타 베이스 오류 정보를 출력 메시지로 출력하고(38) 종료한다(39). 읽은 릴레이션의 결과가 정상이면 해당 릴레이션에 속하는 애트리뷰트의 갯수 정보를 추출하기 위하여 데이타 베이스 정보를 읽으며(40), 읽은 애트리뷰트의 결과를 분석하여(41) 데이타 베이스 접근에 대한 오류이면 해당 오류 정보를 출력하고(42) 종료하며(43), 읽은 애트리뷰트의 결과가 정상인 경우에는 릴레이션 정보를 저장하고(44) 릴레이션에 속한 애트리뷰트에 대한 일련 번호를 이용하여 해당 애트리뷰트의 이름과 데이타 구성 방법에 대한 정보를 읽는다(45). 애트리뷰트에 대한 처리 상태를 점검하여(46) 전체 애트리뷰트에 대한 처리가 완료되지 않은 상태이면 다음 애트리뷰트에 대한 정보를 읽기 위하여 일련 번호를 갱신한 후(47) 애트리뷰트의 정보 읽기(45)를 반복하며, 완료된 상태이면 저장된 릴레이션 및 각 애트리뷰트에 대한 구성 정보를 출력하고(48) 종료한다(49). 전체 릴레이션에 대한 정보의 출력을 요구한 경우에는 첫번째 릴레이션에 대한 정보 읽기를 준비하고(50) 데이타 베이스에서 릴레이션 정보를 읽은 후에(51) 읽은 릴레이션의 결과를 분석하여(52) 데이타 베이스 접근에 대한 오류이면 데이타 베이스 오류 정보를 출력하고(53) 종료하며(54), 읽은 릴레이션의 결과가 정상이면 릴레이션 이름과 번호를 저장하고(55) 마지막 릴레이션인지를 점검한 후에(56) 전체 릴레이션에 대한 처리가 완료되지 않은 상태이면 다음 릴레이션에 대하여 순차적으로 릴레이션 읽기 과정을 반복 수행한다(57). 전체에 대한 처리가 완료된 상태이면 저장된 결과 정보 출력을 요구하고(58) 종료한다(59).Driven by the main control function (31) and the process is classified according to the output type requested by the operator (32). When requested as a relation number, information about the requested relation is read from the information about the entire relation using the relation number (33) .If requested as a relation name, information about the requested relation is read using the relation name. (34). The result of the read relation is analyzed (35) to output the output message to a relation that does not exist and does not exist (36) and to terminate (37). (38) End (39). If the result of the read relation is normal, the database information is read to extract the number of attributes belonging to the relation (40), and the result of the read attribute is analyzed (41). (42) exit (43), if the result of the read attribute is normal (44), store the relation information (44) and use the serial number of the attribute belonging to the relation to read the name of the attribute and how to organize the data (45). If the processing status of an attribute is checked (46), and if the processing of all attributes is not completed, the serial number is updated to read the information of the next attribute (47), and the information reading of the attribute (45) is repeated. If the state is complete, the stored relation and configuration information for each attribute are output (48) and terminated (49). If you require the output of information about the entire relation, prepare to read the information about the first relation (50), read the relation information from the database (51), and then analyze the results of the read relation (52) to access the database. If it is an error, it outputs database error information (53) and exits (54). If the result of the read relation is normal (55), it stores the relation name and number (55) and checks whether it is the last relation (56) and processes the entire relation. If is not completed, the relation read process is repeated sequentially for the next relation (57). If the processing for the whole is completed, the stored result information output is requested (58) and ends (59).
제4도는 릴레이션 단위로 감시하기 위한 상세 처리 흐름도로서, 제2도에서 운용자 요구따라 특정 릴레이션에 대한 감시 기능을 수행하기 위한 프로세스 생성 과정(25)의 세부 흐름도이다.FIG. 4 is a detailed process flowchart for monitoring in relation units, and in FIG. 2, a detailed flowchart of a process generating process 25 for performing a monitoring function for a specific relation according to an operator's request.
주 제어 기능에 의하여 구동되며(61), 입력된 릴레이션에 번호를 이용하여 해당 릴레이션에 대한 정보를 데이타 베이스로부터 읽는다(62). 읽은 결과를 분석하여(63) 해당 정보가 없을 때에는 정의되지 않는 릴레이션에 대한 오류 정보를 출력하고(66) 종료하며(67), 데이타 베이스 접근에 대한 오류이면 데이타 베이스 오류 정보를 출력하고(64) 종료한다(65). 정상적인 처리가 이루어지면 해당 릴레이션에 속한 애트리뷰트의 갯수 정보를 읽음(68), 첫번째 애트리뷰트를 읽기 위한 일련 번호를 설정한 후에(69) 해당 애트리뷰트에 대한 정보를 읽어 필요한 정보를 버퍼에 저장하고(70), 전체 애트리뷰트에 대한 처리 상태를 확인한 후에(71) 완료되지 않은 상태이면 다음 애트리뷰트에 대한 일련 번호를 갱신하여(72) 애트리뷰트 읽기 과정을 반복 수행하고, 완료된 상태이면 해당 릴레이션과 애트리뷰트에 대한 정보를 각 프로세서에 공통으로 실장되는 감시 수행 기능으로 전달하고(73) 응답 대기를 위한 시간을 등록한 후(73) 응답 대기 상태로 전환한다(75). 응답 대기 시간 내 해당 프로세서에서 수행되는 감시 기능으로부터 응답이 없으면 타임 아웃처리(76)에 의한 결과 메시지를 출력하고(77) 종료하며(78), 응답 대기 시간내 해당 프로세서에서 수행되는 감시 기능으로부터 정상적인 응답이 접수되면(79) 접수 결과에 대한 분석을 요구하고(80), 모든 처리에 대한 완료 여부를 점검하여(81) 완료된 경우에는 전체 수행 완료 정보를 출력하고(82) 종료하며(83), 완료되지 않는 상태이면 다음 결과를 접수하기 위한 응답 대기 타이머를 등록하고(84) 응답 대기 상태로 천이한다(85). 그리고, 제6도에서 설명하는 감시 기능의 수행 과정에서 감시 수행 시작 응답 정보(112)를 접수하면(86) 해당되는 수행 상태 버퍼에 정보를 저장하고(87) 응답 대기 상태로 천이한다(88). 상기 저장 정보는 제7도에서 설명하는 수행 상태 정보의 출력 처리와 제8도에서 설명하는 수행중인 감시 기능의 중지를 위한 처리 과정에서 사용된다.It is driven by the main control function (61), and reads information about the relation from the database using the number of the input relation (62). It analyzes the result of reading (63) and outputs error information about undefined relations when there is no information (66) and exits (67), and outputs database error information if it is an error on database access (64). It ends (65). If the processing is successful, read the number of attributes of the attribute (68), set the serial number to read the first attribute (69), read the information about the attribute, and store the necessary information in the buffer (70). After checking the processing status of the entire attribute (71), if it is not complete, update the serial number for the next attribute (72) and repeat the attribute reading process. The process transfers to the monitoring execution function which is commonly installed in the processor (73), registers the time for waiting for the response (73), and switches to the response waiting state (75). If there is no response from the monitoring function performed in the corresponding processor within the response waiting time, a result message by the timeout processing 76 is output (77) and terminated (78). When a response is received (79), an analysis of the result of the reception is requested (80), the completion of all processing is checked (81), and when completed, the entire execution completion information is output (82) and the termination (83), If it is not completed, it registers a response waiting timer for receiving the next result (84) and transitions to the response waiting state (85). In response to the monitoring execution start response information 112 being received during the execution of the monitoring function described in FIG. 6 (86), the information is stored in the corresponding execution status buffer (87) and the state transitions to the response waiting state (88). . The stored information is used in the process of outputting the execution status information described in FIG. 7 and in the process of stopping the monitoring function being performed described in FIG.
제5도는 감시 결과 정보를 분석하기 위한 상세 처리 흐름도로서, 제4도에서 감시 기능으로부터 변경에 대한 정보를 접수받아 애트리뷰트 단위로 변경이 발생한 정보에 대한 분석을 수행하는 과정(80)의 세부 흐름도이다.FIG. 5 is a detailed process flow chart for analyzing the monitoring result information. FIG. 4 is a detailed flowchart of a process 80 of receiving information about a change from the monitoring function and performing analysis on information in which the change has occurred in an attribute unit. .
접수된 결과를 해당되는 버퍼에 저장하고(91) 릴레이션에 속한 애트리뷰트 단위로 데이타의 형태를 분석하여(92) 정수인 경우에는 변경전의 값을 출력 버퍼에 기록하고(93) 변경후의 값을 출력 버퍼에 기록한 후(94) 변경 전,후의 값을 비교하여(95) 비교값이 다른 경우에는 변경이 발생된 애트리뷰트로 표시하고(96), 문자인 경우에는 변경 전의 값을 출력 버퍼에 기록하고(97) 변경 후의 값을 출력 버퍼에 기록한 후(98) 변경 전,후의 문자열 정보를 비교하여(99) 문자열 정보가 다른 경우에는 변경이 발생된 애트리뷰트로 표시하며(100), 세트(SET) 변수로 정의된 경우에는 변경 전의 값에 대한 변수명을 찾기 위하여 데이타 베이스를 읽어(101) 변경전 값을 출력 버퍼에 기록하고(102), 변경 후의 값에 대한 변수명을 찾기 위하여 데이타 베이스를 읽어(103) 해당 변수명에 대한 정보를 출력 버퍼에 기록한 후(104) 변경 전,후의 값을 비교하여(105) 비교값이 다른 경우에는 변경이 발생된 애트리뷰트로 표시한다(106). 전체 애트리뷰트에 대한 처리 상태를 확인한 후(107) 완료되지 않은 상태이면 다음 애트리뷰트에 대한 일련 번호를 갱신하여 애트리뷰트의 형태 분석 과정을 반복하고(108) 완료된 상태이면 출력 버퍼에 저장된 정보의 출력을 요구하고(109) 종료한다(110).The received result is stored in the corresponding buffer (91), the data type is analyzed in attribute units belonging to the relation (92), and if it is an integer, the value before the change is written to the output buffer (93) and the value after the change is written to the output buffer. After recording (94), compare the values before and after the change (95). If the comparison value is different, mark the attribute as the change occurred (96), and if it is a character, write the value before the change to the output buffer (97). Write the value after the change to the output buffer (98) and compare the string information before and after the change (99) .If the string information is different, it is marked as the attribute where the change occurred (100) and is defined as a SET variable. In this case, the database is read to find the variable name for the value before the change (101), the pre-change value is written to the output buffer (102), and the database is read (103) to find the variable name for the value after the change. Variable name After the information is written into the output buffer (104), the value before and after the change is compared (105). If the comparison value is different, the change is indicated as an attribute (106). After checking the processing status for the entire attribute (107), if it is not complete, update the serial number for the next attribute, repeating the attribute analysis process (108), and if so, request the output of the information stored in the output buffer. (109) End (110).
제6도는 각 프로세서에서의 릴레이션 감시 수행을 위한 상세 처리 흐름도로서, 제4도의 릴레이션 감시 수행 과정에서 해당 릴레이션과 애트리뷰트에 대한 정보를 전달하는 과정(73)의 정보를 수신하고(111), 감시 수행 시작 정보 수신 결과를 응답한 후(112) 감시 수행 주기에 대한 타이머 정보를 등록하고(113) 수행 대기 상태로 전환한다(114). 대기 상태에서 감시 수행 중지 정보를 접수하면(115) 수행 중지 완료 정보를 응답하고(116) 종료한다(117). 감시 주기에 대한 타이머가 아웃되면 해당 데이타 베이스를 읽은 후(119) 첫번째 시도 횟수인가를 점검하여(120) 첫번째인 경우는 읽은 값을 변경전 값을 저장하는 버퍼에 기록하고(121), 수행 요구한 감시 횟수를 점검하여(122) 한 번인 경우에는 읽은 정보를 그대로 전달하고(123) 종료한다(124). 감시 횟수가 한 번 이상인 경우에는 전체 수행 요구 감시 횟수를 점검한 후(129) 완료된 상태이면 모든 처리 완료 정보를 전달하고(130) 종료하며(131), 전체 감시 기능이 완료되지 않은 상태이면 다음 감시 수행을 위한 타이머를 등록하고(132) 수행 대기 상태로 천이한다(133). 그리고, 첫번째 감시 주기에 대한 수행이 아닌 경우에는 현재 읽은 값을 저장한 후(125) 변경 전,후의 값이 같은지를 점검하여(126) 다른 경우에는 변경 전,후의 정보를 감시 수행 제어 기능으로 전달하고(127), 변경된 버퍼에 현재 읽은 값을 옮긴 후(128) 전체 처리 완료 판단 과정(129)을 수행한다.FIG. 6 is a detailed process flow diagram for performing relation monitoring in each processor. In FIG. 4, in operation relation monitoring of FIG. 4, information of a process 73 for transmitting information about a relation and an attribute is received 111 and monitoring is performed. After responding to the start information reception result (112), the timer information for the monitoring execution period is registered (113), and the state is switched to the execution standby state (114). When the monitoring execution stop information is received in the standby state (115), the execution stop completion information is responded to (116) and ends (117). When the timer for the watchdog cycles out, it reads the database (119) and checks whether it is the number of first attempts (120). In the first case, it reads the read value into a buffer that stores the value before the change (121). If the number of times of monitoring is checked (122), if it is once, the read information is transmitted as it is (123) and the process ends (124). If the number of monitoring is one or more times, the total number of execution request monitoring is checked (129), and if completed, all processing completion information is transmitted (130) and terminated (131). If the entire monitoring function is not completed, the next monitoring is performed. A timer for execution is registered (132) and the state transitions to a waiting state (133). If it is not performed for the first monitoring period, the current read value is stored (125) and the value before and after the change is checked (126). Otherwise, the information before and after the change is transferred to the monitoring execution control function. In operation 127, the current read value is transferred to the changed buffer (128), and then the entire process completion determination process 129 is performed.
제7도는 감시 수행중인 정보를 출력하기 위한 상세 처리 흐름도로서, 제2도에서 운용자 요구따라 감시 기능을 수행중인 정보를 출력하기 위한 프로세스 생성 과정(27)의 세부 흐름도이다.7 is a detailed processing flow chart for outputting monitoring information, which is a detailed flowchart of a process generating process 27 for outputting information performing monitoring function according to an operator's request in FIG.
주 제어 기능에 의하여 구동되며(141), 첫번째 수행 상태 버퍼 정보를 설정하여(142) 수행 상태 버퍼의 정보를 읽은 후(143) 수행중인지를 점검하고(144), 수행중인 경우에는 결과 버퍼에 내용을 저장한 후에(145) 수행중이지 않은 상태이면 바로 처리 완료 상태를 점검하여(146) 완료되지 않은 상태이면 다음 버퍼에 대한 정보를 읽기 위한 정보를 갱신하여(147) 수행 상태 버퍼의 정보를 읽는 과정을 반복하며, 완료된 상태이면 결과 정보를 출력하고(148) 종료한다(149).It is driven by the main control function (141), sets the first execution status buffer information (142), reads the information of the execution status buffer (143), checks whether it is running (144), and if so, the contents in the result buffer. After saving the data (145), if the status is not running, check the processing completion status (146). If the status is not completed, update the information to read the information about the next buffer (147) to read the information of the execution status buffer. The process is repeated, and if it is completed, the result information is output (148) and ends (149).
제8도는 감시 수행을 중지하기 위한 상세 처리 흐름도로서, 제2도에서 운용자 요구따라 감시 수행을 중지하기 위한 프로세스 생성과정(29)의 세부 흐름도이다.FIG. 8 is a detailed process flow chart for stopping monitoring execution. FIG. 8 is a detailed flowchart of a process generation process 29 for stopping monitoring performance according to an operator's request in FIG.
주 제어 기능에 의하여 구동되어(151) 요구한 수행 번호에 대한 버퍼의 정보를 읽은 후(152) 수행중인지를 점검하여((153) 수행중인 상태가 아니면 수행중이 아님에 대한 결과 정보를 출력하고(154) 종료하며(155), 수행중인 경우에는 감시 수행 중지 요구를 감시 수행 기능으로 전달하고(156) 응답 대기를 위한 타이머를 등록한 후(157) 대기 상태로 천이한다(158). 응답 대기 시간 내에 응답이 없이 타이머가 아웃되면(159) 응답 없음에 대한 결과를 출력하고(160) 종료하며(161), 감시 기능 수행 중지에 대한 응답이 접수되면(162) 감시 수행 상태 버퍼에서 해당 정보를 삭제한 후(163) 감시 수행 중지에 대한 결과 정보를 출력하고(164) 종료한다(164).It is driven by the main control function (151), reads the buffer information for the requested execution number (152) and checks whether it is being executed (153), and outputs the result information indicating that it is not being executed. In step 154, the controller transmits a monitoring stop request to the monitoring execution function (156), registers a timer for waiting for response (157), and then transitions to the waiting state (158). If the timer is out without a response (159) and outputs a result of no response (160) and terminates (161), and receives a response to stop monitoring function execution (162), the corresponding information is deleted from the monitoring execution status buffer. After outputting the result of the monitoring execution stop (163) and ending (164).
[표 1]은 제3도에서 설명한 릴레이션 정보를 출력하기 위한 상세 처리 흐름도에서 운용자에 의해 입력되는 명령어 구성과 처리 결과 메시지의 출력 형태를 구성한 것으로 아래와 같다. 이때, 입력 정보는 릴레이션 번호(1-1)나 릴레이션 이름(1-2)으로 주어질 수도 있고, 모두 생략되는 경우에는 전체 릴레이션에 대한 정보 출력으로 처리하도록 되어 있다. 출력 메시지 구성에는 특정 릴레이션을 대상으로 요구한 경우와 전체에 대한 요구로 분류하여 처리하며, 릴레이션 단위로 요구한 경우에는 해당 릴레이션의 일련 번호(1-3)와 명칭(1-4), 데이타의 메모리 또는 디스크 상주를 나타내는 릴레이션 형태 정보(1-5), 릴레이션의 데이타 정보들이 각 프로세서에 실장되는 방법을 나타내는 위치정보(1-6), 해당 릴레이션이 실장되는 프로세서를 나타내는 정보(1-7), 다른 프로세서에서 읽을 수 있는 프로세서의 정보(1-8), 릴레이션에 속한 애트리뷰트의 일련 번호(1-9), 애트리뷰트의 이름(1-10), 키를 찾는 방법(1-11) 및 애트리뷰트의 데이타 구성 형태(1-12)를 구비한다. 전체 릴레이션에 대한 출력 요구시에는 릴레이션 이름(1-13)과 번호(1-14)에 대한 정보만을 구비하여 출력한다.[Table 1] shows the configuration of the command input by the operator and the output form of the processing result message in the detailed processing flowchart for outputting the relation information described in FIG. In this case, the input information may be given by the relation number 1-1 or the relation name 1-2, or when omitted, the information is processed as information output for the entire relation. The output message is classified into a request for a specific relation and a request for the whole, and in the case of a request for a relation, the serial number (1-3), name (1-4) and data of the relation Relation type information (1-5) indicating memory or disk resident, position information (1-6) indicating how data information of a relation is mounted on each processor, and information (1-7) indicating a processor on which a corresponding relation is mounted Information about the processor (1-8) that can be read by other processors, the serial number (1-9) of the attribute belonging to the relation, the name of the attribute (1-10), how to find the key (1-11), and Data configuration forms 1-12. When the output request for the entire relation is made, only the information about the relation name (1-13) and the number (1-14) is outputted.
[표 1]TABLE 1
[표 2]는 제4도에서 설명한 릴레이션 단위 감시 기능의 수행을 요구하는 운용자 명령어 구성과 이에 대한 결과 메시지를 구성한 것으로서 아래와 같다. 입력되는 내용으로 릴레이션 번호(2-1), 감시 기능이 수행되는 대상 프로세서(2-2), 감시 수행 주기(2-3), 감시 수행 횟수(2-4), 릴레이션에 따라 읽기 위한 키값의 갯수가 다르게 구성될 수 있으므로 하나의 키값(2-5)으로부터 두 개(2-6), 최대 3개(2-7)의 키값이 주어질 수 있으며, 주어진 키값을 기준으로 최대 10개까지를 확장하여 감시 기능을 수행하도록 요구하기 위하여 범위값(2-8)을 구비한다. 출력되는 메시지의 구성은 처음 감시 기능의 수행 시작을 나타내는 정보에는 입력된 정보의 출력외에 해당 릴레이션의 이름(2-9)과 결과 정보로서 수행 접수를 알리는 정보(2-10)를 구비한다. 실제적으로 감시 기능을 수행하는 과정에서 데이타의 변경이 발생되었을 경우에는 가 애트리뷰트의 일련 번호(2-11), 애트리뷰트의 이름(2-12), 변경전 애트리뷰트의 값(2-13), 현재의 애트리뷰트값(2-14) 및 변경이 발생하였는지를 표시하는 부분(2-15)을 구비하고, 이때, 출력되는 데이타의 형태는 정수인 경우에는 숫자 정보(2-16), 문자인 경우에는 문자열 형태(2-17), 세트로 구성된 경우에는 세트 변수의 이름(2-18) 및 비트 정보는 16진법 정수(2-19)로 출력하도록 한다.[Table 2] shows the configuration of the operator command and the result message for requesting the execution of the relation unit monitoring function described in FIG. As the input contents, the relation number (2-1), the target processor (2-2) where the monitoring function is performed, the monitoring execution period (2-3), the number of monitoring executions (2-4), and the key value to be read according to the relation Since the number can be configured differently, one (2-5) to two (2-6), up to three (2-7) key values can be given, and up to 10 based on the given key value And a range value (2-8) to request to perform the monitoring function. The configuration of the output message includes the name (2-9) of the relation and the information (2-10) informing the reception of the execution as the result information, in addition to the output of the input information, the information indicating the beginning of the execution of the monitoring function. In the event that data changes occur during the monitoring process, the serial number of the attribute (2-11), the name of the attribute (2-12), the value of the attribute before the change (2-13), and the current An attribute value (2-14) and a portion (2-15) indicating whether a change has occurred, wherein the type of data to be output is numeric information (2-16) if it is an integer and a string form (if it is a character). 2-17) In the case of a set, the name of the set variable (2-18) and the bit information are output as a hexadecimal integer (2-19).
[표 2]TABLE 2
[표 3]은 제7도에서 설명한 감시 수행중인 정보의 출력을 위한 명령어 구성과 출력 메시지를 형태를 구성한 것으로서 아래와 같다. 수행중인 기능의 번호(3-1)를 지정하거나 전체에 대한 정보의 출력을 요구할 수 있다. 수행 번호로 요구한 경우에는 해당 번호에 대한 수행중인 정보만을 출력하고, 출력되는 내용은 상기 [표 2]에서 수행 요구시 입력한 정보를 포함하여(3-2) 현재까지 수행한 감시 횟수 정보(3-3)를 같이 출력하며, 전체에 대한 요구시에는 수행중인 모든 기능에 대한 정보를 등록한 순서대로 출력한다(3-4).[Table 3] is a configuration of a command configuration and an output message for outputting the monitoring information described in FIG. 7 as follows. The number (3-1) of the function being performed may be specified or the output of information about the whole may be requested. When requested by the execution number, only the information being executed for the number is output, and the output includes the information input when the execution request is made in [Table 2] (3-2). 3-3) is output together, and when requesting the whole, information about all the functions being executed is output in the order of registration (3-4).
[표 3]TABLE 3
[표 4]는 제8도에서는 설명한 감시 수행중인 기능을 중지하기 위한 명령어의 구성과 출력 메시지 형태를 구성한 것으로서 아래와 같다. [표 4]는 상기 [표 3]에서 설명한 출력 기능을 통해 확인한 수행 번호를 이용하여 입력하여야 한다(4-1). 출력되는 메시지는 현재까지 수행된 내용을 그대로 출력하여(4-2) 확인시키고 종료한다.[Table 4] shows the configuration of command and output message to stop the monitoring function described in FIG. [Table 4] should be entered using the execution number identified through the output function described in [Table 3] (4-1). The outputted message is outputted as it is until now (4-2) to confirm and terminate.
[표 4]TABLE 4
[표 5]는 제4도에서 설명한 감시 기능의 수행을 요구받아 제6도에서 설명한 감시 기능과 연동하여 수행 정보를 저장 관리하고, 제7도와 제8도에서 설명한 수행중인 감시 기능의 정보 출력과 중지를 처리하기 위한 정보들을 관리하기 위한 구성 요소들을 나타낸 것이다. 각 프로세서에 공통으로 실장되어 감시 기능을 수행하는 프로세서에 대한 정보의 관리 요소는 제6도에 해당되는 수행중인 프로세서의 번호(5-1), 운용자의 감시 요구를 받아 수행을 제러하는 제4도에 해당되는 프로세서의 번호(5-2), 수행중임을 나타내는 플래그(5-3), 현재까지 수행한 감시 횟수를 나타내는 카운터(5-4), 감시 주기(5-5), 감시 횟수(5-6), 운용자 정합 기능으로부터 받는 기능 번호(5-7), 릴레이션 번호(5-8), 시작 키값(5-9), 키값의 범위(5-10) 및 릴레이션 이름(5-11)을 구비하며, 이상의 정보에 대하여 시스템 전체적으로 100개까지(5-12) 동시 수행이 가능하도록 구성된다. 위의 설명에서 키값의 범위(5-10)는 시작 키값(5-9)으로부터의 더해진 값의 범위가 실제적으로 릴레이션을 감시하는 대상이 되며, 생략된 경우에는 시작 키값 하나에 대한 감시 기능이 이루어지게 된다.[Table 5] is requested to perform the monitoring function described in FIG. 4, and stores and manages the performance information in conjunction with the monitoring function described in FIG. 6, and outputs the information output of the monitoring function being performed in FIG. 7 and FIG. Shown are the components for managing information for handling pauses. The management element of the information about the processor that is commonly installed in each processor and performs the monitoring function is the number of the processor (5-1) in accordance with FIG. 6, and the execution of the operation according to the monitoring request of the operator. The processor number corresponding to the number 5-2, the flag indicating that it is being executed (5-3), the counter indicating the number of monitoring performed so far (5-4), the monitoring period (5-5), the number of monitoring (5) -6), the function number (5-7), relation number (5-8), start key value (5-9), key value range (5-10) and relation name (5-11) received from the operator matching function. It is configured to enable simultaneous execution of up to 100 (5-12) systems as a whole for the above information. In the above description, the range of key values (5-10) is the object of monitoring the relation if the range of the added values from the start key value (5-9) is omitted. You lose.
[표 5]TABLE 5
본 발명은 릴레이션 단위로 변경되는 애트리뷰트가 있을시 전체 내용을 포함하여 변경 전,후의 값을 출력하는 방법이나, 다른 실시예로 릴레이션을 세분화하여 각 애트리뷰트 단위로 운용자가 요구하고 변경이 발생될 때 해당 애트리뷰트에 대한 변경 직후의 내용을 출력하는 방법으로 적용이 가능하다.The present invention is a method for outputting the value before and after the change including the entire contents when there is an attribute that is changed in relation units, or in another embodiment, when the operator requests and changes in each attribute unit by subdividing relations. This can be applied by printing the content immediately after the change to the attribute.
따라서 상기와 같은 본 발명은 분산된 각 프로세서에 실장되는 모든 데이타 베이스로 구성되는 릴레이션을 대상으로 적용할 수 있으므로 시스템 초기 개발 과정에서 기능별 처리 과정에서 발생되는 데이타 베이스 갱신 정보들의 정상적인 처리 유무를 확인하고 검증할 수 있어 시스템의 신뢰성을 확보할 수 있고, 특정 기능 단위에 대하여 기능의 시작과 종료 과정에서 갱신되는 데이타 베이스 정보들을 동시에 같은 프로세서 및 다른 프로세서에 등록시켜 감시하는 방법이 가능하므로 기능의 전체적인 흐름을 쉽게 파악할 수 있는 효과가 있다.Therefore, the present invention as described above can be applied to a relation consisting of all databases mounted on each distributed processor as a target, so whether or not the normal processing of the database update information generated in the functional processing in the initial system development process It can be verified to ensure the reliability of the system, and it is possible to register and monitor the database information updated at the start and end of a function for a specific function unit at the same processor and another processor at the same time. There is an effect that can be easily identified.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019940025574A KR970011854B1 (en) | 1994-10-06 | 1994-10-06 | Relation data processing method of distribution dbms system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019940025574A KR970011854B1 (en) | 1994-10-06 | 1994-10-06 | Relation data processing method of distribution dbms system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR960015297A KR960015297A (en) | 1996-05-22 |
KR970011854B1 true KR970011854B1 (en) | 1997-07-18 |
Family
ID=19394556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019940025574A KR970011854B1 (en) | 1994-10-06 | 1994-10-06 | Relation data processing method of distribution dbms system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR970011854B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030008111A (en) * | 2001-07-16 | 2003-01-24 | 한국전자통신연구원 | A system and method for checking data in distributed database on a memory |
-
1994
- 1994-10-06 KR KR1019940025574A patent/KR970011854B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR960015297A (en) | 1996-05-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100533370C (en) | Multiprocessor system and method for operating a multiprocessor system | |
CN112491047A (en) | Fault positioning method, device and equipment for secondary equipment of transformer substation | |
JP2000196749A (en) | Intelligent network system | |
CN113010122A (en) | Image forming apparatus monitoring apparatus, method, system, and storage medium | |
KR970011854B1 (en) | Relation data processing method of distribution dbms system | |
CN116723198A (en) | Multi-node server host control method, device, equipment and storage medium | |
KR0135538B1 (en) | Message monitoring device | |
JP2723925B2 (en) | Computer-based online relocation method | |
JPH03276338A (en) | Simple maintenance system for terminal software | |
JP3330006B2 (en) | Network system including information storage system, input system of the system, and | |
KR940007832B1 (en) | Method of measuring process load on real time system | |
KR100293913B1 (en) | Method for form filling command processing in switching system | |
JPH04305752A (en) | Network system | |
JP2848370B2 (en) | Communication line monitoring device | |
KR920014313A (en) | How to implement the operation and maintenance management function of common line signaling method (No.7) | |
KR100293912B1 (en) | Method for text command processing in switching system | |
CN113779139A (en) | Information synchronization method and device, electronic equipment and computer readable medium | |
KR20000066432A (en) | Method for inspecting status of central link interface board assembly | |
KR0175480B1 (en) | Functional Unit Verification Method in Asynchronous Transfer Mode Switching System | |
KR20010047505A (en) | Method for recovering periodic statistics data in exchange | |
KR100243410B1 (en) | A version-validation method for distributed dbms in hanbit ace | |
KR100250663B1 (en) | Database gtm management method of ess | |
JP2000347881A (en) | Method and device for interprocess communication and information storage medium | |
KR940001701B1 (en) | Maintenance system of electronic exchange | |
KR100279823B1 (en) | How to retrieve the ASCII data of the Number 7 protocol |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20011030 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |