KR20000046118A - Communication method using event driven method between signal device and control device in full electronic switching system - Google Patents

Communication method using event driven method between signal device and control device in full electronic switching system Download PDF

Info

Publication number
KR20000046118A
KR20000046118A KR1019980062794A KR19980062794A KR20000046118A KR 20000046118 A KR20000046118 A KR 20000046118A KR 1019980062794 A KR1019980062794 A KR 1019980062794A KR 19980062794 A KR19980062794 A KR 19980062794A KR 20000046118 A KR20000046118 A KR 20000046118A
Authority
KR
South Korea
Prior art keywords
data
control device
area
signal
event
Prior art date
Application number
KR1019980062794A
Other languages
Korean (ko)
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 KR1019980062794A priority Critical patent/KR20000046118A/en
Publication of KR20000046118A publication Critical patent/KR20000046118A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/24Arrangements for supervision, monitoring or testing with provision for checking the normal operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/36Memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Exchange Systems With Centralized Control (AREA)

Abstract

PURPOSE: A communication method using an event driven method between a signal device and a control device in the full electronic switching system is provided to reduce the loads of a signal device block and to improve efficiency by adopting an event driven method for a communication method between a signal device and a control device. CONSTITUTION: A control device judges whether a value read a run flag domain as every regular period is "0 x 55"(S100). If the control device reads the data pair domain of a common memory and the data pair is not "0 x 00", the control device reads memories as much as an associated quantity(S200). The control device judges whether there is a data or function information mode to transmit to a signal device(S300). If there is the data or function information mode to transmit, the control device writes the data and message to be transmitted(S400). After writing the channel and function mode or the channel and transmitting data from the 04H address of the common memory in sequence, the control device writes the number of each of the pairs in the data pair domain(S500).

Description

전전자교환기에서 신호장치와 제어장치간의 이벤트 드라이빈 방식을 이용한 통신 방법Communication Method using Event-Driven Method between Signaling Device and Control Device in Electronic Switching System

본 발명은 디지탈 교환기의 신호장치와 제어장치간의 통신에 관한 것으로, 특히, 신호장치와 제어장치간의 통신 방식을 이벤트 드라이빈(Event Driven) 방식으로 하여 신호장치블록의 부하를 줄이며, 효율성을 향상시킬 수 있도록 하는 전전자교환기에서 신호장치와 제어장치간의 이벤트 드라이빈 방식을 이용한 통신 방법에 관한 것이다.The present invention relates to the communication between the signaling device and the control device of the digital exchange, and in particular, the communication method between the signal device and the control device is an event driven method to reduce the load of the signal device block and improve the efficiency. The present invention relates to a communication method using an event drive method between a signaling device and a control device in an all-electronic exchange.

일반적으로, 신호장치내의 블록도는 도 1 에 도시한 바와 같이, 제어장치(100)는 동작 기능 모드와 신호음송수신 채널정보 및 송출 데이터를 출력시켜 주고, 신호장치(200)는 상기 제어장치(100)로 부터 동작 기능 모드와 신호음송수신 채널정보 및 송출 데이터를 공통 메모리(210)를 통해 입력받아 송출기능 및 검출기능을 수행한다.In general, as shown in FIG. 1, the block diagram in the signal device, the control device 100 outputs the operation function mode and the signal transmission and reception channel information and transmission data, the signal device 200 is the control device 100 ) Receives the operation function mode, the signal transmission / reception channel information, and the transmission data through the common memory 210 to perform the transmission function and the detection function.

또한, 상기 신호장치(200)는 해당 채널정보와 검출 데이터를 상기 공통 메모리(210)를 통해 상기 제어장치(100)로 보고하는 기능을 담당한다.In addition, the signal device 200 is responsible for reporting the corresponding channel information and detection data to the control device 100 through the common memory 210.

종래의 프로세서간 통신을 담당하는 공통 메모리의 메모리 맵은 도 2 에 도시한 바와 같이, 송신영역은 32바이트로 구성되어 있으며, 각각의 32바이트 영역은 신호음 송신 채널(0~31)을 나타낸다.As shown in Fig. 2, a memory map of a conventional memory that is in charge of interprocessor communication, the transmission area is composed of 32 bytes, and each 32 byte area represents the beep transmission channel (0 to 31).

또한, 제어장치(100)가 채널정보에 해당되는 바이트 영역에 송출 신호음정보에 해당되는 데이터를 저장하면, 신호장치(200)는 송신영역의 32바이트를 모두 읽은후 데이터가 있는 바이트 영역을 이용해 송신 채널 정보를 판단한다.In addition, when the control device 100 stores data corresponding to the transmission tone information in the byte area corresponding to the channel information, the signal device 200 reads all 32 bytes of the transmission area and then transmits the data using the byte area in which the data is located. Determine channel information.

또한, 함께 읽은 데이터를 이용해 송출되어질 신호음을 판단하여 송신 채널에 해당 신호음을 송출하게 된다.In addition, by using the data read together to determine the tones to be transmitted to the transmission channel tones.

한편, 제어영역은 상기 제어장치(100)와 신호장치(200)간에 제어 메시지를 교환하기 위한 영역으로 제어 영역내의 020H 번지는 런(Run) 플래그(Flag) 영역이고, 여기서 런 플래그는 양방향 통신을 할 때 수신측에서 데이터가 전송되는 것을 알 수 있도록 이니셜(Initial)화한 것을 의미한다.On the other hand, the control area is an area for exchanging control messages between the control device 100 and the signal device 200, and the 020H address in the control area is a run flag area, where the run flag is used for bidirectional communication. When initializing, it means initializing so that the receiver can know that data is transmitted.

그러므로, 상기 제어장치(100)와 신호장치(200)가 서로 공통 메모리(210)를 억세스(Access)할때마다 상대측에서 표시한 플래그를 변환하여 장치간의 충돌 및 업데이트(Update)를 방지하기 위한 영역이다.Therefore, whenever the control device 100 and the signal device 200 access the common memory 210, the area for preventing the collision and update between devices by converting the flag displayed by the counterpart. to be.

즉, 상기 제어장치(100)가 공통 메모리(210)를 억세스한 후에는 "0xAA"를 쓰고, 상기 신호장치(200)가 공통 메모리(210)를 억세스한 후에는 "0x55"를 쓰고, 022H번지는 상기 신호장치(200)가 초기화과정에서 도시하지 않은 보드의 상태와 Identity를 상기 제어장치(100)에 통보하기 위해 사용된다.That is, the controller 100 writes "0xAA" after accessing the common memory 210 and writes "0x55" after the signal device 200 accesses the common memory 210, address 022H. The signal device 200 is used to notify the control device 100 of the status and identity of a board (not shown) during the initialization process.

또한, 024H 번지는 상기 제어장치(100)가 신호장치(200)에게 동작 모드를 설정하기 위해 사용되고, 026H 번지는 상기 제어장치(100)로 부터 수신된 동작모드에 따라 초기화한 후 다시 상기 제어장치(100)로 동작모드를 확인시켜 주기 위해 사용된다.In addition, address 024H is used by the control device 100 to set the operation mode to the signal device 200, and address 026H is initialized according to the operation mode received from the control device 100, and then again the control device. 100 is used to confirm the operation mode.

한편, 수신영역은 32바이트로 구성되고 각각의 32바이트 영역은 상기 신호장치(200)의 신호음 수신채널(0~31)을 나타낸다.On the other hand, the reception area is composed of 32 bytes, and each 32-byte area represents the signal sound reception channels 0 to 31 of the signal device 200.

또한, 상기 신호장치(200)가 제어장치(100)로 부터 입력받아 동작모드에 따라 신호음을 검출하여 데이터로 변환후 이를 수신채널에 해당하는 바이트 영역에 저장한다.In addition, the signal device 200 receives an input from the control device 100, detects a beep according to an operation mode, converts it into data, and stores it in a byte area corresponding to a reception channel.

그러면, 상기 제어장치(100)는 수신영역의 32바이트를 모두 읽은 후 데이터가 있는 바이트영역을 이요해 수신 채널 정보를 판단하고, 함께 읽은 데이터를 처리한다.Then, the control device 100 reads all 32 bytes of the reception area, determines the reception channel information by using the byte area where the data is located, and processes the data read together.

한편, 종래의 폴링 방식을 이용한 신호장치블록의 통신 방법의 동작 과정은 도 3 에 도시한 바와 같이, 제어장치(100)에서 일정 주기마다 공통 메모리(210)의 런(RUN) 플래그(FLAG) 영역을 리드한 값이 "Ox55"인지 판단한다(S10).Meanwhile, as shown in FIG. 3, the operation process of the communication method of the signaling device block using the conventional polling method is the RUN flag FLAG area of the common memory 210 at a predetermined period in the control device 100. It is determined whether the read value is "Ox55" (S10).

또한, 상기 제어장치(100)에서 런 플래그 영역을 리드한 값이 "Ox55"이면(S10), 상기 제어장치(100)에서 공통 메모리(210) 맵내부 제어영역의 제어 메시지를 모두 리드한다(S20).In addition, when the value of reading the run flag area in the control device 100 is "Ox55" (S10), the control device 100 reads all control messages of the control area inside the map of the common memory 210 (S20). ).

또한, 상기 제어장치(100)에서 제어영역의 메시지를 리드했으면(S20), 상기 제어장치(100)에서 신호장치(200)가 수신한 데이터가 있는 32바이트 수신영역의 데이터를 모두 리드하여 확인한다(S30).In addition, if the control device 100 reads the message in the control area (S20), the control device 100 reads and confirms all data in the 32-byte receiving area in which the signal device 200 receives the data. (S30).

한편, 상기 제어장치(100)에서 수신영역의 데이터를 리드했으면(S30), 상기 제어장치(100)에서 송신할 메시지 및 데이터가 있는 지 판단하고(S40), 송신할 메시지 및 데이터가 있으면(S40), 상기 제어장치(100)에서 32바이트 송신영역의 데이터를 라이트한다(S50).On the other hand, if the control device 100 has read the data in the reception area (S30), the control device 100 determines whether there is a message and data to be transmitted (S40), if there is a message and data to be transmitted (S40) In step S50, the control device 100 writes data in the 32-byte transmission area.

또한, 상기 제어장치(100)에서 송신영역의 데이터를 라이트했으면(S50), 상기 제어장치(100)에서 제어영역의 제어 메시지를 라이트한다(S60).In addition, when the control device 100 has written the data of the transmission area (S50), the control device 100 writes the control message of the control area (S60).

또한, 상기 제어장치(100)에서 런 플래그 영역의 값이 "Ox55"가 아니고(S10), 송신할 메시지 및 데이터가 없으며(S40), 제어영역의 메시지를 라이트했으면(S60), 상기 제어장치(100)에서 공통 메모리(210)를 엑세스하여 런 플래그를 "OxAA"로 설정한다(S70).Further, if the value of the run flag area in the control device 100 is not "Ox55" (S10), there is no message and data to be transmitted (S40), and the message of the control area is written (S60), the control device ( In operation 100, the common memory 210 is accessed to set the run flag to “OxAA” (S70).

그러나, 상기와 같은 종래 폴링 방식을 이용한 신호장치블록의 통신 방법은 통신 신호음을 송출하거나 검출하는데 있어서, 실시간으로 고속화 처리해야 하는 신호장치의 특성에 따라 고정된 송수신채널을 점유하는 시간이 극히 짧다.However, in the conventional method of transmitting a signal device block using a polling method, the time required for occupying a fixed transmission / reception channel is extremely short depending on the characteristics of the signal device to be accelerated in real time in transmitting or detecting a communication signal sound.

또한, 같은 시간에 많은 양의 신호음 송수신이 일어날 확율이 매우 적기 때문에 실질적으로 처리하는 채널은 32채널이라 하더라도 동시에 리드하거나 라이트하는 메시지는 매우 적어진다.In addition, since the probability of transmitting and receiving a large amount of tones at the same time is very small, even though the channel to be actually processed is 32 channels, there are very few messages to read or write simultaneously.

그런데, 신호장치와 제어장치가 송신 데이터 및 수신 데이터를 공통 메모리를 통해 엑세스할때마다 항상 제어영역의 제어메시지 및 송신영역의 32바이트와 수신영역의 32바이트를 모두 스캐닝한다.However, whenever the signal device and the control device access the transmission data and the reception data through the common memory, the control message of the control area, the 32 bytes of the transmission area, and the 32 bytes of the reception area are always scanned.

그러므로, 불필요한 부하가 많아 신호음 송수신 기능 및 유지보수 기능이 상대적으로 미약하거나, 처리속도가 느리다는 단점이 있으며, 송수신채널이 32채널로 한정되어 있기 때문에 신호장치당 처리 용량에 있어서 효율성이 떨어지는 문제점이 있었다.Therefore, there is a disadvantage that the signal transmission / reception function and maintenance function are relatively weak or the processing speed is slow due to a large amount of unnecessary load, and the efficiency of processing capacity per signal device is inferior because the transmission / reception channel is limited to 32 channels. there was.

본 발명은 상기와 같은 종래의 문제점을 해소하기 위한 것으로, 특히, 송신영역 및 수신영역의 구분을 두지 않고, 현재 필요한 채널만을 처리하게 하고, 이벤트 신호로서 런 플래그와 데이터 페어 개수를 두어 송신데이터 및 수신데이터에 관한 이벤트가 발생했을 경우 런 플래그를 이용해 이벤트 발생유무를 데이터 페어 개수를 통해 이벤트수를 서로에게 알림으로써, 이벤트수 만큼만 스캐닝하게 하는 이벤트 드라이빈 방식을 사용하여 수용채널의 한계를 최대 8배까지 확장할 수 있도록 한 전전자교환기에서 신호장치와 제어장치간의 이벤트 드라이빈 방식을 이용한 통신 방법을 제공하는 데 있다.The present invention solves the above-mentioned problems. In particular, the present invention does not distinguish between the transmission area and the reception area, and processes only necessary channels, and sets the number of run flags and data pairs as event signals to transmit data and When an event related to the received data occurs, the limit of the acceptance channel can be set up by using the event drybin method that the run flag is used to notify each other of the event number through the number of data pairs, and to scan only the number of events. The present invention provides a communication method using an event-driving method between a signaling device and a control device in an electronic switch that can be expanded to a ship.

상기와 같은 목적을 달성하기 위하여 본 발명 전전자교환기에서 신호장치와 제어장치간의 이벤트 드라이빈 방식을 이용한 통신 방법은, 제어장치에서 일정 주기마다 런 플래그 영역을 리드한 값이 현재일을 수행하기 위한 "Ox55"인지 판단하는 런 플래그 영역 판단단계(S100)와; 런 플래그 영역의 값이 현재일을 수행하기 위한 "Ox55"이 맞으면(S100), 상기 제어장치에서 신호장치가 수신한 데이터가 있는지 데이터 페어영역을 리드하여 데이터 페어가 이벤트가 없음을 의미하는 "OxOO"이 아니면 해당 개수만큼의 메모리만을 리드하는 데이터 리드단계(S200)와; 데이터 페어영역의 데이터를 리드했으면(S200), 상기 제어장치에서 상기 신호장치에 송신해야할 데이터나 기능 모드정보가 있는지 판단하는 송신 메시지 판단단계(S300)와; 송신할 메시지 및 데이터가 있으면(S300), 상기 제어장치에서 송신할 데이터 및 메시지를 라이트 하는 데이터 라이트단계(S400)와; 데이터를 라이트했으면(S400), 상기 제어장치에서 라이트할 채널과 기능모드 또는 채널과 송신 데이터를 차례로 라이트하여 각각의 쌍의 개수를 데이터 페어영역에 라이트하는 데이터 페어 라이트단계(S500)와; 런 플래그 영역의 값이 현재일을 수행하기 위한 "Ox55"이 아니고(S100), 데이터 페어 영역에 전달할 메시지를 라이트했으면(S500), 런 플래그 영역에 이벤트가 있음(다음일을 수행하는 것)을 의미하는 "OxAA"를 라이트하는 런 플래그 설정단계(S600)를 포함하여 구성된 것을 특징으로 한다.In order to achieve the above object, a communication method using an event driving method between a signal device and a control device in an electronic switch according to the present invention includes a value for reading a run flag region at a predetermined period from a control device to perform a current day. A run flag area determination step S100 of determining whether or not it is "Ox55"; If the value of the run flag area is "Ox55" to perform the current day (S100), "OxOO" means that there is no event by leading the data pair area to see if there is data received by the signal device from the control device. Otherwise, the data read step (S200) of reading only the corresponding number of memories; A transmission message determination step (S300) of determining whether there is data or function mode information to be transmitted from the control apparatus to the signal apparatus when the data of the data pair region is read (S200); If there is a message and data to be transmitted (S300), the data writing step (S400) for writing the data and the message to be transmitted from the control device; If the data is written (S400), the data pair writing step (S500) of writing the number of each pair in the data pair area by sequentially writing the channel to be written and the function mode or the channel and the transmission data; If the value of the run flag area is not "Ox55" for performing the current day (S100), and the message to be transmitted to the data pair area is written (S500), an event is present in the run flag area (performing the next job). It is characterized in that it comprises a run flag setting step (S600) for writing the meaning "OxAA".

도 1 은 일반적인 신호장치와 제어장치간의 통신을 나타낸 블록도,1 is a block diagram showing communication between a general signaling device and a control device;

도 2 는 종래의 프로세서간 통신을 담당하는 공통 메모리의 메모리 맵을 나 타낸 도면,2 is a diagram illustrating a memory map of a common memory that is in charge of inter-processor communication in the related art;

도 3 은 종래의 폴링 방식을 이용한 신호장치블록의 통신 방법을 나타낸 순 서도,3 is a flowchart illustrating a communication method of a signal device block using a conventional polling scheme;

도 4 는 본 발명의 일 실시예에 따른 전전자교환기에서 신호장치와 제어장치 간의 이벤트 드라이빈 방식을 이용한 통신 방법을 구현하기 위한 공 통 메모리 맵을 나타낸 도면,4 is a view showing a common memory map for implementing a communication method using an event drive method between a signaling device and a control device in an electronic switch according to an embodiment of the present invention;

도 5 는 본 발명의 일 실시예에 따른 전전자교환기에서 신호장치와 제어장치 간의 이벤트 드라이빈 방식을 이용한 통신 방법을 나타낸 순서도이 다.5 is a flowchart illustrating a communication method using an event drive method between a signal device and a control device in an all-electronic exchange according to an embodiment of the present invention.

〈도면의 주요 부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>

100 : 제어장치 200 : 신호장치100: control device 200: signal device

210 : 공통 메모리210: common memory

이하, 상술한 내용을 본 발명에 따른 실시예를 통해 상세히 설명하면 다음과 같다.Hereinafter, the above-described contents will be described in detail through an embodiment according to the present invention.

본 발명은 도 4 에 도시한 바와 같이, 공유 메모리(210)의 맵은 먼저, 00H번지는 런 플래그 영역으로 제어장치(100)와 신호장치(200)의 공통 메모리 엑세스 충돌 및 이벤트 발생 유무를 서로에게 전달하는 기능을 한다.As shown in FIG. 4, the map of the shared memory 210 has a run flag region of 00H, and the presence of a common memory access conflict and event occurrence between the control device 100 and the signal device 200 are different from each other. Function to deliver

또한, 02H번지는 데이터 페어영역으로 채널 + 데이터, 또는 채널 + 동작모드의 개수를 의미하며, 04H~07H번지는 송수신 및 기능 모드정보 영역으로 사용함으로써, 본 실시예를 구성한다.In addition, address 02H means the number of channels + data or channel + operation mode as the data pair area, and address 04H to 07H is used as the transmission / reception and function mode information area to constitute the present embodiment.

이하, 상기와 같이 구성된 전전자교환기에서 신호장치와 제어장치간의 이벤트 드라이빈 방식을 이용한 통신 방법의 동작과정을 도 5 에 도시한 바와 같이, 상세히 설명하면 다음과 같다.Hereinafter, an operation process of the communication method using the event drive method between the signal device and the control device in the all-electronic exchange configured as described above will be described in detail as follows.

제어장치(100)에서 일정 주기마다 공통 메모리(210)의 런 플래그 영역을 리드한 값이 현재일을 수행하기 위한 "0x55"인지 판단하여(S100), 상기 공통 메모리(210)의 런 플래그 영역의 값이 현재일을 수행하기 위한 "0x55"이면(S100), 상기 제어장치(100)에서 신호장치(200)가 수신한 데이터가 있는지 상기 공통 메모리(210)의데이터 페어영역을 리드하여 데이터 페어가 이벤트가 없음을 의미하는 "0x00"이 아니면 해당 개수만큼의 메모리만을 리드한다(S200).The controller 100 determines whether or not the value of the run flag region of the common memory 210 is “0x55” for performing the current day at a predetermined period (S100), so that the run flag region of the common memory 210 is determined. If the value is " 0x55 " for performing the current day (S100), the control device 100 reads the data pair area of the common memory 210 to see if there is any data received by the signal device 200. If it is not " 0x00 " which means there is no event, only the corresponding number of memories is read (S200).

이때, 상기 제어장치(100)에서 공통 메모리(210)로 부터 리드한 메모리의 첫 번째 데이터는 채널정보를 의미하여, 두 번째 데이터는 수신데이터를 의미하게 된다.In this case, the first data of the memory read from the common memory 210 in the control device 100 refers to channel information, and the second data refers to received data.

예를 들어, 데이터 페어가 "0x02"이면 처리해야할 이벤트가 2개임을 의미하고, 이에 따라 상기 제어장치(100)에서 공유 메모리(210)의 04H번지에서 07H번지까지 리드하는데, 상기 04H번지와 05H번지가 하나의 쌍을 이루고, 06H번지와 07H번지가 또다른 하나의 쌍을 이룬다.For example, if the data pair is "0x02", it means that there are two events to be processed, and accordingly, the controller 100 reads from 04H address to 07H address of the shared memory 210, and addresses 04H and 05H. Address is a pair, and 06H and 07H are another pair.

또한, 상기 공유 메모리(210)의 04H번지와 06H번지에서 리드한 것은 채널로 해석하고, 05H번지와 07H번지에서 리드한 것은 검출된 신호음에 해당하는 수신데이터로 처리하게 된다.In addition, the readings at the 04H and 06H addresses of the shared memory 210 are interpreted as channels, and the readings at the 05H and 07H addresses are processed as received data corresponding to the detected tones.

만약 04H번지에서 "0x01"이 05H번지에서는 "0x43" 및 06H번지에서는 "0x0f"이, 07H번지에는 "0x5a"를 읽었다면, 상기 신호장치(100)가 1번채널(0x01)에서 "0x43"에 해당하는 신호음을 검출하였고, 15번채널(0x0f)에서는 "0x5a"에 해당되는 신호음을 검출하였다는 것을 의미한다.If "0x01" at address 04H is read "0x43" at address 05H and "0x0f" at address 06H and "0x5a" at address 07H, the signaling device 100 reads "0x43" on channel 1 (0x01). It means that the sound signal corresponding to "0x5a" is detected in the 15th channel (0x0f).

한편, 상기와 같이 제어장치(100)에서 데이터 페어영역의 데이터를 리드했으면(S200), 상기 제어장치(100)에서 수신데이터를 읽은 후 상기 신호장치(200)에 송신해야할 데이터나 기능 모드정보가 있는지 판단한다(S300).On the other hand, if the data of the data pair area is read by the control device 100 as described above (S200), the data or function mode information to be transmitted to the signal device 200 after reading the received data from the control device 100 is Determine whether there is (S300).

이때, 상기 신호장치(200)에 송신할 메시지 및 데이터가 있으면(S300), 상기 제어장치(100)에서 송신할 데이터 및 메시지를 라이트 한다(S400).At this time, if there is a message and data to be transmitted to the signal device 200 (S300), the data and message to be transmitted from the control device 100 is written (S400).

또한, 상기 제어장치(100)에서 데이터를 라이트했으면(S400), 라이트할 채널과 기능모드 또는 채널과 송신 데이터를 차례로 공통 메모리(210)의 04H번지부터 차례로 라이트한 후에 각각의 쌍의 개수를 데이터 페어영역에 라이트한다(S500).In addition, when data is written in the control apparatus 100 (S400), the number of pairs is written after sequentially writing the channel to be written and the function mode or the channel and transmission data starting from the 04H address of the common memory 210. Write to the pair area (S500).

예를 들어, 2번 채널을 DTMF신호음 수신 모드로 전환하고, 5번 채널에는 "0x51"에 해당되는 신호음을 송출하도록 할 경우, 04H번지에는 2번 채널을 의미하는 "0x02"를, 05H번지에는 DTMF수신 모드를 의미하는 "0x04"를 지정한다.For example, if channel 2 is switched to DTMF signal reception mode, and channel 5 is to transmit a signal sound corresponding to "0x51", it means "0x02" which means channel 2 at 04H, and 05H. Specify "0x04" which means DTMF reception mode.

또한, 06H번지에는 5번 채널을 의미하는 "0x05"를, 07H번지에는 송출신호음에 대한 정보인 "0x51"을 라이트하고, 데이터 페어영역에 전달할 메시지의 쌍이 2개가 있다는 것을 의미하는 "0x02"를 라이트한다.In addition, the address 06H writes "0x05", which means channel 5, and the 07H writes "0x51", which is information on the transmission signal tone, and "0x02", which means that there are two pairs of messages to be transmitted to the data pair area. Light it.

그러면, 상기 공유 메모리(210)의 런 플래그 영역에 이벤트가 있음을 의미하는 즉, 다음일을 수행하기 위한 "0xAA"를 라이트한 후 리턴한다(S600).Then, it means that there is an event in the run flag area of the shared memory 210, that is, writes " 0xAA " for performing the next day and returns (S600).

이상에서 살펴본 바와 같이 본 발명 전전자교환기에서 신호장치와 제어장치간의 이벤트 드라이빈 방식을 이용한 통신 방법은, 이벤트가 필요없는 채널에 대해서도 무조건 32바이트 메모리영역을 라이트하는 폴링 방식에 비해 4바이트만을 라이트함으로써, 그만큼 신호장치블록의 부하를 줄일 수 있게 되고, 수용채널의 한계가 256채널까지 표시할 수 있는 효과가 있다.As described above, in the electronic switching system of the present invention, the communication method using the event driving method between the signal device and the control device writes only 4 bytes compared to the polling method which writes a 32-byte memory area unconditionally even for a channel without an event. As a result, the load of the signal device block can be reduced by that amount, and the limit of the acceptance channel can be displayed up to 256 channels.

Claims (2)

제어장치와 신호장치간의 통신 방법에 있어서, 제어장치에서 일정 주기마다 런 플래그 영역을 리드한 값이 현재일을 수행하기 위한 "Ox55"인지 판단하는 런 플래그 영역 판단단계(S100)와; 런 플래그 영역의 값이 현재일을 수행하기 위한 "Ox55"이 맞으면(S100), 상기 제어장치에서 신호장치가 수신한 데이터가 있는지 데이터 페어영역을 리드하여 데이터 페어가 이벤트가 없음을 의미하는 "OxOO"이 아니면 해당 개수만큼의 메모리만을 리드하는 데이터 리드단계(S200)와; 데이터 페어영역의 데이터를 리드했으면(S200), 상기 제어장치에서 상기 신호장치에 송신해야할 데이터나 기능 모드정보가 있는지 판단하는 송신 메시지 판단단계(S300)와; 송신할 메시지 및 데이터가 있으면(S300), 상기 제어장치에서 송신할 데이터 및 메시지를 라이트 하는 데이터 라이트단계(S400)와; 데이터를 라이트했으면(S400), 상기 제어장치에서 라이트할 채널과 기능모드 또는 채널과 송신 데이터를 차례로 라이트하여 각각의 쌍의 개수를 데이터 페어영역에 라이트하는 데이터 페어 라이트단계(S500)와; 런 플래그 영역의 값이 현재일을 수행하기 위한 "Ox55"이 아니고(S100), 데이터 페어 영역에 전달할 메시지를 라이트했으면(S500), 런 플래그 영역에 이벤트가 있음(다음일을 수행하는 것)을 의미하는 "OxAA"를 라이트하는 런 플래그 설정단계(S600)를 포함하여 구성된 것을 특징으로 하는 전전자교환기에서 신호장치와 제어장치간의 이벤트 드라이빈 방식을 이용한 통신 방법.A communication method between a control apparatus and a signal apparatus, comprising: a run flag region determination step (S100) of determining whether a value at which a run flag region is read at a predetermined period by a control apparatus is "Ox55" for performing a current day; If the value of the run flag area is "Ox55" to perform the current day (S100), "OxOO" means that there is no event by leading the data pair area to see if there is data received by the signal device from the control device. Otherwise, the data read step (S200) of reading only the corresponding number of memories; A transmission message determination step (S300) of determining whether there is data or function mode information to be transmitted from the control apparatus to the signal apparatus when the data of the data pair region is read (S200); If there is a message and data to be transmitted (S300), the data writing step (S400) for writing the data and the message to be transmitted from the control device; If the data is written (S400), the data pair writing step (S500) of writing the number of each pair in the data pair area by sequentially writing the channel to be written and the function mode or the channel and the transmission data; If the value of the run flag area is not "Ox55" for performing the current day (S100), and the message to be transmitted to the data pair area is written (S500), an event is present in the run flag area (performing the next job). Run flag setting step (S600) for writing the meaning "OxAA" means that the communication method using the event drive method between the signal device and the control device in the electronic switchboard. 전전자교환기에서 신호장치와 제어장치간의 이벤트 드라이빈 방식을 이용하여 통신하는 장치에 있어서, 공통 메모리 맵은 런 플래그 영역으로 상기 신호장치와 제어장치간의 공통 메모리 억세스 충돌 및 이벤트 발생 유무를 상기 신호장치 및 제어장치간에 전달해 주는 00H번지와; 데이터 페어 영역으로 상기 00H번지에서 발생한 이벤트 개수를 전달하는 02H번지와; 송/수신 및 기능 모드정보 영역으로 사용하는 04H∼07FH로 구성된 것을 특징으로 하는 전전자교환기에서 신호장치와 제어장치간의 이벤트 드라이빈 방식을 이용한 통신 방법.A device for communicating by an event driving method between a signaling device and a control device in an all-electronic exchange, wherein the common memory map is a run flag area to indicate whether there is a common memory access conflict between the signal device and the control device and whether an event occurs. And 00H address for passing between the control device; Address 02H for delivering the number of events generated at address 00H to a data pair area; A communication method using an event-driving method between a signaling device and a control device in an all-electronic exchange, comprising 04H to 07FH used as transmission / reception and function mode information areas.
KR1019980062794A 1998-12-31 1998-12-31 Communication method using event driven method between signal device and control device in full electronic switching system KR20000046118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980062794A KR20000046118A (en) 1998-12-31 1998-12-31 Communication method using event driven method between signal device and control device in full electronic switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980062794A KR20000046118A (en) 1998-12-31 1998-12-31 Communication method using event driven method between signal device and control device in full electronic switching system

Publications (1)

Publication Number Publication Date
KR20000046118A true KR20000046118A (en) 2000-07-25

Family

ID=19569410

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980062794A KR20000046118A (en) 1998-12-31 1998-12-31 Communication method using event driven method between signal device and control device in full electronic switching system

Country Status (1)

Country Link
KR (1) KR20000046118A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950016407A (en) * 1993-11-30 1995-06-17 김광호 Method and system for storing and outputting measured traffic data in private exchange
KR970056636A (en) * 1995-12-22 1997-07-31 양승택 Packet and common line signal processing device of all electronic switch
KR19980044113A (en) * 1996-12-05 1998-09-05 양승택 Polling address control device and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR950016407A (en) * 1993-11-30 1995-06-17 김광호 Method and system for storing and outputting measured traffic data in private exchange
KR970056636A (en) * 1995-12-22 1997-07-31 양승택 Packet and common line signal processing device of all electronic switch
KR19980044113A (en) * 1996-12-05 1998-09-05 양승택 Polling address control device and method

Similar Documents

Publication Publication Date Title
KR980007177A (en) Communication control methods, communication systems and electronic devices used therein
CA2182842A1 (en) Image Data Communication System
KR910016168A (en) Reception data processing device
KR970056273A (en) In a data exchange system, a data transmission / reception method using distributed path control
US4849962A (en) Communications control unit
KR20000046118A (en) Communication method using event driven method between signal device and control device in full electronic switching system
US4763254A (en) Information processing system with data storage on plural loop transmission line
EP1026626A1 (en) Mobile electronic information apparatus
KR960032287A (en) Display control apparatus, information processing apparatus, control method thereof, and recording medium for information processing apparatus
KR19990055450A (en) Interface Units for Processors Using Dual-Port Memory
JPH0637766A (en) Data transmission system
KR930011391B1 (en) Data processing circuit
JP2824871B2 (en) IC card
JPH0695716A (en) Transmission interface equipment between programmable controller and man-machine interface equipment
JP3315469B2 (en) Initial monitoring cell judgment circuit
KR20020049331A (en) Matching Apparatus between Peripheral Processor and Device Controller
JP3345193B2 (en) Wireless meter reading device
JP2576236B2 (en) Communication method of programmable controller
JP2525024B2 (en) Polling communication method
KR960002359B1 (en) Data transmitter and receiver for an electronic switching system
KR100224922B1 (en) Facsimile for operating function of card reader and method thereof
SU1185634A2 (en) Interface for linking electronic computer with telegraph communication channels
JPS608949A (en) General interface bus analyzer
KR100210815B1 (en) Apparatus for generating read signal about memory for announcement message
AU749570B2 (en) Remote module control system for controlling module disposed at remote place which accommodates line/trunk circuit and control method thereof

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E601 Decision to refuse application