KR950010941B1 - S-interface card for isdn and method thereof - Google Patents
S-interface card for isdn and method thereof Download PDFInfo
- Publication number
- KR950010941B1 KR950010941B1 KR1019930013966A KR930013966A KR950010941B1 KR 950010941 B1 KR950010941 B1 KR 950010941B1 KR 1019930013966 A KR1019930013966 A KR 1019930013966A KR 930013966 A KR930013966 A KR 930013966A KR 950010941 B1 KR950010941 B1 KR 950010941B1
- Authority
- KR
- South Korea
- Prior art keywords
- message
- module
- layer
- card
- data
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Communication Control (AREA)
Abstract
Description
제 1 도는 본 발명에 따른 ISDN용 PC S 인터페이스 카드의 전체 기능 블럭도.1 is an overall functional block diagram of a PC S interface card for ISDN according to the present invention.
제 2 도는 본 발명에 따른 ISDN용 PC S 인터페이스 카드의 소프트웨어 기능 블럭도.2 is a software functional block diagram of a PC S interface card for ISDN according to the present invention.
제 3 도는 본 발명에 따른 PC S 인터페이스 카드의 운용 방법에 대한 전체 처리 흐름도.3 is a flowchart of the overall processing of the operating method of the PC S interface card according to the present invention.
제 4 도는 본 발명에 따른 호제어 계층모듈 처리루틴 흐름도.4 is a flowchart illustrating a call control layer module processing routine according to the present invention.
제 5 도는 본 발명에 따른 응용프로그램모듈 처리루틴 흐름도.5 is a flowchart of an application program module processing routine according to the present invention.
제 6 도는 본 발명에 따른 S카드와 PC 간 통신모듈 처리루틴 흐름도.6 is a flowchart of a communication module processing routine between an S card and a PC according to the present invention.
제 7 도는 본 발명에 따른 계층 3 모듈 처리루틴 흐름도.7 is a flow diagram of a layer 3 module processing routine in accordance with the present invention.
제 8 도는 본 발명에 따른 관리모듈 처리루틴 흐름도.8 is a flowchart of a management module processing routine according to the present invention.
제 9 도는 본 발명에 따른 계층 2 모듈 처리루틴 흐름도.9 is a flowchart of a layer 2 module processing routine according to the present invention.
제10도는 본 발명에 따른 계층 1 모듈 처리루틴 흐름도.10 is a flow diagram of a layer 1 module processing routine according to the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
11 : 호제어계층 및 PC 응용프로그램부11: call control layer and PC application program unit
12 : S카드 인터페이스부 13 : DPRAM PC 인터페이스부12: S card interface unit 13: DPRAM PC interface unit
14 : B채널 통신부 15 : 오디오 인터페이스부14: B channel communication unit 15: audio interface unit
16 : 라인 인터페이스부 17 : 시스템 제어부16: line interface unit 17: system control unit
본 발명은 범용 IBM 호환용 개인용 컴퓨터 확장슬롯에 장착되어 ISDN S 인터페이스 접속을 수행하는 ISDN용 S 인터페이스 카드 및 그 운용 방법에 관한 것이다.The present invention relates to an ISDN S interface card mounted in a general-purpose IBM compatible personal computer expansion slot for performing ISDN S interface access, and a method of operating the same.
종래의 ISDN용 PC S 인터페이스 카드는 ISDN D 채널 프로토콜의 호제어 계층과 계층 3, 2, 1의 기능이 S 인터페이스 카드와 OC에 혼재되어 장착되었다. 따라서 호제어 계층이 S 인터페이스 카드에 장착된 경우에는 사용자가 필요한 정보의 액세스가 불가능할 뿐만 아니라, 사용자가 요청한 특정 메시지가 전달되지 않아 서비스의 융통성이 떨어지게 되며, 계층 3과 호제어 계층사이의 통신이 I/O 디바이스(PIO 또는 SIO)를 사용하므로 통신속도가 낮을 뿐만 아니라, 사용자가 동일한 PC I/O를 사용하고자 할 때 충돌로 인하여 사용이 곤란해지는 등의 문제점이 발생될 수 있다.In the conventional PC S interface card for ISDN, the call control layer and the functions of layers 3, 2, and 1 of the ISDN D channel protocol are mixed with the S interface card and the OC. Therefore, when the call control layer is mounted on the S interface card, not only the user cannot access the necessary information, but also the flexibility of the service is reduced because the specific message requested by the user is not delivered. Since I / O devices (PIO or SIO) are used, not only the communication speed is low, but also when the user wants to use the same PC I / O, problems such as difficulty in using due to a collision may occur.
따라서, 상기 문제점을 해결하기 위하여 안출된 본 발명은 IBM 호환기종인 개인용 컴퓨터를 이용하는 사용자에게 효율적인 ISDN S 인터페이스 접속을 가능하게 하고 호제어계층과 계층 3, 2, 1을 PC와 S 인터페이스 카드로 각각 분리하였고, PC의 특정 메모리 영역을 DPRAM(Dual Port RAM)으로 사용하여 PC와 S 인터페이스간의 통신을 수행하도록 ISDN용 인터페이스 카드 및 그 운용방법을 제공하는 것을 그 목적으로 한다.Therefore, the present invention devised to solve the above problems enables efficient ISDN S interface access for users using IBM-compatible personal computers, and call control layer and layer 3, 2, and 1 as PC and S interface cards, respectively. The purpose of the present invention is to provide an ISDN interface card and an operation method thereof to perform communication between a PC and an S interface by using a specific memory area of a PC as DPRAM (Dual Port RAM).
상기 목적을 달성하기 위하여 본 발명은, 호제어계층 프로그램, 사용자 인터페이스 사용자 응용프로그램으로 구성되는 호제어계층 및 PC 응용프로그램수단, 상기 호제어계층 및 PC 응용 프로그램수단에 연결되고 PC 버스, I/O, 메모리를 사용하여 상기 호제어계층 및 PC 응용프로그램수단에서 요청/수신된 메시지와 데이타를 송수신하는 S카드 인터페이스수단, 상기 S카드 인터페이스수단에 연결되어 호제어 메시지와 계층3 메시지를 DPRAM을 통하여 송수신처리를 담당하는 D 채널 프로토콜 메시지처리 인터페이스를 위한 DPRAM OC 인터페이스수단, 상기 호제어 계층 및 PC 응용 프로그램수단에서 작성한 데이타를 상기 S카드 인터페이스수단을 경유하여 PC 버스를 통해 수신하여 필요한 처리를 한 후 송신하는 B 채널 통신수단, 상기 B 채널 통신수단에 연결되어 있으며, B 채널 선택기능 및 D 채널 데이타 송수신 기능, 기능/정지 처리, 100% AMI(Alternate Mark Inversion)부호처리, 클럭복구를 위한 DPLL(Digital Phase Locked Loop)처리, 프레임 재배열 및 복구하며 D 채널 제어(LAPD)를 위한 플래그(flag) 검출 및 발생, 제로(zero) 삽입 및 제거, 에러 검출을 위한 FCS(Frame Check Sequence)처리, D 채널 우선순위를 제어하는 라인 인터페이스수단, 상기 호제어계층 및 PC 응용프로그램수단에서 요청하거나 요청된 음성호설정이 완료된 후, 음성통화를 위한 인터페이스부로서 상기 라인 인터페이스수단과 접속되고 송수수화기가 연결되는 오디오 인터페이스수단, 상기 DPRAM PC 인터페이스수단, 라인인터페이스수단에 연결되어 각 부를 제어하고 D 채널 프로토콜 처리를 담당하여 ROM과 RAM에 프로그램이 저장되어 있으며 ISDN용 S 인터페이스 카드의 기능을 총괄 제어하는 시스템제어수단을 구비하여 종합 정보 통신망 에스(S) 인터페이스 카드를 구성한다.In order to achieve the above object, the present invention provides a call control layer program and a user interface user application program call control layer and PC application means, connected to the call control layer and PC application program means PC bus, I / O S card interface means for transmitting and receiving messages and data requested / received by the call control layer and PC application program means using a memory, and connected to the S card interface means to transmit and receive call control messages and layer 3 messages through DPRAM. DPRAM OC interface means for the D channel protocol message processing interface in charge of processing, the data created by the call control layer and PC application program means via the S card interface means via the PC bus to perform the necessary processing and then sent B channel communication means, connected to the B channel communication means B channel selection function and D channel data transmission / reception function, function / stop processing, 100% Alternate Mark Inversion (AMI) coding, Digital Phase Locked Loop (DPLL) processing for clock recovery, frame rearrangement and recovery, Flag detection and generation for control (LAPD), zero insertion and removal, frame check sequence (FCS) processing for error detection, line interface means for controlling D channel priority, the call control layer and After completion of the requested or requested voice call setup by the PC application program means, the audio interface means connected to the line interface means and connected to the handset is connected as the interface unit for voice call, the DPRAM PC interface means, and the line interface means. It controls each part and takes care of D channel protocol processing, so programs are stored in ROM and RAM, and functions of S interface card for ISDN By having a system control means for controlling a whole constitutes an integrated services digital network S (S) interface cards.
그리고, 상기의 구성에 대한 운용 방법으로는, 호제어계층에서 처리할 사건(event)가 발생하면 호제어계층모듈 처리루틴을 수행하는 제 1 단계, 상기 제 1 단계 수행 후, 응용프로그램처리모듈에서 처리할 사건이 발생하면 응용프로그램처리모듈처리루틴을 수행하는 제 2 단계, 상기 제 2 단계 수행 후, S카드와의 통신모듈에서 처리할 사건이 발생하면 PC부의 S카드 통신모듈 처리루틴을 수행하는 제 3 단계, 상기 제 3 단계 수행 후, PC와의 통신모듈에서 처리할 사건이 발생하면 PC 통신모듈 처리루틴을 수행하는 제 4 단계, 상기 제 4 단계 수행 후, 계층 3 모듈에서 처리할 사건이 발생하면 계층 3 모듈 처리루틴을 수행하는 제 5 단계, 상기 제 5 단계 수행 후, 관리모듈에서 처리할 사건이 발생하면 관리모듈 처리루틴을 수행하는 제 6 단계, 상기 제 6 단계 수행 후, 계층 2 모듈에서 처리할 사건이 발생하면 계층 2 모듈 처리루틴을 수행하는 제 7 단계, 상기 제 7 단계 수행 후, 계층 1 모듈에서 처리할 사건이 발생하면 계층 1 모듈 처리루틴을 수행하고 리턴하는 제 8 단계로 이루어진다.In addition, as an operation method for the above configuration, when an event to be processed in the call control layer occurs, a first step of performing a call control layer module processing routine, and after performing the first step, in an application program processing module A second step of executing an application program processing module processing routine when an event to be processed occurs, and performing an S card communication module processing routine of a PC unit when an event to be processed in a communication module with an S card occurs after performing the second step After performing the third step and the third step, if an event to be processed in the communication module with the PC occurs, the fourth step to perform the PC communication module processing routine, after performing the fourth step, an event to be processed in the layer 3 module occurs A fifth step of performing a layer 3 module processing routine; a sixth step of performing a management module processing routine if the event to be processed in the management module occurs after performing the fifth step; Thereafter, when an event to be processed in the layer 2 module occurs, the seventh step of executing the layer 2 module processing routine; after performing the seventh step, if an event to be processed in the layer 1 module occurs, the layer 1 module processing routine is returned and performed. The eighth step is made.
이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.
제 1 도는 본 발명에 따른 ISDN용 PC S 인터페이스 카드의 전체 기능 구성을 나타낸 블럭도로서, 11은 호제어계층 및 PC 응용프로그램부, 12는 S카드 인터페이스부, 13은 DPRAM PC 인터페이스부, 14는 B채널 통신부, 15는 오디오 인터페이스부, 16은 라인인터페이스부, 17은 시스템 제어부를 각각 나타낸다.1 is a block diagram showing the overall functional configuration of the ISDN PC S interface card according to the present invention, 11 is a call control layer and PC application program unit, 12 is an S card interface unit, 13 is a DPRAM PC interface unit, A B channel communication unit, 15 represents an audio interface unit, 16 represents a line interface unit, and 17 represents a system control unit.
도면에 도시한 바와 같이 S인터페이스 카드의 구성 및 작용은 아래와 같다.As shown in the figure, the configuration and operation of the S interface card are as follows.
호제어계층 및 PC 응용프로그램부(11)는 S카드 인터페이스부(12)에 연결되어 있으며 호제어계층 프로그램, 사용자 인터페이스 및 사용자 응용프로그램으로 구성되어 있다.The call control layer and the PC application program unit 11 are connected to the S card interface unit 12 and are composed of a call control layer program, a user interface, and a user application program.
S카드 인터페이스부(12)는 PC의 버스, I/O, 메모리를 사용하여 상기 호제어계층 및 PC 응용프로그램부(11)에서 요청되거나 수신된 메시지와 데이타를 DPRAM 인터페이스부(13)과 B 채널 통신붐(14)로 송수신 한다. 따라서, 호제어계층의 메시지는 호제어계층에서 작성하여 상기 S카드 인터페이스부(12)를 통하여 DPRAM PC 인터페이스부(13)로 전달되고, 상기 DPRAM PC 인터페이스부(13)에서 송수신된 호제어 메시지는 상기 S카드 인터페이스붐(12)를 통하여 호제어 계층에서 수신하여 필요한 처리를 한다.The S card interface unit 12 uses the PC bus, I / O, and memory to transfer messages and data requested or received from the call control layer and the PC application program unit 11 to the DPRAM interface unit 13 and the B channel. Send and receive to the communication boom (14). Therefore, the message of the call control layer is created in the call control layer and transferred to the DPRAM PC interface unit 13 through the S card interface unit 12, and the call control message transmitted and received by the DPRAM PC interface unit 13 is The call control layer receives the necessary processing through the S card interface boom 12.
PC 응용프로그램부(1)에서 사용자가 작성한 64Kbps의 데이타는 상기 S카드 인터페이스부(12)를 경유하여 PC 버스로 상기 B 채널 통신부(14)로 송신하고, 상기 B 채널통신부(14)에서 수신된 64Kbps의 데이타는 상기 S카드 인터페이스부(12)를 경유하여 상기 PC 응용프로그램부(11)로 전달된다.The 64 Kbps data created by the user in the PC application program unit 1 is transmitted to the B channel communication unit 14 by the PC bus via the S card interface unit 12, and received by the B channel communication unit 14. 64 Kbps of data is transmitted to the PC application program unit 11 via the S card interface unit 12.
DPRAM PC 인터페이스부(13)는 호제어 메시지와 계층3 메시지를 DPRAM을 통하여 송수신처리를 담당하는 D 채널 프로토콜 메시지 처리 인터페이스부로서, PC의 호제어메시지를 상기 DPRAM PC 인터페이스부(13)에서 수신하면 이를 계층3 처리를 담당하는 시스템제어부(17)로 전달하여 필요한 메시지 생성 및 송신토록 하며, 라인 인터페이스부(16)를 통하여 상기 시스템제어부(17)에서 전달한 호제어 메시지는 DPRAM PC 인터페이스부(13)를 통하여 PC의 상기 S카드 인터페이스부(12)로 전달하여 상기 호제어계층 및 PC 응용프로그램부(11)에서 처리하도록 한다. 송수신을 위한 DPRAM 영역은 송신, 수신 각각 512 바이트로 할당하여 분리하였다.The DPRAM PC interface unit 13 is a D-channel protocol message processing interface unit for transmitting / receiving call control messages and layer 3 messages through DPRAM. When the DPRAM PC interface unit 13 receives a call control message from the DPRAM PC interface unit 13, This is transmitted to the system control unit 17 in charge of layer 3 processing to generate and transmit a necessary message, and the call control message transmitted from the system control unit 17 through the line interface unit 16 is DPRAM PC interface unit 13. Through the S card interface unit 12 of the PC through the call control layer and the PC application program unit 11 to process. The DPRAM area for transmission and reception was divided into 512 bytes each for transmission and reception.
B 채널 통신부(14)는 64Kbps의 전송속도로 사용자가 작성한 데이타를 HDLC 형태로 송수신하는 기능을 담당한다. 상기 호제어계층 및 PC 응용프로그램부(11)에서 작성한 데이타는 상기 S카드 인터페이스부(12)를 경유하여 PC 버스를 통하여 상기 B 채널 통신부(14)에서 수신하여 필요한 처리를 한 후, 상기 라인인터페이스부(16)를 통하여 상대방에게 송신한다. 상대방에서 송신한 64Kbps의 데이타는 상기 라인 인터페이스부(16)를 통하여 상기 B 채널 통신부(14)에서 수신하여 필요한 처리를 한 후, 상기 라인 인터페이스부(16)를 통하여 상대방에게 송신한다. 상대방에서 송신한 64Kbps의 데이타는 상기 라인인터페이스부(16)를 통하여 상기 B 채널 통신부(14)로 도착한 후, 데이타의 오류 등을 파악하여 PC 버스를 통하여 상기 S카드 인터페이스부(12)를 경유하여 상기 호제어 계층 및 PC 응용프로그램부(11)로 전달하게 된다.The B channel communication unit 14 is responsible for transmitting and receiving data written by the user in HDLC form at a transmission rate of 64 Kbps. The data created by the call control layer and the PC application program unit 11 is received by the B channel communication unit 14 via the PC bus via the S card interface unit 12, and required processing is performed. It transmits to the other party through the part 16. The 64 Kbps data transmitted from the other party is received by the B channel communication unit 14 through the line interface unit 16 and necessary processing is then transmitted to the other party through the line interface unit 16. The 64Kbps data transmitted from the other party arrives at the B channel communication unit 14 through the line interface unit 16, and then catches an error of the data and passes the S card interface unit 12 via the PC bus. The call control layer and the PC application program unit 11 are transferred.
오디오 인터페이스부(15)는 상기 호제어계층 및 PC 응용프로그램부(11)에서 요청하거나 요청된 음성호설정이 완료된 후, 음성통화를 위한 인터페이스부로서 상기 라인 인터페이스부(6)와 접속되고 송수화기가 연결된다. 송수화기로부터 입력되는 아날로그 음성신호를 디지틀신호로 변환시켜 부호화한 다음 상기 라인 인터페이스부(16)로 송출하고, 상기 라인 인터페이스부(16)로부터 전달된 디지틀신호를 복호화하고 아날로그신호로 변환한 다음 수화기를 통해 출력하는 기능을 수행하고, 또한 음성통화에 필요한 다양한 톤(tone)을 발생시키는 기능을 갖는다.The audio interface unit 15 is connected to the line interface unit 6 as an interface unit for voice call after the call control layer and the PC application program unit 11 request or requested voice call setup is completed. Connected. The analog voice signal input from the handset is converted into a digital signal, encoded, and sent to the line interface unit 16. The digital signal transmitted from the line interface unit 16 is decoded and converted into an analog signal. It performs the function of outputting through, and also has the function of generating various tones (tone) required for voice calls.
상기 라인 인터페이스부(16)는 상기 시스템제어부(17), 상기 B 채널 통신부(14), 상기 오디오 인터페이스부(15)와 연결되어 있으며, B 채널 선택기능 및 D 채널 데이타 송수신 기능, 기능/정지(activation/deactivation)처리기능, 100% AMI(Alternate Mark Inversion)부호처리 기능, 클럭복구를 위한 DPLL(Digital Phase Locked Loop) 기능, 프레임 재배열 및 복구기능을 수행한다. 또한 D 채널 제어(LAPD)를 위한 플래그(flag) 검출 및 발생, 제로(zero) 삽입 및 제거, 에러 검출을 위한 FCS(Frame Check Sequence)처리, D 채널 우선순위 제어기능을 수행한다.The line interface unit 16 is connected to the system control unit 17, the B channel communication unit 14, and the audio interface unit 15, and has a B channel selection function, a D channel data transmission / reception function, a function / stop ( It performs activation / deactivation processing, 100% Alternate Mark Inversion (AMI) encoding processing, Digital Phase Locked Loop (DPLL) function for clock recovery, and frame rearrangement and recovery. In addition, it performs flag detection and generation for D-channel control (LAPD), zero insertion and removal, frame check sequence (FCS) processing for error detection, and D channel priority control.
상기 시스템제어부(17)는 DPRAM PC 인터페이스부(13), 라인인터페이스부(16)와 연결되어 각 부를 제어하는 기능과, D 채널 프로토콜 처리를 담당하는 기능으로 구성되어 ROM과 RAM(18)에 프로그램이 저장되어 있으며 ISDN용 S 인터페이스 카드의 기능을 총괄 제어하는 기능을 담당한다. 상기 호제어계층 및 PC 응용프로그램부(11)에서 작성한 D 채널 프로토콜에 관련된 메시지는 상기 DPRAM PC 인터페이스부(13)에서 수신하면 상기 시스템제어부(17)에서 해석하여 제 2 도의 계층 3 모듈, 계층 1 모듈등의 B 채널 프로토콜을 수행하여 상기 라인 인터페이스부(16)로 송출토록 한다. 또한, 상기 라인 인터페이스부(16)에서 수신된 D 채널 메시지는 상기 시스템제어부(17)에서 해석하여 제 2 도를 통해 계층1, 계층2, 계층3 등의 D 채널 프로토콜 처리를 한 후 필요시에 상기 DPRAM PC 인터페이스부(13)를 통하여 호제어 메시지를 전달한다.The system controller 17 is connected to the DPRAM PC interface unit 13 and the line interface unit 16 to control each unit, and is responsible for D channel protocol processing. It is stored and is in charge of controlling the functions of the S interface card for ISDN. The message related to the D channel protocol created by the call control layer and the PC application program unit 11 is interpreted by the system controller 17 when received by the DPRAM PC interface unit 13, and the layer 3 module and layer 1 of FIG. A B channel protocol such as a module is performed to be transmitted to the line interface unit 16. In addition, the D channel message received by the line interface unit 16 is interpreted by the system controller 17 to perform D channel protocol processing such as layer 1, layer 2, layer 3, and the like through FIG. The call control message is transmitted through the DPRAM PC interface unit 13.
제 2 도는 본 발명에 따른 ISDN용 PC S 인터페이스 카드의 소프트웨어 기능블럭도로서, 호제어계층 모듈(21), 응용프로그램모듈(23), S카드와 PC간 통신 모듈(23), 계층 3 모듈(24), 관리모듈(25), 계층 2 모듈(26), 계층 1 모듈(27)로 구성되어 있다.2 is a software functional block diagram of the PC S interface card for ISDN according to the present invention. The call control layer module 21, the application program module 23, the communication module 23 between the S card and the PC, and the layer 3 module ( 24), the management module 25, the layer 2 module 26, and the layer 1 module 27 are comprised.
호제어계층 모듈(21)은 PC에 탑재되어 사용자 인터페이스와 호제어기능을 처리하는 역할을 담당한다. 사용자 인터페이스에는 사용자가 원하는 서비스를 선택하고 상대측 전화번호를 입력하는 기능 및 착신호를 사용자에게 알려 응답하는 기능을 수행한다.The call control layer module 21 is mounted on a PC and serves to process a user interface and a call control function. The user interface performs a function of selecting a service desired by the user, inputting a counterpart phone number, and notifying and responding to an incoming call.
발신호의 경우는 상기 호제어계층 모듈(21)에서 상대방전화번호 및 해당 서비스에 관련된 호 설정에 필요한 정보를 작성하여 S카드와 PC간 통신 모듈에 전달하는 기능을 수행한다. 또한, 호의 진행에 관련된 메시지들이 S카드와 PC간 통신 모듈을 통하여 S카드 및 PC의 호제어계층으로 전달하게 되어 호진행에 관련된 정보가 사용자에게 전달된다. 그리고, 착신호의 경우에는 발신측의 전화번호나 착신호의 서비스에 관련된 내용을 사용자에게 전달하여 응답하거나 거부하게 된다.In the case of an outgoing call, the call control layer module 21 prepares a counterpart phone number and information necessary for call setup related to a corresponding service, and transmits the information to the communication module between the S card and the PC. In addition, messages related to the progress of the call are transmitted to the call control layer of the S card and the PC through the communication module between the S card and the PC, so that information related to the call progress is transmitted to the user. In the case of an incoming call, the telephone number of the calling party or the contents related to the service of the incoming call are transmitted to the user to answer or reject the call.
응용프로그램 모듈(22)에서 해당 서비스에 대한 호설정이 완료된 후 해당 서비스의 응용프로그램이 동작되는 모듈이다. 상기 응용프로그램 모듈(22)에서는 해당 서비스를 위한 프로토콜 및 환경 설정 뿐만 아니라, 64Kbps의 데이타 송수신은 계층 3, 2, 1 관리 모듈과 별도로 상기 제 1 도의 B 채널 통신부(14)로 직접 접속된다.After the call setup for the service is completed in the application program module 22, the application program of the service is operated. In the application module 22, as well as the protocol and environment setting for the service, 64Kbps data transmission and reception are directly connected to the B channel communication unit 14 of FIG. 1 separately from the layer 3, 2, and 1 management modules.
S카드와 PC간 통신모듈(23)에서는 DPRAM을 통하여 호제어 관련 메시지가 상기 호제어계층 모듈(24)간에 통신이 이루어진다. 호제어계층 모듈(21)에서는 호제어에 필요한 정보를 일정한 형식을 갖춰 상기 S카드와 PC간 통신모듈(23)을 통하여 계층 3 으로 전달하게 되고, 계층 3 에서는 호제어에 관련된 정보를 일정한 형식을 갖춰 S카드와 PC 간 통신모듈(23)을 통하여 계층 3 으로 전달하게 된다.In the communication module 23 between the S card and the PC, call control related messages are communicated between the call control layer modules 24 through the DPRAM. In the call control layer module 21, the information necessary for call control has a certain format and is transmitted to the layer 3 through the communication module 23 between the S card and the PC. Equipped with the communication module 23 between the S card and the PC to transfer to layer 3.
계층 3 모듈(24)에서는 S카드와 PC간 통신모듈(23)에서 전달받은 메시지를 이용하여 계층3 메시지 생성기능을 수행하고, 계층 2 모듈(26)로 부터 전달받은 정보프레임을 분석하여 해당하는 처리를 하고 필요시 상기 호제어계층(21)에서 정의한 형태로 S카드와 PC간 통신모듈(23)을 통하여 데이타를 통하여 데이타를 전달하는 기능을 수행한다.The layer 3 module 24 performs a layer 3 message generation function using the message received from the communication module 23 between the S card and the PC, analyzes the information frame received from the layer 2 module 26, and corresponds to the corresponding message. It performs processing and transfers the data through the data through the communication module 23 between the S card and the PC in the form defined in the call control layer 21, if necessary.
관리모듈(25)에서는 계층 1 모듈(27)에서 계층 1 의 고장, 계층 2 모듈(22)에서 계층2 링크의 고장 등 D 채널 프로토콜상 관리 기능을 수행한다.The management module 25 performs management functions on the D channel protocol such as failure of layer 1 in the layer 1 module 27 and failure of layer 2 link in the layer 2 module 22.
계층 2 모듈(26)에서는 D 채널 계층 2 의 처리절차(LAPD)를 수행한다. 상기 계층 3 모듈(24)에서 생성된 메시지에 SAPI, TEI, 순서번호 및 CRC추가하여 LAPD 프레임을 구성하여 상기 계층 1 모듈(27)로 전달하고, 계층 1 모듈(27)에서 전달받은 프레임을 분석하여 계층2 자체의 링크제어 기능을 처리하는 기능을 수행하고 필요시 계층 3 모듈(24) 및 모듈(25)에 데이타를 전달하고, 계층2 링크의 고장등을 계층 3 에게 알릴 뿐만 아니라 이상 상태시 상기 관리모듈(25)에 이를 전달하는 기능을 수행한다.The layer 2 module 26 performs a process procedure (LAPD) of the D channel layer 2. SAPI, TEI, sequence number, and CRC are added to the message generated by the layer 3 module 24 to form a LAPD frame and transmitted to the layer 1 module 27, and the frame received from the layer 1 module 27 is analyzed. It performs the function of processing the link control function of the layer 2 itself, transfers data to the layer 3 module 24 and the module 25 if necessary, notifies the layer 3 of the failure of the layer 2 link, etc. The management module 25 performs the function of delivering it.
상기 계층 1 모듈(27)에서는 계층 2 모듈(26)에서 요구한 데이타를 송신하고, 수신한 데이타를 계층 2 모듈(26)로 전달할 뿐만 아니라, 계층 1 의 고장등을 계층 2 모듈(22)로 알리는 기능을 수행한다.The layer 1 module 27 transmits data requested by the layer 2 module 26, not only transfers the received data to the layer 2 module 26, but also transmits failures of the layer 1 to the layer 2 module 22. Notify function.
제 3 도는 본 발명에 따른 PC S 인터페이스 카드의 전체 흐름도이다.3 is an overall flowchart of a PC S interface card according to the present invention.
호제어계층에서 처리할 사건(event)가 발생하면(31) 호제어계층모듈 처리루틴을 수행한다. 사용자가 키보드를 누른다거나 S카드 통신모듈에서 S카드로 부터 수신된 메시지를 처리요청한 경우에 호제어계층에서 수행할 사건이 발생하게 된다(32).When an event to be processed in the call control layer occurs (31), the call control layer module processing routine is performed. When the user presses a keyboard or requests the S card communication module to process a message received from the S card, an event to be performed in the call control layer occurs (32).
응용프로그램처리모듈에서 처리할 사건이 발생하면(33)의 응용프로그램처리모듈루틴을 수행한다. 데이타호의 설정이 완료된 경우에 발샌측, 수신측은 각각 응용프로그램에서 수행할 사건을 발생하고, 이후에는 각각 송신, 수신된 메시지에 따라 응용프로그램에서 수행할 사건이 발생하게 된다(34).When an event to be processed in the application program module occurs, the application program module routine of step 33 is performed. When the setup of the data call is completed, the sender and receiver each generate an event to be executed in the application program, and then an event to be executed in the application program according to the transmitted and received messages respectively (34).
S카드와 통신모듈에서 처리할 사건이 발생하면(35) PC부의 S카드 통신모듈 처리루틴을 수행한다. 호제어계층에서 S카드로 송신할 메시지를 요청하거나, S카드로부터 수신된 데이타가 있음을 인지하면 S카드와의 통신모듈에서 수행할 사건이 발생한다(36).When an event to be processed in the S card and the communication module occurs (35), the S card communication module processing routine of the PC unit is performed. When the call control layer requests a message to be transmitted to the S card or recognizes that there is data received from the S card, an event to be performed in the communication module with the S card occurs (36).
PC와의 통신모듈에서 처리할 사건이 발생하면(37) PC 통신모듈 처리루틴을 수행한다. 계층 3 모듈에서 PC로 송신할 데이타를 요청하거나, PC에서 수신된 데이타가 있음을 인지하여 PC와의 통신모듈에서 수행할 사건이 발생한다(38).When an event to be processed in the communication module with the PC occurs (37), the PC communication module processing routine is executed. An event to be performed in the communication module with the PC occurs by requesting data to be transmitted from the Layer 3 module to the PC or by recognizing that there is data received from the PC (38).
계층 3 모듈에서 처리할 사건이 발생하면(39) 계층모듈 3 처리루틴을 수행한다. PC와의 통신모듈에서 PC로부터 수신된 메시지를 처리 요청한 경우와 계층 2 모듈에서 처리요청한 메시지에 의해, 또는 계층 3 모듈에 관련된 타이머가 종료되었을 때 계층 3 모듈에서 수행할 사건이 발생한다(40).When an event to be processed in the layer 3 module occurs (39), the layer module 3 processing routine is executed. When the communication module with the PC processes the message received from the PC and the message requested by the layer 2 module or when the timer related to the layer 3 module expires, an event to be performed in the layer 3 module occurs (40).
관리모듈에서 처리할 사건이 발생하면(41) 관리모듈 처리루틴을 수행한다. 계층 2 모듈에서 처리요청한 메시지와 관리모듈에 관련된 타이머가 종료되었을 때에 관리 모듈에서 수행할 사건이 발생한다(42).When an event to be processed in the management module occurs (41), the management module processing routine is performed. When the message requested for processing in the layer 2 module and the timer related to the management module expire, an event to be performed in the management module occurs (42).
계층 2 모듈에서 처리할 사건이 발생하면(43) 계층 2 모듈 처리루틴을 수행한다. 계층 1 모듈과 관리모듈 및 계층 3 모듈에서 처리요청한 메시지와 계층 2 모듈에 관련된 타이머가 종료되었을때에 계층 2 모듈에서 수행할 사건이 발생한다(44).When an event to be processed in the layer 2 module occurs (43), the layer 2 module processing routine is performed. When the message requested by the layer 1 module, the management module, and the layer 3 module and the timer related to the layer 2 module expire, an event to be performed in the layer 2 module occurs (44).
계층 1 모듈에서 처리할 사건이 발생하면(45) 계층 1 모듈 처리루틴을 수행한다. 계층 2 모듈에서 송신요청한 데이타가 있거나, 라인인터페이스부에서 수신한 데이타가 있거나, 계층1 관련 타이머가 종료되었을 때에 계층 1 모듈에서 수행할 사건이 발생한다(46).When an event to be processed in the layer 1 module occurs (45), the layer 1 module processing routine is performed. When there is data requested to be transmitted by the layer 2 module, data received by the line interface unit, or when the layer 1 related timer expires, an event to be performed by the layer 1 module occurs (46).
모든 루틴은 처리가 끝난 후 리턴한다.All routines return after processing.
제 4 도의 제4(a)도는 제 3 도의 호제어계층모듈 처리루틴 흐름도를 도시하였다.4 (a) of FIG. 4 shows a flow chart of the call control layer module processing routine of FIG.
사용자가 키보드를 누르면(47) 이를 해석하여 특정서비스를 요청한 키값이면 특정서비스에 필요한 조치를 하게된다(49). 키를 누르기 않았으면, S카드로 부터 메시지를 수신하였는 가를 조사하여(48) 수신된 메시지를 처리하고(50) 다음 단계로 천이한다.When the user presses the keyboard (47), the user interprets this, and if a key value is requested for the specific service, an action necessary for the specific service is performed (49). If no key is pressed, it checks whether a message has been received from the S card (48), processes the received message (50), and then proceeds to the next step.
제4(b)도는 제4(a)도의 키처리루틴(49)의 상세 흐름도이다. 키 처리루틴이 시작되면(51) 키값을 해석하여(52) 특정 서비스를 요청하는 값인가를 조사한다.(53).4 (b) is a detailed flowchart of the key processing routine 49 of FIG. 4 (a). When the key processing routine starts (51), the key value is interpreted (52) to check whether it is a value requesting a specific service (53).
상기 조사(53) 결과 호설정을 위한 특정서비스를 요청한 경우에는 필요 파라메타를 정의, 자원 초기와 및 필요시 호설정 메시지구성에 반영한다(예, 전화서비스를 요청하는 키값이면 전달능력을 음성(speech), 상위계층호환성에 전화임이 표시되도록 하고, 원격감시 시스템이면 전달능력은 비제한 디지틀(unrestricted digital), 상위계층 호환성은 예비로 할당된 값을 사용하여 원격감시 시스템이 표시되도록 한다. 음성신호의 절단을 위한 서비스 요청 키값이면 절단메시지를 구성하여 S카드로 메시지 송신요청을 한다. 또한 종료를 원하는 키값이면 PC S 인터페이스카드의 수행을 종료한다(54). 특정 서비스 요청값이 아이면 착신호의 응답신호인가를 조사한다(55). 만일 착신호에 대한 응답하는 키값이면 응답메시지를 구성하여 S카드로 메시지 송신요청을 한다(56). 착힌호에 대한 응답키값이 아니면 전화번호인가를 조사하여(57), 전화번호에 해당하는 키값이면 전화번호를 저장한 후(58), 전화번호 끝을 알리는 키값(return 키)을 받으면 저장된 전화번호와 특정서비스에서 정의된 파라메타를 이용하여 호설정메시지를 구성하여(60) S카드로 메시지 송신요청을 하게 된다(61).As a result of the survey 53, when a specific service for call setup is requested, the necessary parameters are defined and reflected in the initial resource and if necessary call setup message configuration (e.g., a key value for requesting a telephone service is voiced. In case of a remote monitoring system, unrestricted digital transmission capability and upper layer compatibility allow the remote monitoring system to be displayed using a pre-assigned value. If the service request key value for disconnection is configured, a message is sent to the S card by requesting a disconnect message, and if the desired key value is terminated, the execution of the PC S interface card is terminated (54). Investigate whether the signal is received (55) If the key value responds to the incoming call, construct a response message and request a message to be sent to the S card (5). 6) If it is not the answer key value for the incoming call, check whether it is a phone number (57), if it is a key value corresponding to the phone number, save the phone number (58), and when it receives a key value (return key) indicating the end of the phone number, The call setup message is constructed using the stored phone number and the parameters defined in the specific service (60), and a message transmission request is sent to the S card (61).
제4(c)도는 제4(a)도의 수신메시지 처리루틴이다. S카드로부터 수신된 메시지가 있는 경우는(62) 프리미티브를 해석하여 필요한 처리를 한다(64). 만일 프리미티브가 호설정메시지를 수시난 경우에는(64) 호절성메시지를 해석하여(66) 유효한지 여부를 검증하고(67) 필요한 정보를 저장(예, 채널번호)한 후 사용자에게 호출음(ring tone)을 발생, 제공하고 호출메시지를 구성하여 S카드로 메시지 송신요청을 하게되고 만일 호설정 메시지가 유효한 메시지가 아니면 무시한다(68).4 (c) is a received message processing routine of FIG. 4 (a). If there is a message received from the S card (62), the primitive is interpreted and necessary processing is performed (64). If the primitive receives a call establishment message (64), it interprets the affirmation message (66), verifies whether it is valid (67) stores the necessary information (e.g. channel number), and then gives the user a ring tone. Generate and provide a call message, request a message to be sent to the S card, and ignore the call setup message if it is not a valid message (68).
S카드로부터 수신된 메시지가 호설정이외의 프리미티브인 경우에는(64) 해당 프리미티브를 해석하여 필요한 처리를 하게된다.(예, 전화의 절단메시지를 수신한 경우에는 사용자에게 신호음(busy tone)을 발생시켜 호가 절단되었음을 알린다(65).If the message received from the S card is a primitive other than call setup (64), the corresponding primitive is interpreted and necessary processing is performed (e.g., a busy tone is generated to the user when receiving a disconnect message of the telephone). To indicate that the arc has been cut (65).
제 5 도는 응용프로그램모듈 처리루틴 흐름도를 도시하였다.5 shows an application program module processing routine flow chart.
응용프로그램모듈의 처리루틴이 시작되면 해당서비스의 호가 접속되었는가를 조사한다(71). 해당서비스의 데이타호가 통신중 상태(Active)인 경우에는 해당서비스관련 송수신 데이타를 처리하게 되는데, (여기에서 해당 서비스란 데이타호에 설정된 사용자 응용프로그램으로 예를 들면 텔리라이팅, TV 전화, 화일, 전송, 원격감지시스템, 원격 DB 검색, 정지화전송, 사진전송 등이 있다. 해당서비스의 송신 데이타가 있는 경우에는 데이타가 위치한 주소와 데이타의 길이를 B채널 통신부(제 1 도의 (14))로 전송하게 되고 B 채널 통신부(제 1 도의 (14))에서 수신된 데이타가 있는 경우에는 수신데이타와 그 길이를 인계받아 해당서비스에서 수신데이타를 처리하게 된다(72 내지 75). 또한 해당서비스 관련 타이머가 종료되었는가를 조사하여(76) 종료된 경우에는 타이머의 식별자를 해당서비스에 인계하여 해당서비스에서 타이머종료 관련 처리를 하게(77)하고 S카드와 PC간 통신모듈 처리루틴으로 간다.When the processing routine of the application program module is started, it is checked whether the call of the corresponding service is connected (71). If the data call of the service is active, it will process the transmission / reception data related to the service (where the service is a user application set for the data call, for example, telewriting, TV phone, file, transmission). , Remote sensing system, remote DB search, still picture transmission, picture transmission, etc. If there is transmission data of the corresponding service, it transmits the address where the data is located and the length of the data to the B channel communication unit ((14) in FIG. 1). If there is data received from the B channel communication unit (14 in Fig. 1), the received data and its length are taken over and the received data is processed by the corresponding service (72 to 75). If it is terminated (76), if it is terminated, the identifier of the timer is transferred to the service, and the service related to the timer termination is performed (77). S between the card and the PC goes into a communication processing module routine.
제 6 도에서는 S카드와 PC간 통신모듈 처리루틴 흐름도를 도시하였다.6 shows a flow chart of the communication module processing routine between the S card and the PC.
S 카드와 PC간 통신모듈 처리루틴을 PC에 존재하는 S 카드 통신모듈 처리루틴과 S 카드에 존재하는 PC 통신모듈 처리루틴으로 구성된다.The communication module processing routine between the S card and the PC is composed of the S card communication module processing routine existing in the PC and the PC communication module processing routine existing in the S card.
S 카드 통신모듈 처리루틴은 PC에서 S 카드와의 송수신 관련 처리를 행하고, PC 통신모듈 처리루틴은 S 카드에서 PC와의 송수신 관련 처리를 한다.The S card communication module processing routine performs processing related to transmission and reception with the S card at the PC, and the PC communication module processing routine performs processing related to transmission and reception with the PC at the S card.
S 카드 통신모듈에서 S 카드 카드로 메시지 송신요청을 접소하면(81) 인계받은 메시지를 DPRAM으로 송신하고(82) S 카드로부터 수신된 데이타가 있으면(83) 데이타를 수신하여 S카드로부터 데이타를 수신하였음을 호제어계층 처리모듈에게 알린다(84). PC 통신모듈에서 PC로 메시지 송신요청을 접수하면(85) 인계받은 메시지를 DPRAM으로 송신하고(86) PC로 부터 수신된 데이타가 있으면(87) 데이타를 수신하여 PC로 부터 데이타를 수신하였음을 계층3 처리모듈에게 알리고 계층3 처리모듈로 간다(88).When the S card communication module closes the request for sending a message to the S card (81), it transmits the received message to the DPRAM (82). If there is data received from the S card (83), the data is received and the data is received from the S card. The call control layer processing module is notified to the call control layer processing module (84). When the PC communication module receives the message transmission request from the PC (85), the received message is transmitted to the DPRAM (86). If there is data received from the PC (87), the data is received from the PC. 3 Notify processing module and go to layer 3 processing module (88).
제 7 도에는 계층 3 모듈 처리루틴의 흐름도를 도시하였다.7 shows a flow diagram of a layer 3 module processing routine.
계층 3 모듈에서는 Q.931에 따른 네트웍계층을 담당한다. PC로부터 수신된 메시지가 있으면 프리미티브를 해석하고 해당 프리미티브에 따른 메시지 적합유무와 메시지에 포함된 정보를 이용하여 해당상태에서 처리하게 된다.Layer 3 modules are responsible for the network layer according to Q.931. If there is a message received from the PC, the primitive is interpreted and processed based on the message's suitability according to the primitive and the information contained in the message.
PC로 부터 수신된 메시지가 해당상태에서 유효한 호절성메시지이면(91) 호설정메시지에 포함된 정보(전단능력, 착신번호, 착신부번호, 발신부번호, 상위계층호환성)를 이용하여 Q.931의 호절정메시지를 구성하고, 계층 2 의 데이타링크 설정요구 프리미티브를 사용하여 계층2 처리모듈에게 데이타링크의 설정을 요구한다(92, 94, 95).If the message received from the PC is a valid call message in the state (91) Q.931 using the information contained in the call setup message (shearing capacity, called number, called party number, calling party number, upper layer compatibility). A call-establishment message is constructed and a data link setup request primitive of layer 2 is used to request the data link setup from the layer 2 processing module (92, 94, 95).
계층 2 모듈로 부터 수신된 메시지가 있으면 프리미티브를 해석하고 해당 프리미티브에 따른 메시지 적합 유무와 메시지에 포함된 필요정보를 이용하여 해당상태에서 처리하게 된다(93, 94, 95). (예를 들어 계층 2 로 부터 수신된 메시지가 데이타 링크 설정 확인(DL-ESTABLISH-CONFIRM) 프리미티브인 경우에는 계층2 처리모듈로 데이타링크 데이타 요구(DL-DATA-REQUEST)프리미티브를 사용하여 상기의 Q.931 호설정메시지를 전달하고 타이머 T303을 동작시킨다. 또한 계층 2 로부터 수신된 메시지가 데이타링크 데이타 표시(DL-DATA-INDICATION) 프리미티브인 경우에는 메시지를 분석하여 해당상태에서 이를 처리한다. 예를 들어 메시지가 호진행(CALLPRO Ceeding)인 경우에는 타이머 T303을 정지시키고, PC의 호처리 계층모듈(제 4 도)로 호진행표시 프리미티브를 사용하여 PC로 메시지 송신요청을 한다.If there is a message received from the layer 2 module, the primitive is interpreted and processed in the state using the message conformance according to the primitive and the necessary information included in the message (93, 94, 95). (For example, if a message received from Layer 2 is a Data Link Setup Confirmation (DL-ESTABLISH-CONFIRM) primitive, the Q above may be performed using the Data Link Data Request (DL-DATA-REQUEST) primitive to the Layer 2 processing module.) .931 Forward call setup messages and run timer T303. If the message received from layer 2 is a data-link data indication (DL-DATA-INDICATION) primitive, the message is analyzed and processed in its state. For example, if the message is call progress (CALLPRO Ceeding), the timer T303 is stopped, and the call processing layer module (FIG. 4) of the PC requests a message transmission to the PC using the call progress indication primitive.
계층 3 관련 타이머가 종료된 경우에는 타이머 식별자를 해당상태에 인계하여 타이머종료관련 처리를 하게된다(93, 94, 95). (예를 들면 발신호 상태(call initiate)에서 첫번째 T303 타이머 식별자를 인계받은 경우에는 호설정메시지를 다시 계층 2 로 전송하고 T303을 다시 동작시킨다.When the layer 3 related timer is expired, the timer identifier is transferred to the corresponding state to perform timer termination related processing (93, 94, 95). (For example, when the first T303 timer identifier is taken over in a call initiate state, the call setup message is transmitted to layer 2 again, and T303 is operated again.
제 8 도에는 관리모듈 처리루틴의 흐름도를 도시하였다.8 shows a flowchart of the management module processing routine.
관리모듈에서는 TEI(단말종단점 식별자 : Terminal Endpoint Identifier) 관련처리(TEI 할당, TEI 확인, TEI 검사, TEI 제거절차)를 담당한다.The management module is responsible for TEI (Terminal Endpoint Identifier) related processing (TEI allocation, TEI verification, TEI inspection, TEI removal procedure).
관리모듈에서 처리할 메시지가 있으며(101) 프리미티브를 해석하여(103) 해당상태에서 처리하게 된다(104).There is a message to be processed in the management module (101), the primitive is interpreted (103) and processed in the corresponding state (104).
관리모듈에서 처리할 메시지의 프리미티브가 TEI 할당에 표시(MDL-ASSIGN INDCATION)이면 TEI 할당요청메시지를 작성, TEI 할당요청(MDL-ASSIGN-REQUEST)프리미티브를 사용하여 계층 2 모듈로 전달하고 타이머 T303를 동작시킨다.If the primitive of the message to be handled by the Management Module is MDL-ASSIGN INDCATION, create a TEI Assignment Request message and use the TEI Assignment Request (MDL-ASSIGN-REQUEST) primitive to send to the Layer 2 module and send the timer T303. Operate.
관리모듈관련 타이머가 종료된 경우에는(102) 타이머의 식별자를 해당상태에 인계하여 타이머종료관련 처리를 하게된다.(103, 104). 예를들면 TEI 요청 상태에서 첫번째 T202 타이머 식별자를 인계받은 경우에는 TEI 할당요청메시지를 계층 2 모듈로 다시 전달하고 T202를 동작시킨다.When the management module related timer expires (102), the identifier of the timer is transferred to the corresponding state to perform the timer termination related processing (103, 104). For example, when the first T202 timer identifier is taken over in the TEI request state, the TEI allocation request message is transferred back to the layer 2 module and the T202 is operated.
제 9 도에는 계층 2 모듈 처리루틴의 흐름도를 도시하였다.9 shows a flow diagram of a layer 2 module processing routine.
계층 2 모듈에서는 Q.921에 따른 데이타링크 계층의 처리를 담당한다.Layer 2 modules are responsible for the processing of the datalink layer in accordance with Q.921.
계층 2 모듈에서 처리할 메시지가 있으면(111) 프리미티브를 해석하여 해당상태에서 처리하게 된다(113, 114).If there is a message to be processed in the layer 2 module (111), the primitive is interpreted and processed in the corresponding state (113, 114).
계층 2 모듈에서 처리할 메시지의 프리미티브가 데이타링크 설정요구라면 데이타링크 설정메시지(SABME)를 구성하여 계층1 데이타 요구 프리미티브(PH-DATA-REQUEST)로서 계층 1 모듈로 전달하고 타이머 T200을 동작시킨다.If the primitive of the message to be processed in the layer 2 module is a data link establishment request, a data link establishment message (SABME) is constructed and transmitted as a layer 1 data request primitive (PH-DATA-REQUEST) to the layer 1 module and the timer T200 is operated.
처리할 프리미티브가 데이타링크 데이타 요구이면 계층 3 모듈에서 인계받은 메시지에 데이타링크에서 필요한 SAPI, TEI, 순서번호 등의 헤더를 부착하여 계층2 메시지를 구성한 후, 계층1 데이타 요구 프리미티브(PH-DATA-REQUEST)로서 계층 1 모듈로 전달하고 타이머 T200을 동작시킨다.If the primitive to be processed is a data link data request, a layer 2 message is formed by attaching headers such as SAPI, TEI, and sequence number necessary for the data link to a message transferred from the layer 3 module, and then a layer 1 data request primitive (PH-DATA-). REQUEST) to the layer 1 module and activate timer T200.
만일 처리할 프리미티브가 계층1 데이타 표시(PH-DATA-INDICATION)이면 메시지를 해석하여 해당상태에서 필요한 처리를 한다. 링크설정대기상태에서 수신된 메시지가 비번호확인(UA)이라면 순서번호등을 초기화하고 동작중인 타이머 T200을 정지시키고 계층 3 모듈에게 데이타링크 설정확인(DL-ESTABLISH-CONFIRM)프리미티브로 이를 통지한다. 또한 수신된 메시지가 정보프레임(I)이면 순서번호등을 갱신하고 T200을 정지시킨 후, 계층 3 모듈에게 데이타 링크 데이타 표시(EL-DATA-INDICA-TION)프리미티브로 이를 통지한다.If the primitive to be processed is a layer 1 data indication (PH-DATA-INDICATION), the message is interpreted and necessary processing is performed in that state. If the received message in the link setup wait state is a non-number confirmation (UA), it initializes the sequence number and the like, stops the timer T200 in operation, and notifies the layer 3 module with the DL-ESTABLISH-CONFIRM primitive. If the received message is an information frame (I), the sequence number and the like are updated, and T200 is stopped, and the layer 3 module is notified of the data link data indication (EL-DATA-INDICA-TION) primitive.
계층 2 모듈관련 타이머가 종료된 경우에는(112) 타이머의 식별자를 해당상태에 인계하여 타이머 종료관련 처리를 하게된다. 113, 114, 예를들어, 링크설정대기 상태에서 첫번째 T200 타이머 식별자를 인계받은 경우에는 데이타링크 설정메시지(SABME)를 계층 1 모듈로 다시 전달하고 타이머 T 200을 동작시킨다.When the layer 2 module related timer expires (112), the identifier of the timer is transferred to the corresponding state to perform timer termination related processing. 113, 114, for example, when the first T200 timer identifier is taken over in the link setup standby state, the data link setup message (SABME) is transferred to the layer 1 module and the timer T 200 is operated.
제10도에는 계층 1 모듈 처리루틴의 흐름도를 도시하였다.10 shows a flow diagram of a layer 1 module processing routine.
계층 1 모듈에서는 I.430에 따른 물리계층의 처리를 담당한다. 라인인터페이스로 송신할 데이타가 있을 경우에는(121) 라인인터페이스의 상태를 확인하여 라인인터페이스의 상태가 활성화상태이면 즉시 데이타를 전송하고, 비활성화상태이면 INFO1 신호를 송신하여 활성상태가 된 후 데이타를 전송한다(122). 라인인터페이스에서 수신된 데이타는 계층1 데이타 표시 프리미티브(PH-DATA-INDICATION)로서 계층 2 모듈로 전달한다.The layer 1 module is responsible for the processing of the physical layer according to I.430. If there is data to be transmitted to the line interface (121), check the status of the line interface and immediately transmit the data if the state of the line interface is active, and if it is inactive, transmit the data after becoming active by sending the INFO1 signal. (122). Data received at the line interface is passed to the layer 2 module as a layer 1 data indication primitive (PH-DATA-INDICATION).
계층 1 모듈관련 타이머가 종료된 경우에는(123) 타이머의 식별자를 해당상태에 인계하여 타이머종료관련 처리를 하게된다(124). 예를 들어 라인인터페이스의 상태가 비활성화상태일 때 활성화상태를 위해 INFO1 신호를 송신하고 타이머 T100을 동작시킨 후, 타이머식별자 T100이 종료된 경우에는 계속적인 비활성화(PERSITENT DEACTIVATION)프리미티브를 사용하여 계층 2 모듈에게 이를 알린다(125, 126).When the timer related to the layer 1 module is terminated (123), the timer identifier is transferred to the corresponding state by the timer identifier (124). For example, when the state of the line interface is inactive, the INFO1 signal is sent for activation and the timer T100 is operated. If the timer identifier T100 is terminated, the layer 2 module is used with the PERSITENT DEACTIVATION primitive. Inform them (125, 126).
상기와 같은 본 발명은 PC용 S 인터페이스 카드를 ISDN에 접속하여 음성통화를 할 수 있고, 64Kbps의 전송속도로 화일의 송수신, 영상정보의 송수신, 영상정보를 이용하여 원격지를 감시하는 시스템, 데이타베이스의 엑세스 등에 이용할 수 있을 뿐만 아니라, 음성통화와 함께 영상정보를 송수신함으로서 화상전화기등의 개발에 이용되며, ISDN 서비스가 상용화되면 필연적으로 음성통화 및 64Kbps의 데이타 통신이 널리 사용될 것이다. 현재 우리나라의 가정에 PC가 많이 보급된 상황에서 기존의 PC에 PC용 S 인터페이스 카드를 정착함으로서 ISDN 서비스를 제공받을 수 있다. 특히 공중망(PSTN)의 데이타 전송속도보다 현저히 빠른 속도를 데이타 송수신이 가능하므로 PC을 이용한 사용자의 다양한 서비스 요구를 수용할 수 있는 효과가 있다.As described above, the present invention is capable of making a voice call by connecting an S interface card for a PC to ISDN, and a system for remotely monitoring a remote location using file transmission / reception, image information transmission, and image information at a transmission rate of 64 Kbps. Not only can be used for access, etc., but also used for the development of a video telephone by transmitting and receiving video information along with a voice call, voice communication and data communication of 64Kbps will inevitably be widely used when ISDN service is commercialized. At present, PCs are widely used in Korea's homes, so the ISDN service can be provided by setting up an S interface card for a PC. In particular, data transmission and reception is possible significantly faster than the data transmission speed of the public network (PSTN) has the effect that can accommodate the user's various service requests using a PC.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019930013966A KR950010941B1 (en) | 1993-07-22 | 1993-07-22 | S-interface card for isdn and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019930013966A KR950010941B1 (en) | 1993-07-22 | 1993-07-22 | S-interface card for isdn and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR950003994A KR950003994A (en) | 1995-02-17 |
KR950010941B1 true KR950010941B1 (en) | 1995-09-26 |
Family
ID=19359855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019930013966A KR950010941B1 (en) | 1993-07-22 | 1993-07-22 | S-interface card for isdn and method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR950010941B1 (en) |
-
1993
- 1993-07-22 KR KR1019930013966A patent/KR950010941B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR950003994A (en) | 1995-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100365357B1 (en) | Method for data communication of mobile terminal | |
KR19980041666A (en) | ISDN D-Channel Signaling Discriminator | |
AU698432B2 (en) | Apparatus and method for interfacing private exchange to integrated services digital network | |
KR950010941B1 (en) | S-interface card for isdn and method thereof | |
US8842816B2 (en) | Implementation of the intelligent network in the next generation networks and its interconnection to the PSTN | |
JPH10304448A (en) | Mobile data communication system | |
KR100710268B1 (en) | A voice call transmitting and receiving method between two different kind of micro processors | |
US20020122110A1 (en) | Method and apparatus for providing a supplementary call service | |
CN100459624C (en) | Method for sending called code in dailing-on of radio receiving equipment | |
KR100274195B1 (en) | Method for public switched telephone network protocol process in v5.2 interface | |
JP3632612B2 (en) | Remote side switch reset method and switch system | |
JP3015429B2 (en) | Image transmission device | |
JPH07107205A (en) | Image communication terminal equipment | |
KR920009341B1 (en) | Isdn telefax terminal | |
KR940005246B1 (en) | Isdn telephone system and control method thereof | |
KR0157390B1 (en) | Apparatus and method for merging telephony and data of isdn switching system | |
JP2517626B2 (en) | Communications system | |
KR100265069B1 (en) | Integrated Information Network Subscriber Access Module | |
JPH11341073A (en) | Internet telephone equipment | |
KR20010035929A (en) | Apparatus for display a telephone number for calling party and method thereof | |
KR20020049093A (en) | Bidirectional CID data transferring system and controlling method therefore | |
KR100385218B1 (en) | System and Method of Processing Origination Call | |
KR20000025676A (en) | Broadband video telephone apparatus and method for processing events | |
JPH04207556A (en) | Message notice method for isdn terminal equipment | |
JPH0433450A (en) | Call control system for exchange accommodating feature key management protocol terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
N231 | Notification of change of applicant | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20070831 Year of fee payment: 13 |
|
LAPS | Lapse due to unpaid annual fee |