KR100429795B1 - Method for managing bandwidth of serial bus and apparatus thereof - Google Patents

Method for managing bandwidth of serial bus and apparatus thereof Download PDF

Info

Publication number
KR100429795B1
KR100429795B1 KR10-2001-0044063A KR20010044063A KR100429795B1 KR 100429795 B1 KR100429795 B1 KR 100429795B1 KR 20010044063 A KR20010044063 A KR 20010044063A KR 100429795 B1 KR100429795 B1 KR 100429795B1
Authority
KR
South Korea
Prior art keywords
bandwidth
serial bus
source device
allocated
target device
Prior art date
Application number
KR10-2001-0044063A
Other languages
Korean (ko)
Other versions
KR20030008999A (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 KR10-2001-0044063A priority Critical patent/KR100429795B1/en
Publication of KR20030008999A publication Critical patent/KR20030008999A/en
Application granted granted Critical
Publication of KR100429795B1 publication Critical patent/KR100429795B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40052High-speed IEEE 1394 serial bus
    • H04L12/40065Bandwidth and channel allocation

Abstract

본 발명은 다수의 노드(또는 장치)가 연결될 수 있는 시리얼 버스에 있어서 각 노드에 할당되는 대역폭을 통합적으로 관리할 수 있는 시리얼 버스 대역폭 관리 방법 및 장치이다.The present invention is a serial bus bandwidth management method and apparatus capable of managing the bandwidth allocated to each node in a serial bus to which a plurality of nodes (or devices) can be connected.

본 발명에 따른 시리얼 버스 대역폭 관리 방법은, 다수의 장치가 연결될 수 있는 시리얼 버스의 대역폭 관리 방법에 있어서, 시리얼 버스를 통해 연결된 상태인 임의의 타겟 장치와 임의의 소스장치간에 할당된 대역폭을 모니터링하는 단계; 소스장치와 타겟 장치간에 실시간 전송 데이터를 측정하여 실제 사용하는 대역폭을 추정하는 단계; 모니터링된 대역폭과 추정된 대역폭을 비교하여, 차가 발생되는 경우에 차를 토대로 할당된 대역폭을 조정하는 단계를 포함한다.In the serial bus bandwidth management method according to the present invention, a bandwidth management method of a serial bus that can be connected to a plurality of devices, monitoring the bandwidth allocated between any target device and any source device connected via the serial bus; step; Estimating the bandwidth actually used by measuring real-time transmission data between the source device and the target device; Comparing the monitored bandwidth with the estimated bandwidth, and adjusting the allocated bandwidth based on the difference if a difference occurs.

따라서 불필요하게 낭비되는 대역폭이 발생되지 않도록 시리얼 버스의 대역폭을 관리할 수 있다.Therefore, the bandwidth of the serial bus can be managed to avoid unnecessary waste of bandwidth.

Description

시리얼 버스의 대역폭 관리 방법 및 장치{Method for managing bandwidth of serial bus and apparatus thereof}Method and device for managing bandwidth of serial bus

본 발명은 시리얼 버스의 대역폭 관리 방법 및 장치에 관한 것으로, 특히, IEEE 1394와 같은 시리얼 버스의 대역폭을 효율적으로 관리할 수 있는 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for managing bandwidth of a serial bus, and more particularly, to a method and apparatus capable of efficiently managing a bandwidth of a serial bus such as IEEE 1394.

디지털 시대의 확산과 발전으로 일상 생활에서 점점 더 많은 디지털 제품을 볼 수 있게 되었다. 예를 들면, DVD 플레이어, 케이블 셋탑 박스, DVCR, DTV등이 그것이다. 이와 같이 많은 디지털 제품들이 제공됨에 따라 이들에 대한 효율적인 관리 방안이 요구되었다.With the spread and development of the digital age, more and more digital products are seen in everyday life. Examples include DVD players, cable set-top boxes, DVCRs, and DTVs. As such digital products are provided, efficient management of them is required.

따라서 상기 디지털 제품들을 하나의 통합된 네트워크로 연결하여 데이터를 송수신할 수 있는 IEEE 1394버스와 같은 시리얼 버스가 제안되게 되었다. 이 IEEE 1394 버스는 브리지(bridge) 없이 최대 63개의 장치를 연결할 수 있다. 그리고,IEEE 1394 버스는 최대 100㎲로 할당된 등시성 주기(isochronous cycle)의 대역폭(bandwidth)을 서로 나누어 사용하도록 되어 있고, 대역폭은 등시성 자원 관리기(isochronous resource manager, 이하 IRM이라 약함)에서 관리하도록 되어 있다. 상기 IRM은 등시성 자원 관리 노드라고도 한다.Accordingly, a serial bus such as an IEEE 1394 bus capable of transmitting and receiving data by connecting the digital products in one integrated network has been proposed. The IEEE 1394 bus can connect up to 63 devices without a bridge. In addition, the IEEE 1394 bus is configured to divide the bandwidth of isochronous cycles allocated to a maximum of 100 ms and to use each other, and the bandwidth is managed by an isochronous resource manager (hereinafter referred to as IRM). have. The IRM is also called an isochronous resource management node.

그러나, IRM은 정보를 저장할 수 있는 레지스터들로 구성되어 있다. 따라서, IRM은 대역폭에 관하여 현재 대역폭이 얼마만큼 어느 장치(또는 노드)에 할당되어 있고, 아직까지 할당되지 않은 대역폭이 어느 정도인지에 대한 정보를 관리할 뿐이고, 실질적으로 대역폭을 할당하는 작업은 IEEE 1394 버스에 연결되어 있는 장치(또는 노드)들이 자의적으로 수행하고 있어, 현재로서는 IEEE 1394버스의 대역폭에 대한 통합적인 관리가 이루어지지 않고 있다.However, IRM consists of registers that can store information. Thus, IRM only manages information about how much bandwidth is currently allocated to which device (or node), and how much bandwidth has not yet been allocated, and the task of actually allocating bandwidth is IEEE Since devices (or nodes) connected to the 1394 bus are arbitrarily performing, there is currently no integrated management of the bandwidth of the IEEE 1394 bus.

따라서, IEEE 1394버스의 대역폭을 할당받은 장치가 비트 레이트(bitrate)의 변화로 할당받은 대역폭을 모두 사용하지 않는 경우에도 해당 장치는 할당받은 대역폭을 계속 확보하고 있어 다른 장치들에 대한 IEEE 1394버스의 대역폭 할당을 어렵게 할 수 있다.Therefore, even if a device allocated the bandwidth of the IEEE 1394 bus does not use all of the allocated bandwidth due to a change in the bit rate, the device continues to secure the allocated bandwidth. Bandwidth allocation can be difficult.

따라서 본 발명은 다수의 노드(또는 장치)가 연결될 수 있는 시리얼 버스에 있어서 각 노드에 할당되는 대역폭을 통합적으로 관리할 수 있는 시리얼 버스 대역폭 관리 방법 및 장치를 제공하는데 그 목적이 있다.Accordingly, an object of the present invention is to provide a method and apparatus for managing serial bus bandwidth capable of collectively managing bandwidth allocated to each node in a serial bus to which a plurality of nodes (or devices) can be connected.

본 발명의 다른 목적은 다수의 노드가 연결될 수 있는 시리얼 버스에 있어서 대역폭이 할당된 노드의 실제 사용 대역폭을 추정하여 할당된 대역폭을 조정함으로써 시리얼 버스의 대역폭을 효율적으로 관리하기 위한 시리얼 버스 대역폭 관리 방법 및 장치를 제공하는데 있다.Another object of the present invention is a serial bus bandwidth management method for efficiently managing bandwidth of a serial bus by estimating an actual used bandwidth of a node to which bandwidth is allocated in a serial bus to which a plurality of nodes can be connected. And to provide an apparatus.

상기 목적을 달성하기 위하여 본 발명에 따른 시리얼 버스 대역폭 관리 방법은, 다수의 장치가 연결될 수 있는 시리얼 버스의 대역폭 관리 방법에 있어서, 시리얼 버스를 통해 연결된 상태인 임의의 타겟 장치와 임의의 소스장치간에 할당된 대역폭을 모니터링하는 단계; 소스장치와 타겟 장치간에 실시간 전송 데이터를 측정하여 실제 사용하는 대역폭을 추정하는 단계; 모니터링된 대역폭과 추정된 대역폭을 비교하여, 차가 발생되는 경우에 차를 토대로 할당된 대역폭을 조정하는 단계를 포함하는 것이 바람직하다.In order to achieve the above object, the serial bus bandwidth management method according to the present invention is a bandwidth management method of a serial bus to which a plurality of devices can be connected, and is connected between any target device and any source device connected through a serial bus. Monitoring the allocated bandwidth; Estimating the bandwidth actually used by measuring real-time transmission data between the source device and the target device; Comparing the monitored bandwidth with the estimated bandwidth, it is desirable to include adjusting the allocated bandwidth based on the difference if a difference occurs.

상기 할당된 대역폭을 조정하는 단계는, 차가 소정의 임계값보다 크면, 차를 토대로 할당할 대역폭을 연산하는 단계; 연산된 대역폭을 토대로 시리얼 버스의 자원 관리기로부터 대역폭을 할당받는 단계를 포함하는 것이 바람직하다.Adjusting the allocated bandwidth, if the difference is greater than a predetermined threshold, calculating the bandwidth to be allocated based on the difference; Preferably, the step of allocating bandwidth from the resource manager of the serial bus based on the calculated bandwidth.

상기 시리얼 버스의 대역폭 관리 방법은, 타겟 장치와 소스 장치에 할당된 대역폭에 대한 조정이 완료되면, 다른 임의의 타겟 장치와 임의의 소스장치에 할당된 대역폭을 조정하기 위하여 다른 임의의 타겟 장치와 임의의 소스장치에 대해 단계들을 반복 수행하는 것이 바람직하다.In the bandwidth management method of the serial bus, when the adjustment of the bandwidth allocated to the target device and the source device is completed, the other arbitrary target device and any other target device to adjust the bandwidth allocated to the arbitrary source device It is desirable to repeat the steps for the source device of.

상기 목적을 달성하기 위하여 본 발명에 따른 시리얼 버스 대역폭 관리 장치는, 다수의 장치가 연결될 수 있는 시리얼 버스의 대역폭 관리 장치에 있어서, 시리얼 버스를 통해 데이터를 제공하는 소스 장치; 시리얼 버스를 통해 데이터를 제공받는 타겟 장치; 소스 장치와 타겟 장치간에 할당된 대역폭을 모니터링한 결과와, 소스 장치와 타겟 장치간에 실제 사용하는 대역폭을 추정한 결과를 이용하여 소스 장치와 타겟 장치간에 할당된 대역폭을 조정하기 위하여 시리얼 버스에 연결되어 있는 마스터를 포함하는 것이 바람직하다.In order to achieve the above object, a serial bus bandwidth management apparatus according to the present invention comprises: a bandwidth management apparatus of a serial bus to which a plurality of devices can be connected, comprising: a source device for providing data through the serial bus; A target device receiving data through a serial bus; It is connected to the serial bus to adjust the bandwidth allocated between the source device and the target device by monitoring the bandwidth allocated between the source device and the target device and estimating the bandwidth actually used between the source device and the target device. It is preferable to include a master.

상기 시리얼 버스의 대역폭 관리 장치는, 시리얼 버스에 연결되어 있는 다수의 장치들에 할당되어 있는 대역폭 및 채널에 대한 자원을 관리하는 자원 관리기를 더 포함하고, 마스터는 대역폭을 모니터링한 결과와 추정된 결과를 비교하여, 차가 발생되면, 차를 토대로 대역폭을 연산하고, 연산된 대역폭을 토대로 자원 관리기로부터 소스 장치와 타겟 장치간의 대역폭을 할당받는 것이 바람직하다.The bandwidth management device of the serial bus further includes a resource manager that manages resources for a bandwidth and a channel allocated to a plurality of devices connected to the serial bus, and the master monitors the bandwidth and the estimated result. In comparison, when a difference occurs, it is preferable to calculate a bandwidth based on the difference and to allocate a bandwidth between the source device and the target device from the resource manager based on the calculated bandwidth.

도 1은 본 발명에 따른 시리얼 버스의 대역폭 관리 장치의 블록 도이다.1 is a block diagram of an apparatus for managing bandwidth of a serial bus according to the present invention.

도 2는 본 발명에 따른 시리얼 버스 대역폭 관리 방법의 동작 흐름 도이다.2 is a flowchart illustrating a method of managing a serial bus bandwidth according to the present invention.

이하, 첨부된 도면을 참조하여 본 발명에 따른 실시 예를 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 시리얼 버스 대역폭 관리 장치의 블록도로서, 시리얼 버스(101), 타겟 장치(102), 소스 장치(103), 자원 관리기(104) 및 마스터(105)로 구성된다.1 is a block diagram of a serial bus bandwidth management apparatus according to the present invention, which is comprised of a serial bus 101, a target apparatus 102, a source apparatus 103, a resource manager 104, and a master 105.

시리얼 버스(101)는 상기 종래 기술에서 언급한 바와 같은 IEEE 1394 버스와 같은 규격을 갖는 버스이다.The serial bus 101 is a bus having the same specification as the IEEE 1394 bus as mentioned in the prior art.

타겟 장치(102)는 시리얼 버스(101)를 통해 실시간으로 제공되는 데이터를 사용(또는 수신)하는 장치이다. 시리얼 버스(101)에 연결되어 있는 장치 중 데이터 수신 기능이 구비되어 있는 장치이면 모두 타겟 장치(102)로서 설정될 수 있다.The target device 102 is a device that uses (or receives) data provided in real time via the serial bus 101. Any device connected to the serial bus 101 may be set as the target device 102 as long as the device has a data receiving function.

소스 장치(103)는 시리얼 버스(101)를 통해 실시간으로 데이터를 제공(또는송출)하는 장치이다. 시리얼 버스(101)에 연결되어 있는 장치 중 데이터 송출 기능이 구비되어 있는 장치이면 모두 소스 장치(103)로서 설정될 수 있다.The source device 103 is a device that provides (or transmits) data in real time via the serial bus 101. Any device connected to the serial bus 101 may be set as the source device 103 as long as the device has a data transmission function.

자원 관리기(104)는 시리얼 버스(101)를 통해 데이터를 송수신하기 위한 타켓 장치(102)와 소스 장치(103)간의 채널 및 대역폭을 할당하기 위한 자원을 관리한다. 즉, 자원 관리기(104)는 다수의 레지스터들로 구성되어 시리얼 버스(101)에 할당 가능한 채널 및 대역폭에 대한 정보 및 할당된 채널 및 대역폭에 대한 정보를 제공한다. 따라서, 본 발명에 따라 시리얼 버스(101)의 대역폭을 관리할 때, 마스터(105)의 요구에 의해 원하는 타켓 장치(102)와 소스 장치(103)간에 할당된 대역폭 및 채널에 대한 정보를 제공하고, 마스터(105)의 요구에 의해 상기 타켓 장치(102)와 소스 장치(103)간의 대역폭 정보를 새롭게 할당하기도 한다.The resource manager 104 manages resources for allocating channels and bandwidths between the target device 102 and the source device 103 for transmitting and receiving data through the serial bus 101. That is, the resource manager 104 is composed of a plurality of registers to provide information about the channel and bandwidth that can be allocated to the serial bus 101 and information about the allocated channel and bandwidth. Thus, when managing the bandwidth of the serial bus 101 in accordance with the present invention, it provides information about the bandwidth and channel allocated between the desired target device 102 and the source device 103 at the request of the master 105. In addition, the bandwidth information between the target device 102 and the source device 103 may be newly allocated at the request of the master 105.

마스터(105)는 시리얼 버스(101)에 대한 점유권에 있어서 최우선 순위를 갖는 장치(또는 노드)로서, 시리얼 버스(101)에 대한 중재 및 본 발명에 따른 대역폭 관리를 한다. 따라서 마스터(105)는 원하는 노드(장치)와의 중첩 연결을 하거나 시리얼 버스(101)를 리셋 시켰을 경우에 항상 먼저 자원 관리기(104)로부터 자원을 할당받을 수 있다. 시리얼 버스(101)에 대한 중재는 종래 IEEE 1394버스에 대한 중재와 동일하게 수행된다.The master 105 is a device (or node) having the highest priority in the possession of the serial bus 101, which arbitrates the serial bus 101 and manages bandwidth according to the present invention. Accordingly, the master 105 may always be allocated a resource from the resource manager 104 first when the master node 105 overlaps a desired node (device) or resets the serial bus 101. Arbitration on the serial bus 101 is performed in the same manner as arbitration on the conventional IEEE 1394 bus.

본 발명에 따라 시리얼 버스(101)에 대한 대역폭을 관리하기 위하여, 마스터(105)는 도 2에 도시된 본 발명에 따른 시리얼 버스 대역폭 관리 방법의 동작 흐름 도와 같이 동작한다. 도 2의 동작 흐름 도는 소스 장치(103)와 타켓 장치(102)간에 데이터를 송수신하기 위한 채널 및 대역폭이 할당된 후 수행된다.소스 장치(103)와 타켓 장치(102)간에 채널 및 대역폭 할당은 자원 관리기(104)에 저장되어 있는 정보를 토대로 종래와 같은 방식으로 이루어진다.In order to manage the bandwidth for the serial bus 101 in accordance with the present invention, the master 105 operates like the operational flow diagram of the serial bus bandwidth management method according to the present invention shown in FIG. 2 is performed after a channel and a bandwidth for transmitting and receiving data between the source device 103 and the target device 102 are allocated. The channel and bandwidth allocation between the source device 103 and the target device 102 is performed. The information is stored in the resource manager 104 in the same manner as the conventional method.

즉, 제 201 단계에서 마스터(105)는 시리얼 버스(101)에 점대 점 연결(Point-to-point connection) 중인 소스 장치를 체크한다. 도 1에서는 하나의 소스 장치(103)와 타켓 장치(102)를 도시하였으나, 상기 종래 기술에서 언급한 바와 같이 IEEE 1394 버스의 경우에는 최대 64개까지 연결이 가능하므로, 다수의 소스 장치(103)와 타켓 장치(102)가 존재할 수 있다.That is, in step 201, the master 105 checks the source device that is being point-to-point connected to the serial bus 101. In FIG. 1, one source device 103 and a target device 102 are illustrated, but as mentioned in the related art, up to 64 connections can be made in the case of the IEEE 1394 bus. And target device 102 may be present.

만약 점대 점 연결 중인 소스 장치가 도 1에 도시된 소스 장치(103) 한 개만 존재하면, 마스터(105)는 제 202 단계에서 소스 장치(103)와의 점대 점 연결을 중첩(overlay)한다. 그러나 만약 점대 점 연결중인 소스 장치가 다수 개 존재하면, 마스터(105)는 제 202 단계에서 그 중 임의의 소스 장치와의 점대 점 연결을 중첩한다. 점대 점 연결 중첩 대상 소스 장치는 규칙에 따라 순차적으로 선택될 수 있으나 특별한 기준 없이 랜덤하게 선택될 수도 있다.If only one source device in point-to-point connection exists in FIG. 1, the master 105 overlays the point-to-point connection with the source device 103 in step 202. However, if there are a plurality of source devices in point-to-point connection, the master 105 overlaps the point-to-point connection with any of the source devices in step 202. The point-to-point connection overlapping source device may be sequentially selected according to a rule, but may be randomly selected without any special criteria.

원하는 소스 장치(103)와의 점대 점 연결 중첩이 이루어지면, 마스터(105)는 제 203 단계에서 해당되는 소스 장치(103)와 타겟 장치(102)간에 할당된 대역폭을 모니터링한다. 이 때, 선택된 소스 장치(103)에 대한 타켓 장치(102)는 소스 장치(103)와의 계속적인 데이터 송수신을 원할 경우에, 스탠바이 상태로 설정된 상태에서 소스 장치(103)와의 점대 점 연결을 복구하기 위해 계속적으로 소스 장치(103)와의 점대 점 연결 중첩을 시도한다.When the point-to-point connection overlap with the desired source device 103 is made, the master 105 monitors the bandwidth allocated between the corresponding source device 103 and the target device 102 in step 203. At this time, when the target device 102 for the selected source device 103 wants to continuously transmit and receive data with the source device 103, the target device 102 restores the point-to-point connection with the source device 103 in the standby state. Continuously attempts to overlap the point-to-point connection with the source device 103.

할당된 대역폭에 대한 모니터링은 소스 장치(103)에 저장되어 있는 대역폭을결정하는 정보들을 이용하거나 자원 관리기(104)에 저장되어 있는 소스 장치(103)와 타겟 장치(102)간에 할당된 대역폭 정보를 이용할 수 있다. 즉, 전자의 경우에, 마스터(105)는 소스 장치(103)에 저장되어 있는 오버헤드 식별자(overhead_ID), 페이로드(payload), 및 데이터 레이트(datarate)를 각각 읽고, 하기 수학식 1과 같이 연산하여 할당된 대역폭을 모니터링한다.Monitoring of the allocated bandwidth may be performed by using information for determining the bandwidth stored in the source device 103 or by using the bandwidth information allocated between the source device 103 and the target device 102 stored in the resource manager 104. It is available. That is, in the former case, the master 105 reads the overhead identifier (overhead_ID), the payload, and the data rate stored in the source device 103, respectively, as shown in Equation 1 below. Compute and monitor the allocated bandwidth.

[수학식 1]대역폭 =overhead_ID×32+(payload+3)×datarate(overhead_ID>0이면)Equation 1 bandwidth = overhead_ID x 32 + (payload + 3) x datarate (if overhead_ID> 0)

대역폭=512+(payload+3)×datarate(overhead_ID=0이면)Bandwidth = 512 + (payload + 3) × datarate (if overhead_ID = 0)

수학식 1에서 알 수 있는 바와 같이 전자의 경우에, 마스터(105)는 소스 장치(103)로부터 읽은 오버헤드 식별자가 '0'보다 크면, 수학식 1의 상단의 연산식에 의해 연산한 결과를 소스 장치(103)와 타겟 장치(102)간에 할당된 대역폭으로 인식한다. 그러나 마스터(105)는 소스 장치(103)로부터 읽은 오버헤드 식별자가 '0'과 동일하면, 수학식 1의 하단의 연산식에 의해 연산한 결과를 소스 장치(103)와 타겟 장치(102)간에 할당된 대역폭으로 인식한다.In the former case, as can be seen from Equation 1, the master 105, if the overhead identifier read from the source device 103 is greater than '0', the master 105 calculates the result of the calculation by the equation at the top of Equation 1. It recognizes the bandwidth allocated between the source device 103 and the target device 102. However, if the overhead identifier read from the source device 103 is equal to '0', the master 105 may calculate the result of the calculation by the equation below in Equation 1 between the source device 103 and the target device 102. Recognize it as allocated bandwidth.

한편, 자원 관리기(104)를 이용한 후자의 경우에, 마스터(105)는 시리얼 버스(101)를 통해 자원 관리기(104)에 구비되어 있는 대역폭 자원을 관리하는 레지스터(미 도시됨)를 통해 해당되는 소스장치(103)에 할당되어 있는 대역폭 정보를 읽어오는 방법으로 소스 장치(103)와 타겟 장치(102)에 할당되어 있는 대역폭을 모니터링한다.On the other hand, in the latter case using the resource manager 104, the master 105 is applied through a register (not shown) for managing bandwidth resources provided in the resource manager 104 via the serial bus 101 The bandwidth allocated to the source device 103 and the target device 102 is monitored by reading the bandwidth information allocated to the source device 103.

제 204 단계에서 마스터(105)는 소스 장치(103)와 타겟 장치(102)간에 설정되어 있는 채널을 통해 실시간으로 전송되는 데이터를 측정하여 실제 사용하는 대역폭을 추정한다. 즉, 소정 단위(예를 들어 1등시성 주기)로 현재 전송되는 비트스트림 데이터의 전송률을 검출하고, 검출된 데이터 전송률의 변화량을 실시간으로 검출한 후, 추정된 현재의 데이터 전송률을 토대로 실제 사용하는 대역폭을 추정한다.In step 204, the master 105 estimates the bandwidth actually used by measuring data transmitted in real time through a channel established between the source device 103 and the target device 102. That is, the data rate of the currently transmitted bitstream data is detected in a predetermined unit (for example, an isochronous period), the change amount of the detected data rate is detected in real time, and the bandwidth actually used based on the estimated current data rate. Estimate

그 다음, 제 205 단계에서 마스터(105)는 제 203 단계에서 모니터링된 대역폭과 제 204 단계에서 추정된 대역폭을 비교하여 오차 값을 검출한다. 그리고, 제 206 단계에서 마스터(105)는 검출된 오차의 절대 값과 임계값(TH)을 비교한다.In operation 205, the master 105 detects an error value by comparing the bandwidth monitored in operation 203 with the bandwidth estimated in operation 204. In operation 206, the master 105 compares the absolute value of the detected error with the threshold value TH.

비교한 결과, 검출된 절대 오차 값이 임계값(TH) 보다 크면, 제 207 단계에서 마스터(105)는 시리얼 버스(101)를 리셋 시킨다. 그리고, 제 208 단계에서 오차 값을 토대로 대역폭 연산을 수행한다. 즉, 검출된 오차 값을 토대로 새로운 오버헤드 식별자 정보를 얻거나 상기 마스터(105)가 소스장치(103)와 동일한 노드인 경우에는 새로운 페이로드를 구하고, 구해진 값들을 상기 수학식 1에 대입하여 새로운 대역폭 값을 얻는다.As a result of the comparison, if the detected absolute error value is larger than the threshold value TH, the master 105 resets the serial bus 101 in step 207. In operation 208, the bandwidth operation is performed based on the error value. That is, new overhead identifier information is obtained based on the detected error value, or when the master 105 is the same node as the source device 103, a new payload is obtained, and the obtained values are substituted into Equation 1 to obtain new overhead identifier information. Get the bandwidth value.

제 209 단계에서 마스터(105)는 제 208 단계에서 얻은 대역폭 값을 토대로 소스 장치(103)와 타겟 장치(102)간의 새로운 대역폭을 자원 관리기(104)로부터 할당받는다. 자원 관리기(104)로부터 새로운 대역폭을 할당받는 방식은 기존의 대역폭 할당 방식과 동일하게 이루어진다. 즉, 마스터(105)가 자원 관리기(104)에 존재하는 대역폭 레지스터에 저장되어 있는 정보를 읽어 현재 설정하고자 하는 대역폭을 설정할 수 있는지 판단하고, 설정할 수 있는 것으로 판단된 경우에자원관리기(104)에 존재하는 대역폭 레지스터를 새로운 값으로 변경한다.In step 209, the master 105 receives a new bandwidth from the resource manager 104 between the source device 103 and the target device 102 based on the bandwidth value obtained in step 208. The new bandwidth allocation scheme from the resource manager 104 is the same as the existing bandwidth allocation scheme. That is, the master 105 reads the information stored in the bandwidth register existing in the resource manager 104 to determine whether the current bandwidth can be set, and if it is determined that the master 105 can set the bandwidth to the resource manager 104. Change an existing bandwidth register to a new value.

그 다음 마스터(105)는 제 210 단계에서 소스 장치(103)와의 점대 점 연결을 복구한다. 이 단계에서 소스장치의 오버헤더 식별자가 변경된다. 그리고, 제 211 단계에서 마스터(105)는 소스 장치(103)에 타겟 장치(102)가 중첩 연결되었는지 확인한다. 상기와 같은 상황에서 타겟 장치(102)가 소스 장치(103)로의 중첩 연결은 다음과 같이 이루어진다. 즉, 타겟 장치(102)가 소스 장치(103)로 점대 점 연결이 있는 상태인지를 체크한다. 이 때, 타켓 장치(102)가 소스 장치(103)로부터 계속해서 데이터를 수신하고자 할 경우에, 소스 장치(103)와의 점대 점 연결 중첩을 하게 된다.The master 105 then recovers the point-to-point connection with the source device 103 in step 210. In this step, the header identifier of the source device is changed. In operation 211, the master 105 checks whether the target device 102 is overlapped with the source device 103. In such a situation, the overlapping connection of the target device 102 to the source device 103 is performed as follows. That is, the target device 102 checks whether there is a point-to-point connection to the source device 103. At this time, when the target device 102 wants to continuously receive data from the source device 103, the point-to-point connection overlap with the source device 103 is performed.

제 211 단계에서 확인한 결과, 타겟 장치(102)가 소스 장치(103)와 점대 점 연결이 중첩된 상태이면, 제 212 단계에서 소스 장치(103)와의 점대 점 연결을 단절시켜 소스 장치(103)와 타켓 장치(102)간에 점대 점 연결이 설정되도록 한다.As a result of checking in operation 211, when the target device 102 overlaps the point-to-point connection with the source device 103, the target device 102 disconnects the point-to-point connection with the source device 103 in step 212. The point-to-point connection is established between the target devices 102.

이 때, 마스터(105)는 상술한 바와 같이 타켓 장치(102)와 소스 장치(103)간의 점대 점 연결이 중첩된 경우에만 소스 장치(103)와의 점대 점 연결을 단절시키는 것이 아니라 일정시간동안 타켓 장치(102)와 소스 장치(103)간의 점대 점 연결의 중첩 여부를 확인하고, 일정 시간이 경과하는 동안 타겟 장치(102)와 소스 장치(103)간의 점대 점 연결이 중첩되지 않을 때에도 소스 장치(103)와의 점대 점 연결을 단절하도록 구현할 수 있다. 이와 같이 단절되는 경우에 마스터(105)는 소스 장치(103)와의 점대 점 연결로 인해 확보한 자원들을 모두 반환하게 된다.At this time, the master 105 does not disconnect the point-to-point connection with the source device 103 only when the point-to-point connection between the target device 102 and the source device 103 overlaps as described above. Check whether the point-to-point connection between the device 102 and the source device 103 overlaps, and the source device (even when the point-to-point connection between the target device 102 and the source device 103 does not overlap for a predetermined time). 103 to break the point-to-point connection with the device. When disconnected as described above, the master 105 returns all resources secured due to the point-to-point connection with the source device 103.

그리고, 제 213 단계에서 마스터(105)는 다음 순번의 소스 장치와의 연결이필요한지 체크한다. 체크결과, 다음 순번의 소스 장치와의 연결이 필요한 경우에는 제 214 단계로 진행되어 다음 순번의 소스 장치와의 점대 점 연결을 중첩하고, 제 203 단계로 리턴 되어 상술한 과정을 반복적으로 수행한다.In operation 213, the master 105 checks whether connection with the next source device is necessary. As a result of the check, if a connection with the next source device is required, the process proceeds to step 214, the point-to-point connection with the next source device is overlapped, and the process returns to step 203 to repeatedly perform the above-described process.

상기 제 213 단계에서의 체크는 마스터(105)에 설정되어 있는 동작 조건이 하나의 소스 장치와 타켓 장치간의 대역폭을 관리하도록 설정되어 있거나 시리얼 버스(101)에 연결되어 있는 모든 소스 장치와 타켓 장치들에 대해 1회에 걸쳐 대역폭을 조정하도록 설정되어 있는데, 그 1회의 조정 작업이 완료되었거나 시리얼 버스에 연결되어 있는 소스 장치와 타켓 장치가 한 개만 존재하는 것과 같이 더 이상의 대역폭 조정이 필요치 않은 경우에 다음 순번의 소스 장치와의 연결이 필요치 않은 것으로 판단한다.The check in the step 213 is that all the source and target devices whose operating conditions set in the master 105 are set to manage bandwidth between one source device and the target device or are connected to the serial bus 101. If you have set up bandwidth tuning once for, and you do not need any further bandwidth tuning, such as when that tuning is complete or there is only one source and target device connected to the serial bus, It is determined that the connection with the source device is not necessary.

한편, 제 206 단계에서 체크한 결과, 절대 오차 값이 임계값(TH)보다 작으면, 소스 장치(103)와 타켓 장치(102)간의 대역폭을 조정할 필요가 없으므로, 제 212 단계로 진행되어 마스터(105)는 소스 장치(103)와의 점대 점 연결을 단절한다.On the other hand, if the absolute error value is less than the threshold value TH as a result of checking in step 206, since there is no need to adjust the bandwidth between the source device 103 and the target device 102, the process proceeds to step 212. 105 breaks the point-to-point connection with the source device 103.

상술한 본 발명에 의하면, 다수의 장치(또는 노드)가 연결될 수 있는 시리얼 버스에 있어서, 소스 장치와 타켓 장치간에 설정되어 있는 대역폭을 실제 데이터 전송률을 토대로 조정함으로써, 불필요하게 낭비되는 등시성 대역폭이 발생되지 않도록 시리얼 버스의 대역폭을 관리할 수 있다.According to the present invention described above, in the serial bus to which a plurality of devices (or nodes) can be connected, unnecessary bandwidth is generated by adjusting the bandwidth set between the source device and the target device based on the actual data rate. You can manage the bandwidth of the serial bus to avoid this.

본 발명은 상술한 실시 예에 한정되지 않으며, 본 발명의 사상 내에서 당업자에 의한 변형이 가능함은 물론이다. 따라서, 본 발명에서 권리를 청구하는 범위는 상세한 설명의 범위 내로 정해지는 것이 아니라 후술하는 청구범위로 한정될 것이다.The present invention is not limited to the above-described embodiments, and variations of the present invention can be made by those skilled in the art within the spirit of the present invention. Therefore, the scope of the claims in the present invention will not be defined within the scope of the detailed description, but will be limited to the claims below.

Claims (12)

다수의 장치가 연결될 수 있는 시리얼 버스의 대역폭 관리 방법에 있어서,In the bandwidth management method of a serial bus to which a plurality of devices can be connected, 상기 시리얼 버스에 연결된 마스터는 사전에 설정된 대역폭 정보를 이용하여 상기 시리얼 버스를 통해 연결되어 있는 임의의 타겟 장치와 임의의 소스장치간에 할당된 대역폭을 모니터링하는 단계;Monitoring, by the master connected to the serial bus, bandwidth allocated between any target device and any source device connected through the serial bus using preset bandwidth information; 상기 마스터는 상기 소스장치와 상기 타겟 장치간에 실시간 전송 데이터를 측정하여 실제 사용하는 대역폭을 추정하는 단계;Estimating the bandwidth actually used by the master by measuring real-time transmission data between the source device and the target device; 상기 마스터는 상기 모니터링된 대역폭과 상기 추정된 대역폭을 비교하여, 차가 발생되면, 상기 차를 소정의 임계값과 비교하고, 비교 결과를 토대로 상기 소스 장치와 타켓 장치간에 할당된 대역폭을 조정하는 단계를 포함하는 시리얼 버스의 대역폭 관리 방법.The master compares the monitored bandwidth with the estimated bandwidth, if a difference occurs, comparing the difference with a predetermined threshold value, and adjusting a bandwidth allocated between the source device and the target device based on a comparison result. How to manage bandwidth of the serial bus to include. 제 1 항에 있어서, 상기 시리얼 버스의 대역폭 관리 방법은 상기 시리얼 버스의 마스터가 상기 소스장치와 연결된 상태에서 수행되는 것을 특징으로 하는 시리얼 버스의 대역폭 관리 방법.The method of claim 1, wherein the bandwidth management method of the serial bus is performed while the master of the serial bus is connected to the source device. 제 1 항에 있어서, 상기 사전에 저장된 대역폭 정보는 상기 소스장치에 저장되어 있는 대역폭을 결정하는 정보인 것을 특징으로 하는 시리얼 버스의 대역폭 관리 방법.The bandwidth management method of claim 1, wherein the previously stored bandwidth information is information for determining a bandwidth stored in the source device. 제 1 항에 있어서, 상기 사전에 설정된 대역폭 정보는 상기 시리얼 버스의 자원 관리기에 저장되어 있는 상기 소스장치와 타겟 장치간에 할당된 대역폭 정보인 것을 특징으로 하는 시리얼 버스의 대역폭 관리 방법.The bandwidth management method of claim 1, wherein the preset bandwidth information is bandwidth information allocated between the source device and a target device stored in a resource manager of the serial bus. 제 1 항에 있어서, 상기 할당된 대역폭을 조정하는 단계는,The method of claim 1, wherein adjusting the allocated bandwidth, 상기 차가 소정의 임계값보다 크면, 상기 차를 토대로 상기 타켓 장치와 소스 장치간에 할당할 대역폭을 연산하는 단계;If the difference is greater than a predetermined threshold, calculating a bandwidth to be allocated between the target device and the source device based on the difference; 연산된 대역폭을 토대로 상기 시리얼 버스의 자원 관리기로부터 대역폭을 할당받는 단계를 포함하는 시리얼 버스의 대역폭 관리 방법.And allocating bandwidth from a resource manager of the serial bus based on the calculated bandwidth. 제 5 항에 있어서, 상기 할당된 대역폭을 조정하는 단계는 상기 차가 소정의 임계값보다 크면, 상기 시리얼 버스를 리셋시킨 후, 상기 연산단계를 수행하는 것을 특징으로 하는 시리얼 버스의 대역폭 관리 방법.6. The method of claim 5, wherein the adjusting of the allocated bandwidth comprises performing the operation after resetting the serial bus if the difference is greater than a predetermined threshold. 제 5 항에 있어서, 상기 연산 단계는 상기 차를 토대로 오버헤드 식별자 정보 또는 오버 헤드 식별자 정보와 페이로드를 변경시켜 상기 할당할 대역폭을 연산하는 것을 특징으로 하는 시리얼 버스의 대역폭 관리 방법.6. The method of claim 5, wherein the calculating step calculates the bandwidth to be allocated by changing overhead identifier information or overhead identifier information and payload based on the difference. 제 1 항에 있어서, 상기 시리얼 버스의 대역폭 관리 방법은,The method of claim 1, wherein the bandwidth management method of the serial bus, 상기 타겟 장치와 소스 장치에 할당된 대역폭에 대한 조정이 완료되면, 다른 임의의 타겟 장치와 임의의 소스장치에 할당된 대역폭을 조정하기 위하여 상기 다른 임의의 타겟 장치와 임의의 소스장치에 대해 상기 단계들을 반복 수행하는 것을 특징으로 하는 시리얼 버스의 대역폭 관리 방법.When the adjustment of the bandwidth allocated to the target device and the source device is completed, the step for the other arbitrary target device and the arbitrary source device to adjust the bandwidth allocated to the other arbitrary target device and the arbitrary source device. Bandwidth management method of a serial bus, characterized in that for repeatedly performing the. 다수의 장치가 연결될 수 있는 시리얼 버스의 대역폭 관리 장치에 있어서,In the bandwidth management device of the serial bus to which a plurality of devices can be connected, 상기 시리얼 버스를 통해 데이터를 제공하는 소스 장치;A source device for providing data via the serial bus; 상기 시리얼 버스를 통해 데이터를 제공받는 타겟 장치;A target device to receive data through the serial bus; 사전에 저장된 대역폭 정보를 이용하여 상기 소스 장치와 상기 타겟 장치간에 할당된 대역폭을 모니터링한 결과와, 상기 소스 장치와 상기 타겟 장치간에 실시간 전송 데이터를 측정하여 실제 사용하는 대역폭을 추정한 결과를 비교하고, 상기 모니터링한 결과와 상기 추정한 결과간에 차가 발생되면, 발생된 차와 소정의 임계값을 비교하고, 비교결과를 토대로 상기 소스 장치와 타겟 장치간에 할당된 대역폭을 조정하기 위하여 상기 시리얼 버스에 연결되어 있는 마스터를 포함하는 시리얼 버스의 대역폭 관리 장치.Compare the result of monitoring the bandwidth allocated between the source device and the target device by using the bandwidth information previously stored, and the result of estimating the bandwidth actually used by measuring the real-time transmission data between the source device and the target device. And when a difference is generated between the monitored result and the estimated result, compares the generated difference with a predetermined threshold value and connects the serial bus to adjust the bandwidth allocated between the source device and the target device based on the comparison result. Bandwidth management device on a serial bus that contains a master. 제 9 항에 있어서, 상기 마스터는 상기 시리얼 버스에 대해 최우선 순위의 점유권을 갖는 것을 특징으로 하는 시리얼 버스의 대역폭 관리 장치.10. The apparatus of claim 9, wherein the master has the highest priority for the serial bus. 제 9 항에 있어서, 상기 시리얼 버스의 대역폭 관리 장치는,The bandwidth management apparatus of claim 9, wherein 상기 시리얼 버스에 연결되어 있는 다수의 장치들에 할당되어 있는 상기 대역폭 정보 및 채널에 대한 자원을 관리하는 자원 관리기를 더 포함하고,And a resource manager for managing resources for the bandwidth information and a channel allocated to a plurality of devices connected to the serial bus. 상기 마스터는 상기 자원 관리기에 저장되어 있는 자원을 토대로 상기 소스 장치와 타켓 장치간에 할당된 대역폭을 모니터링한 결과를 얻은 것을 특징으로 하는 시리얼 버스의 대역폭 관리 장치.And the master obtains a result of monitoring the bandwidth allocated between the source device and the target device based on the resources stored in the resource manager. 제 9 항에 있어서, 상기 시리얼 버스의 대역폭 관리 장치는,The bandwidth management apparatus of claim 9, wherein 상기 시리얼 버스에 연결되어 있는 다수의 장치들에 할당되어 있는 대역폭 정보 및 채널에 대한 자원을 관리하는 자원 관리기를 더 포함하고,Further comprising a resource manager for managing resources for the bandwidth information and channels allocated to a plurality of devices connected to the serial bus, 상기 마스터는 상기 차가 상기 소정의 임계값보다 크면, 상기 차를 토대로 대역폭을 연산하고, 연산된 대역폭을 토대로 상기 자원 관리기로부터 상기 소스 장치와 타겟 장치간의 대역폭을 할당받는 것을 특징으로 하는 시리얼 버스의 대역폭 관리 장치.The master calculates a bandwidth based on the difference if the difference is greater than the predetermined threshold, and allocates a bandwidth between the source device and the target device from the resource manager based on the calculated bandwidth. Management device.
KR10-2001-0044063A 2001-07-21 2001-07-21 Method for managing bandwidth of serial bus and apparatus thereof KR100429795B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0044063A KR100429795B1 (en) 2001-07-21 2001-07-21 Method for managing bandwidth of serial bus and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0044063A KR100429795B1 (en) 2001-07-21 2001-07-21 Method for managing bandwidth of serial bus and apparatus thereof

Publications (2)

Publication Number Publication Date
KR20030008999A KR20030008999A (en) 2003-01-29
KR100429795B1 true KR100429795B1 (en) 2004-05-04

Family

ID=27716111

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0044063A KR100429795B1 (en) 2001-07-21 2001-07-21 Method for managing bandwidth of serial bus and apparatus thereof

Country Status (1)

Country Link
KR (1) KR100429795B1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8644396B2 (en) 2006-04-18 2014-02-04 Qualcomm Incorporated Waveform encoding for wireless applications
WO2007127878A1 (en) 2006-04-26 2007-11-08 Qualcomm Incorporated Dynamic distribution of device functionality and resource management
US8406794B2 (en) 2006-04-26 2013-03-26 Qualcomm Incorporated Methods and apparatuses of initiating communication in wireless networks
US8289159B2 (en) 2006-04-26 2012-10-16 Qualcomm Incorporated Wireless localization apparatus and method
KR100891116B1 (en) * 2007-04-02 2009-03-30 삼성전자주식회사 Apparatus and method for bandwidth aware motion compensation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5533009A (en) * 1995-02-03 1996-07-02 Bell Communications Research, Inc. Bandwidth management and access control for an ATM network
JPH1177835A (en) * 1997-09-10 1999-03-23 Toyota Auto Body Co Ltd High-frequency induction heating device
KR19990061454A (en) * 1997-12-31 1999-07-26 유기범 Communication device between processor and devices
JP2001077835A (en) * 1999-08-31 2001-03-23 Sony Corp Information communication method and system
KR20010104153A (en) * 2000-05-13 2001-11-24 윤종용 Apparatus for automatic detecting data rate
JP2002281033A (en) * 2001-03-15 2002-09-27 Nec Access Technica Ltd Usb connection port display system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5533009A (en) * 1995-02-03 1996-07-02 Bell Communications Research, Inc. Bandwidth management and access control for an ATM network
JPH1177835A (en) * 1997-09-10 1999-03-23 Toyota Auto Body Co Ltd High-frequency induction heating device
KR19990061454A (en) * 1997-12-31 1999-07-26 유기범 Communication device between processor and devices
JP2001077835A (en) * 1999-08-31 2001-03-23 Sony Corp Information communication method and system
KR20010104153A (en) * 2000-05-13 2001-11-24 윤종용 Apparatus for automatic detecting data rate
JP2002281033A (en) * 2001-03-15 2002-09-27 Nec Access Technica Ltd Usb connection port display system

Also Published As

Publication number Publication date
KR20030008999A (en) 2003-01-29

Similar Documents

Publication Publication Date Title
US7894339B2 (en) High speed PLC network-ethernet bridge system supporting QoS
US7277402B2 (en) Method for isochronous resource management in a network based on hiperlan 2 technology
US7701855B2 (en) Communication device, communication system, communication method, communication program and recording medium storing the communication program
EP0844769A1 (en) Method and apparatus for connecting networks
JP2006514456A (en) Priority transmission of data stream
US7394824B2 (en) System and method of transmitting variable length packet by sequential allocation of permission and monitoring response detection time period
KR100429795B1 (en) Method for managing bandwidth of serial bus and apparatus thereof
KR100602183B1 (en) Data transmission apparatus and data transmission system
US7139853B2 (en) Data transmission/reception system, connection establishing method and information transmission/reception apparatus
KR100453324B1 (en) Routing Apparatus and Method for Internet Quality of Service
KR100828064B1 (en) Method for reserving isochronous resources in a network comprising a wireless link
US7746898B2 (en) Band allocation method, communication control unit and communication apparatus
EP1499071A1 (en) Apparatus, method, program and information recording medium for data rate setting
US20020176436A1 (en) Method for in a multi-station network determining a worst case gap_count value, and a system and a measuring node arranged for implementing such method
KR100640404B1 (en) Stability guaranteed homenetwork system using IEEE1394 and Its Node Configulation Method
KR20010011112A (en) Method for allocating channel in device having digital interface
JP2001244979A (en) Quality control method for ip network, network managing device for the same, and medium with recorded program for executing the same
EP1775889A1 (en) Bridge and transmission device, and information system
KR101369356B1 (en) Method of Relay Transmission for QoS Enhancement in Wireless USB System)
JP2002016607A (en) Data transmission managing method
JP3894443B2 (en) Controller device connected to the bus and its data rate changing method
JP2000049830A (en) Device, system and method for transmitting digital signal
JP2004179974A (en) Network communication device with asynchronous transfer function
JP2000324140A (en) Data transmitter and data transmission controller
JP2004357250A (en) Controller device to be connected to bus, and its data transfer rate-determining method

Legal Events

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

Payment date: 20120329

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20130328

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee