KR100221311B1 - Method for processing data indication primitives in layer 3 of isdn uni - Google Patents

Method for processing data indication primitives in layer 3 of isdn uni Download PDF

Info

Publication number
KR100221311B1
KR100221311B1 KR1019960026598A KR19960026598A KR100221311B1 KR 100221311 B1 KR100221311 B1 KR 100221311B1 KR 1019960026598 A KR1019960026598 A KR 1019960026598A KR 19960026598 A KR19960026598 A KR 19960026598A KR 100221311 B1 KR100221311 B1 KR 100221311B1
Authority
KR
South Korea
Prior art keywords
primitive
layer
message
received
link
Prior art date
Application number
KR1019960026598A
Other languages
Korean (ko)
Other versions
KR980013102A (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 KR1019960026598A priority Critical patent/KR100221311B1/en
Publication of KR980013102A publication Critical patent/KR980013102A/en
Application granted granted Critical
Publication of KR100221311B1 publication Critical patent/KR100221311B1/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]

Landscapes

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

Abstract

본 발명은 ISDN 사용자-망 접속의 계층 3에서 데이타 표시 프리미티브 처리방법에 관한 것으로, 수신된 프리미티브의 아이디와 링크 아이디를 판별하는 단계; 수신된 프리미티브가 단위 데이타 표시 프리미티브이면 수신된 단위 데이타 구조를 데이타 구조로 변환 후 데이타 표시 처리을 호출하는 단계; 데이타 표시(DL_UDA/DAT_IND) 프리미티브이면, 호참조번호가 지정하는 마이너 링크 아이디를 확인하고 수신된 메세지의 종류를 판별하는 단계; 마이너 링크가 0 또는 1이면 판별된 메세지의 종류에 따라 로칼 프로세스상에서 해당 메세지를 처리하는 단계; 전체호 참조번호이면 판별된 메세지 동류에 따라 공통 프로세스상에서 해당 메세지를 처리하는 단계; 및 해당 프리미티브의 버퍼를 해제하는 단계가 구비되어 종합정보통신망에서 ISDN단말기를 계층화된 프로토콜에 따라 망(Network)에 접속한다.The present invention relates to a method for processing data presentation primitives in Layer 3 of an ISDN user-network connection, comprising: determining an ID and a link ID of a received primitive; If the received primitive is a unit data display primitive, converting the received unit data structure into a data structure and then calling a data display process; If the data indication (DL_UDA / DAT_IND) primitive, checking the minor link ID designated by the call reference number and determining the type of received message; If the minor link is 0 or 1, processing the corresponding message on a local process according to the type of the determined message; Processing the message on a common process according to the determined message similarity if the reference number is a whole number; And releasing the buffer of the primitive to connect the ISDN terminal to the network according to the layered protocol in the integrated information communication network.

Description

종합정보통신망(ISDN) 사용자-망 접속의 계층 3에서 데이타 표시 프리미티브 처리방법(Method of processing data indication primitives in layer 3 of ISDN UNI)Method of processing data indication primitives in layer 3 of ISDN UNI

본 발명은 종합정보통신망(ISDN)에서 사용자(USER)와 망(NETWORK)간의 접속기술에 관한 것으로, 특히 계층 3(LAYER 3)에 있어서 계층 2로부터 수신되는 단위 데이타/데이타 표시(DL_UDA/DATA_IND) 프리미티브를 처리하는 방법에 관한 것이다.The present invention relates to a connection technology between a user (USER) and a network (NETWORK) in the integrated information communication network (ISDN), in particular, unit data / data display received from the layer 2 in the layer 3 (LAYER 3) (DL_UDA / DATA_IND) A method of processing primitives.

정보사회의 진전과 함께 통신요구가 다양화되고 음성, 데이타, 영상등 통신망이 취급하는 미디어도 다양화되어 종래와 같이 서비스별로 각각 구축되던 개별망으로는 효율적인 서비스를 제공할 수 없게 되었다. 따라서 서비스별로 구축되던 개별망을 통합하고 디지탈화하여 종합적인 서비스를 제공할 수 있는 종합정보통신망(ISDN)이 등장하게 되었으며, 이러한 종합정보통신망(ISDN)은 다양한 단말기들을 통일적으로 수용하기 위하여 사용자와 망간의 인터페이스가 디지탈 가입자선 신호방식(DSS1: Digital Subscriber Signalling System 1)으로 표준화되어 있고, 망과 망 사이의 인터페이스도 No.7 공통선 신호방식(CCS)으로 표준화되어 있다.As the information society has progressed, communication demands have diversified, and the media handled by communication networks such as voice, data, and video have also diversified, so that individual networks established by services cannot provide efficient services. Therefore, the ISDN, which can integrate and digitize individual networks established by services and provide comprehensive services, has emerged. These ISDNs are designed to unify various terminals in order to accommodate users and manganese. The interface is standardized by Digital Subscriber Signaling System (DSS1), and the interface between the network and the network is also standardized by No.7 Common Line Signaling (CCS).

ISDN의 사용자-망간 인터페이스(UNI)의 신호방식인 DSS1은 도 1에 도시된 바와 같이, OSI(개방형 시스템간 상호접속)참조모델에 의해서 레이어 1부터 레이어 3까지의 계층으로 구현되는데, 각 계층의 개요 및 ITU-T의 권고안과의 관계는 다음 표1과 같다.DSS1, which is a signaling method of the user-network interface (UNI) of ISDN, is implemented in layers 1 through 3 by an OSI (Open Systems Interconnection) reference model, as shown in FIG. The outlines and their relationship to the ITU-T Recommendations are given in Table 1 below.

디지탈 가입자선 신호방식의 구성Digital subscriber line signaling 레이어Layer 기능개요Function Outline 해당 권고안Corresponding recommendations 레이어1Layer 1 전기 물리적인 조건Electrical physical conditions I.430, I.431I.430, I.431 레이어2Layer 2 메세지전송을 위한 링크 설정제어, 오류제어Link setting control and error control for message transmission Q.920, Q.921Q.920, Q.921 레이어3Layer 3 호의 설정, 개방Set up, opening Q.930, Q.931Q.930, Q.931

도 1을 참조하면, 전화국내에 위치한 ISDN 교환기에 가입자선을 통해 주택(혹은 건물)내에 위치한 제1 망 단말장치(NT1)가 연결되고, 건물내에서는 S/T점을 통해 ISDN 단말기(TE1) 또는 제2 망 단말장치(NT2)가 제1 망 단말장치(NT1)에 접속되어 있다.Referring to FIG. 1, a first network terminal device NT1 located in a house (or building) is connected to an ISDN exchange located in a telephone station through a subscriber line, and an ISDN terminal TE1 is connected to an ISDN terminal in a building through an S / T point. Alternatively, the second network terminal device NT2 is connected to the first network terminal device NT1.

여기서, 'NT1'(망 단말장치1)은 가입자선으로 디지탈 신호를 전송하기 위한 주택내의 송수신장치이고, 'NT2'(망 단말장치2)는 사설교환기(PBX)에 해당하는 장치로서 내선에 ISDN 단말(TE1)을 수용할 수 있고, 'TE1'은 ISDN 표준단말로서 NT1에 직접 접속되는 경우와 NT2를 경유하여 접속되는 경우가 있고, ISDN대응 기능을 갖지 않은 기존 단말인 'TE2'는 미도시된 터미날어답터(TA)를 통해 ISDN망에 접속된다.Here, 'NT1' (network terminal device 1) is a transceiver in a house for transmitting a digital signal to a subscriber line, and 'NT2' (network terminal device 2) is a device corresponding to a private branch exchange (PBX). The terminal (TE1) can accommodate, 'TE1' is an ISDN standard terminal is directly connected to NT1 and may be connected via NT2, and the existing terminal 'TE2', which does not have an ISDN-compliant function, is not shown. It is connected to the ISDN network through the terminal adapter (TA).

또한, NT1과 NT2 사이의 인터페이스 점을 'T'점이라 부르고, NT2와 TE1 사이의 인터페이스점을 'S'점이라 부르는데, S점의 인터페이스 사양은 T점에 준거한 것이라 정해져 있으므로 TE1이 NT1과 접속되는 점을 'S/T'점이라 부른다.In addition, the interface point between NT1 and NT2 is called 'T' point, and the interface point between NT2 and TE1 is called 'S' point. Since the interface specification of S point is determined to be based on T point, TE1 is The point to be connected is called the 'S / T' point.

그리고 ISDN 단말기와 같은 가입자측 단말은 ISDN 교환기와 접속되기 위하여, 앞서 설명한 레이어 1 내지 레이어 3의 프로토콜에 따라 접속되며 이러한 접속을 규정한 권고안이 상기 표 1과 같다.In addition, the subscriber terminal, such as the ISDN terminal, is connected according to the above-described protocols of the layers 1 to 3 so as to be connected to the ISDN exchange, and the recommendations for defining such a connection are shown in Table 1 above.

즉, 상기 표1에서 레이어 1은 ISDN 권고안 I.430, I431로 권고된 물리계층의 사용자-망 인터페이스로서, 2B+D 접속의 기본 인터페이스와 23B+D 혹은 30B+D의 일차군속도 인터페이스가 있으며, 기본 인터페이스에서 프레임 구조는 250μμs단위의 48비트로 구성된다.That is, in Table 1, Layer 1 is a user-network interface of the physical layer recommended by ISDN Recommendations I.430 and I431, and has a basic interface of 2B + D access and a primary group speed interface of 23B + D or 30B + D. In the basic interface, the frame structure consists of 48 bits of 250μs.

레이어 2는 일반적으로 LAPD(Link Access Procedure on the D channel)라고 불리고 있는데, 먼저 표준화된 데이타 링크 계층의 표준인 HDLC의 평형(BALANCE)모드를 기본으로 채용하고 있으며, 그 기본 포맷은 플래그(Flag), 어드레스(Address) 필드, 제어(control) 필드, 정보 필드, 프레임 체크 시퀀스(FCS), 플래그로 구성되어 있다.Layer 2 is commonly referred to as Link Access Procedure on the D channel (LAPD), which first adopts HDLC's BALANCE mode, which is the standard for the standardized data link layer, and its basic format is Flag. And an address field, a control field, an information field, a frame check sequence (FCS), and a flag.

그리고 레이어 3은 망이 제공하는 회선교환서비스와 패킷교환서비스에 필요한 통신경로(path)의 설정, 유지, 해제 및 각종 부가서비스 요구 등을 제어하는데, 이를 위하여 레이어 1 및 레이어 2를 통해 상대측으로부터 수신되는 메세지를 분석하고, 호 설정 관련 메세지를 형성하여 하위계층을 통해 상대측으로 전송한다. 계층 3과 관련된 일반적인 내용은 Q.930에 기술되어 있고, 기본 호에 대한 호처리 절차가 Q.931에 의해 권고되어 있다.Layer 3 controls the establishment, maintenance, and release of communication paths required by the network and packet switched services, and various additional service requests, which are received from the other side through layers 1 and 2. The message is analyzed and the call setup related message is formed and sent to the other party through the lower layer. General content relating to Layer 3 is described in Q.930, and call processing procedures for basic calls are recommended by Q.931.

그런데 ISDN 단말기를 구현하기 위해서는 이상에서 설명한 바와 같은 기능들이 구현되어야 하는데, 동일 계층간에 약속이 정의된 것이 "프로토콜(protocol)"이고, 상하 계층간의 논리적인 교환을 정의한 것이 "프리미티브(primitive)"이다. 즉, 각 계층에는 해당 계층의 기능을 구현하는 엔티티(entity)들이 있고, 이 엔티티들이 프리미티브를 통해 상하간에 정보를 교환하도록 되어 있다.However, in order to implement an ISDN terminal, the functions as described above should be implemented. The "protocol" is defined as an appointment between the same layers, and the "primitive" is defined as a logical exchange between upper and lower layers. . That is, each layer has entities that implement the functions of the layer, and these entities are configured to exchange information between top and bottom through primitives.

이러한 프리미티브는 요구(REQUEST), 표시(INDICATE), 응답(RESPONSE), 확인(CONFIRM)과 같은 4가지 형태로 구분되는데, 데이타 전송에 관련된 대부분의 프리미티브는 상위계층에서 하위계층으로 전달되는 요구(REQUEST) 프리미티브와, 하위계층에서 상위계층으로 전달되는 표시(INDICATE) 프리미티브로 이루어진다.These primitives are divided into four types: REQUEST, INDICATE, RESPONSE, and CONFIRM. Most of the primitives related to data transfer are REQUEST passed from the upper layer to the lower layer. ) Primitives, and INDICATE primitives passed from the lower layer to the upper layer.

그리고, 확인(CONFIRM) 프리미티브는 상위계층으로부터의 특정 요구 프리미티브에 관련해서 하위계층이 이에 응답해야 할 의무가 있을 경우 상위 계층에 이를 알리는 프리미티브이고, 응답(RESPONSE) 프리미티브는 하위계층으로부터의 특정 표시 프리미티브에 대해 상위계층이 이에 응답해야 할 의무가 있을 경우 하위계층 알려주기 위한 프리미티브이다.The CONFIRM primitive is a primitive that notifies the upper layer when the lower layer is obliged to respond to the specific request primitive from the upper layer, and the response primitive is a specific indication primitive from the lower layer. This is a primitive to inform lower layers when the higher layer is obliged to respond.

한편, 계층 3(Q.931)에서 처리해야 할 프리미티브들은 제2도에 도시된 바와 같이, 계층2로부터 전달되는 설정 표시(DL_ESTABLISH_IND), 설정 확인(DL_EST_CFM), 해제확인(DL_REL_CFM), 데이타 표시(DL_DAT_IND), 유닛데이타표시(DL_UDA_IND)가 있으며, GCR로부터 수신되는 재개요구(REST_REQ), GCR로 전달하는 재개확인(REST_CFM), 타이머(T316), 타이머(T317)가 있고, MG(CC)계층으로부터 전달되는 호출 요구(ALERT_REQ), 절단 요구(DISC_REQ), 정보 요구(INFO_REQ), 부가정보 요구(MORE_INFO_REQ), 통지 요구(NOTI_REQ), 호 진행 요구(PROC_REQ), 호 경과 요구(PROG_REQ), 거부 요구(REJ_REQ), 해제 요구(RELE_REQ), 호재개요구(RESU_REQ), 호설정 응답(SETUP_RES), 호설정요구(SETUP_REQ), 호일시정지 요구(SUSP_REQ)가 있으며, 계층3에서 자신에게 다시 보내는 타이머들 T301_EXP, T302_EXP, T303_EXP, T304_EXP, T305_EXP, T306_EXP, T307_EXP, T308_EXP, T309_EXP, T310_EXP, T313_EXP, T314_EXP, T318_EXP, T319_EXP, T321_EXP, T322_EXP 등이 있다. 이때 xx_xxxx_REQ는 요구 프리미티브를 나타내고, xx_xxxx_IND는 표시프리미티브를 나타내며, xx_xxxx_RES는 응답 프리미티브를, xx_xxxx_CFM은 확인 프리미티브를 나타낸다. 그리고 PH_xxxx_xxx는 데이타링크계층과 물리계층사이의 프리미티브이고, DL_xxxx_xxx는 계층3과 데이타링크계층사이의 프리미티브이며, MPH_xxxx_xxx는 관리계층과 물리계층사이의 프리미티브이고, MDL_xxxx_xxx는 관리계층과 데이타링크계층의 프리미티브이다. 계층3과 관리계층간에는 접두어가 없고, 관리(MG)계층은 "호제어(CC: Call Control)"와 "전체 호 참조번호제어(GCR: Global Call Reference Control)"로 구분된다.On the other hand, primitives to be processed in Layer 3 (Q.931) are as shown in FIG. 2, the setting indication (DL_ESTABLISH_IND), the setting confirmation (DL_EST_CFM), the release confirmation (DL_REL_CFM), and the data indication ( DL_DAT_IND), unit data indication (DL_UDA_IND), resumption request received from GCR (REST_REQ), resumption confirmation (REST_CFM) delivered to GCR, timer (T316), timer (T317), and from MG (CC) layer. Call request (ALERT_REQ), disconnect request (DISC_REQ), information request (INFO_REQ), additional information request (MORE_INFO_REQ), notification request (NOTI_REQ), call progress request (PROC_REQ), call progress request (PROG_REQ), reject request ( REJ_REQ), release request (RELE_REQ), call resumption request (RESU_REQ), call setup response (SETUP_RES), call setup request (SETUP_REQ), foil stop request (SUSP_REQ), and timers T301_EXP sent back to itself in layer 3 , T302_EXP, T303_EXP, T304_EXP, T305_EXP, T306_EXP, T307_EXP, T308_EXP, T309_EXP, T31 0_EXP, T313_EXP, T314_EXP, T318_EXP, T319_EXP, T321_EXP, and T322_EXP. In this case, xx_xxxx_REQ represents a request primitive, xx_xxxx_IND represents an indication primitive, xx_xxxx_RES represents a response primitive, and xx_xxxx_CFM represents an confirm primitive. PH_xxxx_xxx is a primitive between the data link layer and the physical layer, DL_xxxx_xxx is a primitive between the layer 3 and the data link layer, MPH_xxxx_xxx is a primitive between the management layer and the physical layer, and MDL_xxxx_xxx is a primitive between the management layer and the data link layer. . There is no prefix between layer 3 and the management layer, and the management (MG) layer is divided into "call control (CC)" and "global call reference control (GCR)".

또한 계층3(Q.931)에서 정의된 "상태(state)"는 호의 종류와 사용자측이냐 망측이냐 따라 정의되는데, 예컨대 회선 교환 호일 경우 사용자측에서의 상태는 다음 표2와 같다.In addition, the "state" defined in Layer 3 (Q.931) is defined depending on the type of call and whether it is on the user side or the network side. For example, in the case of a circuit switched call, the state at the user side is shown in Table 2 below.

계층 3의 상태(회선교환호/ 사용자측)State of Layer 3 (line switched / user side) 상 태 명Status Name 표기Mark 내 용Contents 영(null) 상태Null state U0U0 호가 존재하지 않은 상태No call exists 호 개시Call initiation U1U1 발신호에서 사용자가 호설정을 요구한 상태User requested call setting in call 중첩 송신중Sending nested U2U2 발신호에서 사용자가 중첩모드로 부가적인 정보를 송출할 수 있도록 호설정 요구의 확인을 받은 상태Received confirmation of call setup request so that user can send additional information in overlapping mode at originating signal. 발신호 진행Signaling progress U3U3 발신호에서 호설정에 필요한 모든정보를 망이 수신했다는 확인을 받은 상태Received confirmation that the network has received all the information needed to set up a call from an outgoing call 호 전달Call forwarding U4U4 발신호에서 발신측 사용자가 상대측사용자의 호출이 개시되었다는 표시를 받은 상태In the outgoing call, the calling user receives an indication that the calling of the other user has been initiated. 호 존재Arc existence U6U6 착신호에서 사용자가 호설정을 요구받았으나 응답하지 않은 상태On incoming call, user is requested to set up call but not answered 호 수신Receive call U7U7 착신호에서 사용자가 호출을 표시하였으나 응답하지 않은 상태On an incoming call, the user marked the call but did not answer 접속 요구Connection request U8U8 착신호에서 사용자가 응답을 하고 호가 부여되기를 기다리는 상태Wait for user to answer on incoming call and receive call 착신호 진행Incoming call U9U9 착신호에서 호 설정에 필요한 모든 정보가 수신되었다는 확인을 사용자가 보낸상태The user sends a confirmation that an incoming call has received all the information necessary to set up a call. 통신중(active)Active U10U10 착신호에서 호가부여되었다는 확인을 사용자가 망으로받은상태, 혹은 발신호에서 상대측 사용자가 호에 응답하였다는 표시를 사용자가 받은 상태The user has received a confirmation that the call has been placed on an incoming call, or the user has received an indication that the other party has answered the call. 절단 요구Cutting requirements U11U11 사용자가 종단간 접속의 복구를 요구하고 응답을 기다리는 상태The user requests the recovery of an end-to-end connection and waits for a response 절단 표시Cutting marks U12U12 망이 종단간 접속을 절단했기 때문에 사용자가 절단요청을 받은 상태User received a cut request because the network cut the end-to-end connection 일시정지 요구Pause request U15U15 사용자가 호의 일시정지를 요구하고 응답을 기다리는 상태User requests pause of call and waits for response 재개 요구Resumption request U17U17 사용자가 이전에 일시정지된 호의 재개를 요구하고 응답을 기다리는 상태The user has requested to resume a previously paused call and is waiting for a response

상 태 명Status Name 표기Mark 내 용Contents 해제 요구Release requirement U19U19 사용자가 해제를 요구하고 응답을 기다리는 상태The user requests a release and waits for a response 중첩수신중Overlapping U25U25 착신호에서 사용자가 호설정요구에 대하여 확인 응답하고, 중첩모드로 부가적인 호정보의 수신을 준비하는 상태In the incoming call, the user acknowledges the call setup request and prepares to receive additional call information in the overlapping mode.

한편, 계층 3에서 이와 같은 프리미티브들을 처리하는 종래의 방식은 권고안 Q.931의 부록A(ANNEX A)에서 SDL로 제안되었는 바, 이를 개략적으로 정리하면 도 3에 도시된 바와 같다.On the other hand, the conventional method of processing such primitives in layer 3 was proposed as SDL in Appendix A (ANNEX A) of Recommendation Q.931, which is roughly summarized as shown in FIG.

도 3을 참조하면, 종래의 방법은 프리미티브를 수신(S1)한 후 계층 3의 현재 상태를 판별하고(S2), 이어서 판별된 현재 상태에 따른 프리미티브 처리루틴을 구동하였다(S3). 그리고 해당 프리미티브 처리루틴에서는 수신된 프리미티브를 판별한 후(S4), 판별된 상태와 프리미티브에 따라 수신된 프리미티브를 처리하였다(S5).Referring to FIG. 3, the conventional method determines a current state of layer 3 after receiving a primitive (S1) (S2), and then drives a primitive processing routine according to the determined current state (S3). The primitive processing routine then determines the received primitive (S4), and processes the received primitive according to the determined state and primitive (S5).

즉, 계층2로부터 수신되는 단위 데이타 혹은 데이타 표시(DL_UDA/DAT_IND) 프리미티브를 처리함에 있어서 종래에는 임의의 프리미티브가 수신되면, 먼저 L3 계층의 현재 상태를 판별한 후(U0 ~ U25중 어느 상태인가), 해당 상태처리 루틴으로 가서 수신된 프리미티브가 무엇인지를 판별하여 단위 데이타 혹은 데이타 표시(DL_UDA/DAT_IND) 프리미티브를 처리하였다.That is, in the case of processing any unit data or data indication (DL_UDA / DAT_IND) primitives received from Layer 2, if any primitive is conventionally received, the current state of the L3 layer is first determined (which is U0 to U25). In addition, it went to the state processing routine to determine what received primitives and processed the unit data or data display (DL_UDA / DAT_IND) primitives.

그런데 앞서 살펴 본 바와 같이, 계층 3의 상태가 대략 15 ∼ 20 종류이고, 처리해야 할 프리미티브의 종류도 약 30 여가지나 되므로 상태 판별과 프리미티브의 판별에 시간이 많이 걸리고, 상태판별 후 각 프리미티브 처리시에 중복되는 처리절차가 많아 프로그램시 코드가 길어지는 문제점이 있었다.As described above, since the state of layer 3 is about 15 to 20 types, and about 30 types of primitives to be processed, it takes a long time to determine the state and the primitive, and when processing each primitive after state determination There was a problem in that the code lengthened during programming because of a large number of duplicate processing procedures.

따라서 서로 다른 상태에서 유사한 처리가 반복될 경우, 이를 최적화(optimization)하므로써 처리시간을 단축함과 아울러 코드 사이즈를 감축할 필요성이 있으며, 더욱이 채널대역을 넓히기 위하여 다중 라인을 구성할 수 있도록 하므로써 응용성을 확장시키는 것이 바람직하게 요구된다.Therefore, when similar processing is repeated in different states, it is necessary to reduce the processing time and optimize the code size by optimizing this, and furthermore, it is possible to configure multiple lines to widen the channel bandwidth. It is desirable to expand it.

이에 본 발명은 상기와 같은 문제점을 해결하기 위하여 처리 절차를 최적화하는 단위 데이타 혹은 데이타 표시(DL_UDA/DAT_IND) 프리미티브 처리방법을 제공하는데 그 목적이 있다.Accordingly, an object of the present invention is to provide a unit data or data display (DL_UDA / DAT_IND) primitive processing method for optimizing a processing procedure in order to solve the above problems.

또한, 본 발명의 다른 목적은 ISDN 단말기를 다중 라인으로 구성하여 망에 접속할 수 있게 하는 단위 데이타 혹은 데이타 표시(DL_UDA/DAT_IND) 프리미티브 처리방법을 제공하는데 있다.In addition, another object of the present invention is to provide a method for processing unit data or data indication (DL_UDA / DAT_IND) primitives by configuring ISDN terminals in multiple lines to access a network.

상기와 같은 목적들을 달성하기 위하여 본 발명은, 종합정보통신망에서 ISDN 단말기를 계층화된 프로토콜에 따라 망(Network)에 접속하기 위하여 계층 3을 구현하는 방법에 있어서, 수신된 프리미티브의 아이디와 링크 아이디를 판별하는 단계; 수신된 프리미티브가 단위 데이타 표시 프리미티브이면 수신된 단위 데이타 구조를 데이타 구조로 변환 후 데이타 표시 처리을 호출하는 단계; 데이타 표시(DL_UDA/DAT_IND) 프리미티브이면, 호참조번호가 지정하는 마이너 링크 아이디를 확인하고 수신된 메세지의 종류를 판별하는 단계; 마이너 링크가 0 또는 1이면 판별된 메세지의 종류에 따라 로칼 프로세스상에서 해당 메세지를 처리하는 단계; 전체호 참조번호이면 판별된 메세지 동류에 따라 공통 프로세스상에서 해당 메세지를 처리하는 단계; 및 해당 프리미티브의 버퍼를 해제하는 단계가 구비되어 있다.In order to achieve the above objects, the present invention provides a method for implementing layer 3 to connect an ISDN terminal to a network according to a layered protocol in a general information communication network. Determining; If the received primitive is a unit data display primitive, converting the received unit data structure into a data structure and then calling a data display process; If the data indication (DL_UDA / DAT_IND) primitive, checking the minor link ID designated by the call reference number and determining the type of received message; If the minor link is 0 or 1, processing the corresponding message on a local process according to the type of the determined message; Processing the message on a common process according to the determined message similarity if the reference number is a whole number; And releasing the buffer of the primitive.

도 1은 ISDN의 사용자-망 접속을 도시한 도면.1 shows a user-network connection of an ISDN.

도 2는 ISDN UNI 계층3에서 처리되는 프리미티브들의 관계를 도시한 도면.FIG. 2 illustrates the relationship of primitives processed in ISDN UNI layer 3. FIG.

도 3은 ISDN UNI 계층3에서 프리미티브들을 처리하는 종래의 방법을 도시한 개략도.3 is a schematic diagram illustrating a conventional method for processing primitives at ISDN UNI layer 3. FIG.

도 4는 본 발명이 적용되기에 적합한 ISDN 통신카드의 예를 도시한 도면.4 is a diagram showing an example of an ISDN communication card suitable for applying the present invention.

도 5는 도 4에 도시된 채널접속부의 세부 블럭도.FIG. 5 is a detailed block diagram of the channel connection unit shown in FIG. 4; FIG.

도 6은 본 발명에 따라 ISDN 통신카드에서 처리되는 프로세스들을 도시한 개념도.6 is a conceptual diagram illustrating processes handled in an ISDN communication card in accordance with the present invention.

도 7a지 7e 본 발명에 사용되는 데이타 포맷을 도시한 도면.Figures 7a-7e illustrate the data format used in the present invention.

도 8은 본 발명에 따른 데이타 표시(DATA_IND) 프리미티브 처리방법을 도시한 도면.8 is a diagram illustrating a data display (DATA_IND) primitive processing method according to the present invention;

도 9는 본 발명에 따라 데이타 표시(DL_DATA_IND) 프리미티브를 처리하는 방법을 도시한 흐름도.9 is a flow diagram illustrating a method of processing a data indication (DL_DATA_IND) primitive in accordance with the present invention.

도 10은 호 진행 메세지가 수신되면 기동되는 타이머 T310이 종료되어 발생된 T310종료 프리미티브 처리절차를 도시한 흐름도이다.10 is a flowchart illustrating a T310 end primitive processing procedure generated when the timer T310 which is activated when the call progress message is received is terminated.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : ISDN 단말기 3-1~n : 송수화기1: ISDN terminal 3-1 ~ n: Handset

5-1~n :망단말장치(NT1) 7 : ISDN망5-1 ~ n: Network terminal device (NT1) 7: ISDN network

10 : PC 12 : 슬롯10: PC 12: Slot

20 : ISDN통신카드 21 : DP RAM20: ISDN communication card 21: DP RAM

22 : 메모리 23 : CPU22: memory 23: CPU

24-1~n : 코덱(CODEC) 25-1~n : 채널접속부(ISAC)24-1 ~ n: Codec 25-1 ~ n: Channel connection (ISAC)

26 : 소켓 27 : S버스26: socket 27: S bus

28 : 가입자선28: subscriber line

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

먼저, 본 발명에 따라 ISDN 단말기를 구현할 경우, 그 하드웨어의 개략적 구성을 살펴보면, 도 4에 도시된 바와 같이, ISDN 단말기(1)는 퍼스날 컴퓨터(PC:10)에 슬롯(12)을 통해 ISDN통신카드(20)가 연결되고, 이 ISDN통신카드(20)는 S 버스(27)을 통해 망 단말장치(NT1: 5-1~n)에 연결되며, 이 망 단말장치(5-1~n)는 가입자선(28)을 통해 ISDN망(7)에 접속되도록 되어 있다.First, when implementing the ISDN terminal according to the present invention, looking at the schematic configuration of the hardware, as shown in Figure 4, the ISDN terminal 1 is ISDN communication through the slot 12 to the personal computer (PC: 10) The card 20 is connected, and the ISDN communication card 20 is connected to the network terminal devices NT1: 5-1 to n through the S bus 27, and the network terminal devices 5-1 to n. Is connected to the ISDN network 7 via the subscriber line 28.

이때, 본 발명이 적용되는 ISDN통신카드(20)는 2B+D 기본 인터페이스를 n개 까지 ISDN망(7)에 각각 접속할 수 있도록 n개의 채널접속부(ISAC:(25-1~n)를 구비하고 있고, 이 n개의 채널접속부는 S버스(27)를 통해 망 단말장치(5-1~5-n)에 각각 연결되어 있다.At this time, the ISDN communication card 20 to which the present invention is applied is provided with n channel connection parts (ISAC: (25-1 to n) so as to connect 2B + D basic interfaces to n ISDN networks 7, respectively. The n channel connections are connected to the network terminal devices 5-1 to 5-n through the S bus 27, respectively.

이와 같이 기본 인터페이스를 n개까지 확장할 수 있도록 하므로써 호스트 시스템이 전송하고자 하는 데이타량이 많아(예컨대, 영상회의 시스템에의 응용등과 같은 경우) 하나의 기본 인터페이스(2B+D)로는 전송할 수 없을 경우, 몇(n)개의 기본 인터페이스를 부가하여 채널용량을 적당히 확장하므로써 호스트 시스템이 데이타를 전송할 수 있게 한다.In this way, the host interface can be extended up to n so that the host system has a large amount of data to be transmitted (for example, in a video conferencing system). In addition, by adding several (n) basic interfaces, the host system can transfer data by appropriately extending the channel capacity.

여기서, 상기 ISDN통신카드(20)는 도 4에서와 같이, 듀얼포트 램(DP RAM:21), 메모리(22), CPU(23), 코덱(CODEC:24-1~n), 채널접속부(ISAC:25-1~n)를 포함하고 있고, 앞서 설명한 바와 같이 ISDN망(7)에 ISDN 단말기(1)를 접속시킬 수 있도록 계층(layer) 1부터 계층 3의 기능을 구현하고 있으며, 이러한 소프트웨어는 상기 메모리(22)에 내장되어 있다.Here, the ISDN communication card 20, as shown in Figure 4, the dual port RAM (DP RAM: 21), memory 22, CPU 23, codecs (CODEC: 24-1 ~ n), the channel connection unit ( ISAC: 25-1 to n), and implements the functions of Layer 1 to Layer 3 so that the ISDN terminal 1 can be connected to the ISDN network 7 as described above. Is built in the memory 22.

도 4에 있어서, DP RAM(21)은 슬롯(12)을 통해 호스트시스템인 PC(10)와 데이타를 전달하기 위한 물리적 통로를 제공하고, 메모리(22)는 통신카드(20)를 작동시키는 각종 프로그램들과 시스템 데이타들이 저장되며, CPU(23)는 메모리(22)에 저장된 소프트웨어에 따라 각종 프로세스들을 기동시켜 통신카드 전체의 동작을 제어한다. 본 발명의 실시예에서 듀얼 포트램(21)으로는 IDT71321을 사용하고, CPU(23)로는 인텔사의 80C188을 사용한다.In FIG. 4, the DP RAM 21 provides a physical path for transferring data with the PC 10, which is the host system, through the slot 12, and the memory 22 operates various kinds of cards for operating the communication card 20. Programs and system data are stored, and the CPU 23 starts various processes in accordance with software stored in the memory 22 to control the operation of the entire communication card. In the embodiment of the present invention, IDT71321 is used as the dual port RAM 21, and 80C188 of Intel Corporation is used as the CPU 23.

그리고 코덱(24-1~n)은 기본 인터페이스에 음성을 접속하기 위한 것으로, 송수화기(3-1~n)를 통해 입/출력되는 음성신호를 부호화 및 복호화하여 채널접속부(25-1~n)에 접속하고, 채널접속부(25-1~n)는 도 5에 도시된 바와 같이 구성되어 데이타 단말이나 음성단말을 망 단말장치(5-1~n)에 접속한다.The codecs 24-1 to n are for connecting a voice to a basic interface. The codec 24-1 to n encodes and decodes a voice signal input and output through the handsets 3-1 to n, and the channel connection units 25-1 to n. And the channel connection units 25-1 to n are configured as shown in Fig. 5 to connect a data terminal or a voice terminal to the network terminal apparatuses 5-1 to n.

도 5에 있어서, 채널접속부(25-1~n)는 SSI(51), SDL(52), B채널 스위칭부(53), D채널처리부(54), FIFO(55), 프로세서 접속부(56), IOM접속부(57), 버퍼(58), 버퍼제어부(59), ISDN기본접근 계층1부(60)로 구성될 수 있는데, 이러한 구성의 채널접속부는 단일 반도체 칩으로 구현되어 시중에서 구입할 수 있다. 본 발명의 실시예에서 채널접속부(25-1~n)는 지멘스(SIEMENS)사의 ISAC(ISDN Subscriber Access Controller 모델명: PEB2085)로 구현되었으며, 이와 같은 ISAC의 동작은 해당 매뉴얼(Technical Manual)에 자세히 설명되어 있다.In Fig. 5, the channel connection units 25-1 to n include the SSI 51, the SDL 52, the B channel switching unit 53, the D channel processing unit 54, the FIFO 55, and the processor connection unit 56. In addition, the IOM connection unit 57, the buffer 58, the buffer control unit 59, and the ISDN basic access layer 1 unit 60 may be configured. The channel connection unit of such a configuration may be implemented as a single semiconductor chip and can be purchased commercially. . In the exemplary embodiment of the present invention, the channel access portions 25-1 to n are implemented by Siemens (ISDN Subscriber Access Controller Model Name: PEB2085), and the operation of the ISAC is described in detail in the corresponding Technical Manual. It is.

그리고 ISDN 통신카드(20)에서 프리미티브를 처리하기 위하여 각 계층의 엔티티들은 도 6과 같이 LAPD 프로세스(61), L3 공통프로세스(62), L3 로칼 프로세스(63)로 구분되고, 각 프로세스들은 해당 환경변수 테이블을 참조하여 동작된다.In order to process primitives in the ISDN communication card 20, entities of each layer are divided into a LAPD process 61, an L3 common process 62, and an L3 local process 63 as shown in FIG. 6. It works by referring to the variable table.

여기서 L3 공통 프로세스(62)는 계층 2 프로세스(61)로부터 계층3으로 전달되는 프리미티브들(DL_EST_IND, DL_EST_CFM, DL_RELE_IND, DL_RELE_CFM, DL_DATA_IND, DL_UDATA_IND)을 처리하기 위한 엔티티들과, GCR과 관련된 프리미티브들(RESTART_REQ, RESTART_CFM, T316_OUT, T317_OUT)을 처리하기 위한 엔티티들로 이루어지고, L3 로칼 프로세스(63)는 Q.931에 권고된 나머지 프리미티브들을 처리하기 위한 엔티티들로 이루어진다.Herein, the L3 common process 62 may include entities for processing primitives DL_EST_IND, DL_EST_CFM, DL_RELE_IND, DL_RELE_CFM, DL_DATA_IND, and DL_UDATA_IND that are transferred from the layer 2 process 61 to layer 3, and the primitives related to the GCR (RESTART_REQ). , RESTART_CFM, T316_OUT, T317_OUT), and the L3 local process 63 consists of entities for processing the remaining primitives recommended in Q.931.

이때, LAPD 프로세스(계층2)는 계층2 환경변수 테이블(L2env_tab[x]) 을 참조하는데, 이 환경변수 테이블은 링크 아이디(Link ID 혹은 id)에 따라 식별되어 다수개 존재하고, 계층 3 공통 프로세스(62)는 계층3 공통 환경변수 테이블(L3coord_tab[x])을 참조하는데, 이 환경변수 테이블도 링크 아이디(Link ID)에 따라 식별되어 다수개 존재한다. 계층3 로칼 프로세스(63)는 계층 3 로칼 환경변수 테이블(L3env_tab[x])을 참조하는데, 이 환경변수 테이블은 하나의 링크 아이디마다 2개씩 존재하여 링크 아이디(ID)와 마이너 링크 아이디(mID)에 따라 식별된다. 도 6에 있어서, 도시된 프로세스들은 링크 아이디(id)가 3개이고, 마이너 링크 아이디(mid)가 6개인 경우를 보여준다(즉, 3개의 채널접속부(ISAC)를 가진 통신카드의 경우).At this time, the LAPD process (layer 2) refers to the layer 2 environment variable table (L2env_tab [x]), which is identified by a link ID (Link ID or id). Reference numeral 62 refers to the layer 3 common environment variable table (L3coord_tab [x]), which is also identified according to the link ID. The layer 3 local process 63 references the layer 3 local environment variable table (L3env_tab [x]), which contains two link IDs per link ID and a link ID (ID) and a minor link ID (mID). Are identified according to. In FIG. 6, the illustrated processes show the case of three link IDs and six minor link IDs (ie, a communication card having three channel connections (ISAC)).

여기서, 링크 아이디(ID)는 도 4에 도시된 바와 같이, ISDN통신카드상에 ISAC를 다수개 설치하여 다중 라인을 구성할 경우, 이들 라인들을 구분하기 위한 1번부터 n번까지(혹은 0번부터 n-1번까지) n개의 식별번호이고, 마이너 링크 아이디(mID)는 각 라인상의 B채널(2B+D기본 접속에 2개의 B채널이 있다)을 구분하기 위한 0 혹은 1의 식별번호이다.Here, the link ID (ID) is as shown in Figure 4, when configuring multiple lines by installing a plurality of ISAC on the ISDN communication card, from 1 to n times (or 0 times) to distinguish these lines To n-1) n identification numbers, and the minor link ID (mID) is a 0 or 1 identification number for identifying B channels on each line (there are two B channels in the 2B + D basic connection). .

이와 같이 본 발명에서는 다수개의 라인을 제공할 수 있으므로, 이들을 식별할 수 있도록 링크 아이디(ID)와 마이너 링크 아이디(mID)가 사용된다.As described above, since the present invention can provide a plurality of lines, a link ID (ID) and a minor link ID (mID) are used to identify them.

한편, 도 7은 ISDN통신카드상에서 처리되는 메세지 혹은 프리미티브들의 데이타 포맷으로서, 도 7a는 메세지가 없는 프리미티브, 도 7b 및 7c는 비번호제 포맷, 7d 및 7e는 번호제 포맷을 각각 나타낸다.On the other hand, Fig. 7 is a data format of a message or primitives processed on an ISDN communication card. Fig. 7A shows a messageless primitive, Figs. 7B and 7C show a non-numbered format, and 7D and 7E show a numbered format, respectively.

도 7에 있어서, Q.931 메세지 필드는 계층3에 의해 처리되는 부분이고, Q.291 비번호제 및 번호제 필드는 계층2에서 처리되는 부분(헤더)이며, 프리미티브 헤더부는 계층간의 정보전달 및 각 계층에서 프리미티브 처리를 위해 사용되는 부분이다.In FIG. 7, the Q.931 message field is a part processed by layer 3, the Q.291 non-numbered and numbered fields are a part (header) processed in layer 2, and the primitive header part transfers information between layers. This is the part used for primitive processing in each layer.

즉, 도 7a 내지 7e에서 프리미티브 헤더는 프리미티브를 식별하기 위한 'primitive id', 링크아이디(link_id=ID), 마이너 링크 아이디(mlink_id=mID), 메세지의 크기를 나타내는 사이즈(size)로 이루어지고, Q.921의 비번호제필드는 "add1", "add2", "mm"(3바이트)으로 이루어지며, Q921의 비번호제 필드는 "add1", "add2", "n_r", "n_s"(4바이트)로 이루어진다. 이러한 Q.921 필드 및 Q.931의 메세지 필드는 권고안들에 자세히 기술되어 있으므로 더 이상의 설명은 생략한다.That is, in FIG. 7A to FIG. 7E, the primitive header includes a 'primitive id' for identifying a primitive, a link ID (link_id = ID), a minor link ID (mlink_id = mID), and a size indicating a message size. The unnumbered fields of Q.921 consist of "add1", "add2", and "mm" (3 bytes). The non-numbered fields of Q921 are "add1", "add2", "n_r", "n_s" (4 bytes). This Q.921 field and the message field of Q.931 are described in detail in the Recommendations, so further explanation is omitted.

도 8은 본 발명에 따라 단위 데이타 표시(DL_UNIT DATA_IND) 프리미티브를 처리하는 방법을 도시한 흐름도이다.8 is a flowchart illustrating a method of processing a unit data indication (DL_UNIT DATA_IND) primitive according to the present invention.

단위 데이타 표시(DL_UNIT DATA_IND) 프리미티브는 계층2로부터 상위계층으로 전달되는 프리미티브로서 Q.931에 특별한 처리절차가 언급되지 않았으므로 데이타 표시(DL_DATA_IND) 프리미티브와 동일하게 처리하는 것이 바람직하다.The unit data indication (DL_UNIT DATA_IND) primitive is a primitive transferred from layer 2 to a higher layer, so it is preferable to process the same as the data indication (DL_DATA_IND) primitive because no special processing procedure is mentioned in Q.931.

그런데 도 7a 내지 7e에 도시된 데이타 포맷에서와 같이 단위 데이타와 데이타의 구조가 LAPD 헤더 필드에서 차이(단위 데이타는 3옥텟이고, 데이타는 4옥텟이다)가 있으므로 이를 보정하여 단위 데이타를 데이타 구조로 변환하여 데이타 프리미티브에서 일괄 처리하도록 되어 있다.However, as in the data format shown in FIGS. 7A to 7E, since there is a difference between the unit data and the data structure in the LAPD header field (unit data is 3 octets and data is 4 octets), the unit data is corrected to the data structure. It is converted and batched in the data primitive.

도 8을 참조하면, 프리미티브 수신단계에서 임의의 프리미티브가 수신되면, 프리미티브 아이디(primitive id) 및 링크 아이디(link id)를 판별한다(100,101). 여기서, 프리미티브 아이디(primitive id)는 프리미티브의 종류를 식별하기 위하여 정의된 식별자로서 링크 아이디와 함께 "프리미티브의 헤더"에 기록되어 있다. 그리고 링크 아이디(link id)는 다중 라인상의 기본 인터페이스를 식별하기 위한 것으로, 예컨대 링크 아이디가 "0"이면 ISAC1(도 4의 25-1)을 통해 제공되는 기본 인터페이스에 관한 것으로 도 6에 도시된 링크 0(Link 0)상에서의 프로세스와 관련된 것임을 알 수 있다.Referring to FIG. 8, when an arbitrary primitive is received in the primitive receiving step, primitive id and link id are determined (100, 101). Here, the primitive id is an identifier defined to identify the type of the primitive, and is recorded in the header of the primitive along with the link ID. And the link id (link id) is for identifying the base interface on the multi-line, for example, if the link ID is "0" relates to the base interface provided through ISAC1 (25-1 of FIG. 4) shown in FIG. It can be seen that it is related to the process on Link 0.

이어서 수신된 프리미티브가 계층 2로부터 수신되는 단위 데이타 표시(DL_UNITDAT_IND)프리미티브이면, 단위 데이타 표시 프리미티브의 구조를 데이타 표시(DL_DATA_IND) 프리미티브의 구조로 변환한 후, 데이타 표시 프리미티브 처리절차를 구동한다.If the received primitive is then a unit data indication (DL_UNITDAT_IND) primitive received from layer 2, the structure of the unit data indication primitive is converted to the structure of the data indication (DL_DATA_IND) primitive, and then the data display primitive processing procedure is driven.

따라서 단위 데이타 표시 프리미티브도 도 9에 도시된 바와 같은 데이타 표시 프리미티브 처리절차에 의해 처리된다.Therefore, the unit data display primitive is also processed by the data display primitive processing procedure as shown in FIG.

도 9는 본 발명에 따라 데이타 표시(DL_DATA_IND) 프리미티브를 처리하는 방법을 도시한 흐름도이다.9 is a flowchart illustrating a method of processing a data indication (DL_DATA_IND) primitive in accordance with the present invention.

데이타 표시(DL_DATA_IND) 프리미티브는 상대측 계층 3으로부터 보내진 각종 메세지들을 수신하기 위한 통로를 제공하는 프리미티브이다. 이 프리미티브가 수신되면 계층3 엔티티는 프리미티브에 포함된 각종 메세지를 분석하여 처리하는데, 먼저 호 참조번호(CR)를 분석하여 전체호인지, 로칼 프로세스상에서 처리되는 호인지 등을 분석해 낸다.The data indication (DL_DATA_IND) primitive is a primitive that provides a path for receiving various messages sent from the partner layer 3. When the primitive is received, the layer 3 entity analyzes and processes various messages included in the primitive. First, the call reference number (CR) is analyzed to determine whether the call is a total call or a call processed in a local process.

그리고 GCR과 관련된 호는 링크 아이디에 의해 지정된 공통 프로세스상에서 처리되고, GCR이 아닌 경우는 링크 아이디 및 마이너 링크 아이디에 의해 지정된 로칼 프로세스 상에서 처리된다.And the call related to GCR is handled on the common process specified by the link ID, and on the local process designated by the link ID and the minor link ID, if not GCR.

이와 같이, 수신된 메세지의 호 참조번호(CR)를 분석하면 링크 아이디 및 마이너 링크아이디를 식별할 수 있도록 되어 있다.As such, when the call reference number CR of the received message is analyzed, the link ID and the minor link ID can be identified.

도 9를 참조하면, 프리미티브 수신단계에서 임의의 프리미티브가 수신되면, 프리미티브 아이디(primitive id) 및 링크 아이디(link id)를 판별한다(200,201).Referring to FIG. 9, when an arbitrary primitive is received in the primitive receiving step, a primitive id and a link id are determined (200, 201).

이어서 수신된 프리미티브가 계층 2로 부터 수신되는 데이타 표시(DL_DATA_IND) 프리미티브이면, 메세지의 호 참조번호에 따라 마이너 링크 아이디를 식별하고, 메세지의 종류를 판별한다(202,203).If the received primitive is a data indication (DL_DATA_IND) primitive received from layer 2, the minor link ID is identified according to the call reference number of the message, and the type of the message is determined (202, 203).

이어서 마이너 링크 아이디가 0 또는 1이면 판별된 메세지의 종류에 따라 로칼 프로세스상에서 해당 메세지를 처리한다(204,205).Subsequently, if the minor link ID is 0 or 1, the corresponding message is processed in the local process according to the determined message type (204, 205).

여기서, 계층2로부터 수신된 메세지들중에서 로칼 프로세스상에서 처리되는 메세지는 호출 메세지(ALERTING_MSG), 호설정(SETUP_MSG), 일시정지(SUSPEND_ MSG), 정보(INFORMATION_MSG), 호 진행(CALL PROCEEDING_ MSG), 호설정확인(SETUP ACK_MSG), 절단(DISCONNECT_ MSG), 통지(NOTIFY_MSG), 접속(CONNECT_MSG), 재개시(RESUME_MSG), 상태(STATUS_MSG), 접속확인(CONNECT ACK_MSG), 재개거부(RESUME REJ_MSG), 해제완료(RELEASE COMP_MSG), 상태요구(STATUS ENQ_MSG), 호경과(PROGRESS_MSG), 일시정지확인(SUSPEND ACK_MSG) 메세지 등이다.Here, among the messages received from Layer 2, the messages processed on the local process are called message (ALERTING_MSG), call setup (SETUP_MSG), pause (SUSPEND_ MSG), information (INFORMATION_MSG), call progress (CALL PROCEEDING_ MSG), call SETUP ACK_MSG, DISCONNECT_ MSG, NOTIFY_MSG, CONNECT_MSG, RESUME_MSG, STATUS_MSG, CONNECT ACK_MSG, RESUME REJ_MSG, Release Complete (RELEASE COMP_MSG), STATUS ENQ_MSG, PROGESS_MSG, SUSPEND ACK_MSG messages, and so on.

이때 망측으로부터 수신된 메세지가 호 진행(CALL PROCEEDING) 메세지이면 타이머 T310을 기동하고, 후속되는 호출(ALERTING) 또는 접속(CONNECT) 메세지가 도착할 때 까지 작동된다. 타이머 T310은 Q.931의 테이블 9-2에서 디폴트값이 10초이다. 따라서 기동된 후 10초과 경과되면 T310종료(T310_EXP) 프리미티브를 발생하는데, 이 프리미티브가 수신되면 도 10에 도시된 바와 같은 절차를 수행하여 이를 처리해야 한다.At this time, if the message received from the network side is a call proceeding message, the timer T310 is started and operated until a subsequent ALTERTING or CONNECT message arrives. The timer T310 has a default value of 10 seconds in Table 9-2 of Q.931. Therefore, when 10 seconds have elapsed since the start-up, a T310 end (T310_EXP) primitive is generated. When this primitive is received, a procedure as shown in FIG. 10 must be performed to process it.

이어서 전체호 참조번호(GCR)이면 판별된 메세지 종류에 따라 공통 프로세스상에서 해당 메세지를 처리하고, 어느 것도 아니면 버퍼를 해제한다(206,207,208).Subsequently, if it is a GCR, the corresponding message is processed in a common process according to the determined message type, and none of the buffers is released (206, 207, 208).

여기서, 계층2로부터 수신된 메세지들 중에서 공통 프로세스상에서 처리될 메세지는 전체호 상태(GCR_STATUS), 전체호 재개시(GCR_RESTART), 전체호 재개시확인(GCR_RESTART_ACK) 메세지 등이다.Here, among the messages received from the layer 2, the message to be processed on the common process is the global call status (GCR_STATUS), the global call resume (GCR_RESTART), the global call resume confirmation (GCR_RESTART_ACK) message, and the like.

도 10은 호 진행 메세지가 수신되면 기동되는 타이머T310이 종료되어 발생된 T310종료 프리미티브 처리절차를 도시한 흐름도이다.10 is a flowchart illustrating a T310 end primitive processing procedure generated when the timer T310 which is activated when the call progress message is received is terminated.

타이머 T310이 종료되어 T310종료 프리미티브가 수신되면, 다른 프리미티브의 처리절차와 마찬가지로 프리미티브 아이디와 링크 아이디를 식별한 후 T310종료(T310_EXP) 프리미티브이면 해당 엔티티의 상태가 발신호 진행 상태(U3)인지를 확인한다(300~304).When the timer T310 is terminated and the T310 end primitive is received, the primitive ID and link ID are identified in the same way as other primitive processing procedures, and if the T310 end (T310_EXP) primitive is checked, the status of the corresponding entity is in progress (U3). (300 ~ 304)

발신호 진행상태(U3)이면, 절단(DISCONNECT) 메세지를 생성하여 계층 2로 전송하고, 타이머 T305를 기동한다(305,306).If the call signal is in progress U3, a DISCONNECT message is generated and sent to layer 2, and timers T305 are activated (305, 306).

이어서 에러정보가 포함된 호설정 확인(SETUP_CFM) 프리미티브를 생성하여 관리(CC)계층으로 전송하고, 해당 엔티티의 상태를 절단 요구(U11)로 전환한다(307,308). 해당 엔티티가 발신호 진행상태가 아니면 예외처리루틴을 구동한다(309).Subsequently, a call setup confirmation (SETUP_CFM) primitive including error information is generated and transmitted to the management (CC) layer, and the state of the corresponding entity is switched to the disconnect request (U11) (307 and 308). If the entity is not in the signaling state, an exception handling routine is driven (309).

이상에서 살펴 본 바와 같이 본 발명에 따라 데아타 표시 프리미티브를 처리함에 있어서 프리미티브를 먼저 판별한 후 상태에 따라 적절한 처리절차를 수행하므로써 처리절차를 최적화하여 처리시간을 단축하고 코드량을 감축할 수 있는 효과가 있다. 또한 다중 라인구성을 가능하게 하므로써 필요에 따라 채널용량을 확장할 수 있다.As described above, in processing the data display primitive according to the present invention, the primitives are first determined, and then the appropriate processing procedure is performed according to the state, thereby optimizing the processing procedure to reduce the processing time and reduce the amount of code. It works. In addition, by enabling a multi-line configuration, the channel capacity can be expanded as needed.

Claims (1)

종합정보통신망에서 ISDN단말기를 계층화된 프로토콜에 따라 망(Network)에 접속하기 위하여 계층 3을 구현하는 방법에 있어서, 수신된 프리미티브의 아이디와 링크 아이디를 판별하는 단계, 수신된 프리미티브가 단위 데이타 표시 프리미티브이면 수신된 단위 데이타 구조를 데이타 구조로 변환 후 데이타 표시 처리을 호출하는 단계, 데이타 표시(DL_UDA/DAT_IND) 프리미티브이면, 호참조번호가 지정하는 마이너 링크 아이디를 확인하고 수신된 메세지의 종류를 판별하는 단계, 마이너 링크가 0 또는 1이면 판별된 메세지의 종류에 따라 로칼 프로세스상에서 해당 메세지를 처리하는 단계; 전체호 참조번호이면 판별된 메세지 동류에 따라 공통 프로세스상에서 해당 메세지를 처리하는 단계; 및 해당 프리미티브의 버퍼를 해제하는 단계가 구비된 종합정보통신망(ISDN) 사용자-망 접속의 계층3에서 데이타 표시 프리미티브 처리방법.A method for implementing layer 3 to connect an ISDN terminal to a network according to a layered protocol in an integrated telecommunication network, the method comprising: determining an ID and a link ID of a received primitive, wherein the received primitive is a unit data display primitive; And converting the received unit data structure into a data structure and invoking the data display process. If the data display (DL_UDA / DAT_IND) primitive, checking the minor link ID designated by the call reference number and determining the type of the received message. Processing the corresponding message on a local process according to the type of the determined message when the minor link is 0 or 1; Processing the message on a common process according to the determined message similarity if the reference number is a whole number; And releasing the buffer of the primitive. The data presentation primitive processing method at Layer 3 of an ISDN user-network connection.
KR1019960026598A 1996-07-01 1996-07-01 Method for processing data indication primitives in layer 3 of isdn uni KR100221311B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960026598A KR100221311B1 (en) 1996-07-01 1996-07-01 Method for processing data indication primitives in layer 3 of isdn uni

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960026598A KR100221311B1 (en) 1996-07-01 1996-07-01 Method for processing data indication primitives in layer 3 of isdn uni

Publications (2)

Publication Number Publication Date
KR980013102A KR980013102A (en) 1998-04-30
KR100221311B1 true KR100221311B1 (en) 1999-09-15

Family

ID=19465255

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960026598A KR100221311B1 (en) 1996-07-01 1996-07-01 Method for processing data indication primitives in layer 3 of isdn uni

Country Status (1)

Country Link
KR (1) KR100221311B1 (en)

Also Published As

Publication number Publication date
KR980013102A (en) 1998-04-30

Similar Documents

Publication Publication Date Title
US6584094B2 (en) Techniques for providing telephonic communications over the internet
JP2001223793A (en) Message transfer part level-3 alias point code
US6393022B1 (en) Method and apparatus for integrated services digital network user part (ISUP) signaling loopback
KR100221311B1 (en) Method for processing data indication primitives in layer 3 of isdn uni
KR100219225B1 (en) Method for processing primitives in layer 3 of isdn uni
KR100219221B1 (en) Method for processing information request primitives in layer 3 of isdn uni
KR100219227B1 (en) Method for processing primitives in layer 3 of isdn uni
KR100219220B1 (en) Method for processing setup request primitives in layer 3 of isdn uni
KR100219223B1 (en) Method for processing primitives in layer 3 of isdn uni
KR100219222B1 (en) Method for processing primitives in gcr layer of isdn uni
KR100219224B1 (en) Method for processing primitives in layer 3 of isdn uni
KR100219226B1 (en) Method for processing primitives in layer 3 of isdn uni
JP2731007B2 (en) Circuit switching system
KR950014951B1 (en) Virtual b-channel packet call processing method in the ess
KR980013104A (en) How ISDN User-Network Connections Handle Primitives at Layer 3
KR980013114A (en) How ISDN User-Network Connections Handle Primitives at Layer 3
KR980013110A (en) How ISDN User-Network Connections Handle Primitives at Layer 3
KR980013113A (en) How ISDN User-Network Connections Handle Primitives at Layer 3
KR980013111A (en) How ISDN User-Network Connections Handle Primitives at Layer 3
KR100237473B1 (en) Method of establishing packet pvc's in n-isdn
JP2812767B2 (en) Packet terminal device and communication system
KR980013116A (en) How to handle primitives in the GCR layer of an ISDN user-network connection
JP3689036B2 (en) Private branch exchange
KR980013081A (en) How ISDN User-Network Connections Handle Primitives at Layer 3
KR980013112A (en) How ISDN User-Network Connections Handle Primitives at Layer 3

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

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee