KR20000060232A - Method for measuring load rate of call control processor in base station controller of digital mobile communication system - Google Patents

Method for measuring load rate of call control processor in base station controller of digital mobile communication system Download PDF

Info

Publication number
KR20000060232A
KR20000060232A KR19990008367A KR19990008367A KR20000060232A KR 20000060232 A KR20000060232 A KR 20000060232A KR 19990008367 A KR19990008367 A KR 19990008367A KR 19990008367 A KR19990008367 A KR 19990008367A KR 20000060232 A KR20000060232 A KR 20000060232A
Authority
KR
South Korea
Prior art keywords
counting value
cpu
counting
ccp
value
Prior art date
Application number
KR19990008367A
Other languages
Korean (ko)
Inventor
한원준
임병민
Original Assignee
김영환
현대전자산업 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 김영환, 현대전자산업 주식회사 filed Critical 김영환
Priority to KR19990008367A priority Critical patent/KR20000060232A/en
Publication of KR20000060232A publication Critical patent/KR20000060232A/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PURPOSE: A method for measuring a using rate of a call control processor(CCP) in a digital mobile communication base station controller(BSC) system is provided to accurately measure the using rate of the CCP independent of a time error by obtaining an entire counting value during a measurement period using a function which returns a counting value of all items measured by an OS(Operating System) of a CCP at every 40 microsecond to use an actual value when measuring the using rate of the CCP. CONSTITUTION: A function loadcheck1() which returns a counting value of all items measured by CROS(Concurrent Real-time Operating System) at every 40 microsecond is called, and a counting value according to an item is returned and the returned counting value is stored in a buffer(ST11). If 10 seconds are passed after the function loadcheck1() is called, the function loadcheck1() is called again and a counting value according to an item is returned and the returned counting value is stored in the buffer(ST12,ST13). A difference value between the counting value returned by the function accessed ahead and the counting value returned by the function accessed lastly is calculated(ST14,ST15). A rate between a counting value to an idle state of a CPU among counting values according to items and the counted entire counting value is calculated for obtaining an idle rate of the CPU, and a using rate of the CPU is calculated using the idle rate of the CPU and a rate between the counting value according to items and the entire counting value is calculated for calculating a using rate according to items(ST16-ST18).

Description

디지털 이동통신 제어국 시스템의 호처리 프로세서 부하율 측정 방법{ Method for measuring load rate of call control processor in base station controller of digital mobile communication system }Method for measuring load rate of call control processor in base station controller of digital mobile communication system}

본 발명은 디지털 이동통신 시스템(digital mobile communication system)에서 운영 중인 제어국(Base Station Controller; BSC)의 호처리 프로세서(Call Control Processor; CCP) 부하율 측정에 관한 것으로, 특히 CCP의 부하율 계산 시 발생될 수 있는 오차를 최소화하여 정확하고 신뢰성있게 CPP의 부하율을 측정하도록 한 디지털 이동통신 제어국 시스템의 호처리 프로세서 부하율 측정 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to call rate processor (CCP) load rate measurement of a base station controller (BSC) operating in a digital mobile communication system. The present invention relates to a method for measuring a call processor load ratio of a digital mobile communication control station system, which minimizes possible errors and accurately and reliably measures the load ratio of a CPP.

일반적으로 디지털 이동통신 시스템은 가입자가 이동하거나 정지하는 중에 통신 서비스를 제공받을 수 있도록 하는 통신 시스템이다. 이러한 디지털 이동통신 시스템은 이동하는 이동국과의 무선 접속을 담당하는 기지국(Base Transceiver Station; BTS)과; 상기 BTS를 관리하는 제어국(BSC)과; 상기 BTS와 상기 BSC를 운용관리 및 유지보수하는 기지국관리부(Base Station Manager; BSM)와; 상기 BSC로부터의 이동통신 서비스 신호에 대해 교환 기능을 수행하여 각 가입자에게 이동통신 서비스를 제공하는 교환국(Mobile Switching Center; MSC)으로 구성된다.In general, a digital mobile communication system is a communication system that allows a subscriber to receive a communication service while moving or stopping. Such a digital mobile communication system includes a base transceiver station (BTS) for wireless connection with a mobile mobile station; A control station (BSC) that manages the BTS; A base station manager (BSM) which manages and maintains the BTS and the BSC; Mobile Switching Center (MSC) that performs a switching function for the mobile communication service signal from the BSC to provide a mobile communication service to each subscriber.

이와 같은 일반적인 디지털 이동통신 시스템에서 시스템의 운용 유지 보수 및 시스템 설계를 위한 성능 분석 및 통계 데이터의 수집 및 출력은 각 BSC에서 수행된다.In such a general digital mobile communication system, performance analysis and statistical data collection and output are performed in each BSC for system operation maintenance and system design.

즉 각 BSC내 CCP에는 병렬 실시간 운영 체제(Concurrent Real-time Operating System; CROS)가 운영되고 있으며, 이 CROS의 운영으로 통계 블럭 소프트웨어가 실행된다. 이 CCP 통계 블럭 소프트웨어는 10분마다 수집된 통계 데이터를 전송 받아 수집하고 출력한다. 이러한 통계 데이터의 최소 수집단위는 10분이며, CCP 부하율 측정도 그 중의 하나이다. CCP의 부하율 계산은 CROS에서 제공하는 함수를 이용하여 기본적인 데이터를 구한 다음 그 데이터를 기초로 부하율을 계산한다.In other words, a parallel real-time operating system (CROS) is operated in the CCP in each BSC, and statistical block software is executed by the operation of the CROS. The CCP statistics block software receives, collects and outputs the collected statistical data every 10 minutes. The minimum collection unit for this statistical data is 10 minutes, and the CCP load factor measurement is one of them. CCP load factor calculation uses the function provided by CROS to get basic data and then calculates the load factor based on the data.

이러한 CCP 부하율 계산은, CROS에서 제공하는 함수를 이용하면 CCP 유휴상태(idle state)를 측정할 수 있고, 이 CCP 유휴 상태 측정값을 이용하여 CCP의 부하값을 계산할 수 있게 되어 CCP의 부하율을 계산한다. 여기서 CCP 유휴 상태는 CCP의 CPU(Central Processing Unit)가 사용가능한 상태이나 실제적인 작업이 없는 상태를 의미하며, 계산처리 시간과 데이터 입출력 처리 시간의 차이 등으로 CPU의 어느 한쪽이 대기 상태에 있는 것을 의미한다.In the CCP load factor calculation, the CCP idle state can be measured using a function provided by CROS, and the CCP load value can be calculated using the CCP idle state measurement value to calculate the CCP load factor. do. In this case, the CCP idle state means that the CPU (Central Processing Unit) of the CCP is available or there is no actual work, and that one of the CPUs is in a standby state due to a difference in computation processing time and data input / output processing time. it means.

이러한 CCP 부하율을 계산하기 위한 종래의 방법을 설명하면 다음과 같다.A conventional method for calculating such a CCP load ratio is described below.

먼저 CCP에서 운영되고 있는 CROS는 loadcheck() 함수를 제공하는데, 이loadcheck() 함수는 현재 시간까지 증가된 CPU idle 카운팅값 리턴(return)한다. 그래서 CCP 통계 블럭은 이 loadcheck() 함수를 호출하여 지금까지 증가된 CPU idle 카운팅값을 리턴받아 저장하고, 측정주기인 10초가 경과되면 다시 이 loadcheck() 함수를 호출하여 다시 증가된 CPU idle 카운팅값을 리턴받는다. 이렇게 얻은 2개의 idle 카운팅값을 이용하여 즉, 두번째 idle 카운팅값에서 첫번째 idle 카운팅값을 감산하여 10초 동안의 순수 idle 카운팅값을 구한다.First, CROS running in CCP provides a loadcheck () function, which returns the CPU idle counting value incremented up to the current time. Therefore, the CCP statistics block calls this loadcheck () function and returns and saves the CPU idle counting value that has been increased so far.After 10 seconds, the measurement cycle, this loadcheck () function is called again to increase the CPU idle counting value. Is returned. Using these two idle counting values, that is, subtracting the first idle counting value from the second idle counting value, the pure idle counting value for 10 seconds is obtained.

CCP에서 운영되는 CROS는 40㎲ 마다 CCP의 CPU 상태를 측정하여 그 때의 CPU 상태가 어떤 작업을 수행하기 위해 사용되고 있는지 아니면 idle 상태인지를 체크하여, idle 상태일 때만 idle 카운팅값을 1씩 증가시키는데, 이 loadcheck() 함수는 이 카운팅값을 return 시킨다. 그래서 CCP 통계 블럭에서 이 loadcheck() 함수를 호출하여 return 받을 수 있는 이론상의 최대 카운팅값은 40㎲마다 1번 카운팅되므로 1초(second)에는 25000가 되고, 10초에는 250000가 된다.CROS operating in CCP measures CPU status of CCP every 40㎲ and checks whether CPU status at that time is used to perform work or idle status, and increases idle counting value by 1 only when idle status. , This loadcheck () function returns this counting value. Therefore, the theoretical maximum counting value that can be returned by calling this loadcheck () function in CCP statistics block is counted once every 40 ms, so it becomes 25000 in 1 second and 250000 in 10 seconds.

이렇게 CCP 통계 블럭은 10초 동안의 idle 카운팅값과 10초 동안 CROS가 최대로 카운팅할 수 있는 이론값을 이용하여 CCP 부하율을 계산한다. 그래서In this way, the CCP statistics block calculates the CCP load factor using the idle count value for 10 seconds and the theoretical value that CROS can count maximum for 10 seconds. so

CPU idle rateCPU idle rate

= (10초동안 순수 idle 카운팅값 / 250000(10초 동안 총 카운팅값) )*100= (Pure idle counting value for 10 seconds / 250000 (total counting value for 10 seconds)) * 100

가 되고,Become,

CPU using rate(CPU load rate) = 100 - CPU idle rateCPU using rate (CPU load rate) = 100-CPU idle rate

가 된다.Becomes

그러나 이와 같이 CCP 통계 블럭에서 10초마다 loadcheck() 함수를 호출하고, 호출된 함수에서 리턴되는 카운팅값을 이용하여 10초동안의 CPU idle rate을 계산하는 종래의 CCP 부하율 측정 방법은 이론적인 값을 이용하고 시간적인 오차가 발생될 수 있으므로 정확한 CCP 부하율을 측정하기가 어렵게 된다. 즉 CROS OS(Operating System; 운영체제)가 실제 40㎲마다 CPU 상태를 측정하여 10초에 250000을 측정하는지, 그리고 CCP 통계 블럭이 정확히 10초 마다 loadcheck() 함수를 호출(call)하는지, 그리고 loadcheck() 함수가 수행되는 시간은 어느 정도 소요되는지 등과 같은 여러가지 시간적인 오차 발생 여지가 많다. 따라서 정확한 CCP 부하율 측정이 어렵게 되며, 시스템의 성능 분석 및 장기 설계에 필요한 성능 데이터의 신뢰성이 저하되는 문제점을 초래하였다.However, the conventional CCP load ratio measurement method that calls the loadcheck () function every 10 seconds in the CCP statistics block and calculates the CPU idle rate for 10 seconds by using the counting value returned from the called function has a theoretical value. It is difficult to measure the exact CCP load factor because it can be used and time error can occur. That is, whether the CROS OS (Operating System) measures the CPU state every 40 ms, measuring 250000 in 10 seconds, and whether the CCP statistics block calls the loadcheck () function exactly every 10 seconds, and loadcheck ( There is a lot of time for error, such as how long it takes to execute a function. Therefore, it is difficult to accurately measure the CCP load ratio, and the reliability of performance data required for performance analysis and long-term design of the system is deteriorated.

또한 loadcheck() 함수는 CPU idle 카운팅값만을 리턴하므로, CCP의 전체 부하율만을 측정할 수 있고, CCP CPU의 세부적인 항목의 부하율은 측정할 수 없었다.In addition, the loadcheck () function returns only the CPU idle counting value, so it can measure only the total load factor of the CCP, and cannot measure the load factor of the detailed items of the CCP CPU.

이에 본 발명은 상기와 같은 종래의 제반 문제점을 해소하기 위해 제안된 것으로, 본 발명의 목적은Therefore, the present invention has been proposed to solve the conventional problems as described above, the object of the present invention is

CCP의 OS(Operating System; 운영체제)가 40㎲마다 측정하는 모든 항목의 카운팅값을 리턴하는 함수를 이용하여 측정 주기 동안의 전체 카운팅값을 얻음으로써 이론적인 값이 아닌 실제적인 값을 CCP 부하율 측정에 사용하므로 정확한 CCP 부하율 측정이 이루어지도록 한 디지털 이동통신 제어국 시스템의 호처리 프로세서 부하율 측정 방법을 제공하는 데 있다.By using the function that returns the counting value of every item measured by the operating system (OS) of the CCP every 40 ms, the actual value, not the theoretical value, is used to determine the CCP load factor measurement. The present invention provides a method for measuring call processing processor load rate of a digital mobile communication control station system, which enables accurate CCP load rate measurement.

본 발명의 다른 목적은 CCP의 OS(Operating System; 운영체제)가 40㎲마다 측정하는 모든 항목의 카운팅값을 리턴하는 함수를 이용하여 CCP의 전체 부하율만을 측정하는 것이 아니라 CCP의 세부적인 항목 부하율을 측정할 수 있도록 한 디지털 이동통신 제어국 시스템의 호처리 프로세서 부하율 측정 방법을 제공하는 데 있다.Another object of the present invention is not to measure the total load factor of the CCP by using a function that returns the counting value of all items measured by the operating system (OS) of the CCP every 40 ms, but to measure the detailed item load ratio of the CCP. The present invention provides a method for measuring a call processor load ratio of a digital mobile communication control system.

상기와 같은 목적을 달성하기 위해 본 발명에 의한 디지털 이동통신 제어국 시스템의 CCP 부하율 측정 방법은,In order to achieve the above object, the CCP load factor measuring method of the digital mobile communication control system according to the present invention,

CCP의 운영체제가 40㎲마다 측정하는 모든 항목의 카운팅값을 리턴하는 함수를 호출하여 항목별 카운팅값을 리턴(return)받아 버퍼에 저장하는 제1 단계와;A first step of calling a function that returns a counting value of all items measured by the operating system of the CCP every 40 ms and receiving the counting value of each item and storing the counting value in the buffer;

상기 함수 호출 후 10초가 경과되면 다시 함수를 호출하여 항목별 카운팅값을 리턴받아 버퍼에 저장하는 제2 단계와;A second step of returning a counting value for each item by calling the function again after 10 seconds have elapsed after the function call;

상기 먼저 호출된 함수에 의해 리턴된 항목별 카운팅값과 상기 나중에 호출된 함수에 의해 리턴된 항목별 카운팅값 간의 차이값을 계산하고, 계산된 항목별 카운팅 차이값을 합하여 10초 동안의 전체 카운팅값을 계산하는 제2 단계와;Compute the difference value between the item counting value returned by the first called function and the item counting value returned by the later called function, and add the calculated counting difference value to the total counting value for 10 seconds. Calculating a second step;

상기 항목별 카운팅값 중 상기 CCP의 CPU(Central Processing Unit) 유휴(idle) 상태에 대한 카운팅값과 상기 계산된 전체 카운팅값 간의 비율을 계산하여 CPU의 유휴율(idle rate)을 얻고, 이 CPU idle rate을 이용하여 CPU 부하율(using rate)을 계산하며, 상기 항목별 카운팅값과 상기 전체 카운팅값 간의 비율을 계산하여 항목별 부하율을 계산하는 제3 단계를 수행함을 그 방법적 구성상의 특징으로 한다.The idle rate of the CPU is obtained by calculating a ratio between a counting value for the central processing unit (CPU) idle state of the CCP and the calculated total counting value among the counting values for each item, and calculating the CPU idle. The method is characterized by calculating a CPU load rate using a rate, and performing a third step of calculating a load ratio for each item by calculating a ratio between the counting value for each item and the total counting value.

상기 함수에 의해 리턴되는 모든 항목의 카운팅값은,The counting value of all items returned by the function is

상기 CCP의 운영체제가 40㎲마다 상기 CPU의 상태 체크시 상기 CPU가 idle 상태이면 카운팅되는 카운팅값(IDLE)과, 상기 CPU가 상기 운용체제의 수행 상태이면 카운팅되는 카운팅값(CROS)과, 상기 CPU가 CCP 내부의 각 프로세서간 통신 또는 각 프로세스(process)간 통신을 수행하는 IPC(Inter Processor Communication)상태이면 카운팅되는 카운팅값(IPC)과, 상기 CPU가 운용자 임의 명령을 수행하는 상태이면 카운팅되는 카운팅값(USER)과, 상기 CPU가 상기 CCP의 데이터베이스를 액세스 및 처리하는 상태이면 카운팅되는 카운팅값(DBKG), 상기 CPU가 기지국, 보코더(vocoder) 등에서 수행되어야 할 프로그램의 로딩(loading) 상태이면 카운팅되는 카운팅값(CPLX)과, 상기 CPU가 호처리 기능을 수행하는 상태이면 카운팅되는 카운팅값(CCOX)과, 상기 CPU가 BSC 전체의 상태 관리 기능을 수행하는 상태이면 카운팅되는 카운팅값(CSHX)과, 장애 관리 수행 상태이면 카운팅되는 카운팅값(CFMX), 각 디바이스(device) 테스트(test) 상태이면 카운팅되는 카운팅값(CDIAX)과, 자원 관리 상태이면 카운팅되는 카운팅값(CRAX) 및 형상 관리 상태이면 카운팅되는 카운팅값(CRMX)임을 특징으로 한다.A counting value IDLE that is counted when the CPU is idle when the operating system of the CCP checks the state of the CPU every 40 ms, a counting value CROS that is counted when the CPU is in the running state of the operating system, and the CPU Is a counting value (IPC) that is counted when the interprocessor communication or interprocess communication is performed within the CCP, and the counting counted when the CPU executes an operator arbitrary command. Value USER, a counting value DBKG counted if the CPU accesses and processes the database of the CCP, and counting if the CPU is loading a program to be performed in a base station, vocoder, etc. A counting value CPLX, a counting value CCOX counted if the CPU performs a call processing function, and a CPU performing a state management function of the entire BSC. Counting value (CSHX) if counting state, counting value (CFMX) counting if fault management is performed, counting value (CDIAX) counting if each device test state, counting counting if resource management state The counting value CRAX and the shape management state are characterized in that the counting value CRMX.

상기 CPU 부하율(using rate) 계산 방법은, 100에서 상기 계산된 CPU idle rate을 감산하는 것을 특징으로 한다.The CPU using rate calculation method may be performed by subtracting the calculated CPU idle rate from 100.

상기 CPU 부하율(using rate) 계산 방법은, 상기 계산된 각 항목의 부하율 중에서 CPU idle rate을 제외한 모든 항목의 부하율을 합하는 것을 특징으로 한다.The CPU using rate calculation method may include adding the load rates of all items except the CPU idle rate among the calculated load rates of each item.

도1은 본 발명에 적용되는 함수를 이용하여 항목별 카운팅값을 구하는 방법을 보인 도면,1 is a view showing a method for obtaining a counting value for each item using a function applied to the present invention;

도2는 본 발명에 의한 디지털 이동통신 제어국 시스템의 호처리 프로세서 부하율 측정 방법을 보인 흐름도.2 is a flowchart showing a method for measuring a call processor load ratio in a digital mobile communication control station system according to the present invention;

이하, 상기와 같은 본 발명 디지털 이동통신 제어국 시스템의 CCP 부하율 측정 방법을 첨부한 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, the CCP load ratio measuring method of the digital mobile communication control system according to the present invention will be described in detail with reference to the accompanying drawings.

종래의 CCP 부하율 측정 방법은 CPU idle 카운팅값만을 리턴하는 loadcheck() 함수를 이용했지만 본 발명에 의한 CCP 부하율 측정 방법은 loadcheck1() 함수를 이용한다. CCP의 CPU는 총 12개의 상태를 가질 수 있으며, 일정 시간동안은 반드시 한 상태에 머물러 있다가 다른 상태로 천이된다. 따라서 40㎲마다 CPU의 상태를 체크하는 CCP의 OS는 그때의 CPU 해당 상태에 대한 카운팅값을 카운팅(counting)한다. 그러므로 CCP의 OS 즉, CROS는 40㎲마다 12 항목 중 반드시 한 항목에 대한 카운팅값을 카운팅하게 된다. 그리고 loadcheck1() 함수는 모든 항목에 대한 카운팅값을 리턴한다.The conventional CCP load factor measurement method uses a loadcheck () function that returns only a CPU idle counting value, but the CCP load factor measurement method according to the present invention uses a loadcheck1 () function. The CPU of a CCP can have a total of 12 states, and must stay in one state for a certain time and then transition to another state. Therefore, the OS of the CCP, which checks the state of the CPU every 40 ms, counts the counting value for the corresponding CPU state at that time. Therefore, the OS of the CCP, or CROS, counts a counting value for one of 12 items every 40 ms. The loadcheck1 () function returns the counting value for all items.

여기서 loadcheck1() 함수에서 리턴하는 항목의 카운팅값을 설명하면, 40㎲마다 CROS가 CCP의 CPU 상태를 측정할 때 CPU가 idle 상태이면 카운팅되는 카운팅값이 IDLE이다. 그리고 CROS는 CPU가 CROS의 수행 상태이면 카운팅되는 카운팅값이 고, IPC는 CPU가 CCP 내부의 각 프로세서간 통신 또는 각 프로세스(process)간 통신을 수행하는 IPC(Inter Processor Communication)상태이면 카운팅되는 카운팅값이다. 그리고 USER는 CPU가 운용자 임의 명령을 수행하는 상태이면 카운팅되는 카운팅값, DBKG는 CPU가 CCP의 데이터베이스를 액세스 및 처리하는 상태이면 카운팅되는 카운팅값, CPLX는 CPU가 기지국, 보코더(vocoder) 등에서 수행되어야 할 프로그램의 로딩(loading) 상태이면 카운팅되는 카운팅값, CCOX는 CPU가 호처리 기능을 수행하는 상태이면 카운팅되는 카운팅값, CSHX는 CPU가 BSC 전체의 상태 관리 기능을 수행하는 상태이면 카운팅되는 카운팅값, CFMX는 장애 관리 수행 상태이면 카운팅되는 카운팅값, CDIAX는 각 디바이스(device) 테스트(test) 상태이면 카운팅되는 카운팅값, CRAX는 자원 관리 상태이면 카운팅되는 카운팅값, CRMX는 형상 관리 상태이면 카운팅되는 카운팅값이다.Here, the counting value of the item returned from the loadcheck1 () function is described. If the CPU is idle when CROS measures the CPU status of the CCP every 40 ms, the counting value counted is IDLE. CROS is a counting value that is counted when the CPU is in the CROS execution state, and IPC is counted when the CPU is in the interprocessor communication (IPC) state in which the CPU performs inter-processor communication or inter-process communication within the CCP. Value. USER is a counting value that is counted when the CPU executes an operator's arbitrary command, DBKG is a counting value that is counted when the CPU accesses and processes the database of the CCP, and CPLX is a CPU that must be performed at a base station or vocoder. Counting value to be counted when the program to be loaded is counted, CCOX counting value to be counted if the CPU is performing call processing function, CSHX is counting value to be counted if the CPU is to perform state management function of the entire BSC. CFMX is the counting value counted if the failure management is performed, CDIAX is the counting value counted for each device test state, CRAX is the counting value counted for the resource management state, and CRMX is counted if the configuration management status is counted. Counting value.

그래서 CCP의 CPU는 상기와 같은 상태 중 어느 순간에는 반드시 하나의 상태가 되며, 40㎲마다 CPU의 상태를 체크하는 CROS는 상태 체크시마다 12개 항목 카운팅값 중 반드시 하나의 카운팅값을 카운팅하게 된다. 그리하여 모든 항목의 카운팅값을 리턴하는 loadcheck1() 함수에 의해 리턴값을 이용하여 특정 측정 주기동안의 전체 카운팅값을 계산할 수 있다.Therefore, the CPU of the CCP is necessarily one state at any moment in the above state, and CROS, which checks the state of the CPU every 40 ms, counts one counting value among 12 item counting values every time the state is checked. Thus, the loadcheck1 () function, which returns the counting value of all items, can be used to calculate the total counting value for a particular measurement period.

도2는 본 발명에 의한 디지털 이동통신 제어국 시스템의 CCP 부하율 측정 방법을 보인 흐름도이다.2 is a flowchart illustrating a method of measuring a CCP load ratio of a digital mobile communication control station system according to the present invention.

도시된 바와 같이, CROS가 40㎲마다 측정한 모든 항목의 카운팅값을 리턴하는 함수 loadcheck1()를 호출하여 항목별 카운팅값을 리턴받아 버퍼에 저장하는 제1 단계(ST11)와; 상기 loadcheck1() 함수 호출 후 10초가 경과되면 다시 loadcheck1() 함수를 호출하여 항목별 카운팅값을 리턴받아 버퍼에 저장하는 제2 단계(ST12,ST13)와; 상기 먼저 호출된 함수에 의해 리턴된 항목별 카운팅값과 상기 나중에 호출된 함수에 의해 리턴된 항목별 카운팅값 간의 차이값을 계산하고, 계산된 항목별 카운팅 차이값을 합하여 10초 동안의 전체 카운팅값을 계산하는 제2 단계(ST14,ST15)와; 상기 항목별 카운팅값 중 CPU의 idle 상태에 대한 카운팅값과 상기 계산된 전체 카운팅값간의 비율을 계산하여 CPU의 idle rate을 얻고, 이 CPU idle rate을 이용하여 CPU using rate을 계산하며, 상기 항목별 카운팅값과 상기 전체 카운팅값간의 비율을 계산하여 항목별 부하율을 계산하는 제3 단계(ST16-ST18)를 수행한다.As shown, a first step (ST11) of calling the function loadcheck1 () that returns the counting value of all items measured by CROS every 40 ms and receiving the counting value for each item in a buffer; A second step (ST12, ST13) of returning a counting value for each item by calling the loadcheck1 () function again after 10 seconds have elapsed after the call of the loadcheck1 () function; Compute the difference value between the item counting value returned by the first called function and the item counting value returned by the later called function, and add the calculated counting difference value to the total counting value for 10 seconds. Calculating second steps ST14 and ST15; The idle rate of the CPU is obtained by calculating a ratio between the counting value for the idle state of the CPU and the calculated total counting value among the counting values for each item, and calculating the CPU using rate using the CPU idle rate. A third step (ST16-ST18) is performed to calculate a load factor for each item by calculating a ratio between a counting value and the total counting value.

이와 같은 본 발명에 의한 디지털 이동통신 제어국 시스템의 CCP 부하율 측정 방법을 설명하면 다음과 같다.Referring to the method of measuring the CCP load ratio of the digital mobile communication control station system according to the present invention as follows.

먼저, CROS가 40㎲마다 측정한 모든 항목의 카운팅값을 리턴하는 함수 loadcheck1()를 호출하여 리턴값을 받아 버퍼에 저장한다(ST11). 이때 리턴받는 항목별 카운팅값은 IDLE, CROS, IPC, USER, DBDG, CPLX, CCOX. CSHX, CFMX, CDIAX, CRAX, CRMX 이다. 그리고 loadcheck1() 함수가 호출된 시각으로부터 측정 주기인 10초가 경과되는지의 여부를 10초 타이머(timer)를 이용하여 검사하고 있다가 10초가 경과되면(ST12) 다시 loadcheck1() 함수를 호출한다. 그래서 각 항목별 카운팅값을 또 리턴받아 버퍼에 저장한다(ST13). 이때 리턴되는 항목은 바로 전에 리턴받았던 항목과 동일하다. 10초동안 CROS는 CPU의 상태를 40㎲ 마다 측정하여 해당 항목의 카운팅값을 1씩 증가시킨다.First, CROS calls the function loadcheck1 () which returns the counting value of all items measured every 40 ms and stores the return value in the buffer (ST11). The counting value for each item returned is IDLE, CROS, IPC, USER, DBDG, CPLX, CCOX. CSHX, CFMX, CDIAX, CRAX, CRMX. After checking whether 10 seconds, which is a measurement period, has elapsed from the time when the loadcheck1 () function is called, it is checked using a 10 second timer. After 10 seconds (ST12), the loadcheck1 () function is called again. Thus, the counting value of each item is returned and stored in the buffer (ST13). In this case, the returned item is the same as the one that was just returned. For 10 seconds, CROS measures the status of the CPU every 40 ms and increases the counting value of the corresponding item by one.

그런 후 CCP 통계 블럭은 10초 동안 카운팅된 각 항목별 카운팅값을 계산한다. 이때 먼저 호출된 loadcheck1() 함수에 의해 리턴된 항목별 카운팅값과 10 초 후에 호출된 loadcheck1() 함수에 의해 리턴된 항목별 카운팅값간의 차이값을 계산한다. 즉 다음과 같이 항목별 카운팅 차이값을 계산한다(ST14).The CCP statistics block then calculates the counting value for each item counted for 10 seconds. At this time, the difference value between the item counting value returned by the loadcheck1 () function called first and the item counting value returned by the loadcheck1 () function called 10 seconds later is calculated. That is, the counting difference value for each item is calculated as follows (ST14).

첫번째 리턴값 - 10초 후 리턴값 = 10초동안 카운팅된 값First return value-Return value after 10 seconds = value counted for 10 seconds

F_IDLE - S_IDLE = IDLEF_IDLE-S_IDLE = IDLE

F_CROS - S_CROS = CROSF_CROS-S_CROS = CROS

F_IPC - S_IPC = IPCF_IPC-S_IPC = IPC

F_USER - S_USER = USERF_USER-S_USER = USER

F_DBKG - S_DBKG = DBKGF_DBKG-S_DBKG = DBKG

F_CPLX - S_CPLX = CPLXF_CPLX-S_CPLX = CPLX

F_CCOX - S_CCOX = CCOXF_CCOX-S_CCOX = CCOX

F_CSHX - S_CSHX = CSHXF_CSHX-S_CSHX = CSHX

F_CFMX - S_CFMX = CFMXF_CFMX-S_CFMX = CFMX

F_CDIAX - S_CDIAX = CDIAXF_CDIAX-S_CDIAX = CDIAX

F_CRAX - S_CRAX = CRAXF_CRAX-S_CRAX = CRAX

F_CRMX - S_CRMX = CRMXF_CRMX-S_CRMX = CRMX

이렇게 각 항목별 카운팅 차이값을 계산한 후 이 값들을 모두 합하여 전체 카운팅값을 계산한다(ST15). 즉,The counting difference value for each item is calculated and the sum is added to calculate the total counting value (ST15). In other words,

전체 카운팅값(TOTAL) = IDLE + CROS + IPC + USER + DBDG + CPLX + CCOX + CSHX + CFMX + CDIAX + CRAX + CRMXTotal counting value (TOTAL) = IDLE + CROS + IPC + USER + DBDG + CPLX + CCOX + CSHX + CFMX + CDIAX + CRAX + CRMX

가 된다.Becomes

이렇게 본 발명은 CCP의 CPU가 40㎲마다 카운팅한 전체 카운팅값을 10초 간격으로 loadcheck1() 함수를 호출하여 이 함수에 의해 리턴된 항목별 카운팅값을 이용하여 구할 수 있으므로, 정확히 10초를 맞출 필요는 없으며, 따라서 시간과는 독립적인 관계에 있다고 할 수 있다.Thus, the present invention can obtain the total counting value counted every 40 ms by the CPU of the CCP using the item counting value returned by this function by calling the loadcheck1 () function at 10 second intervals. It is not necessary and can therefore be said to be independent of time.

도1은 loadcheck1() 함수를 이용하여 카운팅값을 구하는 방법을 보인 도면으로서, CCP 부하율 측정이 시간과는 독립적으로 이루어질 수 있음을 보인다. 종래에는 10초 동안 CROS가 최대로 카운팅할 수 있는 카운팅값을 250000이라고 설정해 놓고, 이 값을 이용하여 부하율을 계산했다. 따라서 정확히 10초 동안의 CPU idle 카운팅값을 리턴받아야 했다. 그런데 시간의 오차가 발생되어 정확한 CPU idle 카운팅값을 리턴받는 것이 어렵고 따라서 정확한 CCP 부하율 측정이 어려웠다. 그러나 본 발명은 10 초 동안 CROS가 최대로 카운팅할 수 있는 카운팅값을 각 항목별 카운팅값을 합해서 계산함으로써, 시간의 구애를 별로 받지 않게 된다.FIG. 1 illustrates a method of obtaining a counting value using a loadcheck1 () function, and shows that the CCP load ratio measurement can be performed independently of time. Conventionally, the count value that CROS can count to the maximum for 10 seconds was set to 250000, and the load factor was calculated using this value. So we had to get back the CPU idle counting value for exactly 10 seconds. However, it was difficult to get accurate CPU idle counting value because of time error, so accurate CCP load factor measurement was difficult. However, the present invention calculates the counting value that the maximum number of CROSs can count for 10 seconds by adding up the counting value of each item, thereby not receiving much time.

이렇게 전체 카운팅값이 계산되면, CPU idle rate을 포함한 각 항목의 부하율을 계산한다(ST16). 즉,When the total counting value is calculated, the load factor of each item including the CPU idle rate is calculated (ST16). In other words,

IDLE rate = ( IDLE / TOTAL ) * 100IDLE rate = (IDLE / TOTAL) * 100

CROS rate = ( CROS / TOTAL ) * 100CROS rate = (CROS / TOTAL) * 100

IPC rate = ( IPC / TOTAL ) * 100IPC rate = (IPC / TOTAL) * 100

USER rate = ( USER / TOTAL ) * 100USER rate = (USER / TOTAL) * 100

DBKG rate = ( DBKG / TOTAL ) * 100DBKG rate = (DBKG / TOTAL) * 100

CPLX rate = ( CPLX / TOTAL ) * 100CPLX rate = (CPLX / TOTAL) * 100

CCOX rate = ( CCOX / TOTAL ) * 100CCOX rate = (CCOX / TOTAL) * 100

CSHX rate = ( CSHX / TOTAL ) * 100CSHX rate = (CSHX / TOTAL) * 100

CFMX rate = ( CFMX / TOTAL ) * 100CFMX rate = (CFMX / TOTAL) * 100

CDIAX rate = ( CDIAX / TOTAL ) * 100CDIAX rate = (CDIAX / TOTAL) * 100

CRAX rate = ( CRAX / TOTAL ) * 100CRAX rate = (CRAX / TOTAL) * 100

CRMX rate = ( CRMX / TOTAL ) * 100CRMX rate = (CRMX / TOTAL) * 100

따라서 "CCP의 using rate"은 "100 - CCP idle rate" 또는 "IDLE rate을 제외한 상기 각 항목의 rate을 합"하여 계산한다. 이렇게 본 발명은 40㎲마다 카운팅된 모든 항목의 카운팅값을 리턴하는 함수를 10초 간격으로 호출하고 리턴된 각 카운팅값 간의 차이를 이용하여, 시간적인 오차에 상관없이 정확한 CCP 전체의 부하율을 계산할 수 있게 된다. 그리고 CCP 전체의 부하율 뿐만 아니라 CCP의 세부적인 항목에 대한 부하율도 정확하게 계산할 수 있게 된다.Therefore, the "using rate of the CCP" is calculated by adding the rates of the above items except "100-CCP idle rate" or "IDLE rate". Thus, the present invention calls a function that returns the counting value of all items counted every 40 ms at 10 second intervals, and calculates the accurate load ratio of the entire CCP regardless of temporal error by using the difference between each counting value returned. Will be. In addition, it is possible to accurately calculate not only the load rate of the entire CCP but also the load rate of the detailed items of the CCP.

이상에서 살펴본 바와 같이, 본 발명에 의한 디지털 이동통신 제어국 시스템의 CCP 부하율 측정 방법은, CCP의 OS(Operating System; 운영체제)가 40㎲마다 측정하는 모든 항목의 카운팅값을 리턴하는 함수를 이용하여 측정 주기 동안의 전체 카운팅값을 얻음으로써 이론적인 값이 아닌 실제적인 값을 CCP 부하율 측정에 사용하므로 시간적인 오차에 상관없이 정확한 CCP 부하율 측정이 이루어지게 된다.As described above, the CCP load factor measurement method of the digital mobile communication control station system according to the present invention uses a function that returns a counting value of all items measured by an operating system (OS) of the CCP every 40 ms. By obtaining the total counting value during the measurement cycle, the actual value, rather than the theoretical value, is used for the CCP load factor measurement, which ensures accurate CCP load factor measurement regardless of time error.

그리고 CCP의 OS(Operating System; 운영체제)가 40㎲마다 측정하는 모든 항목의 카운팅값을 리턴하는 함수를 이용하여 CCP의 전체 부하율만을 측정하는 것이 아니라 CCP의 세부적인 항목 부하율을 정확히 측정하여 특정 디바이스의 성능 파악 및 성능 개선에 필요한 기초 자료로 사용할 수 있게 된다.In addition, the CCP OS (Operating System) uses a function that returns the counting value of every item measured every 40 ms. It can be used as a basic data for understanding performance and improving performance.

그리고 정확한 CCP 부하율 측정으로 중장치 시스템 설계에 필요한 성능 데이터의 신뢰성을 높여 CDMA(코드분할 다중 접속) 시스템의 성능 향상에 도움을 주게 된다.Accurate CCP load factor measurements help improve the performance of code division multiple access (CDMA) systems by increasing the reliability of the performance data required for heavy system design.

Claims (5)

디지털 이동통신 제어국 시스템에서 호처리 기능을 수행하는 호처리 프로세서(Call Control Processor; CCP)의 부하율을 측정하는 방법에 있어서,A method of measuring a load rate of a call control processor (CCP) that performs a call processing function in a digital mobile communication control station system, 상기 CCP의 운영체제가 특정 주기마다 측정하는 모든 항목의 카운팅값을 리턴하는 함수를 호출하여 항목별 카운팅값을 리턴(return)받아 버퍼에 저장하는 제1 단계와;A first step of calling a function of returning counting values of all items measured by the operating system of the CCP every specific period, and receiving a counting value of each item and storing the counting value of each item in a buffer; 상기 함수 호출 후 특정 측정 주기가 경과되면 다시 함수를 호출하여 항목별 카운팅값을 리턴받아 버퍼에 저장하는 제2 단계와;A second step of returning a counting value for each item by calling a function after a specific measurement period has elapsed after the function call; 상기 먼저 호출된 함수에 의해 리턴된 항목별 카운팅값과 상기 나중에 호출된 함수에 의해 리턴된 항목별 카운팅값 간의 차이값을 계산하고, 계산된 항목별 카운팅 차이값을 합하여 특정 측정 주기 동안의 전체 카운팅값을 계산하는 제2 단계와;Compute the difference value between the item counting value returned by the first called function and the item counting value returned by the later called function, and add the calculated item counting difference to sum the total counting during a specific measurement period. Calculating a value; 상기 항목별 카운팅값 중 상기 CCP의 CPU(Central Processing Unit) 유휴(idle) 상태에 대한 카운팅값과 상기 계산된 전체 카운팅값 간의 비율을 계산하여 CPU의 유휴율(idle rate)을 얻고, 이 CPU idle rate을 이용하여 CPU 부하율(using rate)을 계산하며, 상기 항목별 카운팅값과 상기 전체 카운팅값 간의 비율을 계산하여 항목별 부하율을 계산하는 제3 단계를 수행함을 특징으로 하는 디지털 이동통신 제어국 시스템의 호처리 프로세서(CCP) 부하율 측정 방법.The idle rate of the CPU is obtained by calculating a ratio between a counting value for the central processing unit (CPU) idle state of the CCP and the calculated total counting value among the counting values for each item, and calculating the CPU idle. A third step of calculating a CPU load rate using the rate and calculating the ratio between the item counting value and the total counting value to calculate the item load rate is performed. To determine the call processing processor (CCP) load rate of 제 1항에 있어서,The method of claim 1, 상기 특정 주기는 40㎲를 나타내고, 상기 특정 측정 주기는 10초를 나타내는 것을 특징으로 하는 디지털 이동통신 제어국 시스템의 CCP 부하율 측정 방법.And the specific period represents 40 ms, and the specific measurement cycle represents 10 seconds. 제 1항에 있어서, 상기 함수에 의해 리턴되는 모든 항목의 카운팅값은,The method of claim 1, wherein the counting value of all items returned by the function is 상기 CCP의 운영체제가 상기 특정 주기마다 상기 CPU의 상태 체크시, 상기 CPU가 idle 상태이면 카운팅되는 카운팅값(IDLE)과, 상기 CPU가 상기 운용체제의 수행 상태이면 카운팅되는 카운팅값(CROS)과, 상기 CPU가 CCP 내부의 각 프로세서간 통신 또는 각 프로세스(process)간 통신을 수행하는 IPC(Inter Processor Communication)상태이면 카운팅되는 카운팅값(IPC)과, 상기 CPU가 운용자 임의 명령을 수행하는 상태이면 카운팅되는 카운팅값(USER)과, 상기 CPU가 상기 CCP의 데이터베이스를 액세스 및 처리하는 상태이면 카운팅되는 카운팅값(DBKG), 상기 CPU가 기지국, 보코더(vocoder) 등에서 수행되어야 할 프로그램의 로딩(loading) 상태이면 카운팅되는 카운팅값(CPLX)과, 상기 CPU가 호처리 기능을 수행하는 상태이면 카운팅되는 카운팅값(CCOX)과, 상기 CPU가 BSC 전체의 상태 관리 기능을 수행하는 상태이면 카운팅되는 카운팅값(CSHX)과, 장애 관리 수행 상태이면 카운팅되는 카운팅값(CFMX), 각 디바이스(device) 테스트(test) 상태이면 카운팅되는 카운팅값(CDIAX)과, 자원 관리 상태이면 카운팅되는 카운팅값(CRAX) 및 형상 관리 상태이면 카운팅되는 카운팅값(CRMX)임을 특징으로 하는 디지털 이동통신 제어국 시스템의 CCP 부하율 측정 방법.A counting value IDLE counted when the CPU is idle when the operating system of the CCP checks the state of the CPU at each specific period, and a counting value CROS counted when the CPU is in the running state of the operating system; A counting value (IPC) counted when the CPU is in an interprocessor communication (IPC) state for performing inter-processor communication or inter-process communication within the CCP, and counting when the CPU executes an operator arbitrary command. A counting value USER, a counting value DBKG counted when the CPU accesses and processes the database of the CCP, and a loading state of a program to be performed at the base station, vocoder, etc. Counting value (CPLX) is counted, the counting value (CCOX) is counted if the CPU is performing a call processing function, the CPU is the state management function of the entire BSC Counting value (CSHX) if counting status, counting count value (CFMX) counting if performing fault management, counting value counting (CDIAX) if counting each device, if resource management status A counting value CRAX and a counting value CRMX are counted when the configuration management state is counted. 제 1항에 있어서, 상기 CPU 부하율(using rate) 계산 방법은,The method of claim 1, wherein the CPU load rate calculation method comprises: 100에서 상기 계산된 CPU idle rate을 감산하는 것을 특징으로 하는 디지털 이동통신 제어국 시스템의 CCP 부하율 측정 방법.And subtracting the calculated CPU idle rate from 100. 제 1항에 있어서, 상기 CPU 부하율(using rate) 계산 방법은,The method of claim 1, wherein the CPU load rate calculation method comprises: 상기 계산된 각 항목의 부하율 중에서 CPU idle rate을 제외한 모든 항목의 부하율을 합하는 것을 특징으로 하는 디지털 이동통신 제어국 시스템의 CCP 부하율 측정 방법.CCP load ratio measurement method of the digital mobile communication control system, characterized in that the sum of the load ratio of all items except the CPU idle rate among the calculated load ratio of each item.
KR19990008367A 1999-03-12 1999-03-12 Method for measuring load rate of call control processor in base station controller of digital mobile communication system KR20000060232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR19990008367A KR20000060232A (en) 1999-03-12 1999-03-12 Method for measuring load rate of call control processor in base station controller of digital mobile communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR19990008367A KR20000060232A (en) 1999-03-12 1999-03-12 Method for measuring load rate of call control processor in base station controller of digital mobile communication system

Publications (1)

Publication Number Publication Date
KR20000060232A true KR20000060232A (en) 2000-10-16

Family

ID=19576424

Family Applications (1)

Application Number Title Priority Date Filing Date
KR19990008367A KR20000060232A (en) 1999-03-12 1999-03-12 Method for measuring load rate of call control processor in base station controller of digital mobile communication system

Country Status (1)

Country Link
KR (1) KR20000060232A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000073804A (en) * 1999-05-14 2000-12-05 김영환 Verification method of base station software library function
KR100351832B1 (en) * 2000-10-16 2002-09-11 엘지전자 주식회사 Method for estimating load and capacity in Mobile Communication
KR100464352B1 (en) * 2002-08-16 2005-01-03 삼성전자주식회사 Loading apparatus and method for preventing an overload of an operation and maintenance processor in a mobile switching center
CN107861874A (en) * 2017-11-10 2018-03-30 宁波普瑞均胜汽车电子有限公司 Full-automatic vehicle electronics test system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000073804A (en) * 1999-05-14 2000-12-05 김영환 Verification method of base station software library function
KR100351832B1 (en) * 2000-10-16 2002-09-11 엘지전자 주식회사 Method for estimating load and capacity in Mobile Communication
KR100464352B1 (en) * 2002-08-16 2005-01-03 삼성전자주식회사 Loading apparatus and method for preventing an overload of an operation and maintenance processor in a mobile switching center
CN107861874A (en) * 2017-11-10 2018-03-30 宁波普瑞均胜汽车电子有限公司 Full-automatic vehicle electronics test system
CN107861874B (en) * 2017-11-10 2024-04-19 宁波普瑞均胜汽车电子有限公司 Full-automatic automobile electronic equipment testing system

Similar Documents

Publication Publication Date Title
US9594659B2 (en) CPU utilization metering on systems that include multiple hardware threads per core
US7720955B1 (en) Determining performance of an application based on transactions
US7426731B2 (en) Determining processor usage by a thread
US7624395B2 (en) Thread-level resource usage measurement
EP0163853B1 (en) Performance adjustment for an asymmetric multiprocessor system
US8161493B2 (en) Weighted-region cycle accounting for multi-threaded processor cores
Chung et al. Aneprof: Energy profiling for android java virtual machine and applications
US4133039A (en) True mean rate measuring system
US20060062148A1 (en) System utilization rate managing apparatus and system utilization rate managing method to be employed for it, and its program
Mittal et al. Mu: An efficient, fair and responsive serverless framework for resource-constrained edge clouds
CN109257125B (en) Method and device for detecting reverse connection of antenna feeder of base station
KR20000060232A (en) Method for measuring load rate of call control processor in base station controller of digital mobile communication system
CN109857633B (en) Task computing power estimation method and device and storage medium
EP2735970B1 (en) Dynamic library profiling method
US4099048A (en) Count logic circuit
US9541979B2 (en) Method for determining an optimal frequency for execution of a software application
Kwon et al. Ktas: Analysis of timer latency for embedded linux kernel
Alam et al. Assessing software reliability performance under highly critical but infrequent event occurrences
CN109656796B (en) Task selection method and device
Stefanov et al. Analysis of CPU Usage Data Properties and their possible impact on Performance Monitoring
Kranzlmüller et al. Monitor overhead measurement with SKaMPI
KR940007832B1 (en) Method of measuring process load on real time system
KR950013840B1 (en) Automatic servetance unit and operation method of overload of in service control
CN112231156B (en) SPEC CPU2017 test result estimation method, system, device and medium
KR940001698B1 (en) Overload control method of electronic exchange

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E801 Decision on dismissal of amendment
E601 Decision to refuse application