KR0123062B1 - Real time traffic generation method - Google Patents

Real time traffic generation method

Info

Publication number
KR0123062B1
KR0123062B1 KR1019940028029A KR19940028029A KR0123062B1 KR 0123062 B1 KR0123062 B1 KR 0123062B1 KR 1019940028029 A KR1019940028029 A KR 1019940028029A KR 19940028029 A KR19940028029 A KR 19940028029A KR 0123062 B1 KR0123062 B1 KR 0123062B1
Authority
KR
South Korea
Prior art keywords
cell
address
stored
pointer value
memory area
Prior art date
Application number
KR1019940028029A
Other languages
Korean (ko)
Other versions
KR960016257A (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 KR1019940028029A priority Critical patent/KR0123062B1/en
Publication of KR960016257A publication Critical patent/KR960016257A/en
Application granted granted Critical
Publication of KR0123062B1 publication Critical patent/KR0123062B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2416Real-time traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/801Real time traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5678Traffic aspects, e.g. arbitration, load balancing, smoothing, buffer management

Landscapes

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

Abstract

A real time traffic generating method where enables to build the variety test environment in order to test the ATM system and the observative function algorithm because of generating the real time cell, the single traffic and the multiplex traffic of theirs.

Description

실시간 트래픽 발생방법Real time traffic generation method

제1도는 본 발명이 적용되는 트래픽 발생장치의 개략적인 구성도.1 is a schematic configuration diagram of a traffic generating apparatus to which the present invention is applied.

제2도는 본 발명에 따른 트래픽 발생방법의 개략적인 전체 흐름도.2 is a schematic overall flowchart of a traffic generating method according to the present invention;

제3도는 다음셀 발생부의 룩업 테이블 구성도.3 is a block diagram of a lookup table of the next cell generation unit.

제4도는 다음셀 발생시간을 계산하기 위한 처리 흐름도.4 is a processing flowchart for calculating a next cell generation time.

제5도는 다중화 메모리의 구조도.5 is a structural diagram of a multiplexed memory.

제6도는 다중화부의 출력 리스트에 저장된 셀의 방출 처리 흐름도.6 is a flow chart of the emission processing of cells stored in the output list of the multiplexer.

제7도는 다중화부의 다음셀 저장 처리 흐름도.7 is a flow chart of a next cell storage process of the multiplexer.

제8도는 다중화부에서 출력 리스트로 옮겨지는 과정에 대한 처리 흐름도.8 is a flowchart illustrating a process of moving from a multiplexer to an output list.

제9도는 초기셀 발생에 대한 처리 흐름도.9 is a process flow diagram for initial cell generation.

본 발명은 광대역 종합정보통신망(B-ISDN)에서 사용하는 비동기전달모드(ATM : Asynchronous Transfer Mode)의 실시간 트랙픽 발생방법에 관한 것이다.The present invention relates to a method for generating real-time traffic in an asynchronous transfer mode (ATM) used in a broadband integrated telecommunication network (B-ISDN).

종래에는 ATM셀을 미리 발생시켜서 메모리 등의 기억소자에 저장한 후, 읽어 들이는 방식을 사용하거나, 간단한 형태의 트래픽만을 실시간으로 발생시키는 방식을 사용하였다. 그러나, 이러한 방법들 중, 전자는 메모리 크기의 제한과 ATM의 155.52Mb/s라는 높은 속도에 의해 그 발생 형태가 비교적 짧은 주기로 반복하게 된다는 단점이 있으며, 후자의 경우를 이용한 기존의 발생 방법은 발생 가능한 트래픽의 형태가 항등비트율(CBR : Constant Bit Rate)이나 푸아송(Poisson) 정도로 극히 제한되어 있으며, 다중화된 트랙픽을 발생시키지 못한다는 등의 문제점이 있었다.Conventionally, an ATM cell is generated in advance and stored in a storage device such as a memory, and then read or a simple traffic is generated in real time. However, among these methods, the former has the disadvantage that the generation pattern is repeated in a relatively short period due to the limitation of memory size and the high speed of 155.52Mb / s of ATM, and the existing generation method using the latter case occurs. Possible traffic types are extremely limited such as constant bit rate (CBR) or Poisson (Poisson), and there are problems such as not generating multiplexed traffic.

상기와 같은 문제점을 해결하기 위하여 안출된 본 발명은 실시간으로 셀을 발생시키면서도 항등 비트율(CBR), 푸아송((Poisson), 온-오프(ON-OFF), 단속 푸아송 확률과정(IPP : Interrupted Poisson Process), 마르코프 변조 푸아송 확률과정(MMPP : markov Modulated Poisson Process)등의 단일 트래픽을 발생시킬 수 있으며, 또한 이들의 다중화된 트래픽도 발생시킬 수 있어, ATM 시스템이나 감시 기능 알고리즘등을 시험하기 위한 다양한 시험 환경 구축이 용이한 실시간 트래픽 발생방법을 제공하는데 그 목적이 있다.The present invention devised to solve the above problems, while generating a cell in real time, the constant bit rate (CBR), Poisson (Poisson), on-off (ON-OFF), intermittent Poisson probability process (IPP: Interrupted It can generate single traffic such as Poisson Process, Markov Modulated Poisson Process (MMPP), and also multiplexed traffic of them. The purpose is to provide a real-time traffic generation method that is easy to build a variety of test environment.

여기서, 단속 푸아송 확률과정(IPP)은 일종의 랜덤 확률과정으로서, 지수 함수적으로 분포된 온(ON) 기간과 역시 지수 함수적으로 분포된 오프(OFF) 기간을 가지며, 온 기간에는 푸아송 확률과정 형태의 트래픽이 도착하고, 오프 기간에는 도착하는 셀이 없다. 그리고, 마르코프 변조 푸아송 확률과정(MMPP) 또한 일종의 랜덤 확률과정으로서, 음성 트래픽이나 영상 트래픽과 같은 여려 종류의 B-ISDN 트래픽과 이러한 트래픽들이 중첩된 트래픽을 모델링하기 위해 자주 이용되는 확률과정이다.Here, the intermittent Poisson probability process (IPP) is a kind of random probability process, which has an exponentially distributed ON period and also an exponentially distributed OFF period. Traffic of course type arrives, and there is no cell arriving during the off period. In addition, the Markov Modulated Poisson Probability Process (MMPP) is also a random random process, which is often used to model B-ISDN traffic such as voice traffic or video traffic and traffic that overlaps such traffic.

상기 목적을 달성하기 위한 본 발명은, 비동기전달모드 시스템의 시험장치에 적용되는 실시간 트래픽 발생방법에 있어서, 가상채널식별자 별로 임의의 개수의 초기셀을 발생시켜 저장하는 1단계; 상기 제1단계에서 저장된 초기셀에 대해 임의의 시간에 방출될 셀의 종류와 그 셀의 방출 여부를 결정하는 제2단계; 상기 제2단계에서 결정된 방출될 셀에 필요한 부가정보를 삽입하여 방출하는 제3단계; 및 상기 제3단계에서 방출된 셀이 사용자 셀이 아니면 임의의 다른 초기셀을 방출하는 과정을 수행하고, 상기 방출된 셀이 사용자 셀이면 상기 방출된 셀의 다음 셀을 계산하여 상기 계산된 다음 셀을 저장하는 과정을 수행하는 제4단계를 포함하여 이루어진 것을 특징으로 한다.In accordance with one aspect of the present invention, there is provided a real-time traffic generation method applied to a test apparatus of an asynchronous delivery mode system, the method comprising: generating and storing any number of initial cells for each virtual channel identifier; A second step of determining a type of cell to be released at any time and whether or not to release the cell with respect to the initial cell stored in the first step; A third step of inserting and discharging additional information necessary for the cell to be discharged determined in the second step; And releasing any other initial cell if the cell emitted in the third step is not the user cell, and calculating the next cell of the released cell if the emitted cell is the user cell. Characterized in that it comprises a fourth step of performing a process for storing.

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

제1도는 본 발명이 적용되는 실시간 트래픽 발생을 위한 컴퓨터와 디지탈신호처리(DSP : Digital Signal Processing)보드로 이루어진 장치의 구성도를 나타낸다.1 is a block diagram of a device consisting of a computer and a digital signal processing (DSP) board for generating real-time traffic to which the present invention is applied.

컴퓨터는 디지탈신호처리보드로 프로그램을 다운로드 하고, 이 디지탈신호처리보드로부터 처리 결과를 수신받으면, 디지탈신호처리보드에 대한 이런 전반적인 제어를 수행한다. 그리고, 디질탈신호처리보드는 컴퓨터로부터 로딩된 프로그램에 따라 본 발명의 동작을 수행한다.The computer downloads the program to the digital signal processing board and, upon receiving the processing result from the digital signal processing board, performs this overall control on the digital signal processing board. In addition, the denitrification signal processing board performs the operation of the present invention according to the program loaded from the computer.

제2도는 본 발명을 개략적으로 설명하기 위한 흐름도를 나타낸다.2 shows a flowchart for schematically illustrating the present invention.

본 발명은 크게 초기 셀 발생부와 처리 루틴으로 구분된다. 초기 셀 발생부는 실시간으로 셀을 발생시키기 위해서 각 가상채널(VC : Virtual Channel)마다 처음 k개의 셀을 발생시키는 부분으로, 이때 k의 값은 발생시키고자 하는 트래픽의 형태, 발생속도, 전체 트래픽 부하 등에 의해서 결정된다. 이렇게 초기 셀들을 발생시킨 후, 주 처리 루틴을 수행한다.The present invention is largely divided into an initial cell generator and a processing routine. The initial cell generator generates the first k cells for each virtual channel (VC) in order to generate cells in real time, where the value of k is the type of traffic to be generated, the rate of occurrence, and the overall traffic load. And so on. After generating the initial cells, the main processing routine is performed.

주 처리 루틴은 다음 셀 발생부, 다중화부, 셀 정보 삽입부의 3부분으로 나누어진다. 다중화부는 저장된 초기 셀들을 이용하여 임의의 타임 슬롯에 셀의 방출 여부와 방출될 셀의 종류 등을 결정한다. 다중화부에서 방출된 셀은 정보 삽입부에 의해 필요한 정보가 삽입된 후, 외부로 전송되며, 이때 방출된 셀이 사용자 셀인 경우에는 다음 셀 발생부에서 방출된 셀의 다음 셀을 계산하여 이 셀을 다중화부로 출력한다. 다중화부는 초기 셀들과 이후 발생된 셀들을 가지고 매 타임 슬롯마다 상기 과정을 반복하므로서 다중화된 트래픽을 발생할 수 있다.The main processing routine is divided into three parts: the next cell generator, the multiplexer, and the cell information inserter. The multiplexer determines whether the cell is emitted in a certain time slot and the type of the cell to be emitted using the stored initial cells. The cell emitted from the multiplexer is transmitted to the outside after the necessary information is inserted by the information inserter. If the cell emitted is the user cell, the next cell of the cell emitted from the next cell generator is calculated to calculate the cell. Output to multiplexer. The multiplexer may generate multiplexed traffic by repeating the above process every time slot with initial cells and cells generated later.

제3도는 룩업 테이블의 구성도로서, 다음 셀 발생부에서 임의의 분포를 가지는 셀 발생 간격을 계산하기 위해서 사용된다.3 is a block diagram of a lookup table, which is used to calculate a cell generation interval having an arbitrary distribution in the next cell generator.

임의의 난수 X의 확률분포곡선 F(x)가 있을 때, 이것의 룩업 테이블은 다음과 같이 구한다. Y축을 균등한 1024개의 구간으로 나누고, 각 구간에 해당되는 값을 찾은후 (A₁) 1에서 1024까지의 주소에 각 값 A₁를 저장한다(1). 따라서, 1에서 1024까지의 균일한 분포를 가지는 난수를 발생하여 이를 주소로 룩업 테이블의 값을 읽어내면 원하는 분포를 가지는 난수를 발생시킬 수 있다. 이러한 구성은 단일 가상채널(VC)에 대한 것이며, 이를 다중 가상채널로 확장하기 위해서는 이러한 테이블을 각 가상채널마다 할당하여야 한다(2). 따라서, 다수개의 테이블중 하나를 선택할 때에는 가상채널식별자(VCI)를 이용하고, 테이블내의 주소는 균일한 난수를 이용함으로써, 다중된 가상채널에 대해서 각각 원하는 분포를 가지는 난수를 계산할 수 있다.When there is a random distribution X random distribution F (x), its lookup table is obtained as follows. Divide the Y-axis into equal 1024 sections, find the value for each section (A 구간), and store each value A 에 in the address from 1 to 1024 (1). Therefore, when a random number having a uniform distribution from 1 to 1024 is generated and the value of the lookup table is read with the address, a random number having a desired distribution can be generated. This configuration is for a single virtual channel (VC), and in order to extend it to multiple virtual channels, such a table should be allocated to each virtual channel (2). Accordingly, when selecting one of a plurality of tables, a virtual channel identifier (VCI) is used, and an address in the table uses a uniform random number, thereby calculating a random number having a desired distribution for each of the multiplexed virtual channels.

제4도는 다음 셀 발생 시간을 계산하기 위한 흐름도를 나타낸다.4 shows a flowchart for calculating the next cell generation time.

다중화부에서 임의의 가상채널식별자(VCI) i의 n번째 셀이 방출된 경우에(3) 우선 1에서 1024까지의 균일한 분포를 가지는 난수 X를 하나 발생한다(4). 발생된 난수 X와 VCI 값을 이용하여 룩업 테이블의 참조 주소(LTad)를 계산한 후(5), 룩업 테이블의 참조 주소(LTad)를 읽어(6) 다음 셀까지의 발생 간격을 계산한다. 이때 계산된 다음 셀은 n+k+1번째의 셀로서, 실제 다음 셀까지의 발생 시간을 계산하기 위해서는 이전 셀인 n+k번째의 셀이 발생된 시간을 저장하고 있는 과거 메모리를 참조하여야 한다(7). 룩업 테이블에서 읽은 현재 발생된 셀의 발생시간 Tint와 과거 메모리로부터 읽은 셀의 발생시간 Tpre를 합하여 다음 셀 발생시간 T를 구한다(8). 그리고 새로이 계산된 셀의 발생시간으로 과거 메모리를 갱신하고(9), 다중화 메모리에 가상채널(VC) i의 n+k+1번째 셀을 입력한다(10). 여기서, 다음 셀이 n+1번째 셀이 아니라 n+k+1번째 셀이 되는 것은 다중화 트래픽을 발생하는데 생기는 대기현상으로 인하여 시간 역전현상이 발생하는 것을 방지하기 위한 것이다. 일예로서 k가 0인 경우를 생각해 보면, n번째 셀이 방출될 시간이 10셀 타임이라 하고, 현재 시간이 10셀 타임이라 하면 이 셀은 다중화부에서 현재 셀 타임에 방출되어야 한다. 그러나, 실제는 다중화된 트래픽을 발생함으로 이전에 방출되도록 예정되어 있는 셀들의 지연 때문에 15셀 타임에 방출되었다고 가정하면, 본 발명에서 셀이 방출된 후 그 셀의 다음 셀을 계산하는 경우 15셀 타임에 10셀 타임에 방출된 셀의 다음 셀을 계산한다. 이때 계산된 다음 셀의 발생시간이 12셀 타임이라하면 현재 시간보다 이전의 발생시간을 갖는 경우가 발생한다. 따라서, 이러한 시간 역전현상을 방지하기 위하여 k값이 필요하다.When the n-th cell of an arbitrary virtual channel identifier (VCI) i is emitted from the multiplexer (3), one random number X having a uniform distribution from 1 to 1024 is generated (4). After calculating the reference address LTad of the lookup table using the generated random number X and the VCI value (5), the reference address LTad of the lookup table is read (6) and the occurrence interval to the next cell is calculated. At this time, the next cell calculated is the n + k + 1th cell, and in order to calculate the occurrence time to the next cell, the previous cell that stores the time when the n + kth cell, which is the previous cell, is generated should be referred to. 7). The next cell generation time T is obtained by adding the generation time T int of the current generated cell read from the lookup table and the generation time T pre of the cells read from the past memory (8). The old memory is updated with the newly calculated cell generation time (9), and the n + k + 1th cell of the virtual channel VC i is input to the multiplexed memory (10). Here, the next cell becomes the n + k + 1th cell instead of the n + 1th cell to prevent the time reversal from occurring due to the standby phenomenon generated by the multiplexed traffic. Considering the case where k is 0 as an example, when the time for the nth cell to be emitted is 10 cell time and the current time is 10 cell time, the cell should be emitted at the current cell time in the multiplexer. However, assuming that the cell is actually released at 15 cell time due to the delay of cells previously scheduled to be released by generating multiplexed traffic, the present invention calculates the 15 cell time after the cell is released after calculating the next cell of that cell. Calculate the next cell of the cell released at 10 cell time at. In this case, when the calculated time of the next cell is 12 cell times, a case where the generated time is earlier than the current time occurs. Therefore, in order to prevent such time reversal, k value is required.

제5도는 다중화 메모리의 구조도로서, 실제 셀을 저장하는 부분으로 셀 메모리(11)가 있고, 이것은 방출되도록 예정되어 있는 부분[저장부분], 아무것도 저장되어 있지 않은 빈부분[FL(Free List)부분], 현재 방출되어야 할 셀들이 저장되어 있는 방출된 저장부분[OL(Output List)부분]으로 논리적으로 나뉘어져 있다. 기본 저장 단위는 데이타 영역과 포인터 영역으로 나뉘며(12), 데이타 영역은 실제 셀 정보가 저장되는 부분이고, 포인터 영역은 셀 메모리를 링크드 리스트(linked list) 구조로 운용하기 위한 영역이다.5 is a structural diagram of a multiplexed memory, in which a cell memory 11 is used as a part for storing actual cells, a part [storage part] scheduled to be released, and a free part [FL (free list) part where nothing is stored ], It is logically divided into the released storage part [OL (Output List) part] where cells to be discharged are stored. The basic storage unit is divided into a data area and a pointer area (12). The data area is a part for storing actual cell information, and the pointer area is an area for operating a cell memory in a linked list structure.

셀 메모리의 세 영역은 6개의 포인터의 의해서 관리되는데 저장부분은 처음을 나타내는 카렌다 헤드(CH : Calendar head)와 마지막을 나타내는 카렌다 테일(CT : Calendar Tail)의 쌍으로 구성된 카렌다(13)에 의해 참조되며, 빈부분(FL)은 빈 메모리 주소의 처음을 나타내는 FL 헤드(FLH : Free List Head)와 빈 메모리 주소의 마지막을 나타내는 FL 테일(FLT : Free List Tail)(14)에 의해 참조된다. 그리고, 방출될 저장부분(OL)은 방출될 셀이 저장된 메모리 주소의 처음을 나타내는 OLH(Output List Head)와 방출될 셀이 저장된 메모리 주소의 마지막을 나타내는 OLT(Output List Tail)(15)에 의해 참조된다. 이때 카렌다의 각 열은 시간 정보를 나타내는 것으로 우측으로 한 열 이동은 한 셀 타임의 경과를 의미한다.Three areas of cell memory are managed by six pointers, the storage of which is referred to by a calendar 13 consisting of a calendar head (CH) representing the beginning and a calendar tail (CT) representing the end. The free area FL is referred to by an FL head (FLH) representing the beginning of the free memory address and a free list tail (FLT) 14 representing the end of the free memory address. The storage portion OL to be ejected is provided by an output list head (OLH) representing the beginning of the memory address where the cell to be ejected is stored and an output list tail (OLT) 15 representing the end of the memory address where the cell to be ejected is stored. Reference is made. At this time, each column of the calendar represents time information, and moving one column to the right means elapse of one cell time.

다중화부는 크게 방출될 저장부분(OL)에 저장된 셀의 방출, 다음 셀을 저장하는 과정과 셀 데이타가 방출될 저장부분(OL)으로 옮겨지는 3가지의 동작이 순서대로 이루어진다.The multiplexer performs three operations in order of releasing the cells stored in the storage portion OL to be largely released, storing the next cell, and moving the cell data to the storage portion OL in which the cell data is to be emitted.

제6도는 다중화부의 다중화부의 방출될 저장부분(OL)에 저장된 셀의 방출에 대한 처리 흐름도를 나타낸다.6 shows a process flow diagram for the discharge of cells stored in the storage portion OL to be discharged of the multiplexer of the multiplexer.

우선 방출될 저장부분의 처음 주소를 나타내는 OLH포인터 값이 0인지 아닌지를 검사하여(16) 0이면 방출될 셀이 없으므로 그대로 종료하고, 0이 아니면 OLH 포인터가 지시하는 주소에 대응하는 메모리에 저장된 셀을 읽어 방출한다(17). 그리고, 한 셀을 방출하였으므로 빈 메모리 영역이 하나 생긴 주소를 빈부분(FL)에 연결시킨다. 즉, 메모리의 빈부분의 마지막 번째를 나타내는 M(FLT)의 포인터 부분에 현재 방출한 OLH의 값을 저장하여(18) 빈부분의 마지막 번째를 나타내는 FLT 포인터의 값으로 현재 방출한 셀의 저장부분을 나타내는 OLH 포인터 값을 대입시킨다(19). 그런 다음 방출될 저장부분 M(OLH)의 포인터 부분의 값을 이용하여 다음 OLH 포인터 값을 계산하여 OLH 포인터 값을 갱신한다(20). 여기서, 셀을 방출할때, 방출되는 셀에 셀 정보인 가상채널식별자(VCI), 순서번호(SN : Sequence Number), 타임 스템프(TS : Time Stamp)를 삽입하여 방출한다. 방출되는 셀에 삽입되는 정보중 가상채널식별자(VCI)는 셀 발생시부터 셀에 포함되어 있으며, 순서번호(SN)는 각 가상채널(VC)별로 저장된 셀이 방출될 때마다 1씩 증가된다. 그리고, 타임 스템프(TS)는 셀 타임으로 정규화하여 주 처리 루틴이 반복될 때마다 1씩 증가된다.First, it checks whether the OLH pointer value indicating the first address of the storage part to be released is 0 (16). If it is 0, there is no cell to be released. If not, the cell is stored in the memory corresponding to the address indicated by the OLH pointer. Read and release (17). Since one cell is discharged, an address having one free memory area is connected to the free area FL. That is, the value of the currently released OLH is stored in the pointer part of M (FLT) indicating the last part of the empty part of the memory (18), and the storage part of the cell currently emitted by the value of the FLT pointer indicating the last part of the empty part. Assign an OLH pointer value that represents (19). Then, the next OLH pointer value is calculated using the value of the pointer portion of the storage portion M (OLH) to be released, and the OLH pointer value is updated (20). Here, when the cell is released, the cell information is emitted by inserting the cell information, the virtual channel identifier (VCI), the sequence number (SN), and the time stamp (TS). Among the information inserted into the cell to be released, the virtual channel identifier (VCI) is included in the cell from the time of cell generation, and the sequence number SN is increased by one each time the cell stored for each virtual channel VC is released. The time stamp TS is normalized to cell time and incremented by 1 each time the main processing routine is repeated.

제7도는 다중화부의 다음 셀 저장에 대한 처리 흐름도로서, 새로 발생된 셀이 다중화부의 메모리에 저장되는 과정을 나타낸다.7 is a flowchart illustrating the process of storing the next cell of the multiplexer, and illustrates a process in which newly generated cells are stored in the memory of the multiplexer.

다음 셀 발생 처리 과정에서 계산된 결과로 가상채널식별자(VCI)와 발생된 시간 T가 입력되면 카렌다에서 이 방출될 시간 T에 위치한 포인터 CH와 CT값을 읽는다(21,22). 저장부분의 처음을 나타내는 포인터 CH값이 0인지 아닌지를 검사하여(23) 0이면 이전에 저장된 셀이 없으므로 아무것도 저장되어 있지 않은 부분의 처음 주소가 저장되어 있는 포인터 FLH 값을 CH와 CT 포인터 값으로 저장한다(24). 그리고, 이 FLH 포인터가 가르키는 주소의 메모리 셀 데이타를 저장한 후(25), M(FLH)의 포인터 부분에 저장되어 있는 값(즉, 빈 메모리 영역의 두번째 값)을 빈 부분의 처음을 나타내는 FLH에 대입하여 다음 FLH 포인터 값을 갱신한다(26).When the virtual channel identifier (VCI) and the generated time T are input as a result calculated in the next cell generation process, the pointer CH and CT values located at the time T to be emitted from the calendar are read (21 and 22). Pointer CH indicating the beginning of the storage part is checked whether the value of CH is 0 or not (23). If it is 0, since there is no previously stored cell, the pointer FLH value that stores the first address of the part where nothing is stored is converted into CH and CT pointer value. Store (24). Then, after storing the memory cell data of the address indicated by this FLH pointer (25), the value stored in the pointer portion of M (FLH) (i.e., the second value of the empty memory area) indicates the beginning of the empty portion. The next FLH pointer value is updated by assignment to the FLH (26).

CH 포인터 값이 0이 아니면 이전에 저장된 셀이 있다는 것이므로, CT가 가르키는 부분의 뒤에 현재 발생된 셀을 연결시키기 위해 FLH를 셀 메모리의 M(CT)의 포인터 부분에 대입시킨 후(27), M(FLH)에 셀 데이타를 저장하고(28), CT에 FLH를 대입한다(29). 그리고, 다음 FLH를 계산하여 FLH를 갱신시킨다(30).If the CH pointer value is not 0, there is a previously stored cell, so after assigning the FLH to the pointer portion of M (CT) of the cell memory to connect the currently generated cell after the portion indicated by CT (27), Cell data is stored in M (FLH) (28), and FLH is substituted into CT (29). The next FLH is calculated to update the FLH (30).

제8도는 다중화부 중 셀 데이타가 OL로 옮겨지는 과정에 대한 처리 흐름도를 나타낸다.8 is a flowchart illustrating a process of transferring cell data to an OL in the multiplexer.

먼저, CH 포인터 값이 0인지 아닌지를 검사하여(31) 0이면 옮겨질 셀이 없다는 것이므로 바로 종료하고, 0이 아니면 방출될 저장부분의 마지막 번째를 나타내는 OLT 포인터 값이 0인지 아닌지를 검사한다(32). OLT 포인터 값이 0이면 이전에 방출되기 위해 대기하는 셀이 없다는 것이므로 OLH에 CH를 대입시키고, OLT가 0이 아니면 M(OLT)의 포인터 부분에 CH를 대입시킨다(33). 그리고, OLT에 CT를 대입시킨 후(34), CH와 CT를 0으로 클리어시킨다(35).First, it checks whether the CH pointer value is 0 (31). If it is 0, it means that there is no cell to be moved. 32). If the OLT pointer value is 0, there is no cell waiting to be released before, and CH is assigned to OLH. If OLT is not 0, CH is assigned to the pointer portion of M (OLT) (33). Then, after inserting CT into the OLT (34), CH and CT are cleared to 0 (35).

제9도는 초기셀을 발생하기 위한 처리 흐름도로서, 여기서는 발생시키고자 하는 가상채널(VC)의 식별자(VCI)가 1에서 n인 경우의 예를 나타낸다.FIG. 9 is a flowchart for generating an initial cell, and shows an example in which an identifier VCI of a virtual channel VC to be generated is 1 to n.

우선 가상채널식별자(VCI)를 1로 설정한 후(36), 그 가상채널식별자(VCI)를 가지는 가상채널에서 초기에 발생시켜야 할 셀의 개수 K₁을 읽는다(37). 이 값은 미리 계산되어 메모리에 저장된다. 그리고, 제4도에 나타낸 바와 같이 다음 셀 발생 시간을 계산한다. 즉, 1에서 1024 사이의 균일한 분포를 가지는 난수[X]를 발생시킨 후, 가상채널식별자(VCI)와 난수 X를 이용하여 참조해야할 주소를 계산한다. 그리고, 룩업 테이블에서 참조해야할 주소의 시간을 읽어내고, 과거 메모리에 저장된 이전 셀의 발생시간을 읽어낸 후, 읽어낸 현재 참조해야할 주소의 발생시간과 이전 셀의 발생시간을 합쳐 다음 셀의 발생시간을 계산한다. 그런 다음, 제7도에서 설명한 바와 같은 다음 셀을 저장하는 과정을 수행한다. 이렇게 다음 셀 발생 시간을 계산하여 이를 저장하는 과정을 현재 가상채널식별자에서 발생해야할 모든 셀에 대하여 수행한(38,39) 다음, 가상채널식별자를 증가시켜 가면서 n이 될 때까지, 즉 모든 가상채널식별에 대해 초기 셀을 발생시킨다(40,41).First, the virtual channel identifier (VCI) is set to 1 (36), and then the number of cells K 'to be generated initially in the virtual channel having the virtual channel identifier (VCI) is read (37). This value is precomputed and stored in memory. Then, as shown in FIG. 4, the next cell generation time is calculated. That is, after generating a random number [X] having a uniform distribution between 1 and 1024, an address to be referred to is calculated using a virtual channel identifier (VCI) and a random number X. Then, after reading the time of the address to be referred to in the lookup table, reading the occurrence time of the previous cell stored in the past memory, the occurrence time of the next cell by adding the occurrence time of the current reference address and the occurrence time of the previous cell Calculate Then, a process of storing the next cell as described in FIG. 7 is performed. This process of calculating the next cell occurrence time and storing it is performed for all cells that should occur in the current virtual channel identifier (38,39), and then increasing the virtual channel identifier until n, that is, all virtual channels. Generate an initial cell for identification (40, 41).

상기와 같이 이루어지는 본 발명은, 다양한 단일 트래픽의 발생은 물론 이들의 다중화된 트래픽도 실시간으로 발생시킬 수 있는 효과가 있다.The present invention made as described above, as well as the generation of a variety of single traffic, there is an effect that can generate their multiplexed traffic in real time.

Claims (5)

비동기전달모드 시스템의 시험장치에 적용되는 실시간 트래픽 발생방법에 있어서, 가상채널식별자 별로 임의의 개수의 초기셀을 발생시켜 저장하는 제1단계; 상기 제1단계에서 저장된 초기셀에 대해 임의의 시간에 방출될 셀의 종류와 그 셀의 방출 여부를 결정하는 제2단계; 상기 제2단계에서 결정된 방출될 셀에 필요한 부가정보를 삽입하여 방출하는 제3단계; 및 상기 제3단계에서 방출된 셀이 사용자 셀이 아니면 임의의 다른 초기셀을 방출하는 과정을 수행하고, 상기 방출된 셀이 사용자 셀이면 상기 방출된 셀의 다음 셀을 계산하여 상기 계산된 다음 셀을 저장하는 과정을 수행하는 제4단계를 포함하여 이루어진 것을 특징으로 하는 실시간 트래픽 발생방법.A real-time traffic generation method applied to a test apparatus of an asynchronous delivery mode system, comprising: a first step of generating and storing an arbitrary number of initial cells for each virtual channel identifier; A second step of determining a type of cell to be released at any time and whether or not to release the cell with respect to the initial cell stored in the first step; A third step of inserting and discharging additional information necessary for the cell to be discharged determined in the second step; And releasing any other initial cell if the cell emitted in the third step is not the user cell, and calculating the next cell of the released cell if the emitted cell is the user cell. Real-time traffic generation method characterized in that it comprises a fourth step of performing a process for storing. 제1항에 있어서, 상기 제4단계의 다음 셀 계산 단계는, 방출된 셀에 대한 균일한 분포를 갖는 난수를 발생시키는 단계; 셀의 가상채널식별자와 상기 난수를 이용하여 룩업 테이블의 참조해야할 주소를 계산하는 단계; 상기 참조해야할 주소에 해당하는 룩업 테이블에 저장된 셀의 발생시간을 읽고, 발생된 이전 셀의 발생시간을 메모리로부터 읽어 상기 읽은 두 시간을 합하여 다음 셀의 발생시간을 계산하는 단계; 상기 계산된 발생시간으로 메모리의 이전 셀의 발생시간을 갱신하는 단계; 및 상기 계산된 발생시간에 해당하는 셀 저장부분을 나타내는 포인터 값을 참조하여 다음 셀을 읽는 단계를 포함하여 이루어진 것을 특징으로 하는 실시간 트래픽 발생방법.The method of claim 1, wherein the next cell calculation step of the fourth step comprises: generating a random number having a uniform distribution for the discharged cells; Calculating an address to be referred to in the lookup table using the virtual channel identifier of the cell and the random number; Reading an occurrence time of a cell stored in a lookup table corresponding to the address to be referred to, reading an occurrence time of a generated previous cell from a memory, and calculating the occurrence time of a next cell by adding the two read times; Updating the occurrence time of the previous cell of memory with the calculated occurrence time; And reading a next cell by referring to a pointer value indicating a cell storage portion corresponding to the calculated occurrence time. 제1항에 있어서,상기 셀의 방출 단계는, 방출될 셀이 저장된 메모리 영역의 주소를 나타내는 포인터값을 참조하여 저장된 셀을 읽는 단계; 상기 읽어낸 셀의 포인터 값을 빈 메모리 영역의 주소를 나타내는 포인터에 저장하는 단계; 다음 셀의 방출을 위해 방출될 셀의 포인터 값을 갱신하는 단계; 및 상기 읽어낸 셀에 부가정보를 삽입하여 방출하는 단계를 포함하여 이루어진 것을 특징으로 하는 실시간 트래픽 발생방법.The method of claim 1, wherein the discharging of the cell comprises: reading a stored cell with reference to a pointer value indicating an address of a memory area in which the cell to be discharged is stored; Storing a pointer value of the read cell in a pointer representing an address of an empty memory area; Updating a pointer value of a cell to be released for release of the next cell; And inserting and emitting additional information into the read cell. 제1항에 있어서,상기 다음 셀의 저장 단계는, 셀이 저장된 메모리 영역을 관리하는 포인터 영역으로부터 방출될 시간에 해당하는 저장 메모리 영역의 처음과 마지막 번째 주소를 나타내는 포인터 값들을 읽는 단계; 상기 읽은 저장된 메모리 영역의 처음 주소를 나타내는 포인터 값을 참조하여 저장된 셀이 있는지 없는지를 검사하는 단계; 저장된 셀이 없으면 상기 저장 메모리 영역의 처음과 마지막 번째 주소를 나타내는 포인터 값으로 빈 메모리 영역의 처음 주소를 나타내는 포인터 값을 저장하여 상기 빈 메모리 영역의 처음 주소를 나타내는 포인터 값에 해당하는 주소의 메모리 셀을 저장하는 단계; 저장된 셀이 있으면 상기 저장 메모리 영역의 처음 주소를 나타내는 포인터 값으로 빈 메모리 영역의 처음 주소를 나타내는 포인터 값을 저장하여 상기 빈 메모리 영역의 처음 주소를 나타내는 포인터 값에 해당하는 주소의 메모리에 셀을 저장한 후, 상기 저장 메모리 영역의 마지막 주소를 나타내는 포인터 값을 갱신하는 단계; 및 빈 메모리 영역의 처음 주소를 나타내는 다음 포인터 값을 계산한 후, 이 계산된 값으로 포인터 값을 갱신하는 단계를 포함하여 이루어진 것을 특징으로 하는 실시간 트래픽 발생방법.The method of claim 1, wherein the storing of the next cell comprises: reading pointer values indicating first and last addresses of a storage memory area corresponding to a time to be emitted from a pointer area managing a memory area in which the cell is stored; Checking whether there is a stored cell by referring to a pointer value indicating the first address of the read stored memory area; If no cell is stored, a pointer value indicating the first address of the empty memory area is stored as a pointer value indicating the first and last address of the storage memory area, and the memory cell at the address corresponding to the pointer value indicating the first address of the empty memory area. Storing the; If there is a stored cell, the pointer value indicating the first address of the empty memory area is stored as a pointer value indicating the first address of the storage memory area, and the cell is stored in the memory of the address corresponding to the pointer value indicating the first address of the empty memory area. Updating a pointer value indicating a last address of the storage memory area; And calculating a next pointer value indicating the first address of the free memory area, and then updating the pointer value with the calculated value. 제1항에 있어서, 상기 초기 셀 발생 단계는, 임의의 가상채널에 해당하는 임의 번째의 셀을 읽어 저장시키는 단계; 셀을 읽은 다음 다음 셀의 발생시간을 계산하는 단계 ; 상기 계산한 다음 셀을 읽어 저장시키는 단계; 및 상기 가상채널에 해당하는 모든 셀과 모든 가상채널에 대해 상기 단계들을 통해 계산하여 저장하는 단계를 포함하여 이루어진 것을 특징으로 하는 실시간 트래픽 발생방법.The method of claim 1, wherein the initial cell generation comprises: reading and storing an arbitrary cell corresponding to an arbitrary virtual channel; Reading the cell and then calculating the occurrence time of the next cell; Reading and storing the calculated cell; And calculating and storing all cells and all virtual channels corresponding to the virtual channel through the steps.
KR1019940028029A 1994-10-28 1994-10-28 Real time traffic generation method KR0123062B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940028029A KR0123062B1 (en) 1994-10-28 1994-10-28 Real time traffic generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940028029A KR0123062B1 (en) 1994-10-28 1994-10-28 Real time traffic generation method

Publications (2)

Publication Number Publication Date
KR960016257A KR960016257A (en) 1996-05-22
KR0123062B1 true KR0123062B1 (en) 1997-11-24

Family

ID=19396433

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940028029A KR0123062B1 (en) 1994-10-28 1994-10-28 Real time traffic generation method

Country Status (1)

Country Link
KR (1) KR0123062B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100338961B1 (en) * 1999-04-21 2002-05-30 최종하 Method of asynchronous transfer mode cell generator with constant cell rate
KR20020053344A (en) * 2000-12-27 2002-07-05 이계안 Repairing system and repairing method for the probability strengthen learning algorism
KR102267098B1 (en) * 2017-11-07 2021-06-21 현대모비스 주식회사 Diagnostic apparatus and method for air conditioning noise of vehicle

Also Published As

Publication number Publication date
KR960016257A (en) 1996-05-22

Similar Documents

Publication Publication Date Title
US5592476A (en) Asynchronous transfer mode switch with multicasting ability
EP0680179B1 (en) Multicasting apparatus
KR0163180B1 (en) Procedure for reestablishing the original cell sequence, in particular in an atm switching system as well as output module for that switch
US5555256A (en) Channel identifier generation
US6463057B1 (en) ATM cell switching system
US6252876B1 (en) Management of data structures
JP2780669B2 (en) Multiple STM / ATM converter
US5748615A (en) Method and circuit arrangement for forwarding message cells transmitted via an ATM communication equipment to a serving trunk
US5694554A (en) ATM interface and shaping method
JPH06232906A (en) Interface with packet network and interfacing method
EP0609692A2 (en) ATM cell assembling/disassembling system
JPH08125669A (en) Queuing and scheduling divice of atm cell
US5708660A (en) Circuit arrangement for accepting and forwarding message cells with an ATM communication equipment
US5383182A (en) Resequencing device for a node of a cell switching system
KR0123062B1 (en) Real time traffic generation method
US6393532B1 (en) Buffer apparatus with data insertion control function, insertion data controlling method, and data insertion apparatus with data insertion control function
EP0622967B1 (en) Traffic generator
JP3942237B2 (en) Transfer rate controller and operation method
US5854783A (en) Cell interval determination apparatus for usage parameter control
JPH0583291A (en) Atm test system
US6343076B1 (en) ATM cell spacer
EP1493300B1 (en) Protocol multiplexing systems and methods using timers and predetermined triggering events to ensure forming carrying packets comprising multiplexed packets belonging to only one virtual channel
JP3435244B2 (en) Communication control device
US20010028652A1 (en) ATM cell switching system
US6226306B1 (en) Data transmission rate control using a transmission control scheme suitable for subbands forming an entire band

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: 20040831

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee