KR100246607B1 - Unique identifier creation method for telecommunication system - Google Patents

Unique identifier creation method for telecommunication system Download PDF

Info

Publication number
KR100246607B1
KR100246607B1 KR1019970057340A KR19970057340A KR100246607B1 KR 100246607 B1 KR100246607 B1 KR 100246607B1 KR 1019970057340 A KR1019970057340 A KR 1019970057340A KR 19970057340 A KR19970057340 A KR 19970057340A KR 100246607 B1 KR100246607 B1 KR 100246607B1
Authority
KR
South Korea
Prior art keywords
identifier
time
item
key
generating
Prior art date
Application number
KR1019970057340A
Other languages
Korean (ko)
Other versions
KR19990035524A (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 KR1019970057340A priority Critical patent/KR100246607B1/en
Publication of KR19990035524A publication Critical patent/KR19990035524A/en
Application granted granted Critical
Publication of KR100246607B1 publication Critical patent/KR100246607B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 통신 시스템을 위한 특정 시점에서의 유일한 식별자 생성 방법에 관한 것임.The present invention relates to a method of generating a unique identifier at a particular point in time for a communication system.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은, 각각의 기능이 온라인으로 수행되고 사용자의 시스템 이용에 따라 동적으로 수행되어 전체적으로 균형을 이루면서 고루 빠른 시간내에 수행될 수 있도록 하는 통신시스템을 위한 특정 시점에서의 유일한 식별자 생성 방법을 제공하고자 함.SUMMARY OF THE INVENTION The present invention seeks to provide a unique identifier generation method at a specific time for a communication system in which each function is performed online and dynamically performed according to the user's use of the system, so that the function can be performed in a totally balanced time. box.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

본 발명은, 식별자를 생성하기 위한 초기 준비 시간, 새로운 식별자를 생성하는 시간, 어떤 식별자가 현재 사용되고 있는지를 알아보는데 소요되는 시간, 사용이 완료된 식별자를 소멸시키는 시간, 및 식별자를 생성하는 기능을 소멸시키는 시간들을 현실적인 범위내에서 가능한 빠른 시간내에 수행하여 특정 시점에서 유일한 식별자를 생성한다.The present invention eliminates the initial preparation time for generating an identifier, the time for generating a new identifier, the time required to find out which identifier is currently being used, the time for destroying the used identifier, and the function for generating the identifier. In this case, the identifiers are generated at a specific point in time as soon as possible within a realistic range.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 통신망 시스템등의 식별자 생성에 이용됨.The present invention is used to generate an identifier of a communication network system.

Description

통신 시스템을 위한 특정 시점에서의 유일한 식별자 생성 방법Unique identifier generation method at specific time for communication system

본 발명은 교환기 호 처리시스템 및 통신망 관리시스템에서 호 식별자 및 호 연결을 표현하는 관리 객체를 식별자로 사용하기 위해 식별자를 효율적으로 생성하는 특정 시점에의 유일한 식별자 생성 방법에 관한 것이다.The present invention relates to a method of generating an unique identifier at a particular time in which an identifier is efficiently generated for use as a identifier in a call management system and a communication network management system.

일반적으로, 통신망 관리시스템 소프트웨어나 교환시스템 소프트웨어는 특정 시간에 유일하게 정의되는 식별자를 필요로 한다. 즉, 이러한 식별자는 교환시스템에서 현재 연결된 호들을 식별하기 위해 사용되고, 통신망 관리시스템 소프트웨어에서도 연결된 호들을 관리 객체로 표현하기 위해 특정 시간에 유일하게 정의되는 식별자를 생성 관리할 수 있는 방법이 필요하다.In general, network management system software or switching system software requires an identifier that is uniquely defined at a particular time. That is, such an identifier is used to identify currently connected calls in the switching system, and there is a need for a method capable of generating and managing a uniquely defined identifier at a specific time in order to represent connected calls as managed objects in the network management system software.

이러한 식별자를 관리하는 방법에는 시스템 효율 향상을 위해 요구 사항들을 필요로 한다. 즉, 이러한 요구 사항들은 식별자를 생성하기 위한 초기 준비 시간, 새로운 식별자를 생성하는 시간, 어떤 식별자가 현재 사용되고 있는지를 알아 보는데 소요되는 시간, 사용이 완료된 식별자를 소멸시키는 시간, 및 식별자를 생성하는 기능을 소멸시키는 시간들이 현실적인 범위내에서 가능한 빠른 시간내에 수행 가능해야 한다.The management of these identifiers requires requirements to improve system efficiency. These requirements include the initial preparation time for creating an identifier, the time to create a new identifier, the time it takes to find out which identifier is currently in use, the time to destroy an identifier that has been used, and the ability to create an identifier. The time to extinguish the signal must be feasible as soon as possible within a realistic range.

도 1 은 종래의 단순한 식별자 생성 방법을 위한 자료구조를 나타낸 설명도이다.1 is an explanatory diagram showing a data structure for a conventional simple identifier generation method.

먼저, 종래의 식별자 생성 방법은 식별자 관리를 위한 사전 준비 과정으로 N개의 요소를 갖는 표를 생성하고 각각에 대해 미사용을 표시한다. 여기서, N은 최대 식별자의 개수를 나타내고, n은 사용되고 있는 식별자의 개수를 나타낸다.First, in the conventional identifier generation method, a table having N elements is generated as a preliminary preparation process for identifier management, and an unused mark is displayed for each. Here, N represents the maximum number of identifiers, and n represents the number of identifiers being used.

이후, 식별자를 생성하기 위해 생성된 표의 전체를 탐색하여 미사용인 것을 찾아 사용으로 표기하고 해당 위치를 식별자로 쓴다.After that, the entire table created to generate the identifier is searched for, and the unused one is marked as used and the corresponding position is written as an identifier.

그리고, 식별자 사용 유무를 확인하기 위해 생성된 표의 위치에서 사용인지 미사용인지를 확인하고, 식별자를 소멸하기 위해 생성된 표의 해당 위치를 미사용으로 표기한다.Then, it is checked whether the table is used or unused at the position of the generated table to check whether the identifier is used, and the corresponding position of the generated table is marked as unused to destroy the identifier.

다음으로, 식별자 관리 기능을 소멸하기 위해 표를 삭제한다.Next, delete the table to destroy the identifier management function.

상기한 바와같은 종래의 식별자 생성 방법에 필요한 시간을 살펴보면 다음과 같다.The time required for the conventional identifier generation method as described above is as follows.

식별자 생성하기 위한 초기 준비 시간은 O(N), 새로운 식별자를 생성하기 위해 필요한 시간은 O(N), 현재 사용되는 식별자의 사용 유무를 확인하기 위해 필요한 시간은 O(1), 사용이 완료된 식별자를 소멸하는데 필요한 시간은 O(1), 및 식별자를 생성하는 기능을 소멸하는데 필요한 시간은 O(1)이다. 여기서, O(1)은 상수시간을 가지고 수행가능함을 나타내고, O(N)은 N에 비례한 시간 소요를 나타낸다.The initial preparation time for generating an identifier is O (N), the time required for generating a new identifier is O (N), the time required for checking whether an identifier is currently used is O (1), and the completed identifier The time required to extinguish is O (1), and the time required to extinguish the function of generating the identifier is O (1). Here, O (1) indicates that it can be performed with a constant time, and O (N) indicates time required in proportion to N.

따라서, 종래의 식별자 관리 방법은 시간을 고려하지 않고 기능만을 구현하여 식별자를 생성하기 위한 초기 준비 및 새로운 식별자 생성시 사용자가 불편함을 느끼게되는 문제점이 있었다.Therefore, the conventional identifier management method has a problem that the user may feel uncomfortable during initial preparation for generating an identifier and generation of a new identifier by implementing only a function without considering time.

도 2 는 종래의 식별자 생성 방법을 위한 자료구조를 나타낸 설명도이다.2 is an explanatory diagram showing a data structure for a conventional identifier generation method.

종래의 식별자 생성 방법은 현재 사용중인 식별자와 사용하지 않은 식별자를 표시하기 위해 연결된 리스트를 사용하여 홀수번째 항목에는 사용한 식별자의 시작을 표시하고, 짝수번째 항목에는 사용하지 않은 식별자의 시작을 표시한다. 즉, 1에서 i-1까지는 사용하지 않은 식별자를 나타내고, i부터 j-1까지는 사용한 식별자를 나타낸다.Conventional identifier generation methods use a linked list to indicate an identifier that is currently in use and an identifier that is not in use, indicating the beginning of the used identifier in the odd-numbered item and the beginning of the unused identifier in the even-numbered item. That is, 1 to i-1 represent unused identifiers, and i to j-1 represent used identifiers.

먼저, 종래의 식별자 생성 방법은 식별자를 생성하기 위한 초기 준비로 세개의 요소로 연결된 리스트를 만들고, 0, 1, 및 N+1을 각각 기록한다. 여기서, N은 최대 식별자의 개수를 나타낸다.First, the conventional identifier generation method creates a list of three elements in initial preparation for generating an identifier, and records 0, 1, and N + 1, respectively. Here, N represents the maximum number of identifiers.

이후, 새로운 식별자를 생성하기 위해 연결된 리스트의 두 번째 항목값을 식별자로 사용한다. 여기서, 두 번째 항목이 i이고 세 번째 항목이 j인 경우에 i+1이 j이면 두 번째 및 세 번째 항목을 삭제하고, i+1이 j보다 작으면 두 번째 항목을 i+1로 바꾼다.Then, use the second item value of the linked list as an identifier to create a new identifier. Here, if the second item is i and the third item is j, if i + 1 is j, the second and third items are deleted. If i + 1 is less than j, the second item is changed to i + 1.

그리고, 어떤 식별자가 현재 사용되고 있는지를 확인하기 위해 리스트를 탐색하여 포함된 곳을 찾아 짝수번째 항목인지 또는 홀수번째 항목인지를 확인한다.Then, to find out which identifier is currently used, the list is searched to find out whether it is an even numbered item or an odd numbered item.

다음으로, 사용이 완료된 식별자를 소멸하기 위해 리스트를 탐색하여 해당 식별자(j)를 포함하는 구간(i)을 찾는다. 여기서, 해당 식별자(j)를 포함하는 구간(i)이 홀수번째이면 사용중이지 않은 비정상적인 경우이고, 해당 식별자(j)를 포함하는 구간(i)이 짝수번째이면 적당히 조정한다.Next, the list is searched to find an interval i including the identifier j by searching the list to destroy the used identifier. Here, if the interval i including the identifier j is odd, it is an abnormal case that is not in use. If the interval i including the identifier j is the even number, it is appropriately adjusted.

만일 다음 항목과 인접한 경우에는 현재 항목과 다음 항목을 삭제하고, 다음 항목과 인접하지 않은 경우에는 i를 갖는 항목을 세개 항목으로 분리하여 각각에 i, j, 및 j+1을 기록한다.If it is adjacent to the next item, the current item and the next item are deleted. If it is not adjacent to the next item, the item having i is divided into three items and i, j, and j + 1 are recorded in each of them.

마지막으로, 식별자를 생성하는 기능을 소멸하기 위해 리스트를 처음부터 하나씩 삭제한다.Finally, to eliminate the ability to generate identifiers, delete the list one by one from the beginning.

상기한 바와같은 종래의 식별자 생성 방법에 필요한 시간을 살펴보면, 식별자를 생성하기 위한 초기 준비 시간 및 새로운 식별자 생성에 필요한 시간은 O(1)이고, 식별자의 사용유무를 확인하는데 필요한 시간, 사용 완료된 식별자를 소멸하는데 필요한 시간, 및 식별자를 생성하는 기능을 소멸하는데 필요한 시간은 O(n)이다. 여기서, O(n)은 n에 비례한 시간 소요를 나타낸다.Looking at the time required for the conventional identifier generation method as described above, the initial preparation time for generating the identifier and the time required for generating a new identifier are O (1), the time required to confirm the use of the identifier, the used identifier The time required to extinguish, and the time required to extinguish the function of generating the identifier is O (n). Here, O (n) represents a time requirement proportional to n.

상기한 바와같은 종래의 식별자 생성 방법은, 이미 사용된 구간별로 엘리먼트로 구성하여 시간을 고려하지 않고 기능만으로 원하는 목적을 달성한 것으로 특정 기능을 수행하기 위한 과정마다 너무 오랜 시간이 소요되는 문제점이 있었다.The conventional identifier generation method as described above has a problem that it takes too long for each process to perform a specific function by achieving the desired purpose only by the function without considering the time by configuring the elements for each used section. .

상기와 같은 문제점을 해결하기 위하여 안출된 본 발명은, 각각의 기능이 온라인으로 수행되고 사용자의 시스템 이용에 따라 동적으로 수행되어 전체적으로 균형을 이루면서 고루 빠른 시간내에 수행될 수 있도록 하는 통신시스템을 위한 특정 시점에서의 유일한 식별자 생성 방법을 제공하는데 그 목적이 있다.The present invention devised to solve the above problems is specific for a communication system that allows each function to be performed online and dynamically performed according to the user's use of the system, so that it can be performed in an even and fast time as a whole. The purpose is to provide a unique identifier generation method at the time.

도 1 은 종래의 단순한 식별자 생성 방법을 위한 자료구조를 나타낸 설명도.1 is an explanatory diagram showing a data structure for a conventional simple identifier generation method.

도 2 는 종래의 식별자 생성 방법을 위한 자료구조를 나타낸 설명도.2 is an explanatory diagram showing a data structure for a conventional identifier generation method.

도 3 은 본 발명에 이용되는 자료구조를 나타낸 일실시예 설명도.Figure 3 is an embodiment explanatory diagram showing a data structure used in the present invention.

도 4a 내지 도 4e 는 본 발명에 따른 식별자 생성 절차에 대한 일실시예 흐름도.4A-4E are flow diagrams of one embodiment of an identifier generation procedure in accordance with the present invention.

상기 목적을 달성하기 위한 본 발명은, 통신시스템을 위한 특정 시점에서의 유일한 식별자를 생성하는 방법에 있어서, 식별자를 생성하기 위해 탐색트리를 생성하여 미사용 데이터를 탐색트리에 추가하는 제 1 단계; 새로운 식별자를 생성하여 이전 항목에 추가하는 제 2 단계; 사용 여부를 확인하고자 하는 식별자를 탐색트리에서 찾아 저장된 데이터 값의 사용 유무를 확인하는 제 3 단계; 사용 완료된 식별자를 중지하기 위해 탐색트리에서 찾아 이전 항목을 삭제하고 식별자를 추가하여 삽입하는 제 4 단계; 및 탐색트리의 처음 항목부터 마지막 항목까지 차례로 삭제하는 제 5 단계를 포함한다.According to an aspect of the present invention, there is provided a method of generating a unique identifier at a specific point in time for a communication system, the method comprising: generating a search tree to generate an identifier and adding unused data to the search tree; Creating a new identifier and adding it to the previous item; A third step of searching for an identifier for checking whether to use the search tree in the search tree and checking whether the stored data value is used; A fourth step of searching the search tree for deleting the used identifier, deleting the previous item, and adding and inserting the identifier; And a fifth step of sequentially deleting from the first item to the last item of the search tree.

이하, 첨부된 도면을 참조하여 본 발명에 따른 일실시예를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described an embodiment according to the present invention;

도 3 은 본 발명에 이용되는 자료구조도로서, 탐색 알고리즘을 이용한 식별자 생성을 위한 자료구조의 일실시예도이다.3 is a data structure diagram used in the present invention, which is an embodiment of a data structure for generating an identifier using a search algorithm.

첫 엘리먼트부터 비교하여 탐색키를 사용해 구간을 검색한다. 즉, 사용중인 식별자와 사용하지 않은 식별자의 구간을 하나의 요소로 하고, 이를 키로 사용하여 탐색트리를 구성한다.Search the interval using the search key by comparing the first element. That is, a search tree is constructed by using the interval between the identifier in use and the identifier not in use as one element and using it as a key.

도 4a 내지 도 4e 는 본 발명에 따른 식별자 생성 절차에 대한 일실시예 흐름도이다.4A through 4E are flowcharts of one embodiment of an identifier generation procedure according to the present invention.

식별자가 통신망 관리시스템에서 사용되는 방법은 하나의 교환 영역을 나타내는 객체가 생성되면 연결을 표현할 식별자를 필요로 하고, 이러한 식별자는 시스템의 운용에 따라 동적으로 생성과 삭제를 수행한다. 따라서, 교환 영역을 나타내는 객체가 필요없게 되면 식별자를 생성하는 기능 역시 필요없게 되어 식별자를 삭제하게 된다.The method in which the identifier is used in the network management system requires an identifier to represent a connection when an object representing one exchange area is created, and the identifier is dynamically generated and deleted according to the operation of the system. Therefore, when the object representing the exchange area is not necessary, the function of generating the identifier is also unnecessary, thereby deleting the identifier.

이렇게 기능의 생성 및 소멸, 생성된 기능에서 식별자를 생성하는 기능이 동적으로 수행되는데, 이는 통신망관리 관리시스템의 요구에 따라 온라인으로 수행되고 사용자의 시스템 이용에 따라 동적으로 수행된다. 따라서, 이러한 생성, 소멸, 식별자 생성, 및 식별자 소멸 기능 전체가 사용자에게 별도로 반응을 나타내는 시간을 갖는다.In this way, a function of generating and destroying a function and generating an identifier from the generated function is performed dynamically, which is performed online according to a request of a network management system and dynamically performed according to a user's use of a system. Thus, all of this generation, destruction, identifier generation, and identifier destruction functions have time to respond separately to the user.

수행 시간의 한계가 O(nlogn) 이하가 되도록 하기 위해서는 식별자를 생성하기 위한 초기 준비 시간 및 식별자를 생성하는 기능을 소멸시키는 시간에 대한 고려가 필요한데, n이 실제 사용된 식별자의 개수인지 최대 가능 식별자의 개수인지를 확인하는 것이 중요하다. 따라서, 식별자 관리 기능의 사용 환경상 n이 실제 사용된 식별자의 개수인 경우에는 식별자 생성 기능의 소멸 시기에 O(n), O(nlogn), 및 O(1)이 동일한 것으로 볼 수있다. 여기서, O(nlogn)은 nlogn에 비례한 시간 소요를 나타낸다.In order for the execution time limit to be less than or equal to O (nlogn), consideration should be given to the initial preparation time for generating the identifier and the time to dissipate the function for generating the identifier, where n is the number of identifiers actually used and the maximum possible identifier. It is important to check whether the number of. Therefore, when n is the number of identifiers actually used in the use environment of the identifier management function, it can be regarded that O (n), O (nlogn), and O (1) are the same at the time of disappearance of the identifier generation function. Here, O (nlogn) represents a time requirement proportional to nlogn.

본 발명은 사용중인 식별자와 사용하지 않은 식별자 구간을 하나의 요소로 하고 이를 키로하여 탐색 트리를 구성한다(도 3 참조).According to the present invention, a search tree is constructed using an identifier in use and an identifier interval not in use as a single element, and as a key (see FIG. 3).

키의 요소(p, q)에 대한 탐색트리에서 순서를 수학식으로 표현하면 수학식 1과 같다. 여기서, 키의 요소는 구간의 최소값 및 최대값을 각각 나타내는 a 및 b로 구성된다.In order to express the order in the search tree for the elements (p, q) of the key, Equation 1 is expressed. Here, the element of the key consists of a and b representing the minimum and maximum values of the interval, respectively.

p의 b < q의 a → p<qp of b <q of a → p <q

q의 b < p의 a → q>pb of q <a of p→q> p

p의 a ≤ q의 a 및 p의 b ≥ q의 b → p=qa of p ≤ a of q and b of ≥ q of b → p = q

q의 a ≤ p의 a 및 q의 b ≥ p의 b → p=qa of q ≤ a of p and b of q ≥ p of b → p = q

수학식 1에 나타난 바와같이 탐색트리에서 순서를 정하고, 각 키에 맵핑되는 데이터로 식별자의 사용 여부를 저장한다.As shown in Equation 1, the search tree determines the order and stores whether the identifier is used as data mapped to each key.

본 발명에 따른 특정 시점에서의 유일한 식별자를 생성하는 방법은 다음과 같다.The method of generating a unique identifier at a specific time point according to the present invention is as follows.

식별자를 생성하기 위한 초기 준비 과정(도 4a 참조)은, 먼저 사용중인 식별자와 사용하지 않은 식별자의 구간을 하나의 요소로 하고 이를 키로 사용하여 탐색트리를 생성하고(101), (1, n)을 키로하여 미사용 데이터를 탐색 트리에 추가한다(102).An initial preparation process for generating an identifier (see FIG. 4A), first, creates a search tree using the interval between the in-use identifier and the unused identifier as one element and using the key as a component (101), (1, n) The key is used to add unused data to the search tree (102).

새로운 식별자를 생성하는 과정(도 4b 참조)은, 먼저 생성된 탐색트리의 두 번째 항의 키가 (i, j)이면 i를 식별자로 할당한다(201).In the process of generating a new identifier (see FIG. 4B), if the key of the second term of the first search tree is (i, j), i is assigned to the identifier (201).

다음으로, 할당된 식별자(i)를 이전 항목으로 전송하여 이전 항목의 키를 (x, y)로 하고(203), 식별자(i)를 리스트의 이전 항목에 추가하여 이전 항목의 키를 삭제한 후(204), 이전 항목의 키를 (x, i)로 하고 데이터 사용을 탐색 리스트에 추가한다(205).Next, the assigned identifier (i) is transferred to the previous item to make the key of the previous item (x, y) (203), and the identifier (i) is added to the previous item in the list to delete the key of the previous item. After 204, the key of the previous item is (x, i) and the data usage is added to the search list (205).

마지막으로, 탐색트리의 두 번째 항의 키(i, j)를 삭제하고 대신 (i+1, j)를 추가한다(206).Finally, delete the key (i, j) of the second term of the search tree and add (i + 1, j) instead (206).

식별자의 현재 사용 유무 확인 과정(도 4c 참조)은, 사용 여부를 확인하고자 하는 식별자가 i라면 (i, i)를 키로 하여 탐색트리에서 찾아(301) 저장된 데이타값이 사용되고 있는지를 판단한다(302).In the process of checking whether the identifier is currently used (refer to FIG. 4C), if the identifier to be used is i, it is determined in the search tree by using (i, i) as a key (301) and determines whether the stored data value is used (302). ).

판단결과, 현재 데이터값이 사용되고 있으면 사용으로 인지하고(304), 사용되고 있지 않으면 미사용으로 인지한다(305).As a result of the determination, if the current data value is used, it is recognized as used (304), and if not used, it is recognized as not used (305).

사용이 완료된 식별자를 소멸시키는 과정(도 4d 참조)은 다음과 같다.The process of destroying the used identifier (see FIG. 4D) is as follows.

먼저, 식별자(i)의 사용을 중지하려면 (i, i)를 키로 하여 탐색트리에서 찾는다(401).First, in order to stop the use of the identifier (i), a search is made in the search tree using (i, i) as a key (401).

만일 탐색트리에서 찾은 항목이 (l, m)이면(402) (l, m)을 키로 한다(402).If the item found in the search tree is (l, m) (402), (l, m) is the key (402).

이때, i가 l이면(403) (l, m)을 삭제하고 (i+1, m)을 추가하고(404), 이전 항목을 삭제한 후 이전 항목에 i를 추가하여 다시 삽입한다(405). 그리고, i가 l이 아니고 m이면(406) (l, m)을 삭제하고 (l, m-1)을 삽입한 후(407) 다음 항목을 삭제하고 i를 추가하여 다시 삽입한다(408). 또한, i가 l 및 m이 아니면 (l, m)을 삭제하고(409), (l, i-1), (i, i), 및 (i+1, m)의 3개의 구간으로 분리한 후 다시 삽입한다(410 내지 412). 이때, (l, i-1)이면 데이터를 사용으로 저장하고(410), (i, i)이면 데이터를 미사용으로 저장하고(411), (i+1, m)이면 데이터를 사용으로 저장한다(412).At this time, if i is l (403), it deletes (l, m) and adds (i + 1, m) (404), and after deleting the previous item, i is added to the previous item and inserted again (405). . If i is not l but m (406), (l, m) is deleted, (l, m-1) is inserted (407), the next item is deleted and i is added again and inserted (408). Also, if i is not l and m, (l, m) is deleted (409), (l, i-1), (i, i), and (i + 1, m) divided into three sections. After inserting again (410 to 412). In this case, (l, i-1) stores data by use (410), (i, i) stores data by unuse (411), and (i + 1, m) stores data by use. (412).

식별자 관리 기능을 소멸시키는 과정(도 4e 참조)은, 탐색트리의 처음 항목 부터 마지막 항목까지 차례로 삭제한다(501 내지 503). 즉, 남아있는 항목이 있는지를 판단하여(501) 남아있는 항목이 있으면 그 항목을 삭제한 후(503) 다시 처음부터 남아있는 항목이 있는지를 판단하고(501), 더 이상의 항목이 없으면 탐색트리를 삭제한다(502).In the process of destroying the identifier management function (see FIG. 4E), the first item of the search tree is deleted in order from the last item (501 to 503). In other words, it is determined whether there is an item remaining (501) and if there is an item remaining, the item is deleted (503) and then it is determined whether there is an item remaining from the beginning (501). Delete (502).

본 발명에 따른 특정 시점에서의 유일한 식별자를 생성하는 방법에 있어서, 각각의 기능을 수행하는데 필요한 시간을 보면 다음과 같다.In the method of generating a unique identifier at a specific time point according to the present invention, the time required to perform each function is as follows.

새로운 식별자를 생성하는 시간, 어떤 식별자가 현재 사용되고 있는지를 알아보는데 소요되는 시간, 및 사용이 완료된 식별자를 소멸시키는 시간은 nlogn에 비례한 시간 소요를 나타낸다. 또한, 식별자를 생성하기 위한 초기 준비 시간은 상수 시간으로 수행가능하고, 식별자를 생성하는 기능을 소멸시키는 시간은 n에 비례한 시간 소요를 나타낸다. 여기서, n은 실제 사용된 식별자의 수이다.The time to create a new identifier, the time to find out which identifier is currently being used, and the time to destroy the used identifier represent a time duration proportional to nlogn. In addition, the initial preparation time for generating the identifier may be performed as a constant time, and the time for extinguishing the function for generating the identifier represents a time requirement proportional to n. Where n is the number of identifiers actually used.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the spirit of the present invention for those skilled in the art to which the present invention pertains, and the above-described embodiments and accompanying It is not limited to the drawing.

상기와 같은 본 발명은, 각 기능이 온라인으로 수행되고 사용자의 시스템 이용에 따라 동적으로 수행하여 관리 객체를 식별하기 위한 식별자를 효율적으로 생성하며, 각 기능을 nlogn 이하의 시간에 수행하여 전체적으로 균형을 갖고 고루 빠른 시간에 수행할 수 있는 효과가 있다.The present invention as described above, each function is performed online and dynamically performed according to the user's use of the system to efficiently generate an identifier for identifying a managed object, performing each function in less than nlogn time to balance the overall There is an effect that can be carried out evenly and quickly.

Claims (8)

통신시스템을 위한 특정 시점에서의 유일한 식별자를 생성하는 방법에 있어서,A method of generating a unique identifier at a particular point in time for a communication system, 식별자를 생성하기 위해 탐색트리를 생성하여 미사용 데이터를 탐색트리에 추가하는 제 1 단계;A first step of generating a search tree to generate an identifier and adding unused data to the search tree; 새로운 식별자를 생성하여 이전 항목에 추가하는 제 2 단계;Creating a new identifier and adding it to the previous item; 사용 여부를 확인하고자 하는 식별자를 탐색트리에서 찾아 저장된 데이터 값의 사용 유무를 확인하는 제 3 단계;A third step of searching for an identifier for checking whether to use the search tree in the search tree and checking whether the stored data value is used; 사용 완료된 식별자를 중지하기 위해 탐색트리에서 찾아 이전 항목을 삭제하고 식별자를 추가하여 삽입하는 제 4 단계; 및A fourth step of searching the search tree for deleting the used identifier, deleting the previous item, and adding and inserting the identifier; And 탐색트리의 처음 항목부터 마지막 항목까지 차례로 삭제하는 제 5 단계The fifth step of deleting the first item of the navigation tree from the last item in order 를 포함하는 통신시스템을 위한 특정 시점에서의 유일한 식별자 생성 방법.Unique identifier generation method at a specific time for a communication system comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 1 단계는,The first step is, 사용중인 식별자와 사용하지 않은 식별자의 구간을 하나의 요소로 하고 이를 키로 사용하여 탐색트리를 구성하는 제 6 단계; 및A sixth step of constructing a search tree by using the interval between the identifier in use and the identifier not in use as one element and using the same as a key; And 미사용 데이터를 탐색트리에 추가하는 제 7 단계Step 7 of adding unused data to the search tree 를 포함하여 이루어진 통신시스템을 위한 특정 시점에서의 유일한 식별자 생성 방법.Method of generating a unique identifier at a specific point in time for a communication system comprising a. 제 1 항 또는 제 2 항에 있어서,The method according to claim 1 or 2, 상기 제 2 단계는,The second step, 생성된 탐색트리의 두 번째 항의 키로부터 식별자를 할당하는 제 8 단계;An eighth step of allocating an identifier from the key of the second term of the generated search tree; 할당된 식별자를 이전 항목으로 전송하고, 식별자를 리스트의 이전 항목에 추가하여 이전 항목의 키를 삭제하는 제 9 단계;A ninth step of transmitting the assigned identifier to the previous item and deleting the key of the previous item by adding the identifier to the previous item of the list; 식별자를 새로운 항목의 키에 추가 생성하고, 데이터 사용을 탐색 리스트에 추가하는 제 10 단계; 및A tenth step of additionally generating an identifier to a key of the new item and adding data usage to a search list; And 탐색트리의 두 번째 항의 키를 삭제하여 새로운 키를 추가하는 제 11 단계Eleventh step of adding a new key by deleting the key of the second term of the search tree 를 포함하여 이루어진 통신시스템을 위한 특정 시점에서의 유일한 식별자 생성 방법.Method of generating a unique identifier at a specific point in time for a communication system comprising a. 제 3 항에 있어서,The method of claim 3, wherein 상기 제 3 단계는,The third step, 사용 여부를 확인하고자 하는 식별자를 기본 키로 하여 탐색트리에 저장된 데이타값이 사용되고 있는지를 판단하는 제 12 단계; 및A twelfth step of determining whether a data value stored in the search tree is used, using the identifier to be checked for use as a primary key; And 상기 제 12 단계 판단결과, 현재 데이터값이 사용되고 있으면 사용으로 인지하고, 사용되고 있지 않으면 미사용으로 인지하는 제 13 단계As a result of the determination of the twelfth step, the thirteenth step of recognizing that the current data value is used is used, and recognizing that the data is not used. 를 포함하여 이루어진 통신시스템을 위한 특정 시점에서의 유일한 식별자 생성 방법.Method of generating a unique identifier at a specific point in time for a communication system comprising a. 제 4 항에 있어서,The method of claim 4, wherein 상기 제 4 단계는,The fourth step, 사용 중지하려는 식별자를 기본 키로 하여 탐색트리에서 찾은 항목을 키로 하는 제 14 단계;A fourteenth step using an item found in the search tree as a key using the identifier to be disabled as a primary key; 식별자가 탐색 항목의 좌요소이면 찾은 항목을 삭제한 후 이전 항목에 식별자를 다시 삽입하는 제 15 단계;A fifteenth step of deleting the found item and reinserting the identifier in the previous item if the identifier is a left element of the search item; 식별자가 탐색 항목의 우요소이면 찾은 항목을 삭제한 후 다음 항목에 식별자를 다시 삽입하는 제 16 단계; 및If the identifier is a right element of the search item, deleting the found item and reinserting the identifier in the next item; And 식별자가 찾은 항목의 요소가 아니면 찾은 항목을 삭제하고, 다수의 항목으로 분리한 후 다시 삽입하는 제 17 단계If the identifier is not an element of the found item, the 17th step of deleting the found item, separating it into a plurality of items and inserting again 를 포함하여 이루어진 통신시스템을 위한 특정 시점에서의 유일한 식별자 생성 방법.Method of generating a unique identifier at a specific point in time for a communication system comprising a. 제 4 항 또는 제 5 항에 있어서,The method according to claim 4 or 5, 상기 제 5 단계는,The fifth step, 탐색트리에 남아있는 항목이 있는지를 판단하는 제 18 단계; 및An eighteenth step of determining whether there are any items remaining in the search tree; And 상기 제 18 단계 판단결과, 남아있는 항목이 있으면 그 항목을 삭제한 후 다시 처음부터 남아있는 항목이 있는지를 확인하고, 남아있는 항목이 없으면 탐색트리를 삭제하는 제 19 단계As a result of the determination of the eighteenth step, if there is a remaining item, after deleting the item, it is checked whether there is a remaining item from the beginning, and if there is no remaining item, a nineteenth step of deleting the search tree 를 포함하여 이루어진 통신시스템을 위한 특정 시점에서의 유일한 식별자 생성 방법.Method of generating a unique identifier at a specific point in time for a communication system comprising a. 제 2 항에 있어서,The method of claim 2, 상기 제 6 단계의 탐색트리는,The search tree of the sixth step, 키 좌요소의 최대값이 키 우요소의 최소값보다 작으면 좌요소가 우요소보다 작고, 키 우요소의 최대값이 키 좌요소의 최소값보다 작으면 우요소가 좌요소보다 크며, 키 좌요소의 최소값이 키 우요소의 최소값보다 작거나 같고 키 좌요소의 최대값이 키 우요소의 최대값보다 크거나 같으면 좌요소와 우요소가 같고, 키 우요소의 최소값이 키 좌요소의 최소값보다 작거나 같고 키 우요소의 최대값이 키 좌요소의 최대값보다 크거나 같으면 좌요소와 우요소가 같은 순서를 정하여 각 키에 맵핑되는 데이터로 식별자의 사용 여부를 저장하는 것을 특징으로 하는 통신시스템을 위한 특정 시점에서의 유일한 식별자 생성 방법.If the maximum value of the key left element is less than the minimum value of the key right element, the left element is smaller than the right element. If the maximum value of the key right element is less than the minimum value of the key left element, the right element is larger than the left element. If the minimum value is less than or equal to the minimum value of the key right element and the maximum value of the key left element is greater than or equal to the maximum value of the key right element, the left and right elements are equal, and the minimum value of the key right element is less than or equal to the minimum value of the key left element. Equal and greater than or equal to the maximum value of the key left element, the left element and the right element define the same order and store whether the identifier is used as data mapped to each key. How to generate a unique identifier at a given point in time. 제 1 항에 있어서,The method of claim 1, 상기 유일한 식별자를 생성하는데 필요한 시간은,The time required to generate the unique identifier is 새로운 식별자를 생성하는 시간, 어떤 식별자가 현재 사용되고 있는지를 알아보는데 소요되는 시간, 및 사용이 완료된 식별자를 소멸시키는 시간은 실제 사용된 사용자 수에 실제 사용된 사용자 수를 로그한 값을 곱한값(nlogn)에 비례한 시간 소요를 나타내며, 식별자를 생성하기 위한 초기 준비 시간은 상수 시간으로 수행가능하고, 식별자를 생성하는 기능을 소멸시키는 시간은 실제 사용된 식별자의 수에 비례한 시간 소요를 나타내는 것을 특징으로 하는 통신시스템을 위한 특정 시점에서의 유일한 식별자 생성 방법.The time to create a new identifier, the time it takes to find out which identifier is currently being used, and the time to destroy the used identifier are multiplied by the number of users actually used and the number of users actually logged (nlogn). In this case, the initial preparation time for generating the identifier can be performed as a constant time, and the time for displacing the function for generating the identifier indicates the time required in proportion to the number of identifiers actually used. Unique identifier generation method at a specific time for a communication system.
KR1019970057340A 1997-10-31 1997-10-31 Unique identifier creation method for telecommunication system KR100246607B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970057340A KR100246607B1 (en) 1997-10-31 1997-10-31 Unique identifier creation method for telecommunication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970057340A KR100246607B1 (en) 1997-10-31 1997-10-31 Unique identifier creation method for telecommunication system

Publications (2)

Publication Number Publication Date
KR19990035524A KR19990035524A (en) 1999-05-15
KR100246607B1 true KR100246607B1 (en) 2000-03-15

Family

ID=19523928

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970057340A KR100246607B1 (en) 1997-10-31 1997-10-31 Unique identifier creation method for telecommunication system

Country Status (1)

Country Link
KR (1) KR100246607B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100494856B1 (en) * 1999-12-30 2005-06-14 주식회사 케이티 Realization method to guarantee unique data on database
KR100690649B1 (en) * 2004-08-26 2007-03-09 엘지전자 주식회사 Refrigerator having basket lift apparatus
WO2007040290A1 (en) 2005-10-05 2007-04-12 Lg Electronics Inc. Refrigerator

Also Published As

Publication number Publication date
KR19990035524A (en) 1999-05-15

Similar Documents

Publication Publication Date Title
CN100409618C (en) Technique of determining connectivity solutions for network elements
CN103346912B (en) Method, device and system for conducting warning correlation analysis
KR100305373B1 (en) Universal analysis system
CN104539514B (en) Information filtering method and device
CN108664773A (en) The guard method of Java source code and device
CN107622102B (en) Entity card number generation method and terminal device
CN106445588B (en) The update method and device of attribute information
CN108170497A (en) A kind of method and device of page rendering
CN108052526A (en) Monitoring area right management method, device and storage medium
CN107241312B (en) A kind of right management method and device
CN108920566A (en) Operating method, device and the equipment of a kind of pair of SQLite database
Ehrich et al. Objects and their Specification
CN109144633A (en) Data sharing method, device, equipment and the storage medium of active window
KR100246607B1 (en) Unique identifier creation method for telecommunication system
ES2240626T3 (en) PLANNING SYSTEM FOR A COMMUNICATIONS NETWORK, PROCEDURE FOR GENERATING PLANS FOR THE COMMUNICATIONS NETWORK AND CONTROL PROGRAM FOR A PLANNING SYSTEM FOR THE COMMUNICATIONS NETWORK.
Lee et al. A slicing-based approach to enhance petri net reachability analysis
CN110457535A (en) Hash bucket lookup method, Hash table storage, Hash table lookup method and device
CN111309554A (en) Management interface display method and device, electronic equipment and storage medium
CN105320737A (en) Firefighting inspection and acceptance retrieving system
ES2161555T3 (en) DATA COMMUNICATION SYSTEM USING A HIERARCHICAL NETWORK MODEL DEFINING LOGICAL AND PHYSICAL OBJECTS.
CN105488056B (en) A kind of object processing method and equipment
CN109885468A (en) Various dimensions configuration system, method and storage medium for monitoring
CN109857720A (en) Database table monitoring method, device, computer installation and readable storage medium storing program for executing
CN113127692B (en) Data storage structure, retrieval method, data storage method and terminal equipment
CN114462170A (en) Operator province network flexible topology customization method and device

Legal Events

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

Payment date: 20031128

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee