KR20000060459A - Call table resource assignment and removal of the base control station using Circular Queue - Google Patents

Call table resource assignment and removal of the base control station using Circular Queue Download PDF

Info

Publication number
KR20000060459A
KR20000060459A KR19990008775A KR19990008775A KR20000060459A KR 20000060459 A KR20000060459 A KR 20000060459A KR 19990008775 A KR19990008775 A KR 19990008775A KR 19990008775 A KR19990008775 A KR 19990008775A KR 20000060459 A KR20000060459 A KR 20000060459A
Authority
KR
South Korea
Prior art keywords
call
pointer
index
call table
release
Prior art date
Application number
KR19990008775A
Other languages
Korean (ko)
Other versions
KR100301582B1 (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 KR1019990008775A priority Critical patent/KR100301582B1/en
Publication of KR20000060459A publication Critical patent/KR20000060459A/en
Application granted granted Critical
Publication of KR100301582B1 publication Critical patent/KR100301582B1/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PURPOSE: A method for allocating and releasing a call table resource of a control station using a circular queue is provided for using a circular queue in a call control processor in a control station of a mobile communication system, maintaining the circular queue using an index of a call table capable of allocating a call resource and deleting a call table index in the circular queue when allocating the call resource. CONSTITUTION: An index of an allocable call table is inserted into a call table index of a circular queue(S1). A call resource allocation request is received for a call process of a new transmission/arrival signal from a base station or a switch(S2). A call control process of a control station judged whether the positions of a circular queue indicated by an allocation pointer and a release pointer are same(S3) in accordance with a request(S2).

Description

환형큐를 이용한 제어국에서의 호 테이블 자원할당 및 해제방법 {Call table resource assignment and removal of the base control station using Circular Queue}Call table resource assignment and removal of the base control station using Circular Queue

본 발명은 디지털 셀룰라 시스템(Digital Cellular System ; 이하, 'DCS'라 칭함) 또는 개인 휴대통신 시스템(Personal Communication System ; 이하, 'PCS'라 칭함) 등의 CDMA(Code Division Multiple Access) 방식을 적용한 이동통신 시스템의 제어국내 호제어 프로세서(Call Control Processor ; CCP)에 있어서, 환형큐(Circular Queue)를 이용하여 호 테이블(Call Table)에 대한 호자원 할당 및 해제를 관리함으로써 호수의 증가에 상관없이 호자원 할당시간을 일정하게 유지할 수 있도록 한 환형큐를 이용한 제어국에서의 호 테이블 자원할당 및 해제방법에 관한 것이다.The present invention provides a mobile communication system employing a code division multiple access (CDMA) scheme such as a digital cellular system (hereinafter referred to as 'DCS') or a personal communication system (hereinafter referred to as 'PCS'). Call Control Processor (CCP) in a control station of a communication system, which uses a circular queue to manage call resource allocation and release to a call table, regardless of the increase of the lake. The present invention relates to a method for allocating and releasing call table resources at a control station using an annular queue to keep a resource allocation time constant.

일반적으로 DCS 또는 PCS 등의 이동통신 시스템은 도 1에 도시된 바와 같이, 이동 단말기(1)와, 이 이동 단말기(1)와 데이터를 무선으로 송수신하고 이를 제어하는 기지국(2)과, 이 기지국(2)과 데이터를 송수신하고 이를 제어하는 제어국(3) 및 교환기(4)로 구성되어 있으며, 특히 상기 제어국(3)은 기지국(2)의 발신호 및 교환기(4)의 착신호 요구에 따라 호처리를 수행한다.In general, a mobile communication system such as a DCS or a PCS includes a mobile terminal 1, a base station 2 that wirelessly transmits and controls data to and from the mobile terminal 1, and the base station. And a switch station 4 and a switch station 4 for transmitting and receiving data to and from the data, and in particular, the control station 3 is an originating call of the base station 2 and an incoming call request of the exchange 4. Perform call processing according to

즉, 이동국(1)을 거친 기지국(2)의 발신호 요구가 있거나 또는 교환기(4)에서의 착신호 요구가 있으면, 제어국(3)내 호제어 프로세서에서는 호처리 프로그램에 따라 호 테이블의 빈곳에 해당 발/착신호의 호자원 정보를 채우고 자식 프로세스를 생성하여 호처리를 수행하도록 한다.That is, if there is a call request from the base station 2 through the mobile station 1 or an incoming call request from the switch 4, the call control processor in the control station 3 uses the call processing program to empty the call table. It fills in the call resource information of the originating / incoming signal and creates a child process to perform call processing.

이때, 호 테이블의 빈곳을 찾는 방법으로는, 먼저 해당 호 테이블을 검색하기 위한 호 테이블 인덱스를 '0'으로 초기화한 다음, 이 호 테이블 인덱스가 '1920'을 초과하였는지를 검사하여 초과하였으면 에러 메시지를 출력한 후 종료하도록 하고, 호 테이블 인덱스가 '1920'을 초과하지 않았으면 호 테이블 인덱스가 지시하고 있는 곳의 호 테이블이 다른 호에 의해 사용되고 있는지를 검사한다.In this case, as a method of finding an empty place of a call table, the call table index for searching the call table is initialized to '0', and if the call table index exceeds the value of '1920', an error message is returned. If the call table index does not exceed '1920', it checks whether the call table indicated by the call table index is used by another call.

만약, 호 테이블 인덱스가 지시하고 있는 곳의 호 테이블이 다른 호에 의해 사용되고 있다면 호 테이블 인덱스를 1증가시키고 다시 호 테이블 인덱스가 '1920'을 초과하였는지를 검사하는 등 이후 과정을 반복 수행하도록 한다.If the call table indicated by the call table index is used by another call, the call table index is incremented by 1 and the procedure is repeated to check whether the call table index exceeds '1920'.

그러나, 호 테이블 인덱스가 지시하고 있는 곳의 호 테이블이 다른 호에 의해 사용되고 있지 않다면 해당 호 테이블에 호자원 정보를 채우고 종료하도록 한다.However, if the call table indicated by the call table index is not used by another call, the call table is filled with call resource information and terminated.

상기와 같이 종래의 호 테이블 자원할당은 호 테이블 인덱스마다 해당 호 테이블이 다른 호에 의해 사용되고 있는지 그 여부를 순차적으로 검색하여 빈곳을 찾아 호자원을 할당하는 방식으로 운용된다.As described above, the conventional call table resource allocation is operated by sequentially searching whether a corresponding call table is being used by another call for each call table index, and finding call spaces to allocate call resources.

그러나, 현재 진행중인 호가 적다면 호 테이블 자원할당에 있어서 별로 크게 문제가 안되겠지만, 호의 수가 상당량 증가할 경우에는 점점 호 테이블의 빈곳이 적어져서 상기 호 테이블 인덱스가 '1920'을 초과하였는지를 검사하는 단계에서부터 호 테이블 인덱스를 1증가시켜야 하는 단계까지를 계속해서 반복적으로 수행해야만 한다.However, if the number of calls in progress is small, it will not be a big problem for call table resource allocation.However, if the number of calls increases considerably, the number of calls is gradually reduced, and the step of checking whether the call table index has exceeded '1920' You must continue to iterate up to the stage where you need to increase the call table index by one.

따라서, 이러한 종래의 호 테이블 자원할당은 시간이 지나면 지날수록 제어국(3)내 호제어 프로세서에서의 호처리 프로그램이 과부하되는 상태를 초래하게 되고, 또한 자원할당 시간이 계속해서 증가하기 때문에 호처리 프로그램의 실시간 호처리 특성을 만족시키지 못하여 호실패를 유발할 수 있게 되는 문제점이 있었다.Therefore, such a conventional call table resource allocation causes a call processing program in the call control processor in the control station 3 to become overloaded as time passes, and also because the resource allocation time continues to increase. There was a problem in that the failure of the program could not satisfy the real-time call processing characteristics of the program.

본 발명은 상기와 같은 문제점을 해결하기 위해 안출한 것으로서, 그 목적은 이동통신 시스템의 제어국내 호제어 프로세서에서 하나의 환형큐를 이용하도록 하고, 이 환형큐를 호자원이 할당가능한 호 테이블의 인덱스만으로 유지시킨 후 호자원 할당시는 환형큐에서 호 테이블 인덱스를 삭제하고 호자원 해제시에는 환형큐에 호 테이블 인덱스를 삽입함으로써 호자원의 할당 및 해제가 호수의 증가에 상관없이 일정하게 유지되어 제어국에서의 호처리를 안정적으로 수행할 수 있도록 한 환형큐를 이용한 제어국에서의 호 테이블 자원할당 및 해제방법을 제공하는 데에 있다.The present invention has been made to solve the above problems, and an object thereof is to use one annular queue in a call control processor in a control station of a mobile communication system, and use this annular queue as an index of a call table to which call resources can be allocated. After the call resource allocation, the call table index is deleted from the annular queue when the call resource is allocated and the call table index is inserted into the annular queue when the call resource is released. The present invention provides a method for allocating and releasing call table resources at a control station using an annular queue to stably perform call processing at a station.

도 1은 일반적인 이동통신 시스템의 블록 구성도,1 is a block diagram of a general mobile communication system;

도 2는 본 발명에 의한 제어국에서의 호 테이블 자원할당 및 해제를 위한 환형큐와 호 테이블의 구조를 보인 도면,2 is a diagram illustrating a structure of an annular queue and a call table for call table resource allocation and release at a control station according to the present invention;

도 3은 본 발명에 의한 제어국에서의 호 테이블 자원할당방법을 보인 동작 흐름도,3 is an operation flowchart showing a call table resource allocation method in a control station according to the present invention;

도 4는 본 발명에 의한 제어국에서의 호 테이블 자원해제방법을 보인 동작 흐름도,4 is a flowchart illustrating a method of releasing a call table resource at a control station according to the present invention;

도 5의 (가)∼(자)는 본 발명에 의한 제어국에서의 호 테이블 자원할당 및 해제동작을 예를 들어 설명하기 위한 각 도면.Figs. 5A to 5 are diagrams for explaining call table resource allocation and release operations in a control station according to the present invention, for example.

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

1 : 이동 단말기2 : 기지국1 mobile terminal 2 base station

3 : 제어국 4 : 교환기3: control station 4: switchboard

10 : 환형큐20 : 호 테이블10: annular queue 20: arc table

이러한 목적을 달성하기 위한 본 발명의 환형큐를 이용한 제어국에서의 호 테이블 자원할당 및 해제방법은, 제어국의 호제어 프로세서내 호처리 프로그램을 초기화하여 할당가능한 호 테이블의 인덱스를 환형큐에 모두 삽입한 후, 호자원 할당 요구시 할당포인터가 현재 가리키고 있는 환형큐의 위치에 저장된 호 테이블 인덱스를 읽고, 이 인덱스에 해당하는 호 테이블의 위치에서 사용여부필드를 사용중으로 셋팅하면서 호자원 정보를 정보필드에 저장하며, 이어 이전에 할당포인터가 가리키고 있던 환형큐의 위치에서 호 테이블 인덱스를 널상태로 초기화시키고 할당포인터를 1만큼 증가시키도록 하고, 호자원 해제 요구시 해제포인터가 현재 가리키고 있는 환형큐에 해제할 호 테이블의 인덱스를 저장하며, 해제할 호자원 정보를 저장하고 있는 호 테이블을 찾아 사용여부필드를 미사용중으로 셋팅하면서 정보필드를 널상태로 초기화시키고, 이어 해제포인터를 1만큼 증가시키도록 함을 특징으로 한다.The method for allocating and releasing call table resources at the control station using the annular queue of the present invention for achieving the above object is to initialize the call processing program in the call control processor of the control station so that all the indexes of the call table that can be allocated are assigned to the annular queue. After inserting, when call resource allocation request is requested, the call table index stored in the annular queue pointed to by the allocation pointer is read, and the call resource information is set while the availability field is used at the call table corresponding to this index. Stored in the field, and then initializes the call table index to null at the position of the annular queue pointed to by the allocating pointer previously, and increments the allocating pointer by one. To store the index of the call table to be released and the call resource information to be released. The information field is initialized to null while the table is searched and the use field is set to unused, and then the release pointer is increased by one.

이때, 상기 할당포인터 또는 해제포인터가 환형큐의 마지막 위치를 가리키고 있는 경우에는 1만큼 증가한 포인터의 위치가 환형큐의 맨 처음을 가리키도록 함을 특징으로 한다.In this case, when the allocation pointer or the release pointer indicates the last position of the annular queue, the position of the pointer increased by 1 indicates the first position of the annular queue.

이하, 첨부된 도면을 참고하여 본 발명에 의한 환형큐를 이용한 제어국에서의 호 테이블 자원할당 및 해제방법을 상세히 설명한다.Hereinafter, a call table resource allocation and release method in a control station using an annular queue according to the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 의한 제어국에서의 호 테이블 자원할당 및 해제를 위한 환형큐와 호 테이블을 보인 도면으로서, 호자원이 할당가능한 호 테이블의 인덱스를 저장하는 하나의 환형큐(10)와, 제어국에서 처리되는 발/착신호를 관리하기 위한 하나의 호 테이블(20)과, 상기 환형큐(10)를 관리하기 위한 2개의 변수, 즉 할당할 곳의 간접적인 위치를 저장하는 할당포인터와, 해제되는 곳의 위치를 저장하는 해제포인터로 구성된다.2 is a view showing a ring queue and a call table for call table resource allocation and release at a control station according to the present invention, one ring queue 10 storing an index of a call table to which call resources can be allocated; One call table 20 for managing the incoming / outgoing signals processed by the control station, an allocation pointer for storing two variables for managing the annular queue 10, i.e., an indirect position of the place to allocate; It consists of a release pointer that stores the position of the release.

상기 환형큐(10)는 상기 호 테이블(20)의 크기보다 1만큼 크게 구성하는데, 이는 환형큐(10)가 비어있는지 아니면 꽉차있는지를 구분하기 위한 것으로, 만약 상기 환형큐(10)의 크기를 상기 호 테이블(20)의 크기와 같게 하면 비어있는 것과 꽉차있는 것을 구분할 수 없게 된다.The annular cue 10 is configured to be larger than the size of the call table 20, which is to distinguish whether the annular cue 10 is empty or full, and if the size of the annular cue 10 is If the size of the call table 20 is the same, the empty and the full cannot be distinguished.

상기 환형큐(10)는 실제 환형큐를 참조하기 위한 큐 인덱스(Queue Index)(11)와 호 테이블(20)의 인덱스를 저장하기 위한 호 테이블 인덱스(Call Table Index)(12)의 2개의 필드로 구성되며, 상기 호 테이블(20)은 실제 호 테이블을 참조하기 위한 호 테이블 인덱스(21)와, 해당 인덱스의 호 테이블이 특정 호에 의해 사용되는지를 구분하기 위한 사용여부필드(22)와, 프로세서(Process) ID(IDentification) 등의 기타 정보를 저장하기 위한 정보필드(23)로 구성된다.The annular queue 10 has two fields: a queue index 11 for referring to an actual annular queue, and a call table index 12 for storing an index of the call table 20. The call table 20 includes a call table index 21 for referring to an actual call table, a use field 22 for distinguishing whether a call table of the corresponding index is used by a specific call, and It consists of an information field 23 for storing other information such as a process ID (ID).

도 3은 본 발명에 의한 제어국에서의 호 테이블 자원할당방법을 보인 동작 흐름도이고, 도 4는 본 발명에 의한 제어국에서의 호 테이블 자원해제방법을 보인 동작 흐름도로서, 이를 참조로 하여 본 발명에 의한 환형큐를 이용한 제어국에서의 호 테이블 자원할당 및 해제방법을 설명하면 다음과 같다.3 is a flowchart illustrating a method of allocating a call table resource at a control station according to the present invention, and FIG. 4 is a flowchart illustrating a method of releasing a call table resource at a control station according to the present invention. A call table resource allocation and release method in a control station using an annular queue is as follows.

호자원 할당시에는 도 3의 흐름도에서와 같이, 먼저 제어국의 호제어 프로세서내 호처리 프로그램을 초기화하여 할당가능한 호 테이블(20)의 인덱스(21)를 환형큐(10)의 호 테이블 인덱스(12)에 모두 삽입한 후(S1), 기지국 또는 교환기로부터 새로운 발/착신호의 호처리를 위한 호자원 할당 요구를 입력받는다(S2).At the time of call resource allocation, as shown in the flowchart of FIG. 3, first, the call table index of the annular queue 10 is converted into an index 21 of the call table 20 that can be allocated by initializing the call processing program in the call control processor of the control station. 12), all of them are inserted (S1), and a call resource allocation request for call processing of a new incoming / outgoing signal is received from a base station or an exchange (S2).

상기 단계(S2)의 요구에 따라 제어국내 호제어 프로세서에서는 할당포인터와 해제포인터가 가리키고 있는 환형큐(10)의 위치가 서로 동일한지를 판단한다(S3).In response to the request of step S2, the call control processor in the control station determines whether the positions of the annular queue 10 indicated by the allocation pointer and the release pointer are the same (S3).

상기 단계(S3)에서 할당포인터와 해제포인터가 가리키고 있는 환형큐(10)의 위치가 서로 동일하다면 호 테이블(20)의 빈곳이 모두 채워져 더 이상 호자원 정보를 저장할 수 없는 상태임을 알리고(S4), 할당포인터와 해제포인터가 가리키고 있는 환형큐(10)의 위치가 서로 동일하지 않다면 할당포인터가 현재 가리키고 있는 환형큐(10)의 위치를 찾아(S5) 해당 환형큐(10)의 위치에 저장된 호 테이블 인덱스(12)를 읽는다(S6).If the positions of the annular queue 10 indicated by the allocation pointer and the release pointer are the same in step S3, all of the empty spaces of the call table 20 are filled, indicating that the call resource information can no longer be stored (S4). If the position of the annular queue 10 indicated by the allocation pointer and the release pointer is not the same as each other, the position of the annular queue 10 currently indicated by the allocation pointer is found (S5). The table index 12 is read (S6).

이어, 상기 단계(S6)에서 읽은 호 테이블 인덱스(12)에 해당하는 호 테이블(20)의 위치를 찾아 이 위치에서의 사용여부필드(22)를 사용중(O)으로 셋팅하고(S7), 정보필드(23)에 호자원 정보를 저장한다(S8).Subsequently, the position of the call table 20 corresponding to the call table index 12 read in step S6 is found and the use field 22 at this position is set to busy (O) (S7). The call resource information is stored in the field 23 (S8).

이후, 이전에 할당포인터가 가리키고 있던 환형큐(10)의 위치에서 호 테이블 인덱스(12)를 널(NULL)상태로 초기화시키고 할당포인터를 1만큼 증가시킨다(S9).Thereafter, the call table index 12 is initialized to the null state at the position of the annular queue 10 previously indicated by the allocation pointer, and the allocation pointer is increased by one (S9).

이때, 상기 단계(S9)에서 증가된 할당포인터가 최대 호 테이블 인덱스+1(10) 보다 큰지를 판단하여(S10), 크다면 할당포인터를 환형큐(10)의 첫 번째 위치, 즉 큐 인덱스(11)가 '0'인 곳을 가리키도록 하고(S11), 작다면 상기 단계(S2)로 복귀하여 이하 동작을 계속해서 반복 수행하도록 한다.In this case, it is determined whether the allocation pointer increased in the step S9 is greater than the maximum call table index + 1 (10) (S10). If the allocation pointer is large, the allocation pointer is assigned to the first position of the annular queue 10, that is, the queue index ( 11) indicates a position of '0' (S11), and if it is small, the process returns to the step S2 and repeats the following operation continuously.

다음으로, 도 4의 흐름도에 도시된 호 테이블 자원해제방법을 설명한다.Next, the call table resource release method shown in the flowchart of FIG. 4 will be described.

제어국내 호제어 프로세서에서 기지국 또는 교환기로부터 호자원 해제 요구를 입력받게 되면(S21), 할당포인터가 가리키는 환형큐(10)의 인덱스보다 해제포인터가 가리키는 환형큐(10)의 인덱스가 1만큼 적은지 판단하여(S22), 적다면 호자원 할당한 것이 없는데도 호자원을 해제하려는 시도이므로 에러 메시지를 출력하고(S23), 적지 않다면 해제포인터가 가리키고 있는 환형큐(10)의 위치를 찾아(S24) 해당 환형큐(10)의 위치, 즉 호 테이블 인덱스(12)에 호 테이블(20)에서 해제하려는 호 테이블(20)의 인덱스(21)를 저장한다(S25).When the call control processor in the control station receives a call resource release request from the base station or the exchange (S21), it is determined whether the index of the annular queue 10 indicated by the release pointer is smaller by 1 than the index of the annular queue 10 indicated by the allocation pointer. If (S22), if there is little call resource allocation attempts to release the call resources even if there is no error message output (S23), if not, find the position of the annular queue 10 pointed to by the release pointer (S24) the annular The index 21 of the call table 20 to be released from the call table 20 is stored at the position of the queue 10, that is, the call table index 12 (S25).

이어, 해제할 호자원 정보를 저장하고 있는 호 테이블(20)을 찾아 사용여부필드(22)를 미사용중으로 셋팅하고(S26), 정보필드(23)를 널상태로 초기화시켜 호자원 정보를 삭제한다(S27).Subsequently, the call table 20 storing call resource information to be released is found, the use field 22 is set to unused (S26), and the information field 23 is initialized to null state to delete call resource information. (S27).

이후, 해제포인터를 1만큼 증가시킨다(S28).Thereafter, the release pointer is increased by 1 (S28).

이때에도, 상기 단계(S28)에서 증가된 해제포인터가 최대 호 테이블 인덱스+1(10) 보다 큰지를 판단하여(S29), 크다면 해제포인터가 환형큐(10)의 첫 번째 위치, 즉 큐 인덱스(11)가 '0'인 곳을 가리키도록 하고(S30), 작다면 상기 단계(S21)로 복귀하여 이하 동작을 계속해서 반복 수행하도록 한다.In this case, it is determined whether the release pointer increased in the step S28 is larger than the maximum call table index + 1 (10) (S29). If the release point is large, the release pointer is the first position of the annular queue 10, that is, the queue index. (11) points to a place where it is '0' (S30), and if it is small, returns to the step (S21) to continue to perform the following operation repeatedly.

상기 설명에서와 같이 본 발명은 할당포인터와 해제포인터를 이용하여 호자원 할당 및 해제를 수행하는 방법으로서, 환형큐(10)에 호 테이블 인덱스(12) 필드를 두어 호 테이블(20)의 현재 상태와 일치시켜 줌으로써 환형큐(10)에서 현재 할당가능한 호자원을 실시간적으로 유지할 수 있게 된다.As described above, the present invention is a method for allocating and releasing call resources using an allocation pointer and a release pointer. The present state of the call table 20 is provided by placing a call table index 12 field on the annular queue 10. By matching with, it is possible to maintain the call resources currently allocated in the annular queue 10 in real time.

도 5의 (가)∼(자)는 본 발명에 의한 제어국에서의 호 테이블 자원할당 및 해제동작을 예를 들어 설명한 도면으로서, (가)는 최초 초기화시의 환형큐(10)와 호 테이블(20)의 상태를 보인 도면이며, 먼저 할당포인터와 해제포인터가 환형큐(10)의 첫 번째 인덱스(0)를 가리키도록 하고, 호 테이블(20)의 사용여부필드(22)는 모두 미사용중(X)이라고 초기화하고, 프로세스 ID 등의 호자원 정보가 저장되는 정보필드(23)도 모두 널상태로 초기화한다.5A to 5D illustrate, by way of example, call table resource allocation and release operations in a control station according to the present invention. FIG. 5A is a circular queue 10 and a call table during initial initialization. A diagram showing the state of (20) is shown first, so that the assignment pointer and the release pointer point to the first index (0) of the annular queue 10, and whether the use field 22 of the call table 20 is unused. It initializes to medium (X) and initializes all the information fields 23 which store call resource information, such as a process ID, to a null state.

상기와 같이 호 테이블(20)을 초기화한 후, 호 테이블(20)을 처음부터 순차적으로 검색하여 사용하지 않는 호 테이블(20)의 인덱스(21)를 환형큐(10)에 저장하고 해제포인터를 호 테이블(20)의 크기(본 발명에서는 크기를 '10'으로 정함)만큼 증가시킨다.After initializing the call table 20 as described above, the call table 20 is sequentially searched from the beginning, and the index 21 of the call table 20 which is not used is stored in the annular queue 10 and the release pointer is stored. The size of the call table 20 (in the present invention, the size is set to '10') is increased.

이때, 할당포인터와 해제포인터의 차이는 초기화시 할당가능한 호 테이블의 수를 나타낸다.In this case, the difference between the allocation pointer and the release pointer indicates the number of call tables that can be allocated at initialization.

상기와 같이 환형큐(10)는 항상 현재 할당가능한 호 테이블(20)에 대한 호 테이블 인덱스(21)를 저장하고 있게 된다.As described above, the annular queue 10 always stores the call table index 21 for the currently assignable call table 20.

(나)는 (가)의 초기상태에서 3개의 호 테이블(20)에 호자원을 할당한 도면으로서, 하나의 호자원을 할당할 경우 먼저 할당포인터가 가리키고 있는 환형큐(10)의 호 테이블 인덱스(12)를 읽어 이 호 테이블 인덱스(12)에 해당하는 호 테이블(20)의 인덱스(21)에서 정보필드(23)에 프로세서 ID 등의 호자원 정보를 채우고 사용여부필드(22)를 사용중(O)으로 표시하며, 이후 환형큐(10)의 호 테이블 인덱스(12)를 널상태로 초기화한다.(B) is a diagram of allocating call resources to three call tables 20 in the initial state of (A). When allocating one call resource, the call table index of the annular queue 10 indicated by the allocation pointer is indicated. (12), the call field information corresponding to this call table index 12 is filled with call resource information such as processor ID in the information field 23 in the index 21 of the call table 20, and the use field 22 is being used ( O), and then initializes the call table index 12 of the annular queue 10 to a null state.

그리고 나서, 할당포인터를 1증가시킨다.Then, the assignment pointer is increased by one.

상기와 같은 방법으로 3개의 호자원을 할당한 결과가 도 5의 (나)와 같다.The result of allocating three call resources by the above method is shown in FIG.

(다)는 도 5의 (나)의 상태에서 호 테이블(20)의 호 테이블 인덱스(21)가 '2'인 호자원을 해제하였을 경우의 도면으로서, 해제포인터가 가리키고 있는 환형큐(10)의 호 테이블 인덱스(12)에 해제하려고 하는 호 테이블 인덱스(21), 즉 '2'를 저장하고, 호 테이블(20)에서 정보필드(23)의 호자원 정보를 널상태로 초기화시키면서 사용여부필드(22)를 미사용중(X)으로 표시한다.(C) is a diagram in the case of releasing a call resource whose call table index 21 of the call table 20 is '2' in the state of FIG. 5B, and the annular queue 10 indicated by the release pointer. The call table index 21 to be released in the call table index 12, i.e., '2', is stored in the call table 20, and the call resource information of the information field 23 is initialized to null state. (22) is displayed as unused (X).

그리고, 해제포인터를 1증가시킨다.Then, the release pointer is increased by one.

이때, 환형큐(10)의 속성상 도 5의 (나)에서 해제포인터가 마지막 위치를 가리키고 있으므로 1증가하면 다시 환형큐의 첫 번째 위치를 가리키게 된다.At this time, since the release pointer indicates the last position in (b) of FIG. 5 due to the property of the annular queue 10, when the number is increased by one, the first position of the annular queue 10 is again indicated.

(라)는 도 5의 (다)의 상태에서 다시 2개의 호자원을 할당한 도면으로서, 2개의 호자원을 할당하고 할당포인터를 증가시키며, 호 테이블(20)의 정보필드(23)에는 해당 호자원 정보를 채우도록 한다.(D) is a diagram in which two call resources are allocated again in the state of (C) of FIG. 5, and the two call resources are allocated and the allocation pointer is increased, and the corresponding information field 23 of the call table 20 corresponds to the corresponding information. Fill in call resource information.

(마)는 도 5의 (라)의 상태에서 호 테이블(20)의 호 테이블 인덱스(21)가 '1'과 '3'인 호자원을 해제하였을 경우의 도면으로서, 호 테이블 인덱스(21)가 '1'과 '3'인 호 테이블(20)의 정보필드(23)에 저장된 호자원을 해제하고 환형큐(10)의 호 테이블 인덱스(12)에 '1'과 '3'의 인덱스를 저장한 후 해제포인터를 2만큼 증가시킨다.FIG. 5E is a diagram when the call resources whose call table indexes 21 are '1' and '3' of the call table 20 are released in the state of FIG. Releases the call resources stored in the information field 23 of the call table 20 with '1' and '3' and assigns the indexes of '1' and '3' to the call table index 12 of the annular queue 10. After saving, increase the release pointer by 2.

(바)는 도 5의 (마)의 상태에서 다시 2개의 호자원을 할당한 도면이며, (사)는 도 5의 (바)의 상태에서 호 테이블(20)의 호 테이블 인덱스가 '6'인 호자원을 해제하였을 경우의 도면이며, (아)는 새로운 호자원 4개를 할당한 도면으로서, 4개의 호자원을 할당하여 할당포인터가 환형큐(10)의 최대 크기를 넘기 때문에 할당포인터가 환형큐(10)의 첫 번째를 가리키도록 한다.(A) is a diagram in which two call resources are allocated again in the state of (e) of FIG. 5, and (g) shows that the call table index of the call table 20 is '6' in the state of (b) of FIG. (A) is a diagram in which four new call resources are allocated, and four call resources are allocated and the allocation pointer exceeds the maximum size of the annular queue 10. Point to the first of the annular queue (10).

마지막으로, (자)는 호 테이블(20)의 호 테이블 인덱스(21)가 '7'과 '8'인 호자원을 해제하였을 경우의 도면이다.Lastly, (i) is a diagram in the case of releasing call resources whose call table index 21 of call table 20 is '7' and '8'.

상기와 같은 본 발명의 호 테이블에서의 호자원 할당 및 해제방법은 종래의 순차적인 자원할당방법을 이용하고 있는 경우에 적용하면 바람직하다고 본다.The call resource allocation and release method in the call table of the present invention as described above is preferably applied when the conventional sequential resource allocation method is used.

예를 들면, 하나의 호처리를 위해 제어국의 호제어 프로세서내 호처리 프로그램에서 보코더(Vocoder)의 자원할당을 수행하는 경우 실제 해당 보코더의 상태를 검사해야하는 점이 추가되지만, 초기화시 무조건 전체 보코더의 인덱스를 환형큐에 삽입하는 것이 아니라 보코더의 현재 상태를 보고 상태가 정상인 경우에만 환형큐에 삽입하도록 하거나 또는 하나의 보코더 자원이 할당되더라도 그 보코더의 상태를 다시 한번 점검한 뒤 할당하도록 함으로써 보코더의 자원할당을 수행할 수 있도록 한다.For example, when performing a vocoder resource allocation in a call processing program in the call control processor of a control station for one call processing, the fact that the status of the vocoder is actually added should be added. Instead of inserting the index into the annular queue, the vocoder's resources are checked by looking at the current state of the vocoder and inserting it into the annular queue only when the status is normal, or by checking the vocoder's state once again and assigning it even if a single vocoder resource is allocated. Allow the assignment to be performed.

이상, 상기 설명에서와 같이 본 발명은 호가 증가하면 증가할수록 호자원에 대한 할당시간이 기하급수적으로 늘어나는 종래의 방법과는 달리 환형큐를 이용함에 따라 호의 수가 증가하더라도 할당시간이 늘어나지 않고 일정하게 유지되기 때문에 안정적으로 호처리를 할 수 있게 되는 효과가 있다.As described above, in the present invention, unlike the conventional method in which the allocation time for call resources increases exponentially as the call increases, the allocation time does not increase even if the number of calls increases according to the annular queue. Because of this, there is an effect that can be stable call processing.

또한, 실시간 호처리가 가능하여 호처리 프로그램의 특성을 충분히 만족시킬 수 있는 장점이 있다.In addition, there is an advantage in that real-time call processing is possible to sufficiently satisfy the characteristics of the call processing program.

Claims (3)

이동통신 시스템의 제어국내 호제어 프로세서에서의 호 테이블 자원할당 및 해제방법에 있어서,A call table resource allocation and release method in a call control processor in a control station of a mobile communication system, 발/착신호를 처리 및 관리하기 위한 호 테이블(20)중 호자원이 할당가능한 호 테이블(20)의 인덱스(21)를 저장하는 하나의 환형큐(10)를 구비하여, 호제어 프로세서내 호처리 프로그램에 따라 호 테이블(20)중 호자원이 할당가능한 호 테이블(20)의 인덱스(21)를 환형큐(10)의 호 테이블 인덱스(12)에 순차적으로 삽입함으로써 환형큐(10)를 초기화하는 제1과정과;One call queue in the call control processor is provided with one annular queue 10 that stores the index 21 of the call table 20 to which call resources can be allocated among the call tables 20 for processing and managing incoming / outgoing signals. Initializing the annular queue 10 by sequentially inserting the index 21 of the call table 20 to which call resources are allocated in the call table 20 in the call table index 12 of the annular queue 10 according to the processing program. A first process of doing; 제1과정 수행 후, 호자원 할당 요구시 할당포인터를 이용하여 할당포인터가 가리키고 있는 환형큐(10)의 호 테이블 인덱스(12)에 해당하는 호 테이블(20)의 인덱스(21)에 호자원을 할당한 후 할당포인터를 증가시키는 제2과정과;After performing the first process, when the call resource allocation request is made, the call resource is allocated to the index 21 of the call table 20 corresponding to the call table index 12 of the annular queue 10 indicated by the assigning pointer using the assigning pointer. A second step of increasing the allocation pointer after allocating; 제2과정 수행 후, 호자원 해제 요구시 해제포인터를 이용하여 해제포인터가 가리키고 있는 환형큐(10)의 호 테이블 인덱스(12)에 해제하려는 호자원을 저장하고 있는 호 테이블(20)의 인덱스(21)를 저장하여 호자원을 해제한 후 해제포인터를 증가시키는 제3과정과;After performing the second process, when the call resource release request is performed, an index of the call table 20 storing the call resource to be released in the call table index 12 of the annular queue 10 indicated by the release pointer using the release pointer ( 21) storing the call resource and releasing the call resource and increasing the release pointer; 상기 제2과정 및 제3과정에서 할당포인터 및 해제포인터가 증가된 후, 이 증가된 할당포인터와 해제포인터가 최대 호 테이블 인덱스+1(10) 보다 큰 경우에 할당포인터와 해제포인터가 환형큐(10)의 첫 번째 위치를 가리키도록 하는 제4과정으로 이루어짐을 특징으로 하는 환형큐를 이용한 제어국에서의 호 테이블 자원할당 및 해제방법.After the allocation pointer and the release pointer are increased in the second and third processes, when the increased allocation pointer and the release pointer are larger than the maximum call table index + 1 (10), the allocation pointer and the release pointer are annular queues. 10) A method for allocating and releasing call table resources at a control station using an annular queue, characterized by comprising a fourth step of pointing to the first position of 10). 제1항에 있어서, 상기 제2과정은, 기지국 또는 교환기로부터 새로운 발/착신호의 호처리를 위한 호자원 할당 요구를 입력받는 경우 할당포인터와 해제포인터가 가리키고 있는 환형큐(10)의 위치가 서로 동일한지를 판단하는 제1단계와, 상기 제1단계에서 할당포인터와 해제포인터가 가리키고 있는 환형큐(10)의 위치가 서로 동일하다면 호 테이블(20)의 빈곳이 모두 채워져 더 이상 호자원 정보를 저장할 수 없는 상태임을 알리고, 할당포인터와 해제포인터가 가리키고 있는 환형큐(10)의 위치가 서로 동일하지 않다면 할당포인터가 현재 가리키고 있는 환형큐(10)의 위치를 찾아 해당 환형큐(10)의 위치에 저장된 호 테이블 인덱스(12)를 읽는 제2단계와, 상기 제2단계에서 읽은 호 테이블 인덱스(12)에 해당하는 호 테이블(20)의 위치를 찾아 이 위치에서의 사용여부필드(22)를 사용중(O)으로 셋팅하고, 정보필드(23)에 호자원 정보를 저장하는 제3단계와, 상기 제3단계 수행 후, 이전에 할당포인터가 가리키고 있던 환형큐(10)의 위치에서 호 테이블 인덱스(12)를 널상태로 초기화시키고 할당포인터를 1만큼 증가시키는 제4단계와, 상기 제4단계에서 증가된 할당포인터가 최대 호 테이블 인덱스+1(10) 보다 작은 경우 상기 제1단계로 복귀하여 이하 동작을 계속해서 반복 수행하는 제5단계로 이루어짐을 특징으로 하는 환형큐를 이용한 제어국에서의 호 테이블 자원할당방법.2. The method of claim 1, wherein in the second process, when a call resource allocation request for a call processing of a new incoming / outgoing signal is received from a base station or an exchange, positions of the annular queue 10 indicated by the allocation pointer and the release pointer are mutually different. If the first step of judging whether the same and the position of the annular queue 10 indicated by the allocation pointer and the release pointer in the first step are the same, all the empty spaces of the call table 20 are filled to store the call resource information. If the position of the annular cue 10 indicated by the assignment pointer and the release pointer is not the same, the position of the annular queue 10 currently indicated by the allocation pointer is found and the position of the annular queue 10 is indicated. The second step of reading the stored call table index 12 and the position of the call table 20 corresponding to the call table index 12 read in the second step are found and used at this position. A third step of setting the subfield 22 to in use (O) and storing call resource information in the information field 23, and after performing the third step, the annular queue 10 previously indicated by the allocation pointer. A fourth step of initializing the call table index 12 to a null state and increasing the allocation pointer by 1 at the position of; and, if the allocation pointer increased in the fourth step is smaller than the maximum call table index + 1 (10); 5. A method for allocating a call table resource at a control station using an annular queue, comprising the fifth step of returning to the first step and continuously performing the following operations. 제1항에 있어서, 상기 제3과정은, 기지국 또는 교환기로부터 호자원 해제 요구를 입력받는 경우, 할당포인터가 가리키는 환형큐(10)의 인덱스보다 해제포인터가 가리키는 환형큐(10)의 인덱스가 1만큼 적은지 판단하는 제1단계와, 상기 제1단계에서 할당포인터가 가리키는 환형큐(10)의 인덱스보다 해제포인터가 가리키는 환형큐(10)의 인덱스가 1만큼 적다면 에러 메시지를 출력하고, 적지 않다면 해제포인터가 가리키고 있는 환형큐(10)의 위치를 찾아 해당 환형큐(10)의 위치에 호 테이블(20)에서 해제하려는 호 테이블의 인덱스를 저장하는 제2단계와, 상기 제2단계 수행 후, 해제할 호자원 정보를 저장하고 있는 호 테이블(20)을 찾아 사용여부필드(22)를 미사용중으로 셋팅하고, 정보필드(23)를 널상태로 초기화시켜 호자원 정보를 삭제하는 제3단계와, 상기 제3단계 수행 후, 해제포인터를 1만큼 증가시키는 제4단계와, 상기 제4단계에서 증가된 해제포인터가 최대 호 테이블 인덱스+1(10) 보다 작은 경우 상기 제1단계로 복귀하여 이하 동작을 계속해서 반복 수행하도록 하는 제5단계로 이루어지는 것을 특징으로 하는 환형큐를 이용한 제어국에서의 호 테이블 자원해제방법.According to claim 1, wherein the third process, when receiving a call resource release request from the base station or exchange, the index of the annular queue 10 indicated by the release pointer is 1 than the index of the annular queue 10 indicated by the allocation pointer. If the index of the annular queue 10 indicated by the release pointer is less than the index of the annular queue 10 indicated by the allocation pointer in the first step, and if the index is less than 1, an error message is output. A second step of finding the position of the annular queue 10 indicated by the release pointer and storing an index of the call table to be released from the call table 20 at the position of the annular queue 10; and after performing the second step, A third step of searching for a call table 20 storing call resource information to be released, setting the use availability field 22 to unused, and initializing the information field 23 to a null state to delete call resource information; The above After performing step 3, if the release pointer is increased by 1 and the release pointer increased in the fourth step is smaller than the maximum call table index + 1 (10), the process returns to the first stage and continues the following operation. And a fifth step of repeatedly performing the call table resource release method in the control station using the annular queue.
KR1019990008775A 1999-03-16 1999-03-16 Call table resource assignment and removal of the base control station using Circular Queue KR100301582B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990008775A KR100301582B1 (en) 1999-03-16 1999-03-16 Call table resource assignment and removal of the base control station using Circular Queue

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990008775A KR100301582B1 (en) 1999-03-16 1999-03-16 Call table resource assignment and removal of the base control station using Circular Queue

Publications (2)

Publication Number Publication Date
KR20000060459A true KR20000060459A (en) 2000-10-16
KR100301582B1 KR100301582B1 (en) 2001-09-26

Family

ID=19576679

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990008775A KR100301582B1 (en) 1999-03-16 1999-03-16 Call table resource assignment and removal of the base control station using Circular Queue

Country Status (1)

Country Link
KR (1) KR100301582B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100405407B1 (en) * 2000-11-28 2003-11-15 에스케이 텔레콤주식회사 A method of controlling dynamic interface between units of base station controller in IMT-2000 system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100405407B1 (en) * 2000-11-28 2003-11-15 에스케이 텔레콤주식회사 A method of controlling dynamic interface between units of base station controller in IMT-2000 system

Also Published As

Publication number Publication date
KR100301582B1 (en) 2001-09-26

Similar Documents

Publication Publication Date Title
KR940001820B1 (en) Automatic equivalent temporary talkgroup assignment
US6466559B1 (en) Method and apparatus for allocating processing resources
EP1677459B1 (en) Associating a mobile device to access points within a wireless local area network
US6161020A (en) Mobile radio terminal with SMS function for transmitting short message and method for controlling the same
CN110138717B (en) Electronic device and method for transferring electronic data
KR100403620B1 (en) Communication system and method for raising coefficient of utilization of channels
KR100301582B1 (en) Call table resource assignment and removal of the base control station using Circular Queue
US6389012B1 (en) Multi-processor system
EP0749255A2 (en) Mobile communications network and mobile communication method
KR100306375B1 (en) Walsh Code Channel Management Apparatus and Method for Code Division Multiple Access Mobile Communication System
KR100318914B1 (en) Method for sharing load in mobile switching center
JP3658704B2 (en) Method and apparatus for executing application associated with telecommunications connection by processing device
US6212269B1 (en) Virtual terminal control device for switching system
US20070258480A1 (en) Resource management system and method
CN111431932B (en) Electronic device and method for transferring electronic data
KR100461519B1 (en) Device And Method Of Message Management In Mobile Communication System
US20040013100A1 (en) Systems and methods for the assignment of a plurality of processors to a plurality of data servers
JP4411980B2 (en) Packet transmission sequence control program and method
KR100282646B1 (en) Timer resource management device and method for non-corresponding test message in signal connection control unit
KR20180111249A (en) Private branch exchange and call processing method in private branch exchange
KR100328440B1 (en) Method for transmitting communication data in msc
KR100333050B1 (en) Method for allocating supplemental channel in base station
KR100328434B1 (en) Method for processing outgoing call by uniform call distribution in msc
KR20050033326A (en) Fa operating method in the base station equipment
JP2716337B2 (en) Call control processor

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee