KR960001044B1 - Data transmission method of data switch - Google Patents

Data transmission method of data switch Download PDF

Info

Publication number
KR960001044B1
KR960001044B1 KR1019880011186A KR880011186A KR960001044B1 KR 960001044 B1 KR960001044 B1 KR 960001044B1 KR 1019880011186 A KR1019880011186 A KR 1019880011186A KR 880011186 A KR880011186 A KR 880011186A KR 960001044 B1 KR960001044 B1 KR 960001044B1
Authority
KR
South Korea
Prior art keywords
data
port
input
subscriber
output
Prior art date
Application number
KR1019880011186A
Other languages
Korean (ko)
Other versions
KR900004132A (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 KR1019880011186A priority Critical patent/KR960001044B1/en
Publication of KR900004132A publication Critical patent/KR900004132A/en
Application granted granted Critical
Publication of KR960001044B1 publication Critical patent/KR960001044B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations

Abstract

the first procedure which outputs received data imputing from a transmitting side-data server to A port when data outputting through B port to switching circuit simultaneously as storing the received data to the memory; the second procedure which stores received data to the memory through the switching circuit when data receiving at B port; the third procedure which outputs stored data to a connected line side-data server through A port; the fourth procedure which controls data flow by inspecting the data receiving for cutting require when not executing the first, second and the third procedure.

Description

데이타 교환기의 데이타 전송방법Data transfer method of data exchange

제1도는 종래의 데이타 전송 시스템도.1 is a conventional data transfer system diagram.

제2도는 본 발명을 수행하기 위한 시스템도.2 is a system diagram for carrying out the present invention.

제3도는 본 발명의 흐름도.3 is a flow chart of the present invention.

제4도는 제3도의 각 모듈의 흐름도.4 is a flow chart of each module of FIG.

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

3, 4 : 데이타 가입자 2 : 스위칭회로3, 4: data subscriber 2: switching circuit

1, 10 : 제1중앙처리장치 20 : 롬1, 10: first central processing unit 20: ROM

30 : 램 40, 50 : 입출력장치30: RAM 40, 50: I / O device

본 발명은 데이타 서비스 시스템에 관한 것으로, 특히 데이타 가입자의 전송속도가 상이할시에도 정확한 데이타를 전송할수 있는 방법에 관한 것이다.The present invention relates to a data service system, and more particularly, to a method capable of transmitting accurate data even when data subscribers have different transmission speeds.

제1도는 종래의 데이타 서비스 시스템도로써, 종래의 데이타 서비스 과정을 설명하면, 제1데이타 가입자(101)의 출력 데이타는 교환기의 스위칭회로(103)를 통해 제2데이타 가입자(102)로 인가되는 동시에 제1입출력장치(113)로 인가된다. 이때 중앙처리장치(110)는 상기 제1입출력장치(113)를 통한 수신데이타가 통신로 절단요구 데이타인가 확인한다.FIG. 1 is a diagram of a conventional data service system. Referring to the conventional data service process, output data of the first data subscriber 101 is applied to the second data subscriber 102 through the switching circuit 103 of the exchange. At the same time, it is applied to the first input-output device 113. At this time, the central processing unit 110 checks whether the received data through the first I / O device 113 is the communication path cutting request data.

즉, 제1도에서 제1데이타 가입자(101)가 제2데이타 가입자(102)와 데이타 통신을 요구하면, 교환기의 스위칭회로(103)에 의해 제1데이타 가입자(101)와 제2데이타 가입자(102) 사이에는 데이타 통신로가 형성된다. 이후 제1데이타 가입자(101)가 데이타를 출력하면 이 데이타는 스위칭회로(103)를 통해 제2데이타 가입자(102)로 이낙되는 동시에 제1입출력장치(113)로 인가된다. 이때 중앙처리장치(10)는 상기 제1입출력장치(113)를 통한 데이타를 램(112)에 저장한후 이 데이타를 분석하여 제1 및 제2데이타 가입자(101,102) 사이의 통신로 절단을 요구하는 데이타인가 검사한다. 상기 중앙처리장치(10)의 분석결과가 절단요구 데이타가 아니면, 형성된 통신로를 통하여 계속 데이타 통신을 수행할수 있도록 서비스하며, 절단요구 데이타일시는 교환기의 제어부측으로 통신로를 절단하도록 요구하는데, 이에 따라 교환기제어부는 스위칭회로(103)를 통해 형성된 통신로를 절단한다. 상기와 같은 경우 데이타 통신로 형성시 데이타들이 교환기의 스위칭회로를 통해 직접 전송되므로, 해당 데이타 가입자들의 전송속도가 상이할시는 데이타의 송수신 상태가 다르게 되며, 이로인해 전송데이타에 심각한 오류가 발생되었던 문제점이 있었다.That is, when the first data subscriber 101 requests data communication with the second data subscriber 102 in FIG. 1, the first data subscriber 101 and the second data subscriber ( A data communication path is formed between 102. Thereafter, when the first data subscriber 101 outputs data, the data is transferred to the second data subscriber 102 through the switching circuit 103 and simultaneously applied to the first input / output device 113. At this time, the CPU 10 stores the data through the first I / O device 113 in the RAM 112 and analyzes the data to request the disconnection of the communication path between the first and second data subscribers 101 and 102. Check for data. If the analysis result of the central processing unit 10 is not the cut request data, the service to continue to perform data communication through the formed communication path, and the cut request data temporary request to cut the communication path to the control unit side of the exchange, Accordingly, the exchange controller cuts the communication path formed through the switching circuit 103. In this case, since the data are directly transmitted through the switching circuit of the switch when the data communication path is formed, when the transmission rates of the corresponding data subscribers are different, the transmission and reception state of the data is different, which causes a serious error in the transmission data. There was a problem.

따라서 본 발명의 목적은 데이타 교환기에서 발신측 데이타 가입자의 전송데이타를 램에 저장한후 저장데이타를 착신측 데이타 가입자로 전송함으로서, 데이타 가입자들의 전송속도가 상이할시에도 정확한 데이타 통신을 수행할수 있는 방법을 제공함에 있다.Accordingly, an object of the present invention is to store a transmission data of a calling data subscriber in a RAM in a data exchange and then transmit the stored data to a called data subscriber so that accurate data communication can be performed even when the data subscribers have different transmission speeds. In providing.

본 발명의 다른 목적은 데이타의 전송속도 차이에 의해 발생하는 데이타의 흐름을 제어하여 데이타의 손실 또는 중첩현상을 방지할수 있는 방법을 제공함에 있다.Another object of the present invention is to provide a method of preventing data loss or overlapping by controlling the flow of data caused by the difference in data transmission speed.

이하 본 발명을 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the drawings.

제2도는 본 발명을 수행하기 위한 데이타 교환시스템도로서 교환기의 동작을 제어하는 제1중앙처리장치(1)와, 상기 제1중앙처리장치(1)의 제어하에 스위칭되어 통신로를 형성하는 스위칭회로(2)와, 상이한 전송속도를 갖는 제1 및 제2데이타 가입자(3,4)와, 후술하는 제1 및 제2입출력장치(40,50)의 A,B포트 출력을 입력하여 데이타 상태에 따라 데이타 서비스 시스템을 제어하는 제2중앙처리장치(10)와, 본 발명의 프로그램을 저장하고 있는 롬(20)과, 상기 제2중앙처리장치(10)의 제어하에 입력데이타를 일시 저장하는 램(3))과, 듀얼 입출력포트로 구성되어 A포트를 상기 제1데이타 가입자(1) 및 제2중앙처리장치(10)에 접속하고 B포트를 상기 스위칭회로(3) 및 제2중앙처리장치(10)에 접속하여 상기 제1데이타 가입자(1)의 입출력을 제어하는 제1입출력장치(40)와, 듀얼 입출력포트로 구성되어 A포트를 상기 제2데이타 가입자(2) 및 제2중앙처리장치(10)에 접속하고, B포트를 상기 스위칭회로(3) 및 제2중앙처리장치(10)에 접속하여 상기 제2데이타 가입자(2)의 입출력을 상기에서 제어하는 제2입출력장치(50)로 구성된다. 교환기 구성은 본 발명에서 사용되는 구성이외에는 도시하지 않았다.2 is a diagram of a data exchange system for carrying out the present invention, the first central processing apparatus 1 for controlling the operation of the exchanger and the switching to form a communication path under the control of the first central processing apparatus 1; Data state by inputting the circuits 2, the first and second data subscribers 3 and 4 having different transmission rates, and the A and B port outputs of the first and second I / O devices 40 and 50 described later. According to the second central processing apparatus 10 for controlling the data service system, the ROM 20 storing the program of the present invention, and the input data under the control of the second central processing apparatus 10. RAM (3) and dual input / output ports to connect the A port to the first data subscriber 1 and the second central processing unit 10, and the B port to the switching circuit 3 and the second central processing. A first input-output device 40 connected to the device 10 to control input / output of the first data subscriber 1, and a dual An input / output port to connect the A port to the second data subscriber 2 and the second central processing apparatus 10, and the B port to the switching circuit 3 and the second central processing apparatus 10 And a second input / output device 50 for controlling the input / output of the second data subscriber 2 as described above. The exchanger configuration is not shown other than the configuration used in the present invention.

제3도는 본 발명에 따른 데이타 통신 흐름도로서 모니터 모듈(Monitor Module)과 인터럽트 모듈(Interrupt Module)로 이루어져 있는데, 발신측 데이타 가입자에서 데이타 출력시 A포트로 입력하는 수신 데이타를 절단요구 분석용으로 메모리에 저장하는 동시에 B포트를 통해 스위칭회로로 출력하는 제1과정과, 상기 제1과정 수행후 스위칭회로를 통해 B포트로 데이타 수신시 수신한 데이타를 메모리에 저장하는 제2과정과, 상기 제2과정 수행후 메모리에 데이타 존재시 저장한 데이타를 A포트를 통해 착신측 데이타 가입자로 출력하는 제3과정과, 상기 제1,2,3과정을 수행하지 않고 있을시 절단요구 데이타 수신 유무를 검사하여 데이타의 흐름을 제어하는 제4과정으로 이루어진다.3 is a flow chart of a data communication according to the present invention, which is composed of a monitor module and an interrupt module. And a second process of outputting the data to the switching circuit through the B port at the same time, and storing the data received in the memory when the data is received from the B port through the switching circuit after performing the first process. After the process is performed, the third process of outputting the data stored in the memory to the destination data subscriber through the port A, and if the first, second, and third processes are not performed, the presence or absence of cutting request data is examined The fourth step is to control the flow of data.

제4도는 제3도의 기본 모듈 및 인터럽트 모듈에 관한 흐름도로서 제4도(A)는 상기 제3도의 제1과정 흐름도이고, 제4도(B)는 상기 제3도의 제2과정 흐름도이며, 제4도(C)는 상기 제3도의 제3과정 흐름도이고, 제4도(D)는 상기 제3도의 제4과정 흐름도이다.4 is a flowchart of the basic module and the interrupt module of FIG. 3, where FIG. 4A is a flow chart of FIG. 1, and FIG. 4B is a flow chart of FIG. 3, and FIG. FIG. 4C is a third process flowchart of FIG. 3 and FIG. 4D is a fourth process flowchart of FIG.

상술한 구성에 의거 본 발명은 제2,3,4도를 참조하여 상세히 설명한다. 제1 및 제2입출력장치(40,50)는 듀얼 입출력포트를 갖는 직렬 입출력장치(Dual Asynchronous Receiver/Transmitter : DART)로서 A, B포트는 동일한 특성을 갖는다. 본 발명에서는 상기 제1 및 제2입출력장치(40,50)의 A포트는 각 데이타 가입자(3,4)의 입출력장치로 사용하고, B포트는 교환기의 스위칭회로(2)를 통하여 상대방 데이타 가입자로부터 전송되어온 데이타를 송수신하는 입출력장치로 사용할수 있도록 구성한다. 이때 각 데이타 가입자 사이의 통신로를 형성해주는 기능을 수행하는 상기 스위칭회로(2)는 제2중앙처리장치(10)의 제어하에 스위칭 제어로 통신로 연결을 요구하며, 이에 따라 제1중앙처리장치(1)의 제어하에 스위칭을 수행한다. 여기서 제1데이타 가입자(3)을 발신측이라 가정하고, 제2데이타 가입자(4)을 착신측이라 가정한다. 제1데이타 가입자(3)에 데이타를 제1입출력장치(40)의 A포트로 인가하면, 제1입출력장치(40)는 제2중앙처리장치(10)로 발생데이타를 출력하여 제1데이타 가입자(3)에서 데이타가 발생했음을 알린다. 그러면 제2중앙처리장치(10)는 이 데이타를 절단요구 분석용으로 램(30)의 소정 영역에 저장하는 동시에 통신상태일시는 제1입출력장치(40)의 B포트를 통해 스위칭회로(2)로 전송한다. 이후 스위칭회로(2)를 통해 제2입출력장치(50)의 B포트로 데이타 입력시 제2 중앙처리장치(10)는 램(30)의 소정영역에 수신 데이타를 버퍼링(buffering)하기 위해 저장한다.Based on the above configuration, the present invention will be described in detail with reference to FIGS. 2, 3, and 4. The first and second input / output devices 40 and 50 are serial input / output devices (DART) having dual input / output ports, and the A and B ports have the same characteristics. In the present invention, the A port of the first and second I / O devices 40 and 50 is used as an input / output device of each data subscriber 3 and 4, and the B port is a counterpart data subscriber via the switching circuit 2 of the exchange. It is configured to be used as an input / output device for transmitting and receiving data transmitted from. In this case, the switching circuit 2 which performs a function of forming a communication path between the data subscribers requires the connection of the communication path to the switching control under the control of the second central processing apparatus 10, and accordingly, the first central processing device Switching is performed under the control of (1). It is assumed here that the first data subscriber 3 is the calling party and the second data subscriber 4 is the called party. When data is applied to the first data subscriber 3 to the A port of the first I / O device 40, the first I / O device 40 outputs the generated data to the second central processing unit 10 to thereby generate the first data subscriber. In (3), it indicates that data has occurred. Then, the second central processing apparatus 10 stores the data in a predetermined area of the RAM 30 for analyzing the cutting request and simultaneously switches the switching circuit 2 through the B port of the first I / O device 40 in a communication state. To send. Thereafter, when data is input to the B port of the second input / output device 50 through the switching circuit 2, the second CPU 10 stores the received data in a predetermined area of the RAM 30 for buffering. .

상기 제2중앙처리장치(10)는 램(30)에서 데이타를 버퍼링하고 있는 영역을 조사하여 보낼 데이타가 있음을 인지하면, 버퍼링하고 있는 데이타를 리드하여 제2입출력장치(50)의 A포트를 통해 제2데이타 가입자(4)로 출력한다. 이때 절단요구 데이타가 입력되면 제2중앙처리장치(10)는 램(30)의 특정영역을 리세트시키고, 제1중앙처리장치(1)측으로 통신로 절단을 요구하며, 제1중앙처리장치(1)는 스위칭회로(2)를 제어하여 통신로를 단절한다. 데이타 가입자의 전송속도가 상이할시에도 수신 데이타를 버퍼링하여 정확한 데이타를 전송할수 있는 본 발명의 흐름은 하기와 같이 진행한다.When the second central processing apparatus 10 detects that there is data to be sent by examining the area buffering data in the RAM 30, the second central processing apparatus 10 reads the buffered data and opens the A port of the second input / output device 50. Output to the second data subscriber (4) through. At this time, when cutting request data is input, the second central processing apparatus 10 resets a specific area of the RAM 30, requests the cutting of the communication path to the first central processing apparatus 1 side, and the first central processing apparatus ( 1) cuts off the communication path by controlling the switching circuit 2. Even when the data subscribers have different transmission speeds, the flow of the present invention, which can transmit accurate data by buffering received data, proceeds as follows.

본 발명은 제3도와 같이 수행되는데 모니터모듈(monitor module)(4D)은 인터럽트모듈(Interrupt module)이 구동하고 있지 않을 때 항상 수행되는 기본 모듈이고, 인터럽트모듈(4A, 4B, 4C)은 인터럽트에 의하여 임의의 시간에 조건이 맞는 경우에 발생하는 모듈이다. 상기 인터럽트모듈중, A포트 수신모듈(4A)은 발신측 데이타 가입자에서 임의의 데이타가 발생되면, 해당 입출력장치의 A포트를 통해 수신했을 때 제2중앙처리장치(10)에 의해 구동되는 모듈이고, B포트 수신모듈(4B)은 임의의 데이타 가입자가 보낸 데이타가 스위칭회로(2)를 통해 착신측의 데이타 가입자의 B포트로 들어왔을 때 제2중앙처리장치(10)에 의해 구동되는 모듈이며, A포트 송신모듈(4C)은 발신측 데이타 가입자가 보낸 데이타가 존재할 경우 착신입출력 장치의 A포트로 송신하기 위하여 제2중앙처리장치(10)에 의해 구동되는 모듈이다.The present invention is carried out as shown in FIG. 3, wherein the monitor module 4D is a basic module which is always performed when the interrupt module is not driven, and the interrupt modules 4A, 4B, and 4C are interrupted. This module is generated when the condition is met at any time. Among the interrupt modules, the A port receiving module 4A is a module driven by the second central processing apparatus 10 when received from the A port of the corresponding input / output device when arbitrary data is generated at the originating data subscriber. , The B port receiving module 4B is a module driven by the second central processing apparatus 10 when data sent by an arbitrary data subscriber enters the B port of the data subscriber of the called party through the switching circuit 2. The A port transmitting module 4C is a module driven by the second central processing unit 10 to transmit data to the A port of the incoming / outgoing device when there is data sent from the calling party data subscriber.

발신측의 제1데이타 가입자(3)에서 임의의 데이타를 발생하여 제1입출력장치(40)의 A포트로 인가하면, 제2중앙처리장치(10)는 (A1)단계에서 A포트의 입력포트(Rxport)로 들어온 데이타를 읽어서 절단요구 분석용으로 램(30)의 입력 데이타 저장용 영역에 저장한다. 이후 (A2)단계에서 발신측 및 착신측의 데이타 가입자(3,4)이 통신상태인가 검사하며, 통신 상태가 아닐시는 제1입출력장치(40)의 A포트에서 수신한 데이타 값은 상기 데이타 가입자(3)가 통신상태를 요구하기전까지 가입자와 시스템간의 대화용 데이타로 쓰인다. 이후 상기 데이타 가입자(3)가 통신요구를 하면 상기 램(30)의 소정영역에 특정 데이타값을 라이트(Write)하며, 이후 제2중앙처리장치(10)는 이 데이타를 리드(read)하여 통신이 성립되었음을 알수 있다. 상기 (A2)단계에서 통신상태일시는 착신측 데이타 가입자(4)로 데이타를 송출하기 위하여 제1입출장치(40)의 B포트중 송신포트(Tx port)를 통하여 데이타를 출력한다. 이때 상기 출력 데이타는 스위칭회로(2)를 통해 착신측인 제2입출력장치(50)의 B포트의 입력 데이타가 된다.When the first data subscriber 3 on the calling side generates arbitrary data and applies it to the A port of the first I / O device 40, the second central processing apparatus 10 receives the input port of the A port in step (A1). The data entered into the Rxport is read and stored in the input data storage area of the RAM 30 for analysis of cutting request. Thereafter, in step (A2), it is checked whether the data subscribers 3 and 4 of the calling party and the called party are in the communication state, and when the communication state is not in the communication state, the data value received from the A port of the first I / O device 40 is the data. It is used as communication data between the subscriber and the system until the subscriber 3 requests the communication state. Thereafter, when the data subscriber 3 requests communication, the specific data value is written in a predetermined area of the RAM 30, and then the second central processing apparatus 10 reads this data and communicates. It can be seen that this is established. In the step (A2), the communication state is outputted through the transmission port (Tx port) of the B ports of the first entry / exit device 40 in order to send data to the called party data subscriber 4. At this time, the output data becomes input data of the B port of the second input / output device 50 on the called side through the switching circuit 2.

상기와 같이 A포트 수신모듈 수행후 통신상태에서 발신측 데이타 가입자(3)가 송신한 데이타가 스위칭회로(2)를 통해 착신측인 제2입출력장치(50)의 B포트중 수신포트(Rx port)로 입력했을 경우 제2중앙처리장치(10)는 (B1)단계에서 제2입출력장치(50)의 B포트로 수신된 데이타를 읽어서 램(30)의 영역중 스위칭회로(2)를 통하여 들오온 데이타를 저장용 영역에 저장하여 버퍼링(buffering)하며, (B2)단계에서 B포트로 수신된 데이타(즉, 발신측 가입자에서 전송한 데이타)의 양을 카운트하기 위해 입력카운터를 증가시키고 리턴한다.As described above, in the communication state after performing the A port receiving module, the data transmitted from the calling party data subscriber 3 is the receiving port of the B port of the second input / output device 50 of the called party through the switching circuit 2 (Rx port). ), The second central processing apparatus 10 reads the data received through the B port of the second input / output device 50 in step (B1) and enters the data through the switching circuit 2 of the RAM 30 area. Stores and stores the on-ion data in the storage area and increments and returns the input counter to count the amount of data received from port B (i.e., data transmitted from the source subscriber) in step (B2). .

상기 버퍼링 데이타는 발신 및 착신측 데이타 가입자(3,4)의 전송속도가 상이하더라도 착신측 데이타 가입자(4) 전송속도에 맞게 충분히 버퍼링할수 있으며, 이후 착신측 데이타 가입자(4)의 통신상태가 되면 리드하여 출력한다. 상기와 같이 B포트 수신모듈 수행후 A포트를 통해 발신측 데이타 가입자(3)가 착신측 데이타 가입자(4)로 송신할 데이타가 있을 경우 제2중앙처리장치(10)는 (C1)단계에서 제2입출력장치(50)의 A포트가 통신상태인가 검사하며, 통신상태일시 (C2)단계에서 스위칭회로(2)를 통해 수신한 데이타를 버퍼링하고 있는 램(30)의 소정영역에 발신측 데이타 가입자(3)로 부터 입력한 데이타가 있는가를 조사한다.The buffering data can be sufficiently buffered according to the transmission speed of the called data subscriber 4 even if the transmission speeds of the calling and called data subscribers 3 and 4 are different, and then the communication data of the called data subscriber 4 becomes the communication state. Read and output. As described above, when there is data to be transmitted to the called party data subscriber 4 by the calling party data subscriber 3 through the port A after the execution of the B port receiving module, the second central processing apparatus 10 performs step (C1). 2 Check whether the A port of the I / O device 50 is in the communication state, and at the communication state date and time (C2), the subscriber of the originating data in the predetermined area of the RAM 30 buffering the data received through the switching circuit 2. Check if there is data input from (3).

상기 입력 데이타의 유무를 조사하는 방법은 상기 (B1)단계에서 통신로를 통하여 발신측의 데이타가 들어오면 램(30)의 특정영역 입력카운터를 증가시키고, 착신측의 데이타 송신을 마치면 입력카운터를 감소시킨다. 그러므로 (C2)단계에서 상기 입력카운터의 상태를 검사하여 ˝0˝이면 보낼 데이타가 없는 상태이며, 어떤 카운터값이 있으면 보낼 데이타가 있는 상태다.The method for checking the presence or absence of the input data includes increasing a specific area input counter of the RAM 30 when the data of the calling party enters through the communication path in the step (B1), and inputting the input counter when data of the called party is finished. Decrease. Therefore, in step (C2), the state of the input counter is checked, and if "0", there is no data to be sent, and if there is a counter value, there is data to be sent.

따라서 전송할 데이타가 있으면 (C3)단계로 진행하여 제2입출력장치(50)의 A포트중 송신포트(Tx port)로 하나의 데이타를 출력하고 (C4)단계에서 입력카운터를 감소시킨 후 리턴한다. 이때 상기 (C3)단계에서 보낼 데이타가 없을 경우(입력카운터값이 ˝0˝인 상태) (C5)단계로 진행하여 A포트 송신모듈이 구동되지 않도록 송신상태를 리세트시킨 후 리턴한다. A포트 수신모듈(4A), B포트 수신모듈(4B) 및 A포트 송신모듈(4C)과 같은 인터럽트 모듈을 수행하지 않고 있을시는 제2중앙처리장치(10)는 모니터 모듈(4D)을 수행하는데 (D1)과정에서는 램(30)의 입력 데이타가 저장용 영역을 검사하여, 저장한 데이타중 절단요구 데이타가 저장되어 있는지를 검사한다. 상기 절단요구 데이타란 임의의 데이타 가입자가 상대방과의 통신을 완료하여 더 이상 통신을 원하지 않는 상태에서 통신을 종료하고자 하는 데이타로서, 일반적으로 쓰이지 않는 특수문자의 연속을 사용하고 있다.Therefore, if there is data to be transmitted, the process proceeds to step (C3) to output one data to the transmission port (Tx port) of the A port of the second input-output device 50, and returns after reducing the input counter in step (C4). At this time, if there is no data to be sent in the step (C3) (the state of the input counter value is "0"), the process proceeds to the step (C5) and resets the transmission state so that the A port transmission module is not driven and returns. When not performing interrupt modules such as the A port receiving module 4A, the B port receiving module 4B, and the A port sending module 4C, the second central processing apparatus 10 performs the monitor module 4D. In the process (D1), the input data of the RAM 30 checks a storage area, and checks whether cutting request data is stored among the stored data. The truncation request data is a data for which an arbitrary data subscriber wants to terminate communication after completing communication with the other party and no longer wants communication, and uses a sequence of special characters not commonly used.

상기 (D1)단계에서 절단요구가 아니면 (D3)단계에서 제2중앙처리장치(10)는 입력카운터의 값을 검사하여 제1데이타 흐름제어 시기인가 검사한다. 제1데이타 제어흐름 시기란 B포트를 통해 수신되어 램(30)에 저장된 데이타가 B포트 수신영역의 9/10 이상 저장된 상태를 의미하는 것으로, 제2중앙처리장치(10)는 B포트를 통해 수신되는 데이타를 카운트하는 입력카운트의 상태를 검사하여 제1데이타 흐름제어 시기인지 아닌지를 판단한다.If it is not the cutting request in the step (D1), in step (D3), the second central processing apparatus 10 checks the value of the input counter to check whether the first data flow control time. The first data control flow time refers to a state in which data received through the port B and stored in the RAM 30 is stored at least 9/10 of the port B receiving area, and the second central processing apparatus 10 uses the port B. The state of the input count that counts the received data is examined to determine whether or not it is the first data flow control time.

상기와 같이 제1데이타 흐름제어 시기를 검사하는 이유는 발신가입자로 부터 전송되는 데이타양이 (3c)의 A포트 송신모듈에 의해 처리되는 데이타의 양보다 많을 경우, 즉 발신가입자의 전송속도가 착신가입자의 전송속도보다 훨씬 빠른 경우에 램(30)의 B포트 수신영역에 데이타가 중첩되는 현상을 방지하기 위함이다.The reason for checking the first data flow control timing as described above is when the amount of data transmitted from the originating subscriber is greater than the amount of data processed by the A port transmitting module of (3c), that is, the transmission speed of the originating subscriber is called. This is to prevent the data from overlapping in the B port receiving area of the RAM 30 when it is much faster than the subscriber's transmission speed.

상기 (D3)단계에서 제1데이타 흐름제어 시기이면 (D4)단계에서 아직 처리되지 않은 B포트 수신영역의 데이타를 보호하기 위하여 발신가입자에게 전송 중단용 데이타를 B포트를 통해 전송하고 (D5)단계에서 램(30)의 특정영역에 전송 중단용 데이타를 보냈음을 나타내는 데이타값(˝데이타 D1˝이라 가정)을 기록한후 리턴한다. 이때 상기 (D3)단계에서 제1데이타 흐름제어 시기가 아니면 (D6)단계에서 제2데이타 흐름제어 시기인가 검사하는데, 제2데이타 흐름제어 시기라 함은 ˝데이타 D1˝이 램(30)의 특정한 영역에 저장된 상태에서 B포트 수신영역에 저장되어 있는 데이타가 B포트 수신영역 크기의 1/10보다 작아진 상태를 의미한다. 즉, (D6)단계에서 입력카운터값이 B포트 수신영역의 1/10보다 클 경우에는 전상태에서 하던 동작과 동일한 동작을 실행하며 리턴하고, 1/10보다 작을시에는 (D7)단계에서 ˝데이타 D1˝이 램(30)의 특정영역에 저장되어 있는 상태인가 검사한다. 이때 상기 (D7)단계에서 ˝데이타 D1˝이 기록되지 않은 상태이면 다음 상태에 대비하여 리턴하고, ˝데이타 D1˝이 기록된 상태이면 발신가입자로 부터 데이타 중첩 또는 손실현상을 발생하지 않을 정도로 데이타를 수신하여 저장할수 있는 B포트의 수신영역이 존재하므로, (D8)단계로 진행하여 B포트를 통하여 발신가입자측으로 전송 계속용 데이타를 송신하며, (D9)단계에서 램(30)의 특정 영역에 저장하고 있던 ˝데이타 D1˝을 지우고 리턴한다.If the first data flow control time in the step (D3), in order to protect the data of the port B receiving area that has not yet been processed in the step (D4), the transmission interruption data is transmitted to the calling subscriber through the B port (D5). Returns a data value (assuming " data D1 ") indicating that the transmission stop data has been sent to a specific area of the RAM 30. At this time, if it is not the first data flow control timing in the step (D3), it is checked whether the second data flow control timing in the step (D6), and the second data flow control timing means that the data D1 is specific to the RAM 30. This means that the data stored in the port B receiving area is smaller than 1/10 of the size of the B port receiving area in the state stored in the area. In other words, if the input counter value is greater than 1/10 of the B port receiving area in step (D6), the same operation as in the previous state is executed. If the input counter value is less than 1/10, the value in step (D7) It is checked whether or not the data D1 'is stored in the specific area of the RAM 30. At this time, if the “data D1” is not recorded in step (D7), it is returned in preparation for the next state. If the “data D1” is recorded, the data is sent to the subscriber so that data overlap or loss does not occur. Since there is a receiving area of port B that can be received and stored, proceed to step D8 to transmit the data for continuous transmission to the calling party through port B, and to store in a specific area of the RAM 30 in step D9. Delete and return the current data D1.

상술한 바와 같이 발신 및 착신측 데이타 가입자의 전송속도가 상이할시에도 전송속도를 상대방과 일치시키지 않고 데이타를 버퍼링하여 정확하게 데이타를 전송할수 있으며, 전송속도가 차이가 날 때 데이타의 흐름을 제어하여 데이타의 손실(loss)를 방지할 수 있음으로서 시스템의 신뢰성을 향상시킬수 있는 이점이 있다.As described above, even when the sending and receiving data subscribers have different transmission speeds, the data can be transmitted accurately by buffering the data without matching the transmission speed with the other party, and controlling the flow of data when the transmission speeds are different. The loss of data can be prevented, thereby improving the reliability of the system.

Claims (2)

데이타 통신의 흐름을 제어하는 제2중앙처리장치(10)와, 프로그램을 저장하고 있는 롬(20)과, 데이타를 일시 저장하는 램(30)과, 듀얼 입출력 포트로 구성되어 A포트는 각각 상이한 전송속도를 갖는 제1 및 제2데이타 가입자에 접속하고, B포트는 교환기의 스위칭회로에 접속하여 데이타의 입출력을 제어하는 제1 및 제2입출력장치(40,50)를 구비한 데이타 통신 서비스 시스템에 있어서, 발신측 데이타 가입자에서 데이타 출력시 A포트로 입력하는 수신 데이타를 절단요구 분석용으로 메모리에 저장하는 동시에 B포트를 통해 스위칭회로로 출력하는 제1과정과, 상기 제1과정 수행후 스위칭회로를 통해 B포트로 데이타 수신시 수신한 데이타를 메모리에 저장하는 제2과정과, 상기 제2과정 수행후 메모리에 데이타 존재시 저장한 데이타를 A포트를 통해 착신측 데이타 가입자로 출력하는 제3과정과, 상기 제1,2,3과정을 수행하지 않고 있을시 절단 요구 데이타 수신 유무를 검사하여 데이타의 흐름을 제어하는 제4과정으로 이루어짐을 특징으로 하는 데이타 교환기의 데이타 전송방법.A second port is composed of a second central processing unit 10 for controlling the flow of data communication, a ROM 20 storing a program, a RAM 30 temporarily storing data, and a dual input / output port. A data communication service system having first and second input / output devices (40, 50) connected to the first and second data subscribers having a transmission rate and the B port connected to a switching circuit of an exchange to control input / output of data. In the first step of storing the received data input to the A port when the data output from the source data subscriber to the memory for cutting request analysis and output to the switching circuit through the B port, and switching after performing the first process A second process of storing the data received in the memory upon receiving the data through the circuit B through the circuit; and the data stored in the memory when the data exists in the memory after the execution of the second process through the A port. A third process of outputting to another subscriber and a fourth process of controlling the flow of data by checking whether or not to receive the truncation request data when the first, second, and third processes are not performed. Data transfer method. 제1항에 있어서, 데이타의 흐름을 제어하는 제4과정이 A포트 수신영역이 저장데이타로 부터 절단요구인가 검사하며 절단요구일시 통신로 절단요구 신호를 발생하고 종료하는 제1단계와, 상기 제1단계에서 절단요구 상태가 아닐시 램의 B포트 수신영역 데이타가 소정 제1크기 이상 저장되었는가 검사하며, 제1크기 이상 저장되었을시 B포트를 통해 전송 중단용 데이타를 전송하고 리턴하는 제2단계와, 상기 제2단계에서 B포트 수신영역에 저장한 데이타가 상기 제1크기 이하일시 소정 제2크기 이하이며, 전송 중단상태인가 검사하며 아닐시 리턴하는 제3단계와, 상기 제3단계에서 B포트 수신영역의 저장데이터가 상기 제2크기 이하이며 전송 중단상태일시 B포트를 통해 전송 계속용 데이타를 전송하고 리턴하는 제4단계로 이루어짐을 특징으로 하는 데이타 교환기의 데이타 전송방법.The method of claim 1, wherein the fourth step of controlling the flow of data comprises: a first step of checking whether the port A receiving area is a cutting request from the stored data, and generating and terminating a cutting request temporary communication path cutting request signal; In the first step, when the cutting request state is not in the state, the B port receiving area data of the RAM is stored in a predetermined first size or more, and when the storage is larger than the first size, the second step of transmitting and returning data for transmission interruption through the B port. And a third step of checking whether the data stored in the port B receiving area in the second step is less than or equal to the predetermined second size when the first size is less than or equal to the first size, and stops the transmission. And a fourth step of transmitting and returning data for continuous transmission through the port B when the data stored in the port receiving area is less than or equal to the second size and the transmission is interrupted. Data transfer method of ventilation.
KR1019880011186A 1988-08-31 1988-08-31 Data transmission method of data switch KR960001044B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019880011186A KR960001044B1 (en) 1988-08-31 1988-08-31 Data transmission method of data switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019880011186A KR960001044B1 (en) 1988-08-31 1988-08-31 Data transmission method of data switch

Publications (2)

Publication Number Publication Date
KR900004132A KR900004132A (en) 1990-03-27
KR960001044B1 true KR960001044B1 (en) 1996-01-17

Family

ID=19277331

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019880011186A KR960001044B1 (en) 1988-08-31 1988-08-31 Data transmission method of data switch

Country Status (1)

Country Link
KR (1) KR960001044B1 (en)

Also Published As

Publication number Publication date
KR900004132A (en) 1990-03-27

Similar Documents

Publication Publication Date Title
US4082922A (en) Statistical multiplexing system for computer communications
EP0366935B1 (en) High-speed switching system with flexible protocol capability
US4627070A (en) Asynchronous data bus system
US6952739B2 (en) Method and device for parameter independent buffer underrun prevention
US4232206A (en) Signal transmission control system
US5056090A (en) Data transmission apparatus to be connected to multiplexed transmission line
KR830008575A (en) Method and apparatus for control of modul transmission system
KR960001044B1 (en) Data transmission method of data switch
US5513321A (en) Multiprocessor system discharging data in networking apparatus in response to off-line information from receiver-side processor
US4930103A (en) Data transmission method in a digital transmission network and apparatus for implimenting same
US7088682B1 (en) Reducing overhead when using loopback cells for fault detection in bi-directional virtual circuits
KR910006122B1 (en) Method for transferring data by using buffering
EP0620659A1 (en) Multipath optical transmission system controller
KR100479572B1 (en) Call treatment control apparatus in mobile communication system
JPH02116254A (en) Method and apparatus for data communication
KR0154485B1 (en) Interrupt handling method of high level serial communication expanding chip board
KR0182678B1 (en) Packet service apparatus of switching system
KR930009852B1 (en) Common signalling method
KR100355285B1 (en) Processor board in local router of bsc system
KR100290094B1 (en) Atu-c device for maintenance of adsl system
JP3505540B2 (en) Data transfer device
KR100208229B1 (en) Packet service apparatus having parallel structure for interfacing digital service unit in a switching system
KR100318945B1 (en) Traffic controller in asynchronous transfer mode switchboard
KR930005124B1 (en) Image data page end mark checking method
US9317289B2 (en) Acknowledgement forwarding

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
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: 20091224

Year of fee payment: 15

EXPY Expiration of term