KR940003845B1 - Communication path bus selecting method - Google Patents
Communication path bus selecting method Download PDFInfo
- Publication number
- KR940003845B1 KR940003845B1 KR1019910007109A KR910007109A KR940003845B1 KR 940003845 B1 KR940003845 B1 KR 940003845B1 KR 1019910007109 A KR1019910007109 A KR 1019910007109A KR 910007109 A KR910007109 A KR 910007109A KR 940003845 B1 KR940003845 B1 KR 940003845B1
- Authority
- KR
- South Korea
- Prior art keywords
- bus
- hardware
- gpip
- lower level
- selecting
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
Abstract
Description
제1도는 본 발명의 실행을 위한 하드웨어 구성도.1 is a hardware diagram for implementing the present invention.
제2도는 본 발명의 실행과정을 나타내는 흐름도.2 is a flow chart showing the implementation of the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1 : 하위레벨 메인보드 2, 8 : 인터페이스 보드1: Lower level main board 2, 8: Interface board
3, 9 : MFP 4, 10 : 메모리3, 9: MFP 4, 10: Memory
5, 11 : 제어 레지스터 6, 7 : TD-버스5, 11: Control registers 6, 7: TD-bus
12 내지 15 : 하드웨어 유니트 16 : 디바이스12 to 15 hardware unit 16: device
100 : PPA 200 : PPB100: PPA 200: PPB
본 발명은 전전자 교환기의 하위레벨 프로세서(이하 PP라 함)의 통화로계 버스선택방법에 관한 것이다.The present invention relates to a bus route bus selection method of a lower level processor (hereinafter, referred to as a PP) of an electronic switching system.
일반적으로 통화로계 버스(이하 TD-버스라함)란 PP와 하드웨어 유니트 사이의 정보교환통로를 말하여 여러종류의 하드웨어 유니트들이 PP에 연결될수 있다. 또한 TD-버스 선택이란 일관성 있는 TD-버스 제어기능을 제공함으로서 사용자 프로그램이 하위레벨 운영체제를 통하여 하드웨어 유니트를 간접적으로 억세스 할수 있는 방법중의 한가지이다. 종래에는 사용자 프로그램이 하드웨어 유니트의 모든 기능을 수행함으로서 오류에 대한 조처가 완벽하지 못하였으며 디바이스와의 호환성 및 통일성이 없었다.In general, a monetary system bus (hereinafter referred to as a TD bus) is an information exchange path between a PP and a hardware unit, and various types of hardware units may be connected to the PP. TD-bus selection is also one of the ways in which a user program can indirectly access a hardware unit through a lower-level operating system by providing consistent TD-bus control. Conventionally, the user program performs all the functions of the hardware unit, so the error is not perfect, and there is no compatibility and unity with the device.
따라서 본 발명의 목적은 전전자 교환기에 있어서 호처리 기능, 유지보수기능. 하드웨어 유니트 시험 기능중 모든 기능이 하드웨어 유니트에 의하여 이루어질수 있도록 하는 TD-버스 선택방법을 구현하는데 있다.Therefore, an object of the present invention is a call processing function, maintenance function in the electronic exchanger. The hardware unit test function is to implement the TD-bus selection method so that all functions can be performed by the hardware unit.
본 발명은 상기 목적을 달성하기 위하여 하위레벨 메인보드, 상기 하위레벨 메인보드에 연결되고 GPIP(General Purpose Interrupt Register)와 DDR(Data Direction Register)을 구비하는 MFP(Multi-Function Peripheral Processor : 3)로 포함하여 구성된 하위레벨 인터페이스 보드, 상기 하위레벨 인터폐이스 보드에 TD-버스로 연결되는 하드웨어 유니트로 구성되며 TD-버스에 의해 상기 하드웨어 유니트를 중심으로 이중화되어 있는 전전자 교환기의 통화로계 버스 선택 방법에 있어서, 수신대기 상태에서 사용자 프로그램으로부터 파라메타를 받아 상기 하드웨어 유니트중 하나를 선택하는 제1단계, 상기 GPIP를 하드웨어 포트 어드레스에 할당한 후, 상기 GPIP의 레지스터 값을 읽고 쓰는 제2단계, 상기 DDR에 하드웨어 시그날 및 데이타의 입출력 방향을 지정하는 제3단계, 상기 GPIP의 하드웨어 시그날을 감시하는 비트 4, 7을 이용하여 버스를 선택하는 제4단계로 구성된다.The present invention provides a multi-function peripheral processor (MFP) 3 which is connected to a lower level main board, the lower level main board, and has a general purpose interrupt register (GPIP) and a data direction register (DDR) to achieve the above object. Low-level interface board, including a hardware unit connected to the lower-level interface board by a TD-bus, and selected by the TD-bus duplication path bus of the electronic switchboard centered around the hardware unit A method, comprising: a first step of receiving a parameter from a user program in a reception standby state and selecting one of the hardware units, assigning the GPIP to a hardware port address, and then reading and writing a register value of the GPIP; The third step of designating the input / output direction of hardware signals and data to DDR, the hardware of the GPIP The fourth step is to select a bus using bits 4 and 7 to monitor the signal.
이하, 첨부된 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail the present invention.
제1도는 본 발명의 실행을 위한 하드웨어 구성도이다.1 is a hardware diagram for the implementation of the present invention.
도면에서 1은 하위레벨 메인보드, 2와 8은 인터페이스 보드, 3과 9는 다기능 주변처리기(Multi-Function Peripheral Processor : 이하 MFP라함), 4와 10은 메모리, 5와 11은 제어 레지스터, 6과 7은 TD-버스, 12 내지 15는 하드웨어 유니트, 16은 디바이스, 100은 PP의 A면, 200은 PP의 B면을 나타낸다.In the figure, 1 is a lower-level motherboard, 2 and 8 are interface boards, 3 and 9 are Multi-Function Peripheral Processors (MFPs), 4 and 10 are memory, 5 and 11 are control registers, 6 and 7 represents a TD-bus, 12-15 represents a hardware unit, 16 represents a device, 100 represents the A side of PP, and 200 represents the B side of PP.
본 발명의 실행을 위한 하드웨어 환경은 하위레벨 메인보드(1), 상기 하위레벨 메인보드(1)에 각각 연결된 인터페이스 보드(2,8), 상기 인터페이스 보드(2)에 TD-버스(16)로 각각 연결되며 다수개의 디바이스(16)을 내장하고 있는 하드웨어 유니트(12,13), 상기 인터페이스 보드(8)에 TD-버스(6)로 각각 연결되며 다수개의 디바이스(16)를 내장하고 있는 하드웨어 유니트(14,15)로 구성되며 TD-버스(6,7)에 의해 PPA(100)와 PPB(200)로 이중화되어 있다. 또한 상기 인터페이스 보드(2,8)는 실제데이타를 저장하고 송출하는 메모리(4,10), 상기 메모리(4,10)에 연결되며 PP와 상기 하드웨어 유니트(12 내지 15)와의 정보교환이 이루어질수 있게 하기 위한 칩인 MFP(3,9), 상기 MFP(3,9)에 연결되며 하드웨어 신호를 제어하는 제어레지스터(5,11)로 이루어져 있다The hardware environment for the implementation of the present invention comprises a lower level main board 1, an interface board 2 and 8 connected to the lower level main board 1, and a TD bus 16 to the interface board 2, respectively. Hardware units 12 and 13 connected to each other and having a plurality of devices 16 built therein, and hardware units connected to the interface board 8 by a TD bus 6 and each having a plurality of devices 16 embedded therein. It is composed of (14, 15) and is duplicated into PPA (100) and PPB (200) by TD-buses (6, 7). In addition, the interface boards 2 and 8 are connected to the memory 4 and 10 for storing and transmitting the actual data and to the memory 4 and 10 so that information exchange between the PP and the hardware units 12 to 15 can be performed. MFP (3,9), which is a chip for the purpose, is connected to the MFP (3,9) and consists of a control register (5, 11) for controlling hardware signals
TD-버스(6,7)는 A-버스(6)와 B-버스(7)로 이루어지는데 A-버스(6)는 이중화된 PP에서 PPA(100)에 위치한 프로세서에 연결된 실제적인 버스이며, B-버스(7)는 PPB(200)에 위치한 프로세서에 연결된 실제적인 버스이다. 따라서 PPA(100)는 A-버스(6)만을, PPB(200)는 B-버스만을 통하여 하드웨어 유니트(12 내지 15)를 억세스 할 수 있다. 하드웨어 유니트(12 내지 15)도 상기 하위레벨 메인보드(1)에 있는 포트 어드레스에 따라서 구분한다. 그러므로 사용자는 두개의 파라메타를 하위레벨 운영체제에 제공하면 PP(100,200)는 이 파라메타를 받아서 하위레벨 운영체제에서 TD-버스(6,7) 또는 하위레벨 유니트(12 내지 15) 중 하나를 선택한다.The TD-buses 6 and 7 consist of an A-bus 6 and a B-bus 7 which are the actual buses connected to the processor located at the PPA 100 in the redundant PP, B-bus 7 is the actual bus connected to the processor located in PPB 200. Therefore, the PPA 100 can access the hardware units 12 to 15 only through the A-bus 6 and the PPB 200 through the B-bus only. The hardware units 12 to 15 are also classified according to the port address in the lower level main board 1. Therefore, when the user provides two parameters to the lower level operating system, the PP 100,200 receives this parameter and selects one of the TD-buses 6 and 7 or the lower level units 12 to 15 from the lower level operating system.
제2도는 본 발명의 실행과정을 나타내는 흐름도이다.2 is a flow chart showing the implementation of the present invention.
사용자 프로그램으로부터 파라메타 1, 2를 받으면(101), 4개의 하드웨어 유니트(12 내지 15)중 하나를 선택하고(102), MFP(3,9) 칩속의 GPIP(General Purpose Interrupt Register : 도면에 도시하지 않았음)를 하드웨어 메인보드(1)내에 있는 하드웨어 포트 어드레스에 할당한다(103). GPIP의 레지스터 값을 읽은 후 다시 한번 GPIP 값을 쓰고(104), MFP(3,9) 칩속의 DDR(Data Direction Register : 도면에 도시하지 알았음)의 값을 지정함으로써 하드웨어 시그날 및 데이타의 입출력 방향을 설정한다(105). 마지막으로 GPIP의 비트 7이 상대 PP의 TD-버스 선택신호를 감시하고 있으며, 비트 4가 자신의 TD-버스 선택신호를 감시하므로 이 두 비트를 이용하여 버스를 선택한다. 버스 선택방법은 상기 두 비트 상태가 같으면, 즉 0, 0 또는 1, 1일때 B-버스(7)를 선택하고(106,107,108), 서로 다를때, 즉 0, 1 또는 1, 0일때 A-버스(6)를 선택한다(106,107,109). 그리고 다음 TD-버스 통신에서 데이타 전송대기 상태로 천이한다(110).When parameters 1 and 2 are received from the user program (101), one of four hardware units (12 to 15) is selected (102), and the GPIP (General Purpose Interrupt Register) in the MFP (3, 9) chip is not shown in the figure. To the hardware port address in the hardware motherboard 1 (103). After reading the register value of GPIP, write GPIP value once more (104) and input / output direction of hardware signal and data by specifying the value of DDR (Data Direction Register: not shown) in MFP (3,9) chip. (105). Finally, bit 7 of the GPIP monitors the TD bus selection signal of the other PP, and bit 4 monitors its own TD bus selection signal, so these two bits are used to select the bus. The bus selection method selects the B-bus 7 when the two bit states are the same, i.e., 0, 0 or 1, 1 (106, 107, 108), and when the two bits are different, i.e. when it is 0, 1 or 1, 0, 6) (106,107,109). Then, the transition to the data transmission standby state in the next TD-bus communication (110).
본 발명에 의한 효과는 다음과 같다.The effect by the present invention is as follows.
첫째로 TD-버스 통신의 실행중 오류 발생시 오류 처리의 신뢰성이 증가한다.Firstly, the reliability of error handling increases when an error occurs during the execution of TD-bus communication.
둘째로 운영체제에서 공통된 프로시져를 제공함으로서 사용자 프로그램의 편의성을 제공하고 TD-버스 통신 프로그램을 통일시킨다.Second, by providing a common procedure in the operating system, it provides the convenience of the user program and unifies the TD-bus communication program.
세째로 고속의 버스를 통하여 속도를 향상시킨다.Thirdly, speed is improved through the high-speed bus.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019910007109A KR940003845B1 (en) | 1991-05-02 | 1991-05-02 | Communication path bus selecting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019910007109A KR940003845B1 (en) | 1991-05-02 | 1991-05-02 | Communication path bus selecting method |
Publications (2)
Publication Number | Publication Date |
---|---|
KR920022751A KR920022751A (en) | 1992-12-19 |
KR940003845B1 true KR940003845B1 (en) | 1994-05-03 |
Family
ID=19313999
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019910007109A KR940003845B1 (en) | 1991-05-02 | 1991-05-02 | Communication path bus selecting method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR940003845B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100465300B1 (en) * | 1999-10-28 | 2005-01-13 | 엘지전자 주식회사 | Device for interface control of Peripheral Processor |
-
1991
- 1991-05-02 KR KR1019910007109A patent/KR940003845B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR920022751A (en) | 1992-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4309755A (en) | Computer input/output arrangement for enabling a simultaneous read/write data transfer | |
JPS58217069A (en) | Communicating system of multi-microcomputer | |
US5444852A (en) | I/O device interface having buffer mapped in processor memory addressing space and control registers mapped in processor I/O addressing space | |
KR940003845B1 (en) | Communication path bus selecting method | |
US7716392B2 (en) | Computer system having an I/O module directly connected to a main storage for DMA transfer | |
JPH0652067A (en) | Multiport ram check control method | |
KR200210744Y1 (en) | Apparatus for data communication between processors | |
KR100210806B1 (en) | Method for initializing node address of ipc | |
US20020156963A1 (en) | Data processing arrangement and memory system | |
JPH01291343A (en) | Memory managing device | |
JP4174272B2 (en) | Device controller | |
JPS5844419Y2 (en) | data channel device | |
KR100242690B1 (en) | Control device of subsystem using address line | |
KR100213266B1 (en) | Semiconductor device having test circuit | |
JPH01270684A (en) | Testing system of lsi | |
EP1084466B1 (en) | Data processing arrangement and memory system | |
JP2001175611A (en) | Inter-processor, communication interface circuit and semiconductor integrated circuit device | |
JPS61213958A (en) | Data transmission system between cpus | |
JPH0561812A (en) | Information processing system | |
JPH0553923A (en) | Main storage device control circuit | |
KR20010036550A (en) | Multiport controlling method in multiport controller | |
JPS63217444A (en) | Multiple port memory | |
KR19980044341A (en) | Data communication channel processing device of synchronous transmission system | |
JP2000242523A (en) | Microprocessor and debugging device | |
JPH1091302A (en) | Setting data informing circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
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: 20080428 Year of fee payment: 15 |
|
LAPS | Lapse due to unpaid annual fee |