KR920005134B1 - Common channel signalling system - Google Patents

Common channel signalling system Download PDF

Info

Publication number
KR920005134B1
KR920005134B1 KR1019890020550A KR890020550A KR920005134B1 KR 920005134 B1 KR920005134 B1 KR 920005134B1 KR 1019890020550 A KR1019890020550 A KR 1019890020550A KR 890020550 A KR890020550 A KR 890020550A KR 920005134 B1 KR920005134 B1 KR 920005134B1
Authority
KR
South Korea
Prior art keywords
processor
function
scheduler
signal link
module
Prior art date
Application number
KR1019890020550A
Other languages
Korean (ko)
Other versions
KR910013957A (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 KR1019890020550A priority Critical patent/KR920005134B1/en
Publication of KR910013957A publication Critical patent/KR910013957A/en
Application granted granted Critical
Publication of KR920005134B1 publication Critical patent/KR920005134B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)
  • Communication Control (AREA)
  • Multi Processors (AREA)

Abstract

The realization method of signal link functional scheduler includes the three steps: the first step comprising a scheduler which exchanges the information through a buffer and signal link function module, the second step comprising a processor executing the partially processed input data, the third step gining proper output after executing the second step and executing the signal link function module.

Description

공통선 신호장치의 신호링크 기능 스케듈러부 구현 방법Implementation method of signal link function scheduler of common line signal device

제1도는 CCITT NO.7 신호방식 프로토콜의 계층적 구조도.1 is a hierarchical structure diagram of the CCITT NO.7 signaling protocol.

제2도는 프로세서 스케듈러가 적용되는 모듈구성과 모듈간의 연계도.2 is a diagram illustrating a module configuration to which a processor scheduler is applied and an association between modules.

제3도는 모듈법 내부상태(status)와 기능의 수.Figure 3 shows the number of module states and functions.

제4도는 내부 처리 메시지 및 상태 버퍼 형태도.4 is a form of internal processing message and status buffer.

제5도는 프로세서의 상태 천이도.5 is a state transition diagram of a processor.

제6도는 프로세서 스케듈링 방법에 대한 흐름도.6 is a flow diagram for a method of processor scheduling.

제7도는 프로세서 스케듈러의 흐름도.7 is a flow diagram of a processor scheduler.

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

LSC : 링크 상태 제어 기능 IAC : 초기 동기 제어 기능LSC: Link state control function IAC: Initial synchronous control function

POC : 프로세서 휴지 상태 제어 기능 TXC : 송신 제어 기능POC: Processor idle state control function TXC: Transmission control function

RXC : 수신 제어 기능 AERM : 초기 동기 오류 감시 기능RXC: Receive Control Function AERM: Initial Sync Error Monitoring Function

SUERM : 신호유니트 오류감시 기능 COC : 수신 폭주 제어 기능SUERM: Signal unit error monitoring function COC: Reception congestion control function

RAIN : 속도 정합 장치 입력 인터페이스 제어 기능RAIN: Speed matching device input interface control function

RAOUT : 속도 정합 장치 출력 인터페이스 제어 기능RAOUT: Speed matching device output interface control function

STNIN : 신호망 입력 인터페이스 제어 기능STNIN: Signal network input interface control function

STNOUT : 신호망 출력 인터페이스 제어 기능STNOUT: Signal network output interface control function

TIM : 타이머 핸들링 기능TIM: Timer Handling Function

본 발명은 전전자 교환기에서 호접속 절차에 필요한 신호를 제공하는 NO.7 공통선 신호방식중 신호링크기능에 적용된 스케듈러부의 구현 방법에 관한 것이다.The present invention relates to a method of implementing a scheduler unit applied to a signal link function of a NO.7 common line signaling method for providing a signal required for a call connection procedure in an electronic switch.

본 발명은 종래의 방법보다 신호링크 기능과 이 기능에서 생성되는 신호를 보다 효율적으로 처리할 수 있도록 모듈화, 신뢰도, 융통성 등 특히 실시간성이 향상된 스케듈러를 구현함에 그 목적이 있다. 또한 본 발명은 탐색 테이블을 효율적으로 관리함으로써 테이블의 검색과 메모리의 이용도를 향상 시킴에도 그 목적이 있다.It is an object of the present invention to implement a modularity, reliability, flexibility, and more particularly, a scheduler with improved signal link function and a signal generated by the function more efficiently than the conventional method. In addition, the present invention has an object to improve the table search and memory utilization by efficiently managing the lookup table.

신호링크 기능은 CCITT 권고안을 따르면서, 각 모듈에서 생성된 신호 메시지에 대해서 실시간 처리를 수행하고 또한 프로세서 처리시간을 최소화 하기 위해 CPU(Central Processing Unit)사용 효율을 향상시키도록 신호링크 기능을 설계하여야 한다. 이를 위해 프로세서 스케듈러부는 상태천이에 따라 FIFO(First-in First-out) 스케듈러 방식으로 설계하였다.The signal link function should follow the CCITT Recommendation, and design the signal link function to improve the efficiency of the central processing unit (CPU) in order to perform the real-time processing on the signal message generated in each module and to minimize the processor processing time. . To this end, the processor scheduler unit is designed in a first-in first-out (FIFO) scheduler according to a state transition.

그리고 기능의 추가, 삭제 또는 변경이 용이하도륵 신호링크 기능을 모듈화 시키고 각 모듈간의 독립성을 최대한 보장하였다.In addition, it is easy to add, delete, or change the function, so that the signal link function is modularized and the independence between each module is guaranteed.

첨부된 도면을 참조하여 본 발명을 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명이 적용되는 공통선 신호방식 NO.7의 계층도로서 신호링크 기능은 신호망 기능과 신호데이타 링크 기능에서 입력된 신호들과 자체내에서 생성된 신호를 처리해야 하는데 본 발명으 프로세서 스케듈러는 이 신호중에서 CPU의 서비스를 받도록 프로세서를 선택하는 기능을 가진다.1 is a hierarchical diagram of common line signaling method No. 7 to which the present invention is applied, and the signal link function must process signals inputted from the signal network function and the signal data link function and signals generated within itself. The processor scheduler has a function of selecting a processor to be serviced by the CPU among these signals.

제2도는 본 발명이 적용되는 모듈 구성도와 각 모듈간의 연계도를 나타낸 것이다. 즉 본 발명인 프로세서 스케듈러가 수행해야 하는 프로세서는 본 도의 각 모듈과 연관되어 생성되어 진다.2 is a diagram illustrating the configuration of modules to which the present invention is applied and a diagram of linkage between modules. That is, the processor to be executed by the processor scheduler of the present invention is generated in association with each module of the present invention.

제2도에서, LSC는 링크 상태 제어 기능을, IAC는 초기 동기 제어 기능을, POC는 프로세서 휴지 상태 제어 기능을, TXC는 송신 제어 기능을, RXC는 수신 제어 기능을, AERM은 초기 동기 오류 감시 기능을, SUERM은 신호 유니트 오류 감시 기능을, COC는 수신폭주 제어 기능을, RAIN은 속도 정합 장치 입력 인터페이스 제어 기능을, RAOUT는 속도 정합 장치 출력 인터페이스 제어 기능을, STNIN은 신호망입력 인터페이스 제어 기능을, SINOUT는 신호망 출력 인터페이스 제어 기능을, TIM은 타이머 핸들링 기능을 각각 나타낸다.In Figure 2, LSC is link state control, IAC is initial sync control, POC is processor idle control, TXC is transmit control, RXC is receive control, AERM is initial sync error monitoring. Function, SUERM for signal unit error monitoring, COC for receive congestion control, RAIN for speed matcher input interface control, RAOUT for speed matcher output interface control, STNIN for signal network input interface control SINOUT represents the signal network output interface control function and TIM represents the timer handling function.

제3도는 제2도의 각 모듈에 대한 내부 상태수와 기능의 가지수를 나타낸 것으로 신호링크 기능에서의 프로세서(도한 TASK로도 정의됨)는 한개의 모듈에서 해당 모듈의 각 기능으로 나누어지고, 다시 이 기능들은 본 도의 각 상태수 만큼 세분화 된다.FIG. 3 shows the number of internal states and the number of functions for each module in FIG. 2. The processor in the signal link function (also defined as TASK) is divided into each function of the corresponding module in one module. Functions are subdivided by the number of states in this figure.

신호링크 스케듈러에서의 세분화된 프로세서들을 선택하는 방법은 모듈과 해당 모듈의 내부 상태에 따라 정의된 프로세서를 테이블 형태로 작성하여 FIFO에 입력된 메시지를 분석하여 모듈의 상태를 조합하여 프로세서를 선택하게 된다. 즉 제2도의 모듈과 제3도의 상태에 의해 정의된 프로세서 테이블은 CPU의 서비스를 받게될 프로세서를 선택하기 위해 탐색되는 2차 행렬 데이타로 구성된다.In the method of selecting the granular processors in the signal link scheduler, the modules and the processors defined according to the internal state of the module are prepared in a table form, and the messages inputted to the FIFO are analyzed to combine the states of the modules to select the processors. do. In other words, the processor table defined by the module of FIG. 2 and the state of FIG. 3 consists of secondary matrix data searched to select a processor to be serviced by the CPU.

제4도는 상호 모듈간의 통신 및 데이타 교환을 위한 내부 메시지(Inter Process Message)와 각 모듈에서의 상태 버퍼의 형태를 나타낸 것으로 내부 메시지는 모듈기능(8bits), 데이타 유무(1bit)와 데이타(7bit)등을 포함하고 있어야 하며, 상태버퍼에는 해당 모듈의 상태(8bit)를 가지고 있어야 한다. 모듈간에서 생성된 프로세서를 정의하는 메시지가 제4도의 형태로 FIFO에 준비(Ready)하게 되면 스케듈러는 CPU의 서비스를 할당하여 대기중인 메시지를 차례로 가져와, 이를 분석하고 모듈과 상태 버퍼를 조합한 다음 프로세서 테이블을 탐색하여 해당 프로세서를 활성화(Active)시키게 된다.Figure 4 shows the format of the internal process (Inter Process Message) and the status buffer in each module for the communication and data exchange between the modules. The internal message is the module function (8bits), data presence (1bit) and data (7bit). Etc., and the status buffer should contain the state (8bit) of the module. When a message defining a processor generated between modules is ready to the FIFO in the form of FIG. 4, the scheduler allocates the service of the CPU to retrieve the waiting messages in turn, analyzes them, and combines the module and the status buffer. The next processor table is searched to activate the processor.

제5도는 프로세서 스케듈러의 일반적인 상태 천이를 나타낸 것으로 각 프로세서는 잠재(Dormant), 준비(Ready), 수행(Running), 대기(Waiting)등 4 상태로 천이된다. 신호링크 기능 상태에 있는 프로세서는 잠재 상태가 되며 이를 생성(Create)시켜 FIFO에 저장하게 되면 프로세서는 준비상태(Ready)가 된다. 준비상태의 프로세서를 스케듈러가 분석, 탐색하여 개시(Start 또는 Activate)시키게 되면 수행 상태(Running)가 되며 종료(Terminate) 또는 대기(Wait)하게 된다. 또한 대기에 의해 대기상태(Waiting)가 된 프로세서는 타이머등에 의해 구동(Wake)되어 다시 수행된다.5 illustrates a general state transition of the processor scheduler, and each processor transitions to four states such as Dormant, Ready, Running, and Waiting. The processor in the signal link function state becomes a latent state and when it is created and stored in the FIFO, the processor becomes ready state. When the scheduler analyzes, discovers, and starts a ready processor, it starts or activates and terminates or waits. In addition, the processor, which has been waited by the wait, is driven by a timer and executed again.

제6도는 프로세서 스케듈러의 스케듈링 방법을 나타낸 것으로 제5도의 신호링크 기능과 연관시켜 구체적으로 나타낸 것이다. 신호링크 기능에서 출력된 프로세서는 잠재상태에서 이를 스케듈러부에서는 입력으로 받아 FIFO에 준비상태로 대기하게 한다. 스케듈러는 신호링크 기능의 각 모듈에서의 프로세서사이에 공유하는 영역의 신호배제를 보장하고 CPU의 과부하를 최대한 줄이기 위해 준비상태의 프로세서를 우선순위없이 수행 상태로 활성화(active)시킨다. 수행상태의 프로세서를 신호링크 기능에서는 입력받아 프로세서 처리하게 된다.FIG. 6 is a diagram illustrating a method of scheduling a processor scheduler, and is specifically illustrated in connection with the signal link function of FIG. 5. The processor output from the signal link function accepts this as an input from the scheduler unit and waits for the FIFO to be ready. The scheduler activates the ready-to-run processors without any priorities to ensure signal rejection of the shared area between processors in each module of the signal link function and to minimize CPU overload as much as possible. The signal link function receives the processor in the running state and processes the processor.

이와같이 프로세서 스케듈러부는 신호링크 기능에서 생성된 여러 프로세서들을 CPU의 서비스를 받도록 한 프로세서를 선택하는 기능을 가진다. 즉 프로세서 스케듈러는 실시간 처리능력을 향상시킨 디스패쳐(Dispatcher)로서 이를 위해 신호링크 모듈과 데이타를 내부 메시지에 포함시켜 FIFO에 저장하면 디스패쳐는 메시지를 분석하여 모듈과 해당 버퍼의 상태를 조합한 다음, 가장 효율적으로 프로세서 테이블을 탐색, 해당 프로세서를 수행시키게 된다.In this way, the processor scheduler unit has a function of selecting one processor to receive the service of the CPU from the various processors generated by the signal link function. In other words, the processor scheduler is a dispatcher that improves the real-time processing capability. To do this, the signal linker module and data are included in an internal message and stored in the FIFO. Next, the processor is most efficiently searched and the processor is executed.

제7도는 프로세서 스케듈러부의 흐름도로서 효율적인 테이블 탐색 방법을 기술한 것이다.7 is a flowchart of a processor scheduler unit, and describes an efficient table searching method.

일단 CPU의 서비스가 프로세서 스케듈러부에 할당되면 CCITT 권고안 Q.703에 정의된 타이머(T1-T7)를 배후처리(Background processing)를 위해 타임아웃(time out)상태를 검색하여 각 타이머의 상태를 신호링크 기능에서 사용하도록 저장한 다음, FIFO에 대기상태의 프로세서가 존재하는 지를 검색하여 존재하는 경우에는 내부 메시지를 가져와 분석하게 된다.Once the services of the CPU are assigned to the processor scheduler, the timers (T1-T7) defined in CCITT Recommendation Q.703 are searched for time out for background processing and the status of each timer is checked. After storing for use in the signal link function, the FIFO is searched for the presence of a standby processor, and if present, the internal message is taken and analyzed.

내부 메시지에 프로세서간 교환 데이타가 있는지를 판단하여 있으면 교환 데이타를 별도로 저장하고 이부분을 지운다.If the internal message determines whether there is exchange data between processors, the exchange data is stored separately and this part is deleted.

이 분석 단계에서 수행시킬 프로세서를 계산하기위해 프로세서가 테이블을 탐색하는데, 스케듈러의 실시간성과 기억 장소의 효율을 증대시키기 위해 상기의 테이블을 모듈과 해당 모듈의 상태수에 연관시켜 작성하였다. 첫번째로 신호망 출력 인터페이스 기능에 관계된 모듈인 경우에는 상태에 관계없고 한개의 여분을 두었기 때문에 직접 메시지(16bits)를 6bit 우로 이동시키면 해당 프로세서의 테이블 상대번지(Relative Address : 16bit)가 된다. 다음은 링크 상태 제어 기능에 관계된 모듈인 경우 상태수가 7개이므로 3bits로나타낼 수 있다. 그러므로 메시지를 4비트 우로 이동시키고 해당 상태버퍼(8bit)를 좌로 1비트 이동하여 조합하면 프로세서 테이블의 상대번지가 된다. 초기동기 제어기능 모듈인 경우에는 상태수가 4개이므로 2비트로 나타낼 수 있으므로 메시지를 우로 5비트 이동시켜 상기와 조합하면 된다. 프로세서 휴지 상태 제어기능인 경우, 상태수가 4개이므로 초기동기 제어기능 모듈과 같다.The processor searches the table to calculate the processor to be executed in this analysis step. To improve the scheduler's real-time and storage efficiency, the table is created by associating the module with the number of states of the module. First, in case of the module related to the signal network output interface function, since there is one spare regardless of the state, if the direct message (16bits) is moved to 6bit right, it becomes the table relative address (16bit) of the corresponding processor. The following is a module related to link state control function, so it can be represented as 3 bits because there are 7 states. Therefore, if the message is shifted 4 bits to the right and the corresponding status buffer (8 bits) is shifted 1 bit to the left, it becomes the relative address of the processor table. In the case of the initial synchronous control function module, since the number of states is 4, it can be represented by 2 bits. Therefore, the message can be combined by moving 5 bits to the right. In the case of the processor idle state control function, since there are four states, it is the same as the initial synchronous control function module.

나머지 기능에 연관된 모듈의 경우에는 상태를 1비트로 나타낼 수 있이므로 메시지를 6비트 우로 이동시켜 좌로 1비트 이동(상대번지 워드사이즈이기 때문에)하여 조합시키면 해당 프로세서의 테이블 상대번지가 된다.In the case of modules related to the remaining functions, the status can be represented by 1 bit, so if the message is shifted 6 bits to the right and 1 bit to the left (since it is the relative address word size), it becomes the table relative address of the corresponding processor.

위와 같이 프로세서의 테이블 상대번지가 계산되면 스케듈러는 상대번지에 해당된 테이블을 교환 데이타와 함께 프로세서를 수행시킨다.When the table relative address of the processor is calculated as above, the scheduler executes the processor with the exchange data on the table corresponding to the relative address.

본 발명은 상기와 같이 구성되어 신호링크 기능과 이 기능에서 생성되는 신호를 보다 효율적으로 처리할수 있도록 하였고, 탐색 테이블을 효과적으로 관리함으로서 테이블의 검색과 메모리의 효율적 이용도를 향상시킬 수 있다.According to the present invention, the signal link function and the signal generated by the function can be processed more efficiently, and the search table can be effectively managed to improve the table search and the efficient use of the memory.

Claims (3)

신호링크 기능모듈과 버퍼를 통하여 정보를 교환하는 스케듈러부로 구성되는 제1단계, 상기 제1단계의 버퍼로 입력이 있었을 경우 입력을 부분적으로 가공하여 수행할 프로세서를 정의하는 제2단계, 및 제2단계 수행후 적절한 출력과 함께 신호링크 기능 모듈을 수행시키는 제3단계로 구성된 것을 특징으로 하는 신호링크 기능 스케듈러부 기능 구현 방법.A first step consisting of a signal link function module and a scheduler unit for exchanging information through a buffer, a second step of defining a processor to process the input partly if there is an input to the buffer of the first step, and And a third step of performing the signal link function module with an appropriate output after performing the second step. 제1항에 있어서, 상기 제2단계는 신호링크 기능 모듈의 해당 기능과 각 기능 상태에 따라 2차원 행렬을 정의하여 상기 프로세서 테이블을 작성하는 단계를 포함하고 있는 것을 특징으로 하는 신호 링크 스케듈러부의 기능 구현 방법.The signal link scheduler of claim 1, wherein the second step includes defining a two-dimensional matrix according to a corresponding function of the signal link function module and each function state to create the processor table. How to implement the feature. 제2항에 있어서, 상기 제2단계는 상기 제1단계에서 입력한 데이타와 해당 모듈 기능의 상태를 조합하여 상기 프로세서 테이블을 탐색하는 단계를 더 포함하고 있는 것을 특징으로 하는 신호링크 스케듈러부의 기능 구현 방법.The function of the signal link scheduler of claim 2, wherein the second step further comprises searching the processor table by combining the data input in the first step and the state of the corresponding module function. How to implement.
KR1019890020550A 1989-12-30 1989-12-30 Common channel signalling system KR920005134B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019890020550A KR920005134B1 (en) 1989-12-30 1989-12-30 Common channel signalling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019890020550A KR920005134B1 (en) 1989-12-30 1989-12-30 Common channel signalling system

Publications (2)

Publication Number Publication Date
KR910013957A KR910013957A (en) 1991-08-08
KR920005134B1 true KR920005134B1 (en) 1992-06-26

Family

ID=19294592

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019890020550A KR920005134B1 (en) 1989-12-30 1989-12-30 Common channel signalling system

Country Status (1)

Country Link
KR (1) KR920005134B1 (en)

Also Published As

Publication number Publication date
KR910013957A (en) 1991-08-08

Similar Documents

Publication Publication Date Title
CN103197968B (en) A kind of thread pool disposal route and system merging synchronous asynchronous feature
KR100326864B1 (en) Network communication method and network system
JP4090510B2 (en) Computer interface for direct mapping of application data
US20050232303A1 (en) Efficient packet processing pipeline device and method
US20020103847A1 (en) Efficient mechanism for inter-thread communication within a multi-threaded computer system
KR950013120A (en) Communication control device for communication between calculators and integrated circuit used therein
EP0791198B1 (en) System and method for processing of signal data and a communication system comprising a signal data processing system
JP2001513589A (en) Queue system and method for point-to-point message transfer
CN113821516B (en) Time sensitive network switching system based on virtual queue
US6907606B1 (en) Method for implementing event transfer system of real time operating system
CN114710571B (en) Data packet processing system
CN113079113B (en) Data transmission device and data transmission system
KR920005134B1 (en) Common channel signalling system
CN102117261B (en) Communication method between inner processors of chip
JPH09319597A (en) Scheduling method for cyclic process
KR100594187B1 (en) Timer driving method in intelligent network switching system under Unix system environment with thread call processing structure
JP2000502202A (en) Instruction Processor Job Scheduling
KR930002138B1 (en) Method for emboding signal link function
CN100450050C (en) Efficient packet processing pipeline device and method
JP3115801B2 (en) Parallel computer system
JPH02113362A (en) Distributed processing system
JP2000267960A (en) Method for communicating packet between plural processes and packet communication equipment
KR100293363B1 (en) Method for managing inter processor communication transmission queue of processor communication controller board assembly in full electronic telephone exchange
CN113778705A (en) Multi-core communication method based on AMP architecture
JP2569086B2 (en) Data transmission control method

Legal Events

Date Code Title Description
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: 19980313

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee