KR20010105766A - The method of managing a path reference data structure of the communication switch - Google Patents

The method of managing a path reference data structure of the communication switch Download PDF

Info

Publication number
KR20010105766A
KR20010105766A KR1020000026662A KR20000026662A KR20010105766A KR 20010105766 A KR20010105766 A KR 20010105766A KR 1020000026662 A KR1020000026662 A KR 1020000026662A KR 20000026662 A KR20000026662 A KR 20000026662A KR 20010105766 A KR20010105766 A KR 20010105766A
Authority
KR
South Korea
Prior art keywords
index
path
ref
value
idle
Prior art date
Application number
KR1020000026662A
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 KR1020000026662A priority Critical patent/KR20010105766A/en
Publication of KR20010105766A publication Critical patent/KR20010105766A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/36Statistical metering, e.g. recording occasions when traffic exceeds capacity of trunks
    • H04M3/367Traffic or load control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/55Aspects of automatic or semi-automatic exchanges related to network data storage and management
    • H04M2203/558Databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A combined torque and angular position detector includes two disks (10, 12) rotatable about a common axis. Relative angular displacement of the disks results from torque applied thereto. Each disk has a number of regions of differing optical transmissivity and these control the transmission of optical radiation from a source (20) to an array (22) on which an image of the regions of the disks is formed. A data processor (24) processes image intensity data and determines the angular positions of the disks and their relative displacement. Alternative arrangements are described in which positional information is derived by (i) providing one disk regions of intermediate transmissivity of width varying around one disk, (ii) by having the regions of lesser transmissivity of width varying around one disk or (iii) by arranging combinations of regions of several different widths around one disk.

Description

통신 교환기에서의 패스 참조 데이터 스트럭쳐의 관리방법{THE METHOD OF MANAGING A PATH REFERENCE DATA STRUCTURE OF THE COMMUNICATION SWITCH}THE METHOD OF MANAGING A PATH REFERENCE DATA STRUCTURE OF THE COMMUNICATION SWITCH}

본 발명은 통신 교환기에서의 패스 참조 데이터 스트럭쳐 관리방법에 관한 것으로, 특히 유휴(Idle)한 패스 참조 데이터 스트럭쳐(Path Reference Data Structure ; 이하, 'Path_ref'라 칭함)를 관리하는 배열을 별도로 두어 유휴한 Path_ref를 신속히 찾아 Path_ref를 할당하거나 해제할 수 있도록 한 통신 교환기에서의 Path_ref 관리방법에 관한 것이다.The present invention relates to a method of managing a path reference data structure in a communication exchange. In particular, the present invention relates to a method of managing an idle path reference data structure (hereinafter, referred to as a 'path_ref'). The present invention relates to a path_ref management method in a communication exchange that can quickly find and allocate or release path_refs.

일반적으로 통신 시스템의 교환기에는 ASS(Access Switching Subsystem)에서의 호처리에 필요한 패스 관련 변수들을 스트럭쳐 형태로 갖고 있는 Path_ref가 구비되어 있으며, 이러한 Path_ref는 스트럭쳐 배열 구조를 갖으면서 4096개를 갖고 있다.In general, a switch of a communication system includes a Path_ref having a structure of path-related variables required for call processing in an ASS (Access Switching Subsystem). The Path_ref has a structure arrangement structure and has 4096.

그리고, 상기 Path_ref는 Path_ref의 할당 여부를 알기 위해 pref_usg라는 변수를 스트럭쳐안에 두어 사용하고, Path_ent라는 스트럭쳐내 변수 pref_icnt, pref_acnt를 사용하여 비어 있는 Path_ref의 개수와 사용되고 있는 Path_ref의 개수를 관리하며, pref_ip를 두어 찾기 시작할 Path_ref의 인덱스로 사용한다.The Path_ref uses a variable called pref_usg in the structure to determine whether to assign Path_ref, and manages the number of empty Path_ref and the number of Path_ref being used by using variables pref_icnt and pref_acnt in the structure named Path_ent, and pref_ip. Use as an index into Path_ref to start searching.

종래 Path_ref의 할당 및 해제동작을 도 1의 (가),(나) 흐름도를 참고하여 설명하면, 먼저 Path_ref 할당의 경우, Path_ref에 대한 할당 및 해제동작을 관리하는 LSL이라는 라이브러리 블록이 로딩(Loading)되면 Path_ent.pref_ip를 0으로,Path_ent.pref_acnt를 0으로, Path_ent.pref_icnt를 4096으로, Path_ref[0:4095].pref_usg를 모두 미할당상태인 u_avl로 초기화한다(S1).Referring to the conventional path_ref allocation and release operations with reference to (a) and (b) of FIG. 1, first, in the case of Path_ref allocation, a library block called LSL that manages the allocation and release operations for Path_ref is loaded. Path_ent.pref_ip is set to 0, Path_ent.pref_acnt is set to 0, Path_ent.pref_icnt is set to 4096, and Path_ref [0: 4095] .pref_usg is initialized to u_avl which is unassigned (S1).

이후, Path_ref 할당 요구가 오면(S2) Path_ent.pref_icnt가 0보다 큰지 판단하여(S3) 0보다 크지 않으면 유휴한 Path_ref가 없는 경우이므로 라이브러리 블록으로 폴스(FALSE)를 리턴하여 유휴한 Path_ref가 없슴을 알린다(S4).After that, when a request for allocation of Path_ref is made (S2), it is determined whether Path_ent.pref_icnt is greater than 0 (S3). If it is not greater than 0, there is no idle Path_ref, and thus FALSE is returned to the library block, indicating that there is no idle Path_ref. (S4).

그리고, Path_ent.pref_icnt가 0보다 크면 4096개의 Path_ref중에서 유휴한 Path_ref를 찾기 위한 내부 변수 i를 0으로 초기화한 다음(S5), 찾기 시작할 Path_ref의 인덱스를 나타내는 Path_ent.pref_ip를 가지고 Path_ref.pref_usg가 미할당상태인 u_avl인지 확인한다(S6).If Path_ent.pref_icnt is greater than 0, initialize the internal variable i for finding idle Path_ref out of 4096 Path_refs to 0 (S5), and then Path_ref.pref_usg is unassigned with Path_ent.pref_ip indicating the index of Path_ref to start searching. Check whether the state u_avl (S6).

상기 단계(S6)의 확인 결과, Path_ref.pref_usg가 u_avl이 아니라면 u_avl이 나타날 때까지 유휴한 Path_ref를 찾기 위해 먼저, Path_ent.pref_ip를 1증가시키고(S7), 이 증가된 Path_ent.pref_ip가 4095보다 크면(S8) Path_ent.pref_ip를 0으로 설정한 다음(S9) 상기 내부 변수 i를 1증가시키며(S10), 상기 단계(S10)에서 증가된 내부 변수 i가 4095보다 작으면(S11) 상기 단계(S6)로 진행하고 내부 변수 i가 4095보다 크면 라이브러리 블록으로 폴스를 리턴한다(S12).As a result of checking in step S6, if Path_ref.pref_usg is not u_avl, to find an idle Path_ref until u_avl appears, first, Path_ent.pref_ip is increased by 1 (S7), and if this increased Path_ent.pref_ip is greater than 4095 (S8) Set Path_ent.pref_ip to 0 (S9) and then increase the internal variable i by 1 (S10), and if the internal variable i increased in step S10 is less than 4095 (S11) then step S6 If the internal variable i is greater than 4095, return to the library block (S12).

한편, 상기 단계(S7)에서 증가된 Path_ent.pref_ip가 4095보다 작으면 직접 상기 단계(S10)로 진행하여 내부 변수 I를 1증가시킨 후 이하 단계를 반복 수행한다.On the other hand, if the path_ent.pref_ip increased in step S7 is less than 4095, the process directly proceeds to step S10 to increase the internal variable I by one, and then repeats the following steps.

상기 단계(S6)의 확인 결과, Path_ref.pref_usg가 u_avl이라면 Path_ent.pref_icnt를 1감소시키고 Path_ent.pref_acnt를 1증가시키며, Path_ref를할당함으로써 Path_ref.pref_usg를 할당상태인 u_asn으로 설정한 후, Path_ent.pref_ip를 1증가시킨다(S13).As a result of checking in step S6, if Path_ref.pref_usg is u_avl, Path_ent.pref_icnt is decreased by 1, Path_ent.pref_acnt is increased by 1, and Path_ref.pref_usg is set to u_asn by assigning Path_ref, and then Path_ent.pref_ip Increase by 1 (S13).

이어, 상기 증가된 Path_ent.pref_ip가 4095보다 크면(S14) Path_ent.pref_ip를 0으로 설정한 다음(S15) 라이브러리 블록으로 할당된 Path_ref 번호와 함께 트루(TRUE)를 리턴하고(S16), Path_ent.pref_ip가 4095보다 작으면 직접 상기 단계(S16)로 진행한다.Subsequently, when the increased Path_ent.pref_ip is greater than 4095 (S14), Path_ent.pref_ip is set to 0 (S15), and true (TRUE) is returned together with the Path_ref number allocated to the library block (S16), and Path_ent.pref_ip If is less than 4095 and proceeds directly to the step (S16).

한편, Path_ref를 해제할 경우에는 Path_ref 해제 요구가 오면(S17), 해제하고자 하는 Path_ref 번호가 입력으로 들어오므로 이 Path_ref 번호에 해당하는 Path_ref.pref_usg를 u_avl로 설정하고, Path_ent.pref_acnt를 1감소시키고 Path_ent.pref_icnt를 1증가시킨다(S18).On the other hand, when releasing Path_ref, when the request for releasing Path_ref comes (S17), the Path_ref number to be released is entered as input, so set Path_ref.pref_usg corresponding to this Path_ref number to u_avl, and decrease Path_ent.pref_acnt by 1 Path_ent.pref_icnt is increased by one (S18).

이때, 호라는 것이 먼저 발생했다고 먼저 해제되는 것이 아니기 때문에 어느정도 호가 진행된 후에는 도 2에 도시된 바와 같이 불규칙적으로 Path_ref.pref_usg가 값을 갖게 된다.In this case, since an arc occurs first and is not released first, Path_ref.pref_usg has an irregular value as shown in FIG.

상기와 같이 종래에는 Path_ref 할당 및 해제시 유휴한 Path_ref를 찾기 위해 Path_ent.pref_ip의 0에서부터 1씩 증가하여 4096까지 찾아야 하므로 도 3에 도시된 바와 같이 최악의 경우에는 하나의 유휴한 Path_ref를 찾기 위해 4096번을 찾아야 하는 문제점이 있었다.As described above, in order to find an idle Path_ref when allocating and releasing Path_ref, it is necessary to increase the value of Path_ent.pref_ip from 0 to 1 up to 4096. Thus, as shown in FIG. 3, in the worst case, 4096 to find one idle Path_ref. There was a problem to find out.

즉, 도 3에 도시된 바와 같이 Path_ent.pref_icnt가 1(Path_ent.pref_acnt가 4095)일 경우에는 하나 남은 Path_ref를 찾아야 되는데, 불행히도 Path_ent.pref_ip가 하나 남은 유휴한 Path_ref번호+1인 경우에는 최악의 경우로하나의 유휴한 Path_ref를 찾기 위해 4096번을 찾아야 하는 것이다.That is, as shown in FIG. 3, when Path_ent.pref_icnt is 1 (Path_ent.pref_acnt is 4095), one remaining Path_ref should be found. Unfortunately, when one Path_ent.pref_ip is an idle Path_ref number +1 remaining, the worst case is required. We have to look for 4096 to find one idle Path_ref.

상기와 같이 루프에 의해 유휴한 Path_ref를 찾아 Path_ref를 관리하는 종래의 Path_ref 관리방법은 유휴한 Path_ref를 찾는 속도가 저하될 뿐만 아니라 찾는 동작이 많아짐으로 인하여 부하가 증가하는 등, 비효율적인 수행 능력을 갖게 되는 문제점이 있었다.As described above, the conventional path_ref management method for managing path_refs by searching for idle path_refs by loops not only decreases the speed of finding the idle path_refs, but also has an inefficient performance capability such as an increase in load due to the increased number of operations. There was a problem.

본 발명은 상기와 같은 문제점을 해결하기 위해 안출한 것으로서, 그 목적은 유휴한 Path_ref를 관리하는 배열을 별도로 두어 유휴한 Path_ref를 신속히 찾아 Path_ref를 할당하거나 해제함으로써 유휴한 Path_ref를 찾는 속도를 증가시키고, 찾는데 소요되는 부하를 감소시킬 수 있도록 한 통신 교환기에서의 Path_ref 관리방법을 제공하는 데에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and its object is to provide a separate arrangement for managing idle Path_ref to quickly find an idle Path_ref and allocate or release Path_ref to increase the speed of finding an idle Path_ref. The purpose of the present invention is to provide a path_ref management method in a communication exchange to reduce the load required for searching.

도 1의 (가)와 (나)는 종래 패스 참조 데이터 스트럭쳐의 할당 및 해제동작을 보인 흐름도,1 (a) and (b) are flow charts showing the allocation and release operations of a conventional path reference data structure;

도 2는 종래 패스 참조 데이터 스트럭쳐의 해제동작을 설명하기 위해 어느정도 호가 진행된 후의 한 예를 보인 도면,2 is a view showing an example after a call progresses to some extent to explain a release operation of a conventional path reference data structure;

도 3은 종래 패스 참조 데이터 스트럭쳐의 할당 및 해제시 발생되는 최악의 경우의 예를 보인 도면,3 illustrates an example of a worst case occurring when allocating and freeing a conventional path reference data structure;

도 4는 본 발명의 패스 참조 데이터 스트럭쳐 관리방법 수행시 필요한 유휴 패스 참조 데이터 스트럭쳐 관리 배열과 인덱스 변수의 초기화를 보인 도면,4 is a view illustrating initialization of an idle path reference data structure management array and index variables required for performing a path reference data structure management method of the present invention;

도 5는 본 발명의 패스 참조 데이터 스트럭쳐 관리방법에 의한 패스 참조 데이터 스트럭쳐의 할당동작을 보인 흐름도,5 is a flowchart showing an operation of allocating a path reference data structure according to the path reference data structure management method of the present invention;

도 6은 본 발명의 패스 참조 데이터 스트럭쳐 관리방법에 의한 패스 참조 데이터 스트럭쳐의 해제동작을 보인 흐름도,6 is a flowchart illustrating a release operation of a path reference data structure according to the path reference data structure management method of the present invention;

도 7은 본 발명의 패스 참조 데이터 스트럭쳐 관리방법에 의한 패스 참조 데이터 스트럭쳐의 할당 예를 보인 도면,7 is a view showing an example of allocation of a path reference data structure by the path reference data structure management method of the present invention;

도 8은 본 발명의 패스 참조 데이터 스트럭쳐 관리방법에 의한 패스 참조 데이터 스트럭쳐의 해제 예를 보인 도면.8 illustrates an example of releasing a path reference data structure by the method of managing a path reference data structure of the present invention.

이러한 목적을 달성하기 위한 본 발명의 통신 교환기에서의 Path_ref 관리방법은, 유휴한 Path_ref의 첫 번째 번호를 가리키는 first_index와 마지막 번호를 가리키는 last_index를 사용하는 유휴한 Path_ref 관리 배열(idle_path_ref)을 설정하는 유휴한 Path_ref 관리 배열 설정 단계와, 상기 유휴한 Path_ref 관리 배열 설정 단계 수행 후, Path_ref 할당을 요구하는 경우, first_index의 idle_path_ref 값에 해당하는 Path_ref.pref_usg를 할당상태인 u_asn으로 설정하고, 상기 first_index의 값에 -1을 설정하는 Path_ref 할당 단계와, 상기 유휴한 Path_ref 관리 배열 설정 단계 수행 후, Path_ref 해제를 요구하는 경우, first_index와last_index의 값이 -1이 아닌 경우에 증가되는 last_index의 idle_path_ref에 해제 요구된 Path_ref의 번호를 설정하고, Path_ref가 해제된 Path_ref.pref_usg에 미할당상태인 u_avl을 설정하는 Path_ref 해제 단계로 이루어지는 것을 특징으로 한다.Path_ref management method in the communication exchange of the present invention for achieving this purpose, idle idle to set the idle Path_ref management array (idle_path_ref) using first_index indicating the first number of the idle Path_ref and last_index indicating the last number. After the Path_ref management array setting step and the idle Path_ref management array setting step, when Path_ref allocation is requested, Path_ref.pref_usg corresponding to idle_path_ref value of first_index is set to u_asn, and the value of first_index is set to-. Path_ref allocation step of setting 1 and after the idle Path_ref management array setting step, when the release of Path_ref is requested, when the value of first_index and last_index is not -1, the idle_path_ref of last_index which is increased is increased. Path_ref which sets number and sets u_avl which is unassigned to Path_ref.pref_usg where Path_ref is released. It characterized by comprising the first step.

이하, 첨부된 도면을 참고하여 본 발명에 의한 통신 교환기에서의 Path_ref 관리방법을 상세히 설명한다.Hereinafter, a path_ref management method in a communication exchange according to the present invention will be described in detail with reference to the accompanying drawings.

도 4는 본 발명의 Path_ref 관리방법 수행시 필요한 유휴 Path_ref 관리 배열과 인덱스 변수의 초기화를 보인 도면으로서, 본 발명에서는 유휴한 Path_ref를 관리하기 위한 배열, 즉 idle_path_ref를 별도로 두고 있으며, 이 idle_path_ref에서의 유휴한 Path_ref의 첫 번째 번호를 가리키는 first_index와 마지막 번호를 가리키는 last_index를 사용한다.FIG. 4 is a diagram illustrating initialization of an idle Path_ref management array and an index variable required for performing a Path_ref management method according to the present invention. In the present invention, an array for managing an idle Path_ref, that is, idle_path_ref, is separately set, and is idle in this idle_path_ref. Use first_index for the first number of a Path_ref and last_index for the last number.

본 발명의 Path_ref 관리방법에 의한 Path_ref의 할당동작을 도 5의 흐름도를 참고하여 설명하면 다음과 같다.A path_ref allocation operation by the path_ref management method of the present invention will be described with reference to the flowchart of FIG. 5.

먼저, 도 4에 도시된 바와 같이 초기상태(S21)에서 Path_ref 할당 요구 단계(S22)로 진행하여 Path_ref 할당을 요구한다.First, as shown in FIG. 4, the process proceeds to the path_ref allocation request step S22 in the initial state S21 to request Path_ref allocation.

상기 초기상태(21)에서는 유휴한 Path_ref를 관리하기 위한 idle_path_ref 배열에서 유휴한 Path_ref의 첫 번째 번호를 가리키는 first_index를 0으로 초기화하고, 마지막 번호를 가리키는 last_index를 4095로 각각 초기화한다.In the initial state 21, first_index indicating the first number of idle Path_refs is initialized to 0 in the idle_path_ref array for managing idle Path_refs, and last_index indicating the last number is respectively initialized to 4095.

상기 Path_ref 할당 요구 단계(S22)에서 Path_ref 할당 요구가 오면 first_index 값 확인 단계(S23)로 진행하여 현재 first_index에 해당하는 idle_path_ref의 값이 -1인지를 확인한다.When the Path_ref allocation request is received in the Path_ref allocation request step S22, the process proceeds to the first_index value checking step S23 to determine whether the idle_path_ref value corresponding to the current first_index is -1.

상기 first_index 값 확인 단계(S23) 후에 first_index 값 리턴 및 u_asn 설정 단계(S25)로 진행하여 상기 단계(S23)에서 현재 first_index에 해당하는 idle_path_ref의 값이 -1이면 폴스를 라이브러리 블록으로 리턴하여 유휴한 Path_ref가 없슴을 알린다(S24).After the first_index value checking step (S23), return to the first_index value and set u_asn step (S25). If the idle_path_ref value corresponding to the current first_index is -1 in step S23, the false is returned to the library block so as to idle the path_ref. Notify that there is no (S24).

반면에, 상기 단계(S23)에서 현재 first_index에 해당하는 idle_path_ref의 값이 -1이 아니면 현재 first_index에 해당하는 idle_path_ref의 값을 라이브러리 블록으로 리턴하여 이에 해당하는 Path_ref.pref_usg를 u_asn으로 설정함으로써 할당상태를 표시하여 두고, 상기 first_index의 값에 -1을 설정하여 비워두도록 한다(S25).On the other hand, if the idle_path_ref value corresponding to the current first_index is not -1 in step S23, the idle_path_ref value corresponding to the current first_index is returned to the library block and the corresponding path_ref.pref_usg is set to u_asn. In this case, the value of first_index is set to -1 and left blank (S25).

상기 first_index 값 리턴 및 u_asn 설정 단계(S25) 후에 인덱스 비교 단계(S26)로 진행하여 first_index와 last_index가 같은지를 판단하고, 이때 first_index와 last_index가 같다면 인덱스 값 설정 단계(S27)로 진행하여 first_index와 last_index의 값을 -1로 설정한다.After the first_index value return and u_asn setting step (S25), the process proceeds to the index comparison step (S26) to determine whether the first_index and the last_index are the same.In this case, if the first_index and the last_index are the same, the process proceeds to the index value setting step (S27) and the first_index and the last_index. Set the value of to -1.

즉, 상기 first_index와 last_index가 같다고 하는 것은 현재 유휴한 Path_ref가 하나 남아있었던 것을 의미하므로 first_index와 last_index의 값을 -1로 설정하여 더 이상 유휴한 Path_ref가 없슴을 표시하여 둔다.That is, since the first_index and the last_index are equal to each other indicate that there is one currently idle Path_ref, the first_index and last_index are set to -1 to indicate that there is no more idle Path_ref.

그리고, first_index와 last_index가 다르다면 인덱스 증가 단계(S28)로 진행하여 first_index를 1증가시켜 다음 유휴한 Path_ref를 계속해서 찾을 수 있도록 한다.If the first_index and the last_index are different, the process proceeds to the index increment step S28 to increase the first_index by 1 so that the next idle Path_ref can be found continuously.

상기 인덱스 증가 단계(S28) 후에 인덱스 비교 단계(S29)로 진행하여 상기단계(S28)에서 증가된 first_index가 4095보다 크면 first_index를 0으로 설정하고(S30), 4095보다 작으면 상기 first_index의 값 확인 단계(S23)로 진행하여 이하 과정을 반복 수행하도록 한다.After the index increase step S28, the process proceeds to the index comparison step S29, and if first_index increased in step S28 is greater than 4095, first_index is set to 0 (S30), and if it is less than 4095, checking the value of the first_index. Proceed to (S23) to repeat the following process.

다음으로, 본 발명의 Path_ref 관리방법에 의한 Path_ref의 해제동작을 도 6의 흐름도를 참고하여 설명하면 다음과 같다.Next, the release operation of Path_ref by the Path_ref management method of the present invention will be described with reference to the flowchart of FIG. 6.

Path_ref 해제 요구 단계(S31)에서 Path_ref 해제 요구가 오면 Path_ref.pref_usg 확인 단계(S32)로 진행하여 Path_ref를 해제할 Path_ref.pref_usg가 u_asn인지를 판단한다.When the Path_ref release request is received in the Path_ref release request step S31, the process proceeds to the Path_ref.pref_usg confirmation step S32 to determine whether Path_ref.pref_usg to release Path_ref is u_asn.

상기 Path_ref.pref_usg 확인 단계(S32)에서 해제를 요구한 Path_ref의 Path_ref.pref_usg가 u_asn이 아니면 응용 프로그램(Application Program)에서 할당하지도 않은 Path_ref를 해제 요청한 것으로 간주하여 오류 처리한다(S33).If Path_ref.pref_usg of Path_ref requesting release in the Path_ref.pref_usg confirmation step S32 is not u_asn, the application assumes that Path_ref that is not allocated by the application program is treated as an error (S33).

그리고, 상기 Path_ref.pref_usg 확인 단계(S32)에서 해제를 요구한 Path_ref의 Path_ref.pref_usg가 u_asn이면 인덱스 값 확인 단계(S34)로 진행하여 first_index와 last_index의 값이 -1인지를 판단한다.If Path_ref.pref_usg of Path_ref requesting release in Path_ref.pref_usg confirmation step S32 is u_asn, the process proceeds to index value confirmation step S34 to determine whether the values of first_index and last_index are -1.

상기 인덱스 값 확인 단계(S34)에서 first_index와 last_index의 값이 -1이면 인덱스 값 설정 단계(S35)로 진행하여 first_index와 last_index의 값을 0으로 설정한다.If the value of the first_index and the last_index is -1 in the index value checking step S34, the process proceeds to the index value setting step S35 and sets the values of the first_index and the last_index to zero.

즉, 상기 first_index와 last_index의 값이 -1이라고 하는 것은 Path_ref가 모두 사용중이다가 최초로 하나가 해제되어 유휴한 상태로 되는 것을 의미하므로 first_index와 last_index의 값을 0으로 설정하도록 한다.That is, since the value of the first_index and the last_index is -1 means that both Path_refs are in use and the first one is released and is in an idle state, so the values of the first_index and the last_index are set to 0.

상기 인덱스 값 설정 단계(S35) 후에 u_avl 설정 단계(S36)로 진행하여 상기 단계(S35)의 last_index에 해당하는 idle_path_ref에 해제 요구된 Path_ref의 번호를 설정하고, Path_ref가 해제된 Path_ref.pref_usg에 u_avl을 설정한다.After the index value setting step S35, the process proceeds to the u_avl setting step S36, sets the number of the requested Path_ref to the idle_path_ref corresponding to the last_index of the step S35, and sets u_avl to the Path_ref.pref_usg from which the Path_ref is released. Set it.

상기 인덱스 값 확인 단계(S34)에서 first_index와 last_index의 값이 -1이 아니라면 인덱스 증가 단계(S37)로 진행하여 last_index를 1증가시킨다.If the value of first_index and last_index is not -1 in the index value checking step S34, the process proceeds to the index increasing step S37 to increase the last_index by one.

상기 인덱스 증가 단계(S37) 후에 인덱스 비교 단계(S38)로 진행하여 상기 단계(S37)에서 증가된 last_index가 4095보다 크면 last_index를 0으로 설정하고(S39), last_index가 4095보다 작으면 상기 u_avl 설정 단계(S36)로 진행하여 상기 단계(S37)에서 증가된 last_index에 해당하는 idle_Path_ref에 해제 요구된 Path_ref 번호를 설정하고, Path_ref가 해제된 Path_ref.pref_usg에 u_avl을 설정한다.After the index increase step S37, the process proceeds to the index comparison step S38. If the last_index increased in the step S37 is greater than 4095, the last_index is set to 0 (S39), and if the last_index is less than 4095, the u_avl setting step In step S36, a path_ref number for which release is requested is set in idle_Path_ref corresponding to the last_index increased in step S37, and u_avl is set in Path_ref.pref_usg in which Path_ref is released.

도 7은 본 발명의 Path_ref 관리방법에 의한 Path_ref의 할당 예를 보인 도면이고, 도 8은 본 발명의 Path_ref 관리방법에 의한 Path_ref의 해제 예를 보인 도면으로서, 도 7에 도시된 바와 같이 first_index=4에 설정되어 있는 200번호를 갖는 Path_ref를 idle_path_ref에서 찾아 u_asn으로 설정한 후 first_index를 1증가시켜 first_index=5로 만들어 줌으로써 200번호를 갖는 유휴한 Path_ref를 찾아 할당할 수 있게 된다.FIG. 7 is a diagram illustrating an example of allocation of Path_ref by the Path_ref management method of the present invention, and FIG. 8 is a diagram illustrating an example of releasing Path_ref by the Path_ref management method of the present invention. First_index = 4 as shown in FIG. 7. Find the path_ref with the 200 number set in the idle_path_ref and set it to u_asn, and then increase the first_index by 1 to make first_index = 5 so that the idle Path_ref with the 200 number can be found and assigned.

Path_ref 해제 역시 도 8에 도시된 바와 같이 last_index를 1증가시켜 last_index=0에서 last_index=1로 만들어 준 후 last_index=1에 해당하는 idle_path_ref에 해제된 Path_ref의 번호 200을 설정하고, 이어 Path_ref가 해제된idle_path_ref의 200번호에는 u_avl을 설정함으로써 이전에 할당된 200번호를 갖는 Path_ref를 찾아 해제할 수 있게 된다.Path_ref release also increases last_index by 1 to make last_index = 1 to last_index = 1, and then sets the number 200 of Path_ref released in idle_path_ref corresponding to last_index = 1, and then id_path_ref released Path_ref. By setting u_avl to the 200 number of, the Path_ref having the 200 number previously assigned can be found and released.

이상, 상기 설명에서와 같이 본 발명은, 유휴한 Path_ref를 관리하는 배열을 별도로 두어 유휴한 Path_ref를 신속히 찾아 Path_ref를 할당하거나 해제함으로써 유휴한 Path_ref를 찾는 속도를 증가시키고, 찾는데 소요되는 부하를 감소시킬 수 있어 ASS내에서의 더 많은 호를 처리할 수 있으며, 이에 따라 교환기의 성능을 효율적으로 개선할 수 있게 되는 효과가 있다.As described above, the present invention provides a separate arrangement for managing idle Path_refs to quickly find an idle Path_ref and allocate or release Path_refs to increase the speed of finding an idle Path_ref and reduce the load required to find it. As a result, more calls can be handled within the ASS, thereby effectively improving the performance of the exchange.

Claims (3)

유휴한 Path_ref의 첫 번째 번호를 가리키는 인덱스(first_index)와 마지막 번호를 가리키는 인덱스(last_index)를 사용하는 유휴한 Path_ref 관리 배열(idle_path_ref)을 설정하는 유휴한 Path_ref 관리 배열 설정 단계와,Setting an idle Path_ref management array setting an idle Path_ref management array (idle_path_ref) using the first numbered index (first_index) and the last numbered index (last_index), and 상기 유휴한 Path_ref 관리 배열 설정 단계 수행 후, Path_ref 할당을 요구하는 경우, first_index의 idle_path_ref 값에 해당하는 Path_ref.pref_usg를 할당상태인 u_asn으로 설정하고, 상기 first_index의 값에 -1을 설정하는 Path_ref 할당 단계와,Path_ref allocation step of setting Path_ref.pref_usg corresponding to idle_path_ref value of first_index to u_asn assigned state and setting -1 to the value of first_index when Path_ref allocation is requested after performing the idle Path_ref management array setting step. Wow, 상기 유휴한 Path_ref 관리 배열 설정 단계 수행 후, Path_ref 해제를 요구하는 경우, first_index와 last_index의 값이 -1이 아닌 경우에 증가되는last_index의 idle_path_ref에 해제 요구된 Path_ref의 번호를 설정하고, Path_ref가 해제된 Path_ref.pref_usg에 미할당상태인 u_avl을 설정하는 Path_ref 해제 단계로 이루어지는 것을 특징으로 하는 통신 교환기에서의 패스 참조 데이터 스트럭쳐의 관리방법.After performing the idle Path_ref management array setting step, if the release of Path_ref is requested, the number of the requested Path_ref is set in idle_path_ref of last_index which is increased when the values of first_index and last_index are not -1, and Path_ref is released. A path_ref releasing step of setting an unassigned u_avl in Path_ref.pref_usg. 제1항에 있어서, 상기 Path_ref 할당 단계가,The method of claim 1, wherein the Path_ref allocation step, 상기 idle_path_ref의 first_index와 last_index를 초기화한 후 Path_ref 할당 요구가 오는 경우, first_index에 해당하는 idle_path_ref의 값이 유휴한 Path_ref가 없슴을 나타내는 -1인지를 확인하는 first_index 값 확인 단계와, 상기first_index 값 확인 단계에서 first_index에 해당하는 idle_path_ref의 값이 -1이면 라이브러리 블록으로 폴스를 리턴하고, -1이 아니면 first_index의 idle_path_ref 값에 해당하는 Path_ref.pref_usg를 u_asn으로 설정하고 first_index의 값에 -1을 설정하는 first_index 값 리턴 및 u_asn 설정 단계와, 상기 first_index 값 리턴 및 u_asn 설정 단계 수행 후, first_index와 last_index가 같은지를 판단하여 first_index와 last_index가 같으면 first_index와 last_index의 값을 -1로 설정하고, first_index와 last_index가 다르면 first_index를 1증가시키는 인덱스 비교 및 인덱스 값 설정 단계와, 상기 인덱스 비교 및 인덱스 값 설정 단계에서 증가된 first_index가 4095보다 크면 first_index를 0으로 설정하고, 4095보다 작으면 상기 first_index 값 확인 단계로 진행하는 인덱스 비교 단계로 이루어지는 것을 특징으로 하는 통신 교환기에서의 패스 참조 데이터 스트럭쳐의 관리방법.After initializing the first_index and last_index of the idle_path_ref, if a request for allocation of Path_ref comes, first_index value checking step of checking whether the value of idle_path_ref corresponding to first_index is -1 indicating that there is no idle Path_ref, and the first_index value checking step If the value of idle_path_ref corresponding to first_index is -1, returns a fault to the library block; otherwise, returns the value of first_index that sets Path_ref.pref_usg corresponding to the idle_path_ref value of first_index to u_asn and sets -1 to the value of first_index And after the u_asn setting step, the first_index value return and the u_asn setting step, determine whether the first_index and the last_index are the same, and if the first_index and the last_index are the same, set the values of the first_index and the last_index to -1, and if the first_index and the last_index are different, the first_index is 1; Comparing the index and setting the index value to increase; Management of a path reference data structure in a communication exchange comprising: an index comparison step of setting first_index to 0 if the increased first_index is greater than 4095 in the switch value setting step; Way. 제1항에 있어서, 상기 Path_ref 해제 단계가,The method of claim 1, wherein the Path_ref release step, Path_ref 해제 요구가 오는 경우, Path_ref를 해제할 Path_ref.pref_usg가 u_asn인지를 판단하여 Path_ref.pref_usg가 u_asn이 아니면 오류 처리하고, u_asn이면 first_index와 last_index의 값이 -1인지를 판단하는 Path_ref.pref_usg 확인 및 인덱스 값 확인 단계와, 상기 Path_ref.pref_usg 확인 및 인덱스 값 확인 단계에서 first_index와 last_index의 값이 -1이면 first_index와 last_index의 값을 0으로 설정하고, -1이 아니면 last_index를 1증가시키는 인덱스 값 설정 및 인덱스증가 단계와, 상기 인덱스 값 설정 및 인덱스 증가 단계에서 설정된 last_index의 idle_path_ref에 해제 요구된 Path_ref의 번호를 설정하고, Path_ref가 해제된 Path_ref.pref_usg에 u_avl을 설정하는 u_avl 설정 단계와, 상기 인덱스 값 설정 및 인덱스 증가 단계에서 증가된 last_index가 4095보다 작으면 상기 u_avl 설정 단계로 진행하고, 4095보다 크면 last_index를 0으로 설정하는 인덱스 비교 단계로 이루어지는 것을 특징으로 하는 통신 교환기에서의 패스 참조 데이터 스트럭쳐의 관리방법.If a request for releasing Path_ref comes, it determines whether Path_ref.pref_usg to release Path_ref is u_asn, and if Path_ref.pref_usg is not u_asn, if it is u_asn, checks Path_ref.pref_usg to determine whether the value of first_index and last_index is -1. Setting the value of first_index and last_index to 0 if the value of first_index and last_index is -1 in the step of checking the index value, and checking the path_ref.pref_usg and checking the index value, and setting the value of the index to increase the last_index by 1 if not -1 and An u_avl setting step of setting a number of Path_refs required to be released in idle_path_ref of last_index set in the index increasing step, the index value setting and the index increasing step, and setting u_avl in Path_ref.pref_usg from which Path_ref is released; and setting the index value And if the last_index increased in the index increase step is less than 4095, proceed to the u_avl setting step. An index comparison step of setting dex to 0, wherein the path reference data structure is managed in a communication exchange.
KR1020000026662A 2000-05-18 2000-05-18 The method of managing a path reference data structure of the communication switch KR20010105766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000026662A KR20010105766A (en) 2000-05-18 2000-05-18 The method of managing a path reference data structure of the communication switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000026662A KR20010105766A (en) 2000-05-18 2000-05-18 The method of managing a path reference data structure of the communication switch

Publications (1)

Publication Number Publication Date
KR20010105766A true KR20010105766A (en) 2001-11-29

Family

ID=19669063

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000026662A KR20010105766A (en) 2000-05-18 2000-05-18 The method of managing a path reference data structure of the communication switch

Country Status (1)

Country Link
KR (1) KR20010105766A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980028268A (en) * 1996-10-21 1998-07-15 배순훈 Simple cold / warmer placed in a carrying bag
KR19980082242A (en) * 1997-05-02 1998-12-05 양승택 How to manage trunk status of code division multiple access mobile switching center
KR19990012518A (en) * 1997-07-29 1999-02-25 김영환 Method of limiting relay call according to the number of idle relay lines in mobile switching center
KR19990030778A (en) * 1997-10-06 1999-05-06 이계철 Routing Method for Multi-Module Control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980028268A (en) * 1996-10-21 1998-07-15 배순훈 Simple cold / warmer placed in a carrying bag
KR19980082242A (en) * 1997-05-02 1998-12-05 양승택 How to manage trunk status of code division multiple access mobile switching center
KR19990012518A (en) * 1997-07-29 1999-02-25 김영환 Method of limiting relay call according to the number of idle relay lines in mobile switching center
KR19990030778A (en) * 1997-10-06 1999-05-06 이계철 Routing Method for Multi-Module Control

Similar Documents

Publication Publication Date Title
KR100473162B1 (en) How to Store Login Service Variables
JP2743608B2 (en) Shared register control method
RU2147392C1 (en) Software control process in system of base station of multiple access with code-division of channels in system of personal communication
US5634072A (en) Method of managing resources in one or more coupling facilities coupled to one or more operating systems in one or more central programming complexes using a policy
US5515499A (en) Method and system for reconfiguring a storage structure within a structure processing facility
US4937737A (en) Process transparent multi storage mode data transfer and buffer control
US4733352A (en) Lock control for a shared storage in a data processing system
EP0381167B1 (en) Method for managing multiple virtual storages divided into families and corresponding structure
US5511192A (en) Method and apparatus for managing thread private data in a parallel processing computer
US5027271A (en) Apparatus and method for alterable resource partitioning enforcement in a data processing system having central processing units using different operating systems
US5386536A (en) Apparatus and method for managing memory allocation
US20050060388A1 (en) Method for modifying computer configuration and configuration of program which operates on computer, and computing device and system for implementing the method
CA2480459A1 (en) Persistent key-value repository with a pluggable architecture to abstract physical storage
US6697901B1 (en) Using secondary resource masters in conjunction with a primary resource master for managing resources that are accessible to a plurality of entities
JPH11505653A (en) Operating system for use with protection domains in a single address space
JP2003281107A (en) Data processing method on processor and data processing system
EP1055172A1 (en) Object hashing with incremental changes
US20050027719A1 (en) Database control method
US5894555A (en) Apparatus and method for managing shared resources
US5394539A (en) Method and apparatus for rapid data copying using reassigned backing pages
US6101525A (en) Method and apparatus for shared memory cleanup
EP0348053A2 (en) Controlling the initiation of logical systems in a data processing system with logical processor facility
US5974134A (en) Method of and apparatus for managing call resources in switching system
US7698708B1 (en) Method and system for persistent, recoverable user-level locks
CA2170468A1 (en) Multi-processor system with virtually addressable communication registers and controlling method thereof

Legal Events

Date Code Title Description
N231 Notification of change of applicant
N231 Notification of change of applicant
A201 Request for examination
E701 Decision to grant or registration of patent right
NORF Unpaid initial registration fee