KR100279931B1 - How to adjust output statements for debugging in the exchange system - Google Patents

How to adjust output statements for debugging in the exchange system Download PDF

Info

Publication number
KR100279931B1
KR100279931B1 KR1019980055334A KR19980055334A KR100279931B1 KR 100279931 B1 KR100279931 B1 KR 100279931B1 KR 1019980055334 A KR1019980055334 A KR 1019980055334A KR 19980055334 A KR19980055334 A KR 19980055334A KR 100279931 B1 KR100279931 B1 KR 100279931B1
Authority
KR
South Korea
Prior art keywords
output
token
relay line
debugging
relay
Prior art date
Application number
KR1019980055334A
Other languages
Korean (ko)
Other versions
KR20000039867A (en
Inventor
조진연
범순균
Original Assignee
서평원
엘지정보통신주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 서평원, 엘지정보통신주식회사 filed Critical 서평원
Priority to KR1019980055334A priority Critical patent/KR100279931B1/en
Publication of KR20000039867A publication Critical patent/KR20000039867A/en
Application granted granted Critical
Publication of KR100279931B1 publication Critical patent/KR100279931B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/24Arrangements for supervision, monitoring or testing with provision for checking the normal operation
    • H04M3/241Arrangements for supervision, monitoring or testing with provision for checking the normal operation for stored program controlled exchanges
    • H04M3/242Software testing

Abstract

본 발명은 교환기 시스템에서 디버깅(Debugging)용 출력문 조절 방법에 관한 것으로, 특히 토큰(Token)을 이용하여 디버깅용 출력문의 양을 실시간(Real-time)으로 조절하도록 한 교환기 시스템에서 디버깅용 출력문 조절 방법에 관한 것이다.The present invention relates to a method for controlling output statements for debugging in an exchange system, and in particular, a method for adjusting output statements for debugging in an exchange system to adjust the amount of debugging output statements in real time using a token. It is about.

본 발명은 디버깅용 출력문의 디스플레이 시에 방식 설정 신호를 전송해 디버깅용 출력을 요구하는 과정과; 새로운 중계선 호가 발생할 때마다 해당 중계선에 출력 토큰의 분배 여부를 확인해 해당 출력 토큰을 하나씩 할당하는 과정과; 상기 출력 토큰을 가지고 있는 중계선 호의 디버깅용 출력문만을 프로세서 셸 화면으로 출력해 주는 과정과; 상기 중계선 호가 종료할 때마다 상기 출력 토큰을 하나씩 회수하는 과정과; 운용자에 의해 상기 디버깅용 출력문들을 실시간으로 살펴보거나 해당 내용을 저장했다가 정상 처리 여부를 확인하는 과정을 포함하여 이루어진 것을 특징으로 한다.The present invention provides a method of requesting an output for debugging by transmitting a method setting signal when displaying a debugging output statement; Each time a new relay line call occurs, checking whether the output token is distributed to the corresponding relay line and allocating the output tokens one by one; Outputting only the debugging output statement of the relay line call having the output token to a processor shell screen; Recovering the output tokens one by one each time the relay line call ends; Including the process of checking the debugging output statements in real time by the operator or storing the corresponding contents and confirming normal processing.

Description

교환기 시스템에서 디버깅용 출력문 조절 방법How to adjust output statements for debugging in the exchange system

본 발명은 교환기 시스템에서 디버깅(Debugging)용 출력문 조절 방법에 관한 것으로, 특히 토큰(Token)을 이용하여 디버깅용 출력문의 양을 실시간(Real-time)으로 조절하도록 한 교환기 시스템에서 디버깅용 출력문 조절 방법에 관한 것이다.The present invention relates to a method for controlling output statements for debugging in an exchange system, and in particular, a method for adjusting output statements for debugging in an exchange system to adjust the amount of debugging output statements in real time using a token. It is about.

일반적으로, 교환기 시스템에서의 소프트웨어 블록 디버깅(Software Block Debugging)은 실시간으로 이루어져야만 하는 특성으로 인하여 주로 디버깅용 출력문에 의존하게 된다.In general, Software Block Debugging in an exchange system relies mainly on debugging output statements because of the characteristics that must be done in real time.

이 때, 기존에 사용된 디버깅용 출력문의 조절 방식은 소프트웨어 블록별로 디버깅용 출력문을 출력하거나 출력하지 않도록 하였는데, 이로 인해 실제 서비스 중인 환경에서 해당 처리 량이 많을 수밖에 없는 호 처리 소프트웨어 블록들의 경우에 디버깅용 출력문을 요구하는 경우에 해당 출력량이 엄청나게 많게 된다.In this case, the existing control method for debugging output statements is to not output or output debugging output statements for each software block, which is why the call processing software blocks for debugging have a high throughput in the actual service environment. If you ask for a statement, the output will be huge.

다시 말해서, 교환기 시스템 수행 중에 어떤 목적을 위하여 특정 소프트웨어 블록이 출력하는 디버깅용 출력문을 보고자 할 경우, 운영 체제(Operating System)가 지원하는 블록별 출력 여부를 지정하는 플래그(Flag)를 세팅(Setting)하기 위한 프로세서 셸 프롬프트(Shell Prompt) 상의 명령어를 입력함으로써, 디버깅용 출력 요구의 동작을 수행한다.In other words, when you want to see the debugging output statement that a specific software block outputs for a certain purpose while executing the exchange system, set a flag that specifies whether the output is supported for each block supported by the operating system. By entering the command on the processor shell prompt (Shell Prompt) to perform the operation of the output request for debugging.

이에, 운영 체제에서는 출력 여부 플래그가 세팅된 소프트웨어 블록의 디버깅용 출력문들을 프로세서 셸 화면으로 모두 출력해 줌으로써, 출력문 처리의 동작을 수행한다.Accordingly, the operating system outputs all the debugging output statements of the software block in which the output flag is set to the processor shell screen, thereby performing the output statement processing.

그러면, 출력을 요구한 운용자 또는 개발자는 출력된 디버깅용 출력문들을 실시간으로 살펴보거나 해당 내용을 어느 곳에 저장해 두고 나중에 해당 소프트웨어 블록의 정상 처리 여부를 확인하도록 함으로써, 디버깅용 출력 확인의 동작을 수행한다.Then, the operator or developer who requested the output performs the operation of checking output for debugging by looking at the output debugging output statements in real time or storing the contents therein and confirming whether the corresponding software block is normally processed later.

그런데, 종래의 호 처리 소프트웨어 블록의 경우에 실제 서비스 중인 교환기 시스템에서 동시에 처리하는 호의 양이 많게는 수 천 개의 호에 이르므로, 특정 소프트웨어 블록 하나만의 디버깅용 출력문을 본다는 것은 서비스 중인 교환기의 호 처리 블록 측면에서는 불가능에 가까운 일이라고 할 수 있다. 설사, 다른 곳에 저장을 해둔다고 해도 해당 처리에 걸리는 교환기 프로세서의 부하가 심하고 저장된 것을 나중에 해독하는 것도 쉬운 문제는 아니다.However, in the case of a conventional call processing software block, since the number of calls simultaneously processed by an actual serving exchange system amounts to several thousand calls, it is necessary to view debugging output statements of only one specific software block. In terms of aspects, it is almost impossible. Even if it is stored elsewhere, it is not easy to decipher the stored processor later.

그렇다고 디버깅용 출력문의 양을 상당히 제한하는 것은 본래의 목적인 디버깅을 위해서 그렇게 바람직하지는 못하다.However, significantly limiting the amount of debugging output is not so desirable for debugging purposes.

전술한 바와 같은 문제점을 해결하기 위한 것으로, 본 발명은 토큰(Token)을 이용하여 디버깅용 출력문의 양을 조절하는 방법에 관한 것으로, 실시간으로 다량의 처리가 이루어져야 하는 시스템에서의 시스템 작동 중 디버깅 목적으로 사용되는 출력문의 양, 특히 교환기 시스템에서 중계 호 처리 소프트웨어 블록의 디버깅용 출력문의 양을 조절하기에 적당하도록 한 출력 토큰의 분배 및 해당 토큰의 활용 방법을 제공하는데, 그 목적이 있다.In order to solve the above problems, the present invention relates to a method for adjusting the amount of debugging output statement using a token, the purpose of debugging during system operation in a system that requires a large amount of processing in real time The purpose of the present invention is to provide an output token distribution and a method of using the token, which are suitable for controlling the amount of output statements used, in particular, the amount of debugging statements of the relay call processing software block in the exchange system.

도 1은 본 발명의 실시예에 따른 교환기 시스템에서 디버깅용 출력문 조절 방법을 나타낸 플로우챠트.1 is a flowchart illustrating a debugging output statement adjusting method in an exchange system according to an exemplary embodiment of the present invention.

도 2는 도 1에 있어 디버깅용 출력 요구 과정을 나타낸 플로우챠트.FIG. 2 is a flowchart showing a debugging output request process in FIG. 1; FIG.

도 3은 도 1에 있어 출력 토큰 분배 과정을 나타낸 플로우챠트.FIG. 3 is a flowchart illustrating an output token distribution process in FIG. 1. FIG.

도 4는 도 1에 있어 출력 토큰 사용 과정을 나타낸 플로우챠트.4 is a flowchart illustrating a process of using an output token in FIG. 1.

도 5는 도 1에 있어 출력 토큰 회수 과정을 나타낸 플로우챠트.FIG. 5 is a flowchart showing an output token recovery process of FIG. 1. FIG.

* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

상술한 바와 같은 목적을 달성하기 위한 본 발명의 실시예에 따른 교환기 시스템에서 디버깅용 출력문 조절 방법은 디버깅용 출력문의 디스플레이 시에 방식 설정 신호를 전송해 디버깅용 출력을 요구하는 과정과; 새로운 중계선 호가 발생할 때마다 해당 중계선에 출력 토큰의 분배 여부를 확인해 해당 출력 토큰을 하나씩 할당하는 과정과; 상기 출력 토큰을 가지고 있는 중계선 호의 디버깅용 출력문만을 프로세서 셸 화면으로 출력해 주는 과정과; 상기 중계선 호가 종료할 때마다 상기 출력 토큰을 하나씩 회수하는 과정과; 운용자에 의해 상기 디버깅용 출력문들을 실시간으로 살펴보거나 해당 내용을 저장했다가 정상 처리 여부를 확인하는 과정을 포함하여 이루어진 것을 특징으로 한다.In the switching system according to an embodiment of the present invention for achieving the object as described above, the debugging output statement adjusting method includes the steps of requesting the output for debugging by transmitting a method setting signal when the debugging output statement is displayed; Each time a new relay line call occurs, checking whether the output token is distributed to the corresponding relay line and allocating the output tokens one by one; Outputting only the debugging output statement of the relay line call having the output token to a processor shell screen; Recovering the output tokens one by one each time the relay line call ends; Including the process of checking the debugging output statements in real time by the operator or storing the corresponding contents and confirming normal processing.

본 발명의 실시예에 따른 교환기 시스템의 중계 호 처리 소프트웨어 블록에 내부 데이터로 출력 토큰을 선언해 두며, 해당 선언해 둔 출력 토큰을 가지는 중계선에 해당하는 디버깅용 출력문만을 출력하도록 소프트웨어 블록 내에 조건문을 구비하여 둔다. 그리고, 실시간으로 해당 출력 토큰을 분배하는 방식을 설정할 수 있도록 한다.Declaring an output token as internal data in a relay call processing software block of an exchange system according to an embodiment of the present invention, and having a conditional statement in the software block to output only debugging output statements corresponding to the relay line having the declared output token. Leave it. Then, it is possible to set a method of distributing the corresponding output token in real time.

상기 출력 토큰의 구성은 중계 호 처리의 단위인 중계선 번호별로 할당할 수 있도록 구성하며, 어떤 중계선에 대한 호가 발생하는 경우에 해당 중계선에의 출력 토큰 분배 여부를 판단하여 해당 출력 토큰을 할당한 후에 해당 중계선의 호가 종료할 시에 해당 출력 토큰을 다시 회수하도록 이루어진다.The output token is configured to be assigned to each relay line number which is a unit of relay call processing, and when a call is generated for a certain relay line, the output token is determined whether to distribute the output token to the corresponding relay line, and then the corresponding output token is allocated. When the call of the relay line ends, the corresponding output token is recovered again.

상기 중계선에 대한 상기 출력 토큰의 분배 방식에는 크게 세 가지의 방식이 있다. 첫 번째로, 중계선의 전체로 분배하는 방식으로, 해당 분배되는 토큰 개수가 '0' 개에서 무한대까지 제한이 없다. 두 번째로, 루트, 즉 중계선 그룹별로 분배하는 방식으로, 해당 첫 번째 방식과 동일하게 해당 분배되는 토큰 개수가 '0' 개에서 무한대까지 제한이 없다. 세 번째로, 중계선별로 직접 분배하는 방식으로, 해당 분배되는 토큰 개수가 '0' 개 또는 '1' 개다.There are three ways of distributing the output token to the relay line. First, there is no limit to the number of tokens distributed from '0' to infinity by distributing to the entire relay line. Secondly, there is no limit on the number of tokens distributed from '0' to infinity as in the first method. Thirdly, the number of tokens distributed is '0' or '1' by directly distributing by relay lines.

그리고, 상기 중계선에 대한 상기 출력 토큰의 분배 방식은 상기 세 가지의 방식을 동시에 사용할 수 있으며, 혼용할 경우에는 우선 순위를 전체, 루트별, 중계선별의 순서로 정해 두며, 임의의 중계선에 대한 호가 발생하는 경우에 해당 우선 순위대로 상기 토큰의 개수를 살펴보고 해당 여분이 있다면 해당 토큰의 한 개를 해당 중계선에 할당하도록 한다.And, the distribution method of the output token to the relay line may use the three methods at the same time, in the case of mixing, the priority is set in the order of the whole, route, relay line, and the quotation for any relay line In case of occurrence, the number of the tokens is checked according to the priority, and if there is a corresponding spare, one of the tokens is allocated to the corresponding relay line.

상기 중계 호 처리 소프트웨어 블록의 디버깅용 출력문 제어 동작은 내부에서 상기 출력 토큰을 가지는 중계선에 해당하는 디버깅용 출력문만을 판단하여 출력하도록 하는데, 상기 중계 호 처리 소프트웨어 블록의 출력 여부 플래그가 세팅되어 있다면 운영 체제는 상기 중계 호 처리 소프트웨어 블록이 원하는 중계선에 대한 출력문만을 해당 중계선 호의 라이프 타임(Life Time; 발생하여서부터 종료될 때까지의 시간) 동안만큼 출력하게 된다.The debugging output statement control operation of the relay call processing software block determines and outputs only the debugging output statement corresponding to the relay line having the output token therein, and if an output flag of the relay call processing software block is set, an operating system The relay call processing software block outputs only the output statement for the desired relay line for the life time of the corresponding relay line call.

상기 토큰 분배 방식의 설정은 교환기 시스템이 수행 중인 상태에서 실시간으로 상기 출력 토큰의 분배 방식을 설정할 수 있도록 중계 호 처리 소프트웨어 블록으로 신호(Signal)를 송신해 주는데, 해당 소프트웨어 블록의 주프로세스(Main Process)는 해당 신호를 수신받아 해당 신호의 내용을 분석하여 전체 또는 루트별 토큰의 개수를 '0'으로 하거나, '1'씩 증가, '1'씩 감소, 또는 무한대로 지정하며, 중계선별 토큰을 새로 생성하거나 삭제하는 역할을 수행한다.The setting of the token distribution method transmits a signal to the relay call processing software block so as to set the distribution method of the output token in real time while the exchange system is running, and the main process of the corresponding software block ) Receives the signal and analyzes the content of the signal to specify the number of tokens by total or root as '0', increase by '1', decrease by '1', or infinity, and assign the relay line token. It creates or deletes a new one.

이하, 본 발명의 실시예를 첨부한 도면을 참조하여 상세하게 설명하면 다음과 같다. 도 1은 본 발명의 실시예에 따른 교환기 시스템에서 디버깅용 출력문 조절 방법을 나타낸 플로우챠트이며, 도 2는 도 1에 있어 디버깅용 출력 요구 과정을 나타낸 플로우챠트이며, 도 3은 도 1에 있어 출력 토큰 분배 과정을 나타낸 플로우챠트이며, 도 4는 도 1에 있어 출력 토큰 사용 과정을 나타낸 플로우챠트이며, 도 5는 도 1에 있어 출력 토큰 회수 과정을 나타낸 플로우챠트이다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. 1 is a flowchart illustrating a debugging output statement adjusting method in an exchange system according to an embodiment of the present invention, FIG. 2 is a flowchart illustrating a debugging output request process in FIG. 1, and FIG. 3 is an output in FIG. 1. 4 is a flowchart illustrating a token distribution process, FIG. 4 is a flowchart illustrating an output token using process in FIG. 1, and FIG. 5 is a flowchart illustrating an output token collecting process in FIG. 1.

그러면, 본 발명의 실시예에 따른 교환기 시스템에서 디버깅용 출력문 조절 방법을 도 1의 플로우챠트를 참고하여 설명하면 다음과 같다.Then, the debugging output statement adjusting method in the switchboard system according to an embodiment of the present invention will be described with reference to the flowchart of FIG. 1.

디버깅용 출력문을 보고자 할 경우에 방식 설정 신호를 중계 호 처리 소프트웨어 블록으로 전송해 디버깅용 출력 요구 동작을 수행하면(과정 S1), 새로운 중계선 호가 발생할 때마다 해당 중계선에 출력 토큰을 분배할 수 있는지를 판단하여 해당 출력 토큰을 하나씩 할당해 주는 출력 토큰 분배를 수행한다(과정 S2).If you want to see the debugging output statement, send the method setting signal to the relay call processing software block to perform the debugging output request action (step S1), and it is possible to distribute the output token to the corresponding relay line whenever a new relay line call occurs. In response to the determination, an output token distribution for allocating corresponding output tokens one by one is performed (step S2).

그런 후, 출력 토큰을 가지고 있는 중계선 호의 디버깅용 출력문만을 프로세서 셸 화면으로 출력해 주는 출력 토큰 사용 동작을 수행하며(과정 S3), 상기 중계선 호가 종료할 때마다 해당 출력 토큰을 하나씩 회수하는 출력 토큰 회수를 수행한다(과정 S4).Then, an output token using operation of outputting only the debugging output statement of the relay line call having the output token to the processor shell screen is performed (step S3), and the output token number of collecting the corresponding output token one by one each time the relay line call ends. (Step S4).

그리고, 출력을 요구한 운용자 또는 개발자는 출력된 디버깅용 출력문들을 실시간으로 살펴보거나 해당 내용을 어느 곳에 저장해 두고 나중에 해당 소프트웨어 블록의 정상 처리 여부를 확인하도록 함으로써, 디버깅용 출력 확인의 동작을 수행한다(과정 S5). 동시에 출력되는 호의 양은 이미 운용자가 요구한 만큼으로 확인이 가능한 정도이다.Then, the operator or developer who requested the output performs the debugging output checking operation by examining the output debugging output statements in real time or storing the contents therein and confirming whether the corresponding software block is normally processed later ( Process S5). At the same time, the quantity of calls output is as much as the operator requested.

상기 제1과정(S1)을 도 2의 플로우챠트를 참고하여 조금 더 자세히 살펴보면, 운용자 또는 개발자에 의해 교환기 시스템 수행 중에 어떤 목적을 위하여 중계 호 처리 소프트웨어 블록이 출력하는 디버깅용 출력문을 보고자 할 경우를 확인한 후에(단계 T1), 전체 중계선 중에서 동시에 1 개의 중계선에 해당하는 출력문만을 원하거나, 특정 루트의 중계선 중에서 동시에 1 개의 중계선에 해당하는 출력문만을 원하거나, 특정 중계선에 해당하는 출력문만을 원하거나, 모든 중계선에 대한 출력문 전부를 원하거나, 등과 같은 방식으로 희망하는 요구에 알맞게 출력 토큰 분배 방식을 설정할 수 있도록 하는 방식 설정 신호를 생성시켜 상기 중계 호 처리 소프트웨어 블록으로 전송해 준다(단계 T2).Looking at the first step (S1) in more detail with reference to the flow chart of Figure 2, when the operator or developer wants to see the debugging output statement output by the relay call processing software block for some purpose during the exchange system execution After checking (step T1), you want only the output statements corresponding to one relay line at the same time among all the relay lines, only the output statements corresponding to one relay line at the same time among the relay lines of a specific route, or only the output statements corresponding to a specific relay line, or all A method setting signal is generated and transmitted to the relay call processing software block so that the output token distribution method can be set according to the desired request in the same manner as desired for all the relay lines or the like (step T2).

그런 후, 운영 체제가 지원하는 블록별 출력 여부를 지정하는 플래그를 세팅하기 위한 프로세서 셸 프롬프트 상의 명령어를 입력함으로써(단계 T3), 상기 중계 호 처리 소프트웨어 블록의 디버깅용 출력문을 요구한다(단계 T4).Then, by inputting a command on the processor shell prompt to set a flag specifying whether output per block supported by the operating system (step T3), a debugging output statement of the relay call processing software block is requested (step T4). .

상기 제2과정(S2)을 도 3의 플로우챠트를 참고하여 조금 더 자세히 살펴보면, 상기 중계 호 처리 소프트웨어 블록에서는 새로운 중계선 호가 발생하는지를 확인하며(단계 T5), 해당 새로운 중계선 호가 발생할 때마다 해당 중계선에 출력 토큰을 분배할 수 있는지를 판단하여 해당 출력 토큰을 하나씩 할당해 준다.Looking at the second process (S2) in more detail with reference to the flowchart of Figure 3, the relay call processing software block checks whether a new relay line call occurs (step T5), each time a new relay line call occurs in the corresponding relay line Determines whether an output token can be distributed and assigns each output token one by one.

즉, 상기 제5단계(T5)에서 새로운 중계선 호의 발생을 확인하면 중계선의 전체로 분배한 토큰인 전체 토큰에 여분이 있는지를 확인하며(단계 T6), 해당 제6단계(T6)에서 전체 토큰에 여분이 있으면 해당 전체 토근의 여분의 수를 감소시킴과 동시에(단계 T7) 해당 전체 토큰을 할당시켜 준다(단계 T8).That is, when the generation of a new relay line call is confirmed in the fifth step (T5), it is checked whether there is an excess in all tokens, which are tokens distributed to the entire relay line (step T6), and in the sixth step (T6), If there is a spare, the total number of tokens is reduced (step T7), and the whole token is allocated (step T8).

여기서, 상기 제6단계(T6)에서 전체 토큰에 여분이 없으면 중계선 그룹별로 분배한 토큰인 루트별 토큰에 여분이 있는지를 확인하며(단계 T9), 해당 제9단계(T9)에서 루트별 토큰에 여분이 있으면 해당 루트별 토근의 여분의 수를 감소시킴과 동시에(단계 T10) 해당 루트별 토큰을 할당시켜 준다(단계 T11).If there is no redundancy in the entire token in the sixth step (T6), it is checked whether there is a redundancy in the token for each root which is a token distributed by the relay line group (step T9), and in the corresponding ninth step (T9) If there is a spare, the number of tokens per root is reduced (step T10) and the token for each root is allocated (step T11).

여기서, 상기 제9단계(T9)에서 루트별 토큰에 여분이 없으면 중계선별로 직접 분배한 토큰인 중계선별 토큰에 여분이 있는지를 확인하며(단계 T12), 해당 제12단계(T12)에서 중계선별 토큰에 여분이 있으면 해당 중계선별 토근의 여분의 수를 감소시킴과 동시에(단계 T13) 해당 중계선별 토큰을 할당시켜 준다(단계 T14).Here, if there is no redundancy in the tokens for each route in the ninth step (T9), it is checked whether there is an redundancy in the relays for each of the relay lines, which are tokens distributed directly by the relay lines (step T12). If there is a surplus in the network, the number of spares for the corresponding relay line is reduced (step T13) and the corresponding relay line token is allocated (step T14).

반면에, 상기 제12단계(T12)에서 중계선별 토큰에도 여분이 없으면, 즉 더 이상 여분의 토큰이 없다면, 이미 할당된 출력 토큰이 하나 이상 회수될 때까지 다른 중계선에 토큰을 분배할 수 없다(단계 T15).On the other hand, in the twelfth step T12, if there are no spares in the relay selection token, that is, no more tokens, the tokens cannot be distributed to other relay lines until one or more output tokens already allocated are recovered ( Step T15).

상기 제3과정(S3)을 도 4의 플로우챠트를 참고하여 조금 더 자세히 살펴보면, 상기 중계 호 처리 소프트웨어 블록에서는 상기 중계선 호에 출력 토큰을 가지고 있는지를 확인하며(단계 T16), 해당 제16단계(T16)에서 해당 출력 토큰을 가지고 있는 중계선 호의 디버깅용 출력문만을 운영 체제의 기능을 통해 프로세서 셸 화면으로 모두 출력해 준다(단계 T17).Referring to the third process S3 in more detail with reference to the flowchart of FIG. 4, the relay call processing software block checks whether the relay line call has an output token (step T16), and the corresponding 16th step ( In step T16), only the debugging output statements of the relay line call having the corresponding output token are output to the processor shell screen through the function of the operating system (step T17).

예를 들어, 상기 출력 토큰이 1 개뿐이라면 어떤 중계선에 대한 호의 발생에서부터 종료까지에 해당하는 만큼인 중계선 호의 라이프 타임 동안에 연속적으로 출력해 주며, 그 사이에 다른 호에 대한 디버깅용 출력은 나타나지 않게 된다.For example, if there is only one output token, it outputs continuously during the lifetime of the relay line call, which corresponds to the generation of the call to one relay line, and the debugging output for the other call does not appear in between. .

상기 제4과정(S4)을 도 5의 플로우챠트를 참고하여 조금 더 자세히 살펴보면, 상기 중계선 호가 종료되었는지를 확인하며(단계 T18), 해당 제18단계(T18)에서 중계선 호가 종료되면 해당 중계선이 출력 토큰을 가지고 있는지를 판단한다(단계 T19).Looking at the fourth process (S4) in more detail with reference to the flow chart of Figure 5, it is confirmed whether the relay line call is terminated (step T18), when the relay line call is terminated in the eighteenth step (T18), the corresponding relay line is output It is determined whether the token is held (step T19).

만약, 상기 제19단계(T19)에서 중계선이 출력 토큰을 가지고 있으면 해당 출력 토큰이 상기 전체 토큰인지를 확인하며(단계 T20), 해당 제20단계(T20)에서 해당 출력 토큰이 상기 전체 토큰이면 해당 전체 토큰의 여분의 수를 증가시킴과 동시에(단계 T21) 해당 전체 토큰을 회수한다(단계 T22).If the relay line has an output token in the 19th step (T19), check whether the corresponding output token is the full token (step T20), and if the output token is the full token in the 20th step (T20), The total number of tokens is increased (step T21) and the entire token is recovered (step T22).

여기서, 상기 제20단계(T20)에서 해당 출력 토큰이 상기 전체 토큰이 아니면 상기 루트별 토큰인지를 확인하며(단계 T23), 해당 제23단계(T23)에서 해당 출력 토큰이 상기 루트별 토큰이면 해당 루트별 토큰의 여분의 수를 증가시킴과 동시에(단계 T24) 해당 루트별 토큰을 회수한다(단계 T25).Here, if the corresponding output token in the twentieth step (T20) is not the entire token, it is determined whether the token is for each root (step T23), and if the corresponding output token is the corresponding token for the root in the twenty-third step (T23), The extra number of tokens per route is increased (step T24) and the tokens for each root are recovered (step T25).

여기서, 상기 제23단계(T23)에서 해당 출력 토큰이 상기 루트별 토큰이 아니면 상기 중계선별 토큰인지를 확인하며(단계 T26), 해당 제26단계(T26)에서 해당 출력 토큰이 상기 중계선별 토큰이면 해당 중계선별 토큰의 여분의 수를 증가시킴과 동시에(단계 T27) 해당 중계선별 토큰을 회수한다(단계 T28).Here, in the twenty-third step (T23), if the corresponding output token is not the token for each route, it is determined whether the relay selection token (step T26), and if the corresponding output token is the relay selection token in the twenty-sixth step (T26) The extra number of the relaying tokens is increased (step T27) and the relaying tokens are recovered (step T28).

이로써, 이후에 발생되는 호의 중계선이 토큰 분배 조건에 맞게 된다면 해당 토큰을 다시 할당해 주는 동작을 수행하게 된다.As a result, if the relay line of a subsequent call meets the token distribution condition, the corresponding token is reassigned.

상술한 바와 같이, 종래에는 다량의 호를 시험 중이거나 실제 서비스 중인 교환기 시스템에서는 디버깅 등의 목적으로 소프트웨어 블록의 디버깅용 출력문을 이용하기가 결코 쉽지 않으며, 디버깅 정보를 얻으려면 1 개의 호 당 상당량의 출력문을 필요로 하는데 해당 호의 양이 수 천 개의 호에 이르는 상황에서 이를 이용한 디버깅은 사실상 불가능하였다. 그러나, 본 발명에 의해 특정 호가 발생하여서부터 종료할 때까지 출력하게 되는 디버깅 출력문들을 동시에 최대 몇 개의 호에만 허용하는 기능을 부가하는데, 물론 동시 허용 개수는 실시간으로 설정이 가능하며, 전체 호 당 몇 개를 지정하는 외에도 호의 그룹(예로, 루트) 당 몇 개를 지정할 수 있고 특정 호(예로, 중계선)를 아예 지정할 수도 있으므로, 다량의 호를 처리 중인 교환기에서 호 처리 소프트웨어 블록의 디버깅용 출력문을 이용한 디버깅 정보의 수집이 실시간으로 가능케 하는 효과를 가져온다.As described above, in an exchange system that is testing a large number of calls or is in actual service, it is never easy to use debugging output statements of a software block for debugging purposes, and to obtain debugging information, a significant amount of each call is required. In the situation where you need an output statement and the number of calls reaches thousands of calls, debugging with it was virtually impossible. However, according to the present invention, the function of allowing debugging output statements to be output from the time when a specific call occurs until the end of the call is added, but the number of simultaneous allowances can be set in real time, and the number of calls per whole call can be set. In addition to specifying a number, you can specify several per group of arcs (e.g., root), and you can specify specific arcs (e.g., trunk lines) at all. The collection of debugging information has the effect of enabling it in real time.

이상과 같이, 본 발명에 의해 교환기 시스템에서 중계 호 처리 소프트웨어 블록의 디버깅용 출력문의 양을 조절함으로써 다량의 호를 처리 중인 교환기에서 호 처리 소프트웨어 블록의 디버깅용 출력문을 이용한 디버깅 정보의 수집이 실시간으로 가능케 하는 효과를 가져온다.As described above, according to the present invention, by controlling the amount of debugging output statements of the relay call processing software block in the exchange system, the collection of debugging information using the debugging output statements of the call processing software block in the exchange processing a large number of calls is performed in real time. Has the effect of enabling it.

Claims (7)

디버깅용 출력문의 디스플레이 시에 방식 설정 신호를 전송해 디버깅용 출력을 요구하는 과정과;Requesting an output for debugging by transmitting a method setting signal when the debugging output statement is displayed; 새로운 중계선 호가 발생할 때마다 해당 중계선에 출력 토큰의 분배 여부를 확인해 해당 출력 토큰을 하나씩 할당하는 과정과;Each time a new relay line call occurs, checking whether the output token is distributed to the corresponding relay line and allocating the output tokens one by one; 상기 출력 토큰을 가지고 있는 중계선 호의 디버깅용 출력문만을 프로세서 셸 화면으로 출력해 주는 과정과;Outputting only the debugging output statement of the relay line call having the output token to a processor shell screen; 상기 중계선 호가 종료할 때마다 상기 출력 토큰을 하나씩 회수하는 과정과;Recovering the output tokens one by one each time the relay line call ends; 운용자에 의해 상기 디버깅용 출력문들을 실시간으로 살펴보거나 해당 내용을 저장했다가 정상 처리 여부를 확인하는 과정을 포함하여 이루어진 것을 특징으로 하는 교환기 시스템에서 디버깅용 출력문 조절 방법.Method for adjusting the output statement for debugging in the exchange system, characterized in that by the operator to look at the debugging output statements in real time or to store the contents and confirm whether or not normal processing. 제1항에 있어서,The method of claim 1, 상기 방식 설정 신호는 전체 중계선 중에서 동시에 1 개의 중계선에 해당하는 출력문만을 원하거나, 특정 루트의 중계선 중에서 동시에 1 개의 중계선에 해당하는 출력문만을 원하거나, 특정 중계선에 해당하는 출력문만을 원하거나, 모든 중계선에 대한 출력문 전부를 원하는 방식 요구에 대응하는 상기 출력 토큰 분배 방식을 설정하도록 하는 것을 특징으로 하는 교환기 시스템에서 디버깅용 출력문 조절 방법.The method setting signal wants only the output statements corresponding to one relay line at the same time among all the relay lines, only the output statements corresponding to one relay line at the same time among the relay lines of a specific route, only the output statements corresponding to the specific relay lines, or to all the relay lines. And setting the output token distribution scheme corresponding to the desired scheme request for all of the output statements. 제1항에 있어서,The method of claim 1, 상기 디버깅용 출력 요구 과정은 상기 디버깅용 출력문을 보고자 할 경우를 확인하여 상기 방식 설정 신호를 생성시켜 전송하는 단계와;The debugging output request process may include: identifying a case where the debugging output statement is to be viewed and generating and transmitting the scheme setting signal; 블록별 출력 여부 지정 플래그를 세팅하기 위한 프로세서 셸 프롬프트 상의 명령어를 입력하는 단계를 포함하여 이루어진 것을 특징으로 하는 교환기 시스템에서 디버깅용 출력문 조절 방법.And a step of inputting a command on a processor shell prompt to set an output flag for each block. 제1항에 있어서,The method of claim 1, 상기 출력 토큰 할당 과정은 새로운 중계선 호가 발생하였는지를 확인하는 단계와;The output token allocation process may include checking whether a new relay line call has occurred; 상기 중계선 호의 전체 토큰 여분을 확인하여 해당 전체 토근을 할당함과 동시에 여분의 수를 감소시키는 단계와;Identifying the total token redundancy of the relay line call and allocating the corresponding full token and reducing the number of redundancy; 상기 중계선 호의 루트별 토큰 여분을 확인하여 해당 루트별 토큰을 할당함과 동시에 여분의 수를 감소시키는 단계와;Identifying the token redundancy for each route of the relay line call, allocating tokens for the corresponding route and simultaneously reducing the number of redundancy tokens; 상기 중계선 호의 중계선별 토큰 여분을 확인하여 해당 중계선별 토큰을 할당함과 동시에 여분의 수를 감소시키는 단계를 포함하여 이루어진 것을 특징으로 하는 교환기 시스템에서 디버깅용 출력문 조절 방법.The method of controlling the output statement for debugging in an exchange system comprising the step of identifying the relay tokens of each relay line of the relay line call and allocating the corresponding relay line tokens and reducing the number of the redundant lines. 제4항에 있어서,The method of claim 4, wherein 상기 중계선 호에 더 이상 여분의 토큰이 없는 경우에 기할당된 출력 토큰이 하나 이상 회수될 때까지 다른 중계선에 토큰을 분배하지 않는 단계를 더 포함하여 이루어진 것을 특징으로 하는 교환기 시스템에서 디버깅용 출력문 조절 방법.If the relay line no longer has an extra token, further comprising the step of distributing the token to another relay line until one or more pre-allocated output tokens are recovered. Way. 제1항에 있어서,The method of claim 1, 상기 디버깅용 출력문 출력 과정은 상기 중계선 호에 상기 출력 토큰의 유무를 확인하는 단계와;The debugging output statement outputting step may include: checking the presence or absence of the output token on the relay line call; 상기 출력 토큰을 가지고 있는 중계선 호의 디버깅용 출력문만을 운영 체제의 기능을 통해 라이프 타임 동안에 프로세서 셸 화면으로 출력하는 단계를 포함하여 이루어진 것을 특징으로 하는 교환기 시스템에서 디버깅용 출력문 조절 방법.And outputting only the debugging output statement of the relay line call having the output token to a processor shell screen during a lifetime through a function of an operating system. 제1항에 있어서,The method of claim 1, 상기 출력 토큰 회수 과정은 상기 중계선 호의 종료를 확인하는 단계와;The output token recovery process may include: checking an end of the relay line call; 상기 중계선 호에 전체의 출력 토큰이 있는지를 확인해 해당 전체 토큰을 회수함과 동시에 여분의 수를 증가시키는 단계와;Checking whether there is a total output token on the relay line call and retrieving the total token and increasing an extra number; 상기 중계선 호에 루트별의 출력 토큰이 있는지를 확인해 해당 루트별 토큰을 회수함과 동시에 여분의 수를 증가시키는 단계와;Checking whether there is an output token for each route in the relay line call and retrieving the corresponding token for each route and increasing an extra number; 상기 중계선 호에 중계선별의 출력 토큰이 있는지를 확인해 해당 중계선별 토큰을 회수함과 동시에 여분의 수를 증가시키는 단계를 포함하여 이루어진 것을 특징으로 하는 교환기 시스템에서 디버깅용 출력문 조절 방법.Checking whether there is an output token for each relay line in the relay line call, recovering the corresponding relay line token and increasing the number of spares.
KR1019980055334A 1998-12-16 1998-12-16 How to adjust output statements for debugging in the exchange system KR100279931B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980055334A KR100279931B1 (en) 1998-12-16 1998-12-16 How to adjust output statements for debugging in the exchange system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980055334A KR100279931B1 (en) 1998-12-16 1998-12-16 How to adjust output statements for debugging in the exchange system

Publications (2)

Publication Number Publication Date
KR20000039867A KR20000039867A (en) 2000-07-05
KR100279931B1 true KR100279931B1 (en) 2001-02-01

Family

ID=19563094

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980055334A KR100279931B1 (en) 1998-12-16 1998-12-16 How to adjust output statements for debugging in the exchange system

Country Status (1)

Country Link
KR (1) KR100279931B1 (en)

Also Published As

Publication number Publication date
KR20000039867A (en) 2000-07-05

Similar Documents

Publication Publication Date Title
KR100289628B1 (en) Resource management method and apparatus for information processing system of multitasking facility
US7080377B2 (en) Method for effective utilizing of shared resources in computerized system
CN109886693B (en) Consensus realization method, device, equipment and medium for block chain system
CN110389843B (en) Service scheduling method, device, equipment and readable storage medium
US5291427A (en) Method for assisting the development of a set of communicating automata
CN109412967B (en) System flow control method and device based on token, electronic equipment and storage medium
KR100279931B1 (en) How to adjust output statements for debugging in the exchange system
CN112395568A (en) Interface authority configuration method, device, equipment and storage medium
EP0137189B1 (en) A method and an apparatus for outputting an operation guidance message to terminals in a computer system
CN112799832A (en) Memory allocation control method, device, equipment and storage medium
CN113806594A (en) Business data processing method, device, equipment and storage medium based on decision tree
JP2006268168A (en) Vector instruction management circuit, vector processor, vector instruction management method, vector processing method, vector instruction management program, and vector processing program
CA2175970C (en) Information processing system for performing mutual control of input/output devices among a plurality of clusters
CN111400060A (en) Equipment linkage method, device, server and medium
CN112788141B (en) File downloading method, device, equipment and computer readable storage medium
CN112000449A (en) Asynchronous task processing method and system
US7711096B2 (en) Telecommunication server apparatus
CN116645263B (en) Graphic processing unit
US6163833A (en) Memory managing method for use in a data communications system
KR920010412B1 (en) Hardware installing testing program
JPH0230534B2 (en)
CN113626181A (en) Memory cleaning method, device, equipment and readable storage medium
CN115623044A (en) Information interaction method, device, equipment and storage medium based on MQTT protocol
JPS6158046A (en) Register assigning system
CN115456580A (en) Resource auditing method and system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20081031

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee