KR20010028707A - Method for allocating and deallocating resources in telecommunication system - Google Patents

Method for allocating and deallocating resources in telecommunication system Download PDF

Info

Publication number
KR20010028707A
KR20010028707A KR1019990041090A KR19990041090A KR20010028707A KR 20010028707 A KR20010028707 A KR 20010028707A KR 1019990041090 A KR1019990041090 A KR 1019990041090A KR 19990041090 A KR19990041090 A KR 19990041090A KR 20010028707 A KR20010028707 A KR 20010028707A
Authority
KR
South Korea
Prior art keywords
resource
resources
state
sub
service
Prior art date
Application number
KR1019990041090A
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 KR1019990041090A priority Critical patent/KR20010028707A/en
Publication of KR20010028707A publication Critical patent/KR20010028707A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/0016Arrangements providing connection between exchanges
    • H04Q3/0062Provisions for network management
    • H04Q3/0066Bandwidth allocation or management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/391Channel allocation to connections

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: A method for allocating and releasing resources in a communication system is provided to minimize the fragmentation of the resources, and make the allocation and release thereof efficient, by allocating the resources with priority which have the minimum allocable sub-resources capable of supporting the service with a required speed. CONSTITUTION: All resources are initialized as a S0 state(210). A system gets the group index of the resources that includes the minimum allocable sub-resources capable thereof(215). The system waits the request for allocating service resources(220). When the request for the same is received(225), the value according to the speed of the requested service is inserted into a variable of i(230). It is checked if the value of cnt(i) is larger than '0'(235). If the value of cnt(i) is not larger than '0', it is checked whether the value of i is larger than '0'(240). If the value of i is larger than '0', it is decreased by 1(245). If the value of i is not larger than '0', the system regards this state as the failure of allocating the resources(250). If the value of cnt(i) is larger than '0', the system updates the state value and group index of the resources(255-270).

Description

통신 시스템에서 자원 할당 및 해제 방법{METHOD FOR ALLOCATING AND DEALLOCATING RESOURCES IN TELECOMMUNICATION SYSTEM}How to allocate and release resources in a communication system {METHOD FOR ALLOCATING AND DEALLOCATING RESOURCES IN TELECOMMUNICATION SYSTEM}

본 발명은 통신 시스템에서 자원 할당 및 해제 방법에 관한 것으로, 특히 할당되는 자원의 조각화를 최소화 할 수 있는 방법에 관한 것이다.The present invention relates to a method for allocating and releasing resources in a communication system, and more particularly, to a method for minimizing fragmentation of allocated resources.

다중접속 통신 시스템 및 기타 네트웍의 스위칭 시스템등과 같은 통신 시스템에서, 종래에는 동일한 데이터 전달 속도를 가지는 서비스가 제공되는 것이 일반적 이었다. 그러나 근래의 다중접속 통신 시스템 및 기타 네트웍의 스위칭 시스템등은 음성이나 영상등과 같은 다양한 속도의 서비스를 제공한다. 이때, 해당 시스템은 각 가입자에게 무선 혹은 유선의 자원(Resource)을 할당하여 서비스를 제공하게 되는데, 자원은 서비스의 종류에 따라 다르게 할당되며, 또한 일반적으로 자원 할당에는 특정한 제약 조건이 주어지게 된다.In communication systems such as multiple access communication systems and other network switching systems, it is common practice to provide services with the same data transfer rate. Recently, however, multiple access communication systems and other network switching systems provide various speed services such as voice and video. In this case, the system provides a service by allocating a wireless or wired resource to each subscriber, and resources are allocated differently according to the type of service, and generally, a specific constraint is given to resource allocation.

예를 들어, 음성 가입자가 8Kbps 혹은 16Kbps의 서비스를 요구하고 데이터 서비스 가입자가 64Kbps의 서비스등을 요구하는 경우에 시스템이 제한된 PCM 타임 슬롯 또는 무선의 Hadamard 코드를 무계획적으로 할당하게 되면, 충분히 64Kbps 이상의 서비스를 제공할 수 있을 정도의 자원이 남아 있더라도 남아있는 자원이 연속적이지가 않아서 64Kbps 서비스를 제공할 수 없는 자원의 조각화 현상(Fragmentation)이 발생할 수가 있다. 따라서 시스템은 16Kbps의 서비스는 4개 또는 그 이상의 개수라도 서비스를 제공할 수 있지만 필요한 만큼 연속할당하서브-타임슬롯(Sub-Timeslot)이 없거나, 또단하n 배수로 확장된 차수의 Hadamard 코드는 여러 개가 남아 있지만 기본 차수의 코드로부터 해당 확장된 코드가 남아 있는 경우가 없어, 필요한 고속의 데이터 서비스를 제공할 수 없는 경우가 발생한다.For example, if the voice subscriber requests 8Kbps or 16Kbps service and the data service subscriber requests 64Kbps service, if the system unintentionally allocates limited PCM time slot or wireless Hadamard code, Even if there are enough resources to provide a service, fragmentation of resources that cannot provide 64 Kbps service may occur because the remaining resources are not contiguous. Therefore, the system can provide 4 or more services of 16Kbps, but there are no sub-timeslots allocated as needed, or multiple Hadamard codes with multiple orders of magnitude. There is a case where the extended code remains from the base order code, so that the required high-speed data service cannot be provided.

상기한 바와 같이, 다양한 속도의 서비스를 제공하는 무선 혹은 유선 통신 시스템에서 순차적인 방식으로 또는 무작위의 할당 방식으로 PCM 타임슬롯, Hadamard 코드 및 타임 스위치등의 자원을 할당하게 되면 자원의 조각화 현상이 발생하게 된다. 즉, 실제로는 할당할 자원이 있음에도 불구하고, 반복된 할당과 해제의 과정을 거치면서 각 자원이 작은 단위로 흩어지게 되어 특정 높은 속도의 서비스가 제공될 수 없게 된다.As described above, fragmentation of resources occurs when allocating resources such as PCM timeslots, Hadamard codes, and time switches in a sequential or random allocation scheme in a wireless or wired communication system that provides various speed services. Done. In other words, despite the fact that there are resources to be allocated, each resource is scattered in small units through repeated allocation and release processes, so that a specific high speed service cannot be provided.

한편, 이러한 현상을 막기 위한 방법으로 근래에 주기적으로 자원을 재할당(Defragmentation)하는 방법이 거론되고 있다. 그러나 상기 주기적인 자원 재할당 방식은 일반적인 통신 시스템에 쉽게 적용되기 힘들거나, 서비스의 불연속을 유발할 수가 있다. 또한 상기한 적용의 문제와 서비스의 불연속의 문제를 해결한다고 하더라도 그 기능의 실제 구현은 상당히 어렵다. 예를 들어 실제 Hadamard 코드를 사용하는 부호분할 다중접속(Code Division Multiple Access) 방식의 통신 시스템에서 Hadamard 코드를 재할당 한다는 의미는 많은 서비스 무선 구간을 재 설정해야함을 의미한다. 또한 유선 시스템이 유선구간에 속한 자원인 PCM 타임슬롯이나 타임 스위치 등을 주기적으로 재할당하여 통화로를 제공하기 위해서는, 전체 시스템 내부 모듈간에 복잡한 제어 메시지가 필요하게 된다.On the other hand, recently, a method of periodically reallocating resources (Defragmentation) has been discussed as a way to prevent this phenomenon. However, the periodic resource reallocation scheme may not be easily applied to a general communication system or may cause service discontinuity. In addition, even if the above-mentioned problem of application and service discontinuity are solved, the actual implementation of the function is quite difficult. For example, in a code division multiple access communication system using an actual Hadamard code, reassignment of the Hadamard code means that many service radio sections must be reconfigured. In addition, in order for a wired system to reallocate PCM timeslots or time switches, which are resources belonging to a wired section, to provide a call path, a complicated control message is required between modules inside the entire system.

따라서, 본 발명의 목적은 통신 시스템에서 자원 조각화를 최소화 하고 효율적인 자원 할당 및 해제를 할 수 있는 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a method for minimizing resource fragmentation and efficiently allocating and releasing resources in a communication system.

그리고 본 발명의 다른 목적은 다양한 전송속도를 제공하는 통신 시스템에서 자원 조각화를 최소화 하기 위하여, 요구되는 속도의 서비스를 지원할 수 있는 최소의 할당 가능한 서브 자원을 가지는 자원을 우선적으로 선택하여 자원을 할당하는 방법을 제공함에 있다.Another object of the present invention is to allocate resources by first selecting a resource having a minimum assignable sub-resource capable of supporting a service of a required rate in order to minimize resource fragmentation in a communication system providing various transmission rates. In providing a method.

그리고 본 발명의 또 다른 목적은 통신 시스템에서 자원 조각화를 최소화 하고 효율적인 자원 할당 및 분배를 하기 위하여 서브 자원의 할당 유/무에 따라 각 자원의 상태를 정의하며 자원 할당/해제의 이벤트를 정의하며 각 자원의 할당되지 않은 서브 자원의 개수와 서비스 할 수 있는 속도를 기준으로 하여 자원 집합을 정의하여, 효율적인 자원의 할당 및 해제를 할 수 있는 방법을 제공함에 있다.In addition, another object of the present invention is to define the status of each resource according to the presence or absence of sub-resources in order to minimize resource fragmentation and efficient resource allocation and distribution in the communication system, and to define the event of resource allocation / release The present invention provides a method for efficiently allocating and releasing resources by defining a resource set based on the number of unallocated sub resources of a resource and the speed at which the service can be performed.

그리고 본 발명의 또 다른 목적은 통신 시스템에서 자원 조각화를 최소화 하고 효율적인 자원 할당 및 분배를 하기 위하여 서브 자원의 할당 유/무에 따라 각 자원의 상태를 정의하며, 자원 할당/해제의 이벤트를 정의하며 각 자원의 할당되지 않은 서브 자원의 개수와 서비스 할 수 있는 속도를 기준으로 하여 자원 집합을 정의하고 요구되는 속도의 서비스를 지원할 수 있는 최소의 할당 가능한 서브 자원을 가지는 자원의 그룹 인덱스를 정의 하여, 소정 속도의 서비스 자원 할당 요구가 발생하면 상기 그룹 인덱스(i_max)부터 순차적으로 다음 단계의 여유가 있는 자원 그룹을 검사하여, 특별한 자원 할당 제약이 있는 경우에도, 자원의 조각화를 최소화 하고 효율적인 자원 할당 및 해제를 할 수 있는 방법을 제공함에 있다.In addition, another object of the present invention is to define the status of each resource according to the presence or absence of sub-resources in order to minimize resource fragmentation and efficient resource allocation and distribution in the communication system, and to define the event of resource allocation / release Define a set of resources based on the number of unallocated sub-resources of each resource and the speed at which they can be serviced, and define a group index of resources with the minimum assignable sub-resources that can support the service at the required rate. When a service resource allocation request of a predetermined rate occurs, the resource group having the next step is sequentially checked from the group index (i_max) to minimize resource fragmentation and efficient resource allocation, even when there are special resource allocation constraints. It provides a way to unlock.

상기와 같은 목적들을 달성하기 위한 본 발명은 통신 시스템에서 자원 할당 및 해제 방법이, 서브 자원의 할당 유/무에 따라 각 자원의 상태를 정의 하고 자원 할당/해제의 이벤트를 정의하며 각 자원의 할당되지 않은 서브 자원의 개수와 서비스 할 수 있는 속도를 기준으로 하여 자원 집합을 정의하고 요구되는 소정 속도의 서비스를 지원할 수 있는 최소의 할당 가능한 서브 자원을 가지는 자원의 그룹 인덱스를 정의 하는 제1과정과, 소정 속도의 서비스 자원 할당 요구가 발생하면 상기 그룹 인덱스에 해당하는 자원 그룹을 우선적으로 검사하고 순차적으로 다음 단계의 여유가 있는 자원 그룹들을 검사하여 해당 자원을 선택하여 요구되는 자원을 할당하는 제2과정과, 소정 속도의 서비스 자원 해제 요구가 발생하면 해당 자원에 포함되는 특정한 서브 자원 또는 상기 해당 자원을 해제하는 제3과정과, 상기 해당 자원에 대한 자원 할당 또는 해제에 따라 상기 해당 자원의 상태값 및 자원 집합의 인덱스를 갱신하는 제4과정으로 이루어짐을 특징으로 한다.According to the present invention for achieving the above object, the resource allocation and release method in the communication system, the status of each resource according to the presence or absence of sub-resources, define the resource allocation / release event and each resource allocation A first step of defining a resource set based on the number of unresourced sub-resources and the speed at which they can be serviced, and defining a group index of resources having a minimum assignable sub-resource capable of supporting a required rate of service; When a service resource allocation request of a predetermined rate occurs, a second step of first checking a resource group corresponding to the group index, sequentially examining resource groups having a next level, and selecting a corresponding resource to allocate the required resource Process, and when a request for releasing a service resource at a predetermined rate occurs, And a fourth process of releasing a resource or the corresponding resource, and a fourth process of updating a state value of the corresponding resource and an index of the resource set according to resource allocation or release of the corresponding resource.

도 1은 통신 시스템에서 본 발명의 실시예에 따른 자원의 할당, 해제의 상태 천이 테이블을 도시한 도면.1 is a diagram illustrating a state transition table of resource allocation and release according to an embodiment of the present invention in a communication system.

도 2는 통신 시스템에서 본 발명의 실시예에 따른 자원 할당 방법을 도시한 흐름도.2 is a flowchart illustrating a resource allocation method according to an embodiment of the present invention in a communication system.

이하 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 또한, 하기에서 본 발명을 설명함에 있어, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, detailed descriptions of related well-known functions or configurations are omitted when it is determined that the detailed description may unnecessarily obscure the subject matter of the present invention.

일반적으로 통신 시스템에서 유선 자원인 PCM 선로상의 타임슬롯의 경우, 한 개의 타임슬롯은 일반적으로 8개의 비트로 구성되며, 시스템은 이를 이용하여 64Kbps의 데이터를 전송할 수가 있다. 또한 64Kbps 이하의 서비스를 하기 위해서 시스템은 한 개의 타임슬롯을 1비트 또는 2비트로 나누어 8개 또는 4개의 서브 타임슬롯을 정의한다. 그리고 시스템은 서브 타임슬롯을 적절히 할당하여 8Kbps 또는 16Kbps의 서비스를 제공한다. 예를 들어, 한 타임슬롯을 4개의 서브 타임슬롯으로 정의 한다면, 시스템은 16Kbps의 서비스 요구에는 한 개의 서브 타임슬롯을 할당하며, 32Kbps의 서비스 요구에는 두 개의 서브 타임슬롯을 할당하며, 64Kbps의 서비스 요구에는 한 타임슬롯 내의 4개의 모든 서브 타임슬롯을 할당하여 서비스를 제공한다.In the case of a time slot on a PCM line, which is generally a wired resource in a communication system, one time slot is generally composed of 8 bits, and the system can transmit 64 Kbps of data. The system also defines eight or four sub-timeslots by dividing one timeslot into one or two bits for services up to 64 Kbps. The system then allocates the sub timeslots appropriately to provide 8Kbps or 16Kbps service. For example, if you define a time slot as four sub timeslots, the system allocates one sub timeslot for a 16 Kbps service request, two sub timeslots for a 32 Kbps service request, and a 64 Kbps service. The request is allocated by all four sub-timeslots in one time slot to provide service.

또한 일반적으로, 서로 다른 타임슬롯에 구비되는 서브 타임슬롯을 한 개의 서비스를 제공하기 위해 할당하는 것은 타임 슬롯 관리나 스위칭 디바이스 그리고 통신 프로토콜의 복잡도등의 이유로 제한된다.Also, in general, the allocation of sub timeslots provided in different timeslots to provide one service is limited due to time slot management, switching device, and communication protocol complexity.

그리고 통신 시스템에서 일반적으로 무선 자원인 Hadamard 코드인 경우, 다양한 전송속도의 서비스를 제공하기 위하여 가장 높은 속도의 서비스를 위한 기본 차수의 코드와 상기 기본차수의 코드 보다 1/2배, 1/4배 등의 낮은 속도의 서비스에 할당하기 위한 확장 코드들로 구성된다. 즉, 기본 차수의 코드 한 개는 2개 또는 4개등의 확장 코드를 생성할 수가 있으며, 확장 코드의 할당에 따르는 제약 사항은 상기한 유선자원의 경우와 유사하다. 예를 들어, 서로 다른 기본 코드로부터 확장된 확장 코드들은 하나의 높은 속도의 서비스를 위하여 할당이 불가능하며, 소정 기본코드로부터 확장된 확장 코드 중 하나라도 다른 서비스에 할당되어 있으면 직교성을 유지하기 위하여 상기 소정 기본 코드는 기본 코드 자체로서 할당될 수가 없다.In the case of the Hadamard code, which is generally a radio resource in a communication system, the base order code for the highest speed service and 1/2 times and 1/4 times the code of the base order in order to provide services of various transmission rates. It consists of extension codes for assigning to low speed services. That is, one code of the basic order can generate two or four extension codes, and the constraints of the extension code assignment are similar to those of the wired resource. For example, extension codes extended from different base codes may not be allocated for one high-speed service, and if one of extension codes extended from a given base code is assigned to another service, Certain base codes cannot be assigned as the base code itself.

한편, 상기한 PCM 타임슬롯이나 Hadamard 코드의 자원 할당의 제약은 기타 다른 자원에서도 유사하게 적용된다. 따라서 본 발명에서는 상기한 자원 할당의 제약을 가지는 임의의 자원을 가정한다.On the other hand, the resource allocation constraint of the PCM timeslot or Hadamard code is similarly applied to other resources. Accordingly, the present invention assumes any resource having the above-mentioned resource allocation constraint.

본 발명의 일 실시예에 따른 구성은 하기와 같다. 임의의 자원 A는 시스템에 N개가 존재하며, 각 자원(A[0] 내지 A[N-1])은 네 개의 서브 자원 A([n][0]~[n][3])으로 이루어 진다. 그리고 R0=2×R1=4×R2 세 가지의 전송 속도를 요구하는 세 가지의 서비스가 제공된다고 가정한다. 상기의 경우, 상기 R0 속도의 서비스를 위하여 4개의 서브 자원이 할당되어야 하며, 상기 R1 속도의 서비스를 위하여 2개의 서브 자원이 할당되어야 하며, 상기 R2 속도의 서비스를 위하여 1개의 서브 자원이 할당되어야 한다. 또한 단일의 서비스에 제공되는 서브 자원들은 동일한 자원(A[n])에 속한 것이어야 한다. 그리고 소정 서비스를 위하여 두 개의 서브 자원이 할당되는 경우 A[n][0]와 A[n][1] 혹은 A[n][2]와 A[n][3]의 형태로만 할당 가능하다고 가정한다.The configuration according to an embodiment of the present invention is as follows. There are N random resources A in the system, and each resource A [0] to A [N-1] consists of four sub-resources A ([n] [0] to [n] [3]). Lose. And it is assumed that three services are provided that require three transmission rates of R0 = 2 × R1 = 4 × R2. In this case, four sub resources must be allocated for the service of the R0 rate, two sub resources must be allocated for the service of the R1 rate, and one sub resource must be allocated for the service of the R2 rate. do. In addition, sub-resources provided for a single service must belong to the same resource (A [n]). When two sub resources are allocated for a given service, they can be allocated only in the form of A [n] [0] and A [n] [1] or A [n] [2] and A [n] [3]. Assume

이때, 각 자원 A[0]~A[N-1]의 상태를 각각 STATE[0]~STATE[N-1]라고 하면, 시스템이 자원에 대한 할당과 해제를 반복하는 경우 어느 한 시점명에 해당 자원 A[n]의 STATE[n]는 최대 16()가지의 경우를 가지게 된다. 이때, 자원 A[n]의 상태 STATE[n]는 s0:'0000'~s15:'1111' 중명에 어느 한 개가 된다. 여기에 '0'은 해당 서브 자원 (A[n][0] 내지 A[n][3])이 할당되지 않은 상태를 의미하며, '1'은 해당 서브 자원이 할당된 상태를 의미한다.At this time, if the state of each resource A [0] ~ A [N-1] is STATE [0] ~ STATE [N-1], respectively, if the system repeats allocation and release of resources, STATE [n] on that resource A [n] can be up to 16 ( There are a few cases. At this time, the state STATE [n] of the resource A [n] is any one of s0: '0000' to s15: '1111'. Here, '0' means a state in which the corresponding sub resources A [n] [0] through A [n] [3] are not allocated, and '1' means a state in which the corresponding sub resource is allocated.

또한 본 발명의 실시예에서는 자원 A[n]에 대한 할당, 해제가 발생하는 경우 그 종류에 따라에 하기와 같은 10가지의 이벤트(Event)를 정의한다. 이벤트 E0는 R2 속도의 서비스를 위해 하나의 서브 자원을 할당하는 사건을 의미한다. 그리고 이벤트 E1은 R2 속도의 서비스를 위해 두 개의 서브 자원을 할당하는 사건을 의미한다. 그리고 이벤트 E2는 R0 속도의 서비스를 위해 네 개의 서브 자원을 할당하는 사건을 의미한다. 그리고 이벤트 E3는 자원 A[n]의 첫 번째 서브 자원(A[n][0])을 사용하던 서비스가 종료되어 상기 첫 번째 서브 자원을 해제하는 사건을 의미한다. 그리고 이벤트 E4는 두 번째 서브 자원을 사용하던 서비스가 종료되어 상기 두 번째 서브 자원을 해제하는 사건을 의미한다. 그리고 이벤트 E5는 세 번째 서브 자원을 사용하던 서비스가 종료되어 상기 세 번째 서브 자원을 해제하는 사건을 의미한다. 그리고 이벤트 E6는 네 번째 서브 자원을 사용하던 서비스가 종료되어 상기 네 번째 서브 자원을 해제하는 사건을 의미한다. 그리고 이벤트 E7은 자원 A[n]의 첫 번째 서브 자원(A[n][0])과 두 번째 서브 자원(A[n][1])을 사용하던 서비스가 종료되어 상기 두 개의 서브 자원을 해제하는 사건을 의미한다. 그리고 E8은 자원 A[n]의 세 번째 서브 자원(A[n][2])과 네 번째 서브 자원(A[n][3])을 사용하던 서비스가 종료되어 상기 두 개의 서브 자원을 해제하는 사건을 의미한다. 그리고 이벤트 E9은 R0 속도의 서비스가 종료되어 할당되었던 자원 A[n]의 모든 서브 자원들이 해제되는 사건을 의미한다.In addition, according to the embodiment of the present invention, the following 10 events are defined according to the type when allocation or release of the resource A [n] occurs. The event E0 means an event of allocating one sub resource for a service of the R2 rate. Event E1 refers to an event of allocating two sub-resources for R2 speed service. Event E2 refers to an event of allocating four sub resources for a service of the R0 rate. Event E3 refers to an event in which the service using the first sub-resource A [n] [0] of the resource A [n] is terminated and releases the first sub-resource. Event E4 refers to an event of releasing the second sub-resource after the service using the second sub-resource terminates. Event E5 refers to an event of releasing the third sub-resource after the service using the third sub-resource terminates. Event E6 refers to an event of releasing the fourth sub-resource after the service using the fourth sub-resource terminates. Event E7 terminates the service using the first sub-resource A [n] [0] and the second sub-resource A [n] [1] of resource A [n] to terminate the two sub-resources. It means an event to release. E8 releases the two sub resources because the service using the third sub resource A [n] [2] and the fourth sub resource A [n] [3] of resource A [n] is terminated. It means an event. Event E9 indicates an event in which all sub-resources of resource A [n] that have been allocated after the service at the rate R0 is terminated are released.

또한 해당 자원 A[n]의 각 상태(s1~s15)가 할당되지 않은 서브 A의 개수와 서비스 할 수 있는 속도를 기준으로 하여 집합으로 나뉘어 지면, 해당 자원 A[n]의 각 상태들은 하기와 같은 6가지의 자원 집합으로 구분될 수가 있다. 즉, 자원 집합 G[0]은 모든 서브 A가 사용되고 있지 않으며, RO 속도의 서비스를 하기 위해 할당될 수 있는 상태의 자원 집합이 된다. 이때, 상기 자원 집합 G[0]에는 s0가 속하게 된다. 그리고 자원 집합 G[1]은 세 개의 서브 A가 사용되고 있지 않으며, R1 및 R2 속도의 서비스를 하기 위해 할당될 수 있는 상태들의 자원 집합이 된다. 이때, 상기 자원 집합 G[1]에는 s1, s2, s3, s4가 속하게 된다. 그리고 자원 집합 G[2]는 두 개의 서브 A가 사용되고 있지 않으며, R1 및 R2 속도의 서비스를 하기 위해 할당될 수 있는 상태들의 자원 집합이 된다. 이때, 상기 자원 집합 G[2]에는 s5, s6가 속하게 된다. 그리고 자원 집합 G[3]은 두 개의 서브 A가 사용되고 있지 않으며, R2 속도의 서비스를 하기 위해 할당될 수 있는 상태들의 자원 집합이 된다. 이때, 상기 자원 집합 G[3]에는 s7, s8, s9, s10이 속하게 된다. 그리고 자원 집합 G[4]는 한 개의 서브 A가 사용되고 있지 않으며, R2 속도의 서비스를 하기 위해 할당될 수 있는 상태들의 자원 집합이 된다. 이때, 상기 자원 집합 G[4]에는 s11, s12, s13, s14가 속하게 된다. 그리고 자원 집합 G[5]는 모든 서브 A가 사용되고 있지 않는 상태의 자원 집합이 된다. 상기 자원 집합 G[5]에는 s15가 속하게 된다.In addition, if each state (s1 to s15) of the corresponding resource A [n] is divided into sets based on the number of unassigned sub-As and the serviceable speed, the respective states of the corresponding resource A [n] are as follows. It can be divided into the same six resource sets. That is, the resource set G [0] is a resource set in a state in which all sub-As are not used and can be allocated for the service of the RO speed. At this time, s0 belongs to the resource set G [0]. The resource set G [1] is a resource set of states in which three sub-As are not used and can be allocated to service R1 and R2 rates. In this case, s1, s2, s3, and s4 belong to the resource set G [1]. The resource set G [2] is a resource set of states in which two sub-As are not used and can be allocated to service R1 and R2 rates. At this time, s5 and s6 belong to the resource set G [2]. The resource set G [3] is a resource set of states in which two sub-As are not used and can be allocated for the service of the R2 rate. In this case, s7, s8, s9, and s10 belong to the resource set G [3]. The resource set G [4] is a resource set of states in which one sub-A is not used and can be allocated for the service of the R2 rate. In this case, s11, s12, s13, and s14 belong to the resource set G [4]. Resource set G [5] is a resource set in which all sub-As are not used. S15 belongs to the resource set G [5].

즉, 해당 자원 A[n]가 s0의 상태인 경우는 자원 집합 G[0]에 속하며, 해당 자원 A[n]가 s1~s4의 상태인 경우 자원 집합 G[1]에 속하며, 해당 자원 A[n]가 s5 및 s6의 상태인 경우 자원 집합 G[2]에 속하며, 해당 자원 A[n]가 s7~s10의 상태인 경우 자원 집합 G[3]에 속하며, 해당 자원 A[n]가 s11~s14의 상태인 경우 자원 집합 G[4]에 속하며, 해당 자원 A[n]가 s15의 상태인 경우 자원 집합 G[5]에 속하게 된다. 또한 이때, 각 자원 집합에 속하는 자원 상태들의 개수를 자원 집합 카운트(cnt[0]~cnt[5])라 한다.That is, if the resource A [n] is in the state of s0, it belongs to the resource set G [0]. If the resource A [n] is in the state of s1 to s4, it belongs to the resource set G [1]. If [n] is in the states s5 and s6, it belongs to resource set G [2]. If the corresponding resource A [n] is in the states s7 to s10, it belongs to resource set G [3]. If the state of s11 to s14 belongs to the resource set G [4], and if the resource A [n] is to the state of s15, it belongs to the resource set G [5]. In this case, the number of resource states belonging to each resource set is referred to as a resource set count (cnt [0] to cnt [5]).

도 1은 통신 시스템에서 본 발명의 실시예에 따라 자원의 할당, 해제의 상태 천이 테이블을 도시한다.1 illustrates a state transition table of resource allocation and release according to an embodiment of the present invention in a communication system.

참조부호 110은 자원 할당을 의미하며, 참조부호 120은 자원 해제를 의미한다. 그리고 도시된 바와 같이, 본 발명의 실시예에서 자원 할당(110)의 경우는 이벤트 E0, 이벤트 E1 및 이벤트 E3으로 정의한다. 그리고 자원 해제(112)의 경우는 이벤트 E3 내지 이벤트 E9으로 정의한다.Reference numeral 110 denotes resource allocation, and reference numeral 120 denotes resource release. As shown, in the embodiment of the present invention, resource allocation 110 is defined as event E0, event E1 and event E3. The resource release 112 is defined as an event E3 to an event E9.

이때, 해당 자원 A[n]의 해당 상태(s0 내지 s15)에서, 이벤트 E0가 발생하는 경우, 시스템은 첫 번째 서브 자원(A[n][0])을 할당하는 동작 0A와, 두 번째 서브 자원(A[n][1])을 할당하는 동작 1A와, 세 번째 서브 자원(A[n][2])을 할당하는 동작 2A와, 네 번째 서브 자원(A[n][3])을 할당하는 동작 3A을 수행할 수가 있다.At this time, in the state (s0 to s15) of the corresponding resource A [n], when event E0 occurs, the system allocates the first sub-resource A [n] [0] and operation 0A and the second sub Operation 1A for allocating a resource A [n] [1], operation 2A for allocating a third sub-resource A [n] [2], and fourth sub-resource A [n] [3]. May perform operation 3A for assigning.

또한 해당 자원 A[n]의 해당 상태(s0 내지 s15)에서, 이벤트 E1가 발생하는 경우, 시스템은 첫 번째 서브 자원(A[n][0])과 두 번째 서브 자원(A[n][1])을 연속적으로 할당하는 동작 01A와, 세 번째 서브 자원(A[n][2])과 네 번째 서브 자원(A[n][3])을 연속적으로 할당하는 23A 동작을 수행할 수가 있다.In addition, in the corresponding state (s0 to s15) of the corresponding resource A [n], when event E1 occurs, the system subsumes the first sub-resource A [n] [0] and the second sub-resource A [n] [ 1]) consecutively assigns 01A, and the third sub-resource A [n] [2] and the fourth sub-resource A [n] [3] are sequentially allocated. have.

한편, 참조부호 114는 자원의 상태를 의미하며, 자원의 상태(114)는 s0 내지 s15로 나타내어 진다. 그리고 자원의 상태(114)는 할당되지 않은 서브 A의 개수와 서비스 할 수 있는 속도를 기준으로 하여 집합으로 나누면 G0 내지 G5의 자원 그룹으로 나뉘어 진다. 그리고 s1 내지 s4는 자원 그룹 G1에 속하게 된다. 그리고 s5와 s6는 자원 그룹 G2에 속하며, s7 내지 s10은 자원 그룹 G3에 속하며, s11 내지 s14는 자원 그룹 G4에 속하며, s16은 자원 그룹 G5에 속하게 된다.On the other hand, reference numeral 114 denotes the state of the resource, the state of the resource 114 is represented by s0 to s15. The resource state 114 is divided into G0 through G5 resource groups based on the number of unassigned sub-As and the serviceable speed. And s1 to s4 belong to resource group G1. S5 and s6 belong to resource group G2, s7 to s10 belong to resource group G3, s11 to s14 belong to resource group G4, and s16 belongs to resource group G5.

이때, 해당 자원 A[n]의 s0 상태에서 E0가 발생하면, 시스템은 본 발명의 실시예에 따라 0A를 수행 즉, 첫 번째 서브 자원을 할당한다. 이로인해 상태 s0는 상태 s1으로 천이된다. 또한 이때, 시스템은 효율적인 상태 천이 관리를 위해 1A 동작 내지 3A 동작은 수행하지 않는다. 또한 해당 자원 A[n]의 s0 상태에서 E1이 발생하면, 시스템은 본 발명의 실시예에 따라 01A 동작을 수행한다. 또한 이때, 시스템은 효율적인 상태 천이 관리를 위해 23A 동작을 수행하지 않는다. 그리고 해당 자원 A[n]의 s0 상태에서 E2이 발생하면, 시스템은 본 발명의 실시예에 따라 AA 동작을 수행한다.At this time, if E0 occurs in the s0 state of the resource A [n], the system performs 0A, that is, allocates the first sub-resource according to the embodiment of the present invention. This causes state s0 to transition to state s1. In this case, the system does not perform operations 1A to 3A for efficient state transition management. In addition, when E1 occurs in the s0 state of the resource A [n], the system performs operation 01A according to the embodiment of the present invention. Also, at this time, the system does not perform 23A operation for efficient state transition management. If E2 occurs in the s0 state of the resource A [n], the system performs the AA operation according to the embodiment of the present invention.

그리고 해당 자원 A[n]의 s1 상태에서 E0가 발생하면, 시스템은 본 발명의 실시예에 따라 1A를 수행 즉, 두 번째 서브 자원을 할당한다. 이로인해 상태 s1은 상태 s5로 천이한다. 그런데 이때, 시스템은 자원 조각화를 최소화 하기 위하여 2A 동작 내지 3A 동작은 수행하지 않는다. 또한 해당 자원 A[n]의 s1 상태에서 E1이 발생하면, 시스템은 본 발명의 실시예에 따라 23A 동작을 수행한다. 이로인해 상태 s1은 s13으로 천이한다.When E0 occurs in the s1 state of the corresponding resource A [n], the system performs 1A according to an embodiment of the present invention, that is, allocates a second sub-resource. This causes state s1 to transition to state s5. However, at this time, the system does not perform operations 2A to 3A in order to minimize resource fragmentation. In addition, when E1 occurs in the s1 state of the resource A [n], the system performs operation 23A according to the embodiment of the present invention. This causes state s1 to transition to s13.

그리고 해당 자원 A[n]의 s2 상태에서 E0가 발생하면, 시스템은 본 발명의 실시예에 따라 0A를 수행 즉, 첫 번째 서브 자원을 할당한다. 이로인해 상태 s2는 상태 s5로 천이한다. 그런데 이때, 시스템은 자원 조각화를 최소화 하기 위하여 1A 동작 내지 3A 동작은 수행하지 않는다. 또한 해당 자원 A[n]의 s2 상태에서 E1이 발생하면, 시스템은 본 발명의 실시예에 따라 23A 동작을 수행한다. 이로인해 상태 s2는 상태 s14로 천이한다.When E0 occurs in the s2 state of the resource A [n], the system performs 0A, that is, allocates the first sub-resource according to the embodiment of the present invention. This causes state s2 to transition to state s5. However, at this time, the system does not perform operations 1A to 3A in order to minimize resource fragmentation. In addition, when E1 occurs in the s2 state of the resource A [n], the system performs operation 23A according to the embodiment of the present invention. This causes state s2 to transition to state s14.

그리고 해당 자원 A[n]의 s3 상태에서 E0가 발생하면, 시스템은 본 발명의 실시예에 따라 3A를 수행 즉, 네 번째 서브 자원을 할당한다. 이로인해 상태 s3는 상태 s6로 천이한다. 그런데 이때, 시스템은 자원 조각화를 최소화 하기 위하여 0A 동작 내지 2A 동작을 수행하지 않는다. 또한 해당 자원 A[n]의 s3 상태에서 E1가 발생하면, 시스템은 본 발명의 실시예에 따라 01A 동작을 수행한다. 이로인해 상태 s3는 상태 s11로 천이한다.If E0 occurs in the s3 state of the corresponding resource A [n], the system performs 3A, that is, allocates a fourth sub-resource according to the embodiment of the present invention. This causes state s3 to transition to state s6. However, at this time, the system does not perform operations 0A to 2A in order to minimize resource fragmentation. In addition, when E1 occurs in the s3 state of the resource A [n], the system performs operation 01A according to the embodiment of the present invention. This causes state s3 to transition to state s11.

그리고 해당 자원 A[n]의 s4 상태에서 E0가 발생하면, 시스템은 본 발명의 실시예에 따라 2A를 수행 즉, 세 번째 서브 자원을 할당한다. 이로인해 상태 s4는 상태 s6로 천이한다. 그런데 이때, 시스템은 자원 조각화를 최소화 하기 위하여 0A 동작 및 1A 동작을 수행하지 않는다. 또한 해당 자원 A[n]의 s4 상태에서 E1가 발생하면, 시스템은 본 발명의 실시예에 따라 01A 동작을 수행한다. 이로인해 s4 상태는 s12 상태로 천이한다.If E0 occurs in the s4 state of the corresponding resource A [n], the system performs 2A according to an embodiment of the present invention, that is, allocates a third sub-resource. This causes state s4 to transition to state s6. However, at this time, the system does not perform operations 0A and 1A in order to minimize resource fragmentation. In addition, when E1 occurs in the s4 state of the resource A [n], the system performs operation 01A according to the embodiment of the present invention. This causes the s4 state to transition to the s12 state.

한편, 해당 자원 A[n]의 s5 상태 및 s6 상태는 자원 그룹 G2에 속한다. 그리고 상기 s5 상태에서 E0가 발생하면, 시스템은 본 발명의 실시예에 따라 2A를 수행 즉, 세 번째 서브 자원을 할당한다. 이로인해 상태 s5는 상태 s11로 천이한다. 그런데 이때, 시스템은 효율적인 상태 천이의 관리를 위해 3A 동작을 수행하지 않는다. 그리고 해당 자원 A[n]의 s5 상태에서 E1가 발생하면, 시스템은 본 발명의 실시예에 따라 23A를 수행한다. 이로인해 상태 s5는 s16으로 천이한다.On the other hand, the state s5 and state s6 of the resource A [n] belong to resource group G2. When E0 occurs in the s5 state, the system performs 2A according to an embodiment of the present invention, that is, allocates a third sub resource. This causes state s5 to transition to state s11. However, at this time, the system does not perform the 3A operation for efficient management of the state transition. If E1 occurs in the s5 state of the resource A [n], the system performs 23A according to the embodiment of the present invention. This causes state s5 to transition to s16.

그리고 상기 s6 상태에서 E0가 발생하면, 시스템은 본 발명의 실시예에 따라 0A를 수행 즉, 첫 번째 서브 자원을 할당한다. 이로인해 상태 s6는 s13으로 천이한다. 그런데 이때, 시스템은 효율적인 상태 천이의 관리를 위해 1A 동작을 수행하지 않는다. 또한 상기 s6 상태에서 E1가 발생하면, 시스템은 본 발명의 실시예에 따라 01A 동작을 수행한다. 이로인해 상태 s6는 상태 s15로 천이한다.If E0 occurs in the s6 state, the system performs 0A, that is, allocates the first sub-resource according to the embodiment of the present invention. This causes state s6 to transition to s13. However, at this time, the system does not perform 1A operation for efficient management of state transition. In addition, when E1 occurs in the s6 state, the system performs operation 01A according to the embodiment of the present invention. This causes state s6 to transition to state s15.

그리고 해당 자원 A[n]의 s7 상태 내지 s10 상태는 자원 그룹 G3에 속한다. 상기 s7 상태에서 E0 가 발생하면, 시스템은 본 발명의 실시예에 따라 1A 동작을 수행한다. 그런데 이때, 시스템은 효율적인 상태 천이의 관리를 위하여 0A 동작을 수행하지 않는다. 그리고 상기 s8 상태에서 E0가 발생하면, 시스템은 본 발명의 실시예에 따라 1A 동작을 수행한다. 이로인해 s8 상태는 s12 상태로 천이한다. 그런데 이때, 시스템은 효율적인 상태 천이의 관리를 위하여 2A 동작을 수행하지 않는다. 그리고 상기 s9 상태에서 E0가 발생하면, 시스템은 본 발명의 실시예에 따라 0A 동작을 수행한다. 이로인해 s9 상태는 s11 상태로 천이한다. 그런데 이때, 시스템은 효율적인 상태 천이의 관리를 위하여 3A 동작을 수행하지 않는다. 그리고 상기 s10 상태에서 E0가 발생하면, 시스템은 본 발명의 실시예에 따라 0A 동작을 수행한다. 이로인해 s9 상태는 s12 상태로 천이한다. 그런데 이때, 시스템은 효율적인 상태 천이의 관리를 위하여 2A 동작을 수행하지 않는다.The s7 state to the s10 state of the resource A [n] belong to the resource group G3. When E0 occurs in the s7 state, the system performs operation 1A according to an embodiment of the present invention. However, at this time, the system does not perform 0A operation for efficient management of state transition. When E0 occurs in the s8 state, the system performs operation 1A according to an embodiment of the present invention. This causes the s8 state to transition to the s12 state. However, at this time, the system does not perform 2A operation for efficient management of state transition. When E0 occurs in the s9 state, the system performs operation 0A according to an embodiment of the present invention. This causes the s9 state to transition to the s11 state. However, at this time, the system does not perform 3A operation for efficient management of state transition. When E0 occurs in the s10 state, the system performs operation 0A according to an embodiment of the present invention. This causes the s9 state to transition to the s12 state. However, at this time, the system does not perform 2A operation for efficient management of state transition.

그리고 해당 자원 A[n]의 s11 상태 내지 s14 상태는 자원 그룹 G4에 속한다. 상기 s11 상태에서 E0 가 발생하면, 시스템은 본 발명의 실시예에 따라 3A 동작을 수행한다. 그리고 상기 s12 상태에서 E0 가 발생하면, 시스템은 본 발명의 실시예에 따라 2A 동작을 수행한다. 그리고 상기 s13 상태에서 E0 가 발생하면, 시스템은 본 발명의 실시예에 따라 1A 동작을 수행한다. 상기 s14 상태에서 E0 가 발생하면, 시스템은 본 발명의 실시예에 따라 0A 동작을 수행한다.The state s11 to state s14 of the resource A [n] belong to resource group G4. When E0 occurs in the s11 state, the system performs operation 3A according to an embodiment of the present invention. When E0 occurs in the s12 state, the system performs operation 2A according to an embodiment of the present invention. When E0 occurs in the s13 state, the system performs operation 1A according to an embodiment of the present invention. When E0 occurs in the s14 state, the system performs operation 0A according to an embodiment of the present invention.

다른 한편, 자원 해제(112)의 경우, 서비스가 종료되는 해당 자원 A[n] 자체 또는 해당 자원 A[n]의 특정한 서브 자원이 해제되어야 하므로, 본 발명의 실시예는 발생될 수 있는 이벤트를 E4 내지 E9으로 세부적으로 정의한다. 그리고 시스템은 본 발명의 실시예에 따라 자원 A의 각 상태(s0~s15)에서 이벤트 E3 내지 E9 가 발생하는 경우, 상기 도 1과 같은 상태 천이 동작을 수행한다.On the other hand, in the case of resource release 112, since the resource A [n] itself or a specific sub-resource of the resource A [n] in which the service is terminated must be released, an embodiment of the present invention provides an event that can be generated. It is defined in detail as E4 to E9. When the events E3 to E9 occur in each state s0 to s15 of the resource A, the system performs the state transition operation as shown in FIG. 1 according to an embodiment of the present invention.

도 2는 통신 시스템에서 본 발명의 실시예에 따른 자원 할당 방법을 도시한 흐름도 이다. 상기 도 2에서 시스템내의 자원은 A[0]~A[N-1]라 가정한다.2 is a flowchart illustrating a resource allocation method according to an embodiment of the present invention in a communication system. In FIG. 2, it is assumed that resources in the system are A [0] to A [N-1].

210단계에서 시스템은 모든 자원(A[0]~A[N-1])을 s0 상태로 초기화 시킨다. 그리고 시스템은 자원 그룹을 g[0]={A[0],A[1],----,A[N-1]}, g[1]=---g[N-1]={}로 둔다. 그리고 시스템은 cnt[0]=N, cnt[1]=cnt[2]=---=cnt[N-1]=0로 둔다.In step 210, the system initializes all resources A [0] ~ A [N-1] to s0. The system then uses the resource group g [0] = {A [0], A [1], ----, A [N-1]}, g [1] = --- g [N-1] = { }. And the system puts cnt [0] = N, cnt [1] = cnt [2] = --- = cnt [N-1] = 0.

그리고 215단계에서 시스템은 요구되는 속도의 서비스를 지원할 수 있는 최소의 할당 가능한 서브 자원을 가지는 자원의 그룹 인덱스(i_max)를 구한다. 예를 들어, 서비스 가능한 서비스 속도가 R0=2R1=4R2라 하고, 현재 요구되는 서비스의 속도가 R0인 경우 상기 최소의 할당 가능한 서브 자원을 가지는 자원의 그룹 인덱스(i_max)는 '0' 이 되며, 그 자원 그룹은 g[0]가 된다. 그런데 만약 현재 요구되는 서비스의 속도가 R1인 경우에는, 상기 최소의 할당 가능한 서브 자원을 가지는 자원의 그룹 인덱스는 '2'가 되며, 그 자원 그룹은 g[2]가 된다. 또한 만약 현재 요구되는 서비스의 속도가 R2인 경우에는, 상기 최소의 할당 가능한 서브 자원을 가지는 자원의 그룹 인덱스는 '4'가 되며, 그 자원 그룹은 g[4]가 된다.In operation 215, the system obtains a group index i_max of a resource having a minimum assignable sub-resource capable of supporting a service of a required speed. For example, if the serviceable service rate is R0 = 2 R1 = 4 If R2 is the required speed of the current service, the group index i_max of the resource having the minimum assignable sub-resource becomes '0', and the resource group becomes g [0]. However, if the current required service rate is R1, the group index of the resource having the minimum assignable sub-resource becomes '2' and the resource group becomes g [2]. In addition, if the current required service rate is R2, the group index of the resource having the minimum assignable sub-resource becomes '4', and the resource group is g [4].

그리고 220단계에서 시스템은 서비스 자원 할당 요구를 대기한다.In step 220, the system waits for a service resource allocation request.

그리고 225단계에서 시스템은 소정 속도의 서비스 자원 할당 요구가 발생하면, 230단계에서 시스템은 상기 요구된 해당 서비스 속도에 따른 i_max(예:'1', '2', '4')를 변수 i에 기입한다.In operation 225, when the system requests a service resource allocation of a predetermined rate, in operation 230, the system assigns i_max (eg, '1', '2', and '4') to the variable i according to the requested service rate. Fill in.

그리고 235단계에서 시스템은 cnt[i]가 '0'보다 큰 지를 검사한다. 여기서 예를 들어, 요구되는 서비스 속도가 R2이고, i_max가 '4'라고 하면, 변수 i는 '4'가 된다. 그리고 cnt[4]는 한 개의 서브 자원을 사용하고 있지 않으며 R2의 속도의 서비스를 위해 할당될 수 있는 자원들의 그룹의 개수를 의미하는 것으로, 상기 cnt[4]가 '0'보다 크면 g[4]에 속하는 상태값(예:s10, s11, s13, s14)을 가지는 자원이 적어도 한 개 이상 있다는 의미이므로, 시스템은 255단계에서 상기 g[i]에 속하는 해당 자원 A[n]을 선택하여 요구되는 자원을 할당한다.In step 235, the system checks whether cnt [i] is greater than '0'. Here, for example, if the required service rate is R2 and i_max is '4', the variable i becomes '4'. And cnt [4] means the number of groups of resources that are not using one sub-resource and can be allocated for the service of the speed of R2. If cnt [4] is greater than '0', g [4]. ] Means that at least one resource has a status value (for example, s10, s11, s13, s14) belonging to the system, the system selects the resource A [n] belonging to g [i] in step 255 and requests the resource. Allocate resources

한편, 상기 235단계에서 시스템은 cnt[i]가 '0'보다 크지 않으면, 240단계에서 시스템은 i가 '0'보다 큰 지를 검사하고, 상기 i가 '0'보다 크면 245단계에서 시스템은 i를 1만큼 감소 시키고 다시 상기 235단계를 수행한다.On the other hand, if the cnt [i] is not greater than '0' in step 235, the system checks whether i is greater than '0' in step 240, and if the i is greater than '0', the system in step 245 Decrease by 1 and perform step 235 again.

즉, 상기 235단계에서 cnt[i]가 '0'보다 크지 않으면, 요구되는 속도의 서비스를 지원할 수 있는 최소의 할당 가능한 서브 자원을 가지는 자원이 한 개도 존재하지 않다는 의미이므로, 시스템은 상기 속도의 서비스를 지원할 수 있는 다음 단계의 여유가 있는 자원 그룹을 검사하기 위해서 상기 245단계에서 인덱스 i를 '1'만큼 감소 시키고 다시 235단계를 수행한다.That is, in step 235, if cnt [i] is not greater than '0', it means that no resource having the minimum assignable sub-resource capable of supporting the service of the required rate does not exist. In step 245, the index i is decreased by '1' to check the resource group having the next step that can support the service, and then step 235 is performed again.

그리고 만약, 상기 240단계에서 인덱스 i가 '0'보다 크지 않다면, 상기 요구되는 속도의 서비스를 지원할 수 있는 자원이 없으므로, 250단계에서 시스템은 자원 할당 실패로 판단한다.If the index i is not greater than '0' in step 240, since there is no resource that can support the service of the required speed, the system determines that resource allocation fails in step 250.

한편, 상기 235단계에서, 해당 감소된 인덱스의 cnt[i]가 '0'보다 크다면, 즉 예를 들어, 상기 요구되는 서비스 R1 속도의 서비스를 위해, 자원 그룹 g[1]에 속해 있는 소정 자원 A[N]이 적어도 한 개 이상 존재한다면, 255단계에서 시스템은 상기 인덱스 i에 해당하는 g[i]에 속한 해당 자원 A[N]을 선택하고 요구된 자원을 할당한다. 그런데 이때, 시스템은 자원 조각화를 최소화 하고 효율적인 각 자원(A[0]~A[N-1])의 상태 천이 관리를 고려하여, 상기 요구된 자원을 할당한다. 예를 들어 해당 자원 A[n]의 상태값이 '0010'이라면, 시스템은 3A 동작을 수행한다. 이로인해 자원 A[n]의 상태는 '0010'에서 '0011'로 천이하게 된다. 또한 상기한 시스템의 자원 할당 동작은 상기 도 1과 같이 미리 정해지게 된다.On the other hand, in step 235, if cnt [i] of the corresponding reduced index is greater than '0', that is, for example, for a service of the required service R1 rate, the predetermined belonging to the resource group g [1]. If at least one resource A [N] exists, in step 255, the system selects the corresponding resource A [N] belonging to g [i] corresponding to the index i and allocates the requested resource. However, at this time, the system allocates the requested resource in consideration of minimizing resource fragmentation and managing state transition of each resource A [0] to A [N-1]. For example, if the state value of the resource A [n] is '0010', the system performs operation 3A. This causes the state of resource A [n] to transition from '0010' to '0011'. In addition, the resource allocation operation of the system is predetermined as shown in FIG.

그리고 260단계에서 시스템은 상기 자원 할당된 해당 A[n]이 속해있는 자원 그룹 g[i](예:g[1])에서 상기 해당 A[n]을 제거하고 cnt[i]의 값을 '1' 감소 시킨다.In operation 260, the system removes the corresponding A [n] from the resource group g [i] (eg, g [1]) to which the corresponding A [n] belongs and sets the value of cnt [i] to ' 1 'decrease.

그리고 265단계에서 시스템은 상기 해당 자원 A[n]에 대한 자원 할당에 따라 STATE[n]의 상태값을 변경(예:'0010'에서 '0011'로)한다. 상기 상태값 변경은 상기 도 1과 같이 미리 정해지게 된다.In step 265, the system changes the state value of STATE [n] according to the resource allocation for the corresponding resource A [n] (for example, from '0010' to '0011'). The state value change is predetermined as shown in FIG. 1.

또한 270단계에서 시스템은 상기 새로운 상태값에 따라 해당 자원 A[n]을 새로운 g[i_new]로 소속시키며, cnt[i_new]의 값을 '1' 증가 시킨다. 그리고 시스템은 상기 220단계부터의 제어동작을 다시 수행한다.In addition, in step 270, the system attaches the corresponding resource A [n] to a new g [i_new] according to the new state value, and increases the value of cnt [i_new] by '1'. The system then performs the control operation from step 220 again.

한편, 통신 시스템에서 본 발명의 실시예에 따른 자원 할당 해제 방법은 하기와 같다. 즉, 특정 서비스가 종료되어 소정 자원 A[n]에 포함되는 특정한 서브 자원 또는 상기 자원 A[n] 자체가 해제되게 되면, 첫 번째 단계로 시스템은 요구된 자원을 해제하며, 해제된 자원 A[n]이 속한 자원 그룹 g[i_old]에서 상기 A[n]을 제거하며, cnt[i_old]를 '1' 감소 시킨다. 그리고 두 번째 단계로 시스템은 상기 해당 자원 A[n]에 대한 자원 해제에 따라 STATE[n]의 상태값을 변경(예:'0011'에서 '0010'로)한다. 상기 상태값 변경은 상기 도 1과 같이 미리 정해지게 된다. 그리고 세 번째 단계로 시스템은 상기 새로운 상태값에 따라 해당 자원 A[n]을 새로운 g[i_new]로 소속시키며, cnt[i_new]의 값을 '1' 증가 시킨다.On the other hand, the resource allocation method according to an embodiment of the present invention in a communication system is as follows. That is, when a specific service is terminated and the specific sub-resource included in the predetermined resource A [n] or the resource A [n] itself is released, the system releases the requested resource in the first step and releases the released resource A [ n is removed from the resource group g [i_old] to which n] belongs, and cnt [i_old] is decreased by '1'. In a second step, the system changes the state value of STATE [n] (eg, from '0011' to '0010') in response to the release of resources for the corresponding resource A [n]. The state value change is predetermined as shown in FIG. 1. In the third step, the system assigns the resource A [n] to the new g [i_new] according to the new state value and increases the value of cnt [i_new] by '1'.

다른 한편, 시스템의 각각의 자원 그룹(g[i])에서 해당 자원(A[n])을 선택하여 제거 시키거나 또는 소속 시키는 동작은 각 그룹을 링크 리스트(Linked List)를 이용한 큐(Queue) 나 스택(Stack) 등의 구조로 구성함으로 구현될 수가 있다. 또한 할당된 자원은 상태 천이 후 새로운 상태에서 이전의 상태를 뺀 나머지가 되며, 해제된 자원은 이전의 상태에서 새로운 상태를 뺀 나머지가 된다. 예를 들어 R1(32Kbps) 속도의 서비스가 새로이 요구되어 상기의 방법에 의해 선택된 해당 자원 A[n]의 상태가 s4:'0001' 인 경우, 자원 할당 후의 상태는 s12:'1101'이 되며, 이때, 할당된 자원은 새로운 상태값('1101')에서 이전 상태값('0001')을 뺀 A[n][0]과 A[n][1] 즉, ('1100')이 된다. 또한 예를 들어, R2(16Kbps) 속도의 서비스가 종료되어 이 서비스에 할당되어 사용중이던 자원이 A[n][2]('0010')이었다면, A[n]의 상태는 s11:'1110'에서 s5:'1100'으로 천이하게 된다. 이때, 해제된 자원은 이전 상태값('1110')에서 새로운 상태값('1100')을 뺀 상기 자원 A[n][2]가 된다.On the other hand, selecting and removing or belonging to the resource A [n] in each resource group g [i] of the system is performed by queuing each group with a linked list. It can be implemented by constructing a structure such as a stack or a stack. In addition, the allocated resources become the new state after subtracting the old state, and the released resources become the remaining state minus the new state. For example, when a service of R1 (32Kbps) rate is newly requested and the state of the corresponding resource A [n] selected by the above method is s4: '0001', the state after resource allocation is s12: '1101'. At this time, the allocated resource becomes A [n] [0] and A [n] [1], that is, ('1100'), which is obtained by subtracting the previous state value ('0001') from the new state value '1101'. Also, for example, if the service at the R2 (16Kbps) rate is terminated and the resource allocated and used by this service was A [n] [2] ('0010'), the state of A [n] is s11: '1110'. Transitions to s5: '1100'. At this time, the released resource becomes the resource A [n] [2] by subtracting the new state value '1100' from the previous state value '1110'.

상기 도 1 내지 도 2의 설명에서, 통신 시스템에서 본 발명의 실시예에 따른 자원 할당 및 해제 방법은 먼저, 서브 자원의 할당 유/무에 따라 각 자원의 상태를 정의 한다. 그리고 본 발명의 실시예는 자원 할당/해제의 이벤트를 정의하며, 각 자원의 할당되지 않은 서브 자원의 개수와 서비스 할 수 있는 속도를 기준으로 하여 자원 집합을 정의한다. 그리고 본 발명의 실시예는 해당 서비스 속도의 자원 할당 또는 자원 해제 시에, 특정 자원이 선택되면 자원 조각화를 최소화 할 수 있도록 고려하여 요구되는 자원의 할당/해제 동작을 수행하며, 상기 특정 자원의 상태값, 자원 그룹값 및 카운트값등을 갱신한다. 또한 본 발명의 실시예는 자원 조각화를 최소화 하기 위하여 요구되는 속도의 서비스를 지원할 수 있는 최소의 할당 가능한 서브 자원을 가지는 자원의 그룹 인덱스를 정의 하며, 시스템은 자원 선택시에 상기 그룹 인덱스(i_max)부터 순차적으로 다음 단계의 여유가 있는 자원 그룹을 검사한다. 이때, 상기한 요구되는 속도의 서비스를 지원할 수 있는 최소의 할당 가능한 서브 자원을 가지는 자원의 그룹 인덱스는 각 자원에 구비되는 서브 자원의 개수, 서비스 가능한 속도의 종류등에 따라 결정된다.1 to 2, the resource allocation and release method according to an embodiment of the present invention in a communication system first defines a state of each resource according to whether or not a sub resource is allocated. An embodiment of the present invention defines an event of resource allocation / release, and defines a resource set based on the number of unassigned sub-resources of each resource and the speed at which the service can be performed. In the embodiment of the present invention, when a specific resource is selected at the time of resource allocation or resource release of a corresponding service rate, the resource allocation / release operation is performed in consideration of minimizing resource fragmentation, and the state of the specific resource is performed. Update the value, resource group value and count value. In addition, an embodiment of the present invention defines a group index of the resource having a minimum assignable sub-resource that can support the service of the required speed in order to minimize resource fragmentation, the system at the time of resource selection the group index (i_max) Sequentially checks the resource group for the next step. At this time, the group index of the resource having the minimum assignable sub-resource that can support the service of the required rate is determined according to the number of sub-resources provided in each resource, the type of serviceable rate, and the like.

상기한 바와 같이, 본 발명은 자원의 최소단위의 개수가 상기한 4개가 아닌 임의의 값을 가질 경우에도 각 자원의 상태가 정의 가능하며, 사건의 정의와 그룹의 정의도 가능하다. 따라서, 본 발명은 거의 모든 자원 할당 및 해제에 효과적으로 사용할 수가 있으며, 특히 할당 방식에 특별한 제약을 가지는 경우에도 본 발명은 자원의 조각화를 최소화 하여 자원을 할당 및 해제 할 수가 있다는 것을 알 수가 있다.As described above, in the present invention, even when the number of minimum units of resources has any value other than the above four, the state of each resource can be defined, and the definition of an event and a group can also be defined. Accordingly, the present invention can be effectively used for almost all resource allocation and release, and it can be seen that the present invention can allocate and release resources with minimal fragmentation of resources even when there are special constraints on the allocation scheme.

상술한 바와 같이 본 발명은 통신 시스템에서 서브 자원의 할당 유/무에 따라 각 자원의 상태를 정의하며, 자원 할당/해제의 이벤트를 정의하며, 각 자원의 할당되지 않은 서브 자원의 개수와 서비스 할 수 있는 속도를 기준으로 하여 자원 집합을 정의한다. 그리고 본 발명은 특정 자원이 선택되면 자원 조각화를 최소화 할 수 있도록 고려하여 요구되는 자원의 할당/해제 동작을 수행한다. 이때, 본 발명은 요구되는 속도의 서비스를 지원할 수 있는 최소의 할당 가능한 서브 자원을 가지는 자원의 그룹 인덱스를 정의 하며, 본 발명은 자원 선택시에 상기 그룹 인덱스(i_max)부터 순차적으로 다음 단계의 여유가 있는 자원 그룹을 검사하여, 특별한 자원 할당 제약이 있는 경우에도, 자원의 조각화를 최소화 하고 효율적인 자원 할당/해제 동작을 할 수가 있는 이점이 있다.As described above, the present invention defines the status of each resource according to whether or not the sub-resources are allocated in the communication system, defines the event of resource allocation / release, and the number and number of unallocated sub-resources of each resource. Define a set of resources based on the possible speed. In the present invention, when a specific resource is selected, resource allocation / release is performed in consideration of minimizing resource fragmentation. In this case, the present invention defines a group index of the resource having the minimum assignable sub-resource that can support the service of the required speed, the present invention is the margin of the next step sequentially from the group index (i_max) at the time of resource selection By inspecting the resource group with, there is an advantage that the resource fragmentation can be minimized and efficient resource allocation / release operations can be performed even when there are special resource allocation constraints.

Claims (3)

통신 시스템에서 자원 할당 및 해제 방법에 있어서,In the method of allocating and releasing resources in a communication system, 서브 자원의 할당 유/무에 따라 각 자원의 상태를 정의 하고 자원 할당/해제의 이벤트를 정의하며 각 자원의 할당되지 않은 서브 자원의 개수와 서비스 할 수 있는 속도를 기준으로 하여 자원 집합을 정의하고 요구되는 소정 속도의 서비스를 지원할 수 있는 최소의 할당 가능한 서브 자원을 가지는 자원의 그룹 인덱스를 정의 하는 제1과정과,Define the status of each resource according to whether sub-resources are allocated or not, define the event of resource allocation / release, and define resource sets based on the number of unallocated sub-resources of each resource and the speed at which they can be serviced. A first step of defining a group index of a resource having a minimum assignable sub-resource capable of supporting a desired rate of service; 소정 속도의 서비스 자원 할당 요구가 발생하면 상기 그룹 인덱스에 해당하는 자원 그룹을 우선적으로 검사하고 순차적으로 다음 단계의 여유가 있는 자원 그룹들을 검사하여 해당 자원을 선택하여 요구되는 자원을 할당하는 제2과정과,A second process of first checking a resource group corresponding to the group index, sequentially checking a resource group having a next level, selecting a corresponding resource and allocating a required resource when a request for allocating a service resource at a predetermined rate occurs. and, 소정 속도의 서비스 자원 해제 요구가 발생하면 해당 자원에 포함되는 특정한 서브 자원 또는 상기 해당 자원을 해제하는 제3과정과,A third process of releasing a specific sub-resource included in a corresponding resource or the corresponding resource when a request for releasing a service resource at a predetermined rate occurs; 상기 해당 자원에 대한 자원 할당 또는 해제에 따라 상기 해당 자원의 상태값 및 자원 집합의 인덱스를 갱신하는 제4과정으로 이루어짐을 특징으로 하는 통신 시스템에서 자원 할당 및 해제 방법.And a fourth process of updating a state value of the corresponding resource and an index of a resource set according to the resource allocation or release of the corresponding resource. 제 1항에 있어서, 상기 요구되는 소정 속도의 서비스를 지원할 수 있는 최소의 할당 가능한 서브 자원을 가지는 자원의 그룹 인덱스가,The group index of resources according to claim 1, wherein the group index of resources having a minimum assignable sub-resource capable of supporting the required rate service is 각 자원에 구비되는 서브 자원의 개수, 서비스 가능한 속도의 종류에 따라 결정됨을 특징으로 하는 통신 시스템에서 자원 할당 및 해제 방법.The method of allocating and releasing resources in a communication system, characterized in that it is determined according to the number of sub resources included in each resource and the type of serviceable speed. 제 2항에 있어서, 상기 해당 자원에 대한 자원 할당 또는 해제 동작이,The method of claim 2, wherein the resource allocation or release operation for the corresponding resource, 상기 정의된 각 자원의 상태, 자원 할당/해제의 이벤트, 자원 집합에 따른 상태 천이 테이블에 의해 미리 결정됨을 특징으로 하는 통신 시스템에서 자원 할당 및 해제 방법.The resource allocation and release method of the communication system, characterized in that determined in advance by the state transition table according to the state of each resource, resource allocation / release, resource set.
KR1019990041090A 1999-09-22 1999-09-22 Method for allocating and deallocating resources in telecommunication system KR20010028707A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990041090A KR20010028707A (en) 1999-09-22 1999-09-22 Method for allocating and deallocating resources in telecommunication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990041090A KR20010028707A (en) 1999-09-22 1999-09-22 Method for allocating and deallocating resources in telecommunication system

Publications (1)

Publication Number Publication Date
KR20010028707A true KR20010028707A (en) 2001-04-06

Family

ID=19612748

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990041090A KR20010028707A (en) 1999-09-22 1999-09-22 Method for allocating and deallocating resources in telecommunication system

Country Status (1)

Country Link
KR (1) KR20010028707A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010085055A3 (en) * 2009-01-23 2010-09-16 삼성 전자 주식회사 Method and apparatus for controlling the power of terminal in a mobile communication system comprising a femtocell and a macro base station
KR101319877B1 (en) * 2006-11-01 2013-10-18 엘지전자 주식회사 Method For Allocating Resource, And Method For Transmitting Resource Allocating Information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101319877B1 (en) * 2006-11-01 2013-10-18 엘지전자 주식회사 Method For Allocating Resource, And Method For Transmitting Resource Allocating Information
WO2010085055A3 (en) * 2009-01-23 2010-09-16 삼성 전자 주식회사 Method and apparatus for controlling the power of terminal in a mobile communication system comprising a femtocell and a macro base station
US9072008B2 (en) 2009-01-23 2015-06-30 Samsung Electronics Co., Ltd. Method and apparatus for controlling the power of terminal in a mobile communication system comprising a femtocell and a macro base station

Similar Documents

Publication Publication Date Title
US6157627A (en) Channel allocation for mixed multislot services
JP3435100B2 (en) Method for dynamically allocating carriers in a wireless packet network with carrier reuse
AU693365B2 (en) Method and system for management of frequency spectrum among multiple applications on a shared medium
CN100566321C (en) Orthogonal variable frequency extension factor code is assigned
US6466559B1 (en) Method and apparatus for allocating processing resources
JP2002152813A (en) Time slot assignment method in mobile communication system and time slot assignment device in the mobile communication system
KR100370719B1 (en) Method and apparatus for allocating resources between queued and non-queued services
WO2001056323A1 (en) Pre-emptive bandwidth allocation by dynamic positioning
EP1222828B1 (en) Channel set-up in wideband, code division multiple access systems
KR20040010699A (en) Binary-tree method and system for multiplexing scheduling
JP2005065258A (en) Communication method in wireless cellular communication system
KR20010028707A (en) Method for allocating and deallocating resources in telecommunication system
EP1456990B1 (en) Method for code re-allocation in telecommunication systems, related system and computer product
AU5073599A (en) A method and apparatus for allocating channels in a mobile telecommunications system supporting both packet and circuit switched traffic
KR100447059B1 (en) Traffic Handling Processor Block Assignment Method of RNC in Wireless Communication System
JPH11331928A (en) Radio communication system, radio resource allocating method for the same, base station and mobile equipment for its system
CN1246772A (en) Radio resource configuration system in honeycomb multi-service moving radio communication system
JP3486901B2 (en) Wireless access system and wireless access method
JPH10308752A (en) Communication device and communication system
JPH01212934A (en) Line assignment control system
KR100333050B1 (en) Method for allocating supplemental channel in base station
JP2001218260A (en) Wireless base station unit and unit resource management method for the wireless base station unit
KR20030008768A (en) Resource Management Of RNC Resource Management Block (RRMM) In Asynchronous IMT-2000 System
JP2002111628A (en) Method for sharing code space in communication system
JP2890993B2 (en) Channel assignment method

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid