KR100208250B1 - Method for assigning the slots to each devices in a switching system - Google Patents

Method for assigning the slots to each devices in a switching system Download PDF

Info

Publication number
KR100208250B1
KR100208250B1 KR1019960034231A KR19960034231A KR100208250B1 KR 100208250 B1 KR100208250 B1 KR 100208250B1 KR 1019960034231 A KR1019960034231 A KR 1019960034231A KR 19960034231 A KR19960034231 A KR 19960034231A KR 100208250 B1 KR100208250 B1 KR 100208250B1
Authority
KR
South Korea
Prior art keywords
time slot
channel
time slots
response
allocating
Prior art date
Application number
KR1019960034231A
Other languages
Korean (ko)
Other versions
KR19980015020A (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 KR1019960034231A priority Critical patent/KR100208250B1/en
Publication of KR19980015020A publication Critical patent/KR19980015020A/en
Application granted granted Critical
Publication of KR100208250B1 publication Critical patent/KR100208250B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/42Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker
    • H04Q3/54Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised
    • H04Q3/545Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised using a stored programme
    • H04Q3/54541Circuit arrangements for indirect selecting controlled by common circuits, e.g. register controller, marker in which the logic circuitry controlling the exchange is centralised using a stored programme using multi-processor systems
    • H04Q3/54566Intelligent peripherals, adjunct processors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/30PCM
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2201/00Electronic components, circuits, software, systems or apparatus used in telephone systems
    • H04M2201/34Microprocessors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/031PCM
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/106Microcomputer; Microprocessor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13393Time slot switching, T-stage, time slot interchanging, TSI

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

본 발명은 전전자 교환기의 하위 프로세서(10)와 디바이스 간 PCM 통신에 있어서, 디바이스 선에 연결된 채널의 상태를 본 발명에 따른 과정을 따름으로써 스스로 알아서 실장 및 탈장된 디바이스 채널을 인식하여 전전자 교한기 운용에 있어서의 편리함을 제공하는 교환기에서의 PCM 통신을 위한 타임 슬롯 할당 방법에 관한 것으로써, 위의 타임 슬롯은 각 디바이스와 교섭을 통하여 원하는 타임 슬롯이 할당되도록 하드웨어적으로 구성되어 있으며, 일반 디바이스가 2개의 타임 슬롯에서부터 채널 분배부가 가질 수 있는 32개의 타임 슬롯까지 디바이스가 원하는 타임 슬롯을 선택적으로 가질 수 있도록 할 수 있으며, 또한 본 발명에 따른 방법을 사용하여, 하위 프로세서(10)에서 스스로 디바이스를 인식하므로 디바이스가 실장 및 탈장시에 일일이 프로그램을 짜서 새로 넣어 줘야 하는 번거로움이 없어졌으며, 시스템을 다운시킬 필요가 없어져 번거로움을 덜어 줄 수 있다.According to the present invention, in the PCM communication between the lower processor 10 and the device of the electronic switchboard, the state of the channel connected to the device line is followed by the process according to the present invention, thereby recognizing the device channel mounted and detached by itself. The present invention relates to a method for allocating time slots for PCM communication in an exchange that provides convenience in cold operation. The above time slots are hardware-configured to allocate desired time slots through negotiation with each device. It is possible for a device to selectively have a desired time slot for the device from two time slots up to 32 time slots that the channel distributor can have, and also by using the method according to the invention, in the lower processor 10 itself Recognizes the device so that the device can be programmed individually during mounting and dismounting There's no need to squeeze ram into new ones, and you don't have to bring down your system, which can save you a lot of trouble.

Description

교환기에서의 디바이스로의 타임 슬롯 할당 방법How to Allocate a Time Slot from a Switch to a Device

제1도는 본 발명에 따른 교환기에서 PCM 통신의 타임 슬롯 할당 방법을 설명하기 위한 블록도로서, PCM 통신이 적용되는 하드웨어 시스템의 블록 구성도.1 is a block diagram illustrating a time slot allocation method of PCM communication in an exchange according to the present invention, and is a block diagram of a hardware system to which PCM communication is applied.

제2도는 본 발명의 바람직한 실시예에 따라 하위 프로세서가 각 디바이스와 교섭하면서 원하는 타임 슬롯을 할당하는 과정의 흐름도.2 is a flowchart of a process in which a lower processor allocates a desired time slot while negotiating with each device according to a preferred embodiment of the present invention.

제3도는 본 발명의 바람직한 실시예에 따라 정상 동작 수행 중 디바이스가 첨가되었을 때 다이나믹하게 채널을 할당하는 과정의 흐름도.3 is a flowchart of a process of dynamically allocating channels when a device is added during normal operation according to a preferred embodiment of the present invention.

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

10 : 프로세서 20,22,24,26 : 제1,제2,제3,제4채널 분배부10: processor 20, 22, 24, 26: first, second, third, fourth channel distribution unit

본 발명은 교환기에서의 프로세서와 디바이스(Device) 간 PCM(Pulse Code Modulation) 통신에서의 타임 슬롯 할당 방법에 관한 것으로써, 특히, 전전자 교환기에서 있어서 각기 다른 타임 슬롯을 요구하는 디바이스들을 능동적으로 정합할 수 있도록 한 타임 슬롯 할당 방법에 관한 것이다.The present invention relates to a method of allocating time slots in pulse code modulation (PCM) communication between a processor and a device in an exchange. In particular, the present invention actively matches devices requiring different time slots in an electronic switch. A method of allocating time slots is provided.

종래 TDX-100A과 같은 전전자 교환기에 있어서 타임 슬롯을 할당하는 방법에 대해서 살펴보면 다음과 같다.A method of allocating time slots in an all-electronic exchange such as a conventional TDX-100A is as follows.

먼저, 프로세서와 디바이스 간의 통신은 TD-버스를 사용하였으며, 프로세서가 어떤 블록에 속해 있느냐에 따라 해당 디바이스가 정해지고, 그 디바이스와 통신할 수 있는 통로를 인식함으로서 최초에 초기화시킨 프로그램들은 변동 사항이 발생 시마다 다시 프로그램밍 해야 한다.First, the communication between the processor and the device uses the TD-bus, and the device is determined according to which block the processor belongs to, and the program initialized initially by recognizing the path to communicate with the device is not changed. Each occurrence must be reprogrammed.

즉, 프로그래머가 최초에 일일이 손으로 초기화시킨 프로그램들은 다시 명령어를 바꾸어 동작시키기 전까지는 입력되어진 디바이스 수 만큼의 디바이스 만을 인식하고 계속적으로 그 수 만큼을 계속적으로 점검함으로 전력의 낭비 및 효과적인 채널 할당을 하지 못하였으며 빠른 점검을 하지 못하였다.In other words, programs initialized by hand by the programmer first recognize only as many devices as input devices and continuously check the number of devices until the command is changed again to run the power and do not allocate the channel efficiently. There was no quick check.

또한, 프로세서의 프로그램을 디바이스가 실장 및 탈장 할 때마다 하위 프로세서가 스스로 인식하지 못하므로 이를 모두 프로그래머가 디바이스 변동 사항을 일일이 프로그램하여 주어야 하는 단점이 있다.In addition, since the lower processor does not recognize itself every time the device program is mounted and dismounted, there is a disadvantage that the programmer must program the device changes.

따라서, 본 발명은 이와 같은 종래 기술의 단점을 해결하기 위하여 안출한 것으로써, 교환기의 PCM 통신에 있어서 초기화 시점에서 각 디바이스들과의 교섭을 통해 각 디바이스마다 어떤 타임 슬롯으로 하위 프로세서와 통신을 할 것인가 정하여 하위 프로세서 입장에서 초기화 시킬 수 있는 PCM 통신을 위한 타임 슬롯 할당 방법을 제공하는데 그 목적이 있다.Accordingly, the present invention has been made to solve the above-mentioned drawbacks of the prior art, and the PCM communication of the exchange is to communicate with the lower processor in a certain time slot for each device through negotiation with each device at the time of initialization. The purpose of the present invention is to provide a time slot allocation method for PCM communication that can be initialized by the lower processor.

이와 같은 목적을 달성하기 위하여 본 발명은, 전전자 교환기에서 기 설정된 갯 갯수의 채널을 통해 상기 각각의 채널에 연결된 다수의 디바이스에게, 타임 슬롯을 할당하는 방법에 있어서, 하나의 채널을 선택하는 제1단계와; 상기 선택된 채널에 연결된 디바이스에게 타임 슬롯 사용 여부를 문의하는 교섭 메시지를 전송하는 제2단계와; 상기 교섭 메시지에 응답하여 상기 디바이스로부터 타임 슬롯의 요청이 있는지를 판단하여, 상기 디바이스로부터 요청한 타임 슬롯을 할당하는 제3단계와; 상기 디바이스가 요청한 타임 슬롯을 2로 나눈 값에 상기 선택된 채널의 넘버를 더해 결과로 나오는 값을 상기 선택된 채널로 갱신하는 제4단계 및 상기 선택된 채널이 상기 기 설정된 갯수의 채널 수에 도달할 때까지 상기 제1 내지 제4단계를 반복하는 제5단계로 이루어지는 교환기에서 디바이스로의 타임 슬롯 할당 방법을 제공한다.In order to achieve the above object, the present invention provides a method for allocating time slots to a plurality of devices connected to each channel through a predetermined number of channels in an electronic switch, comprising: selecting one channel; Step 1; Transmitting a negotiation message inquiring whether to use a time slot to a device connected to the selected channel; Determining whether there is a request for a time slot from the device in response to the negotiation message, and allocating the requested time slot from the device; A fourth step of adding the number of the selected channel to the value obtained by dividing the time slot requested by the device by 2 and updating the resulting value to the selected channel until the preset channel reaches the predetermined number of channels; Provided is a time slot allocation method from a switch to a device comprising a fifth step of repeating the first to fourth steps.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the present invention.

제1도는 본 발명에 따른 교환기에 있어서 PCM 통신을 이용한 타임 슬롯 할당 방법을 적용하는데 적합한 교환기의 개략적인 블록도를 나타낸다.1 is a schematic block diagram of an exchange suitable for applying a time slot allocation method using PCM communication in an exchange according to the present invention.

제1도에 있어서, 전전자 교환기는 하위 프로세서(10)와 4개의 채널 분배부(20,22,24,26)와, 각각의 채널 분배부에 연결된 16개씩의 디바이스를 포함한다.In FIG. 1, the electro-electronic switch includes a lower processor 10, four channel distributors 20, 22, 24 and 26, and sixteen devices connected to each channel distributor.

일반적으로, 하위 프로세서(10)에서는 일반 통신 디바이스를 제어하며, 일반 통신 디바이스의 정보를 가지고 이를 통제한다. 또한, 하위 프로세서(10)는 본 발명에 따른 타임 슬롯 할당 과정을 수행하는 펌웨어를 적재하고 디바이스의 실장 및 탈장 시에 디바이스 변경 사항을 인식하여 스스로 디바이스의 타임 슬롯을 할당해 준다.In general, the lower processor 10 controls the general communication device, and controls the information with the general communication device. In addition, the lower processor 10 loads the firmware for performing the time slot allocation process according to the present invention and allocates the time slot of the device by recognizing device changes when mounting and dismounting the device.

그리고, 하위 프로세서(10)에는 제1,제2,제3,제4채널 분배부(20,22,24,26)가 연결되어 각기 16개씩의 최대 64개의 디바이스를 수용할 수 있다.In addition, the lower processor 10 may be connected to the first, second, third, and fourth channel distribution units 20, 22, 24, and 26 to accommodate a maximum of 64 devices of 16 units each.

제1,제2,제3,제4채널 분배부(20,22,24,26)는 각각의 하위 프로세서(10)에서 받은 정보에 따라, 하위 프로세서(10)로부터 각각의 PCM 링크를 통해 받은 2,048Mbps의 32개의 슬롯을 가지는 데이터를 일반 디바이스에 맞도록 128Kbps의 두 개의 타임 슬롯을 가지는 데이터로 분배하여 각 채널을 통해 통신 디바이스에게 분배하여 주는 역할을 하기도 하며, 반대로 디바이스의 변동 사항을 하위 프로세서(10)에 PCM 링크를 통해 전달해 준다.The first, second, third, and fourth channel distribution units 20, 22, 24, and 26 receive information from the lower processor 10 through the respective PCM links according to the information received from the lower processor 10. It also distributes data with 32 slots of 2,048Mbps into data having two time slots of 128Kbps to fit the general device and distributes them to communication devices through each channel. (10) via PCM link.

이하, 본 발명을 하위 프로세서가 각각의 채널 분배부를 제어하여 각 디바이스와 교섭하면서 원하는 타임 슬롯을 할당하는 과정의 순서도를 제2도를 참조하여 상세하게 설명한다.Hereinafter, a flowchart of a process of allocating a desired time slot while negotiating with each device by controlling a channel distribution unit by a lower processor will be described in detail with reference to FIG. 2.

먼저, 하위 프로세서(10)와 디바이스 간의 PCM 통신의 채널을 초기화 하는 과정으로써, 기본적으로 하위 프로세서(10)와 실장된 각 디바이스 사이에는 교섭을 통하여 원하는 타임 슬롯이 할당되기 전에는 모두 2개의 타임 슬롯으로 통신하게 끔 하드웨어적으로 구성되어야 한다.First, a process of initializing a channel of PCM communication between the lower processor 10 and the device. Basically, the lower processor 10 and each of the mounted devices are negotiated with each other until the desired time slot is allocated through negotiation. It must be hardware configured to communicate.

왜냐하면, 일반 전화 디바이스가 2개의 타임 슬롯을 사용하고 최대 특정 채널 분배부가 가질 수 있는 32개의 타임 슬롯까지 디바이스가 선택적으로 가질 수 있지만 통신에 필요한 최소 단위인 2개의 타임 슬롯으로 초기화 하는 것이다.This is because a regular telephony device uses two time slots and initializes to two time slots, which are the minimum units required for communication, although the device may optionally have up to 32 time slots that a maximum specific channel distributor can have.

본 발명에 따른 타임 슬롯 할당 방법은 채널을 선택하는 단계(30)으로부터 시작한다. 이 단계에서 프로세서(10)는 채널 넘버라는 변수(Q)에 1을 할당하는데, 이 변수는 순서적으로 배열된 64개의 채널의 위치 또는 그에 할당된 번호를 규정하는데 사용된다. 따라서, 변수 1에 대응하는 제1채널이 선택되며, 그 채널에 연결되어 있는 디바이스와 교섭할 준비를 한다.The time slot allocation method according to the present invention begins with step 30 of selecting a channel. In this step, the processor 10 assigns 1 to a variable Q called channel number, which is used to define the position of 64 channels arranged in sequence or the number assigned thereto. Thus, a first channel corresponding to variable 1 is selected and ready to negotiate with a device connected to that channel.

그 다음, 프로세서(10)는 선택된 채널에 연결된 각각의 디바이스에게 자신의 식별 번호 및 몇 개의 타임 슬롯을 사용할 것인지 알아보기 위한 교섭 메시지를 선택된 제1채널을 통하여 디바이스에게 메시지를 전송한다(단계 32).The processor 10 then sends a message to the device via the selected first channel to each device connected to the selected channel a negotiation message to find out how to use its identification number and how many time slots (step 32). .

그리고, 교섭 메시지를 전송 한 후 메시지를 수신한 해당 디바이스로부터 응답이 왔는가를 판단한다(단계 34).After transmitting the negotiation message, it is determined whether a response is received from the corresponding device receiving the message (step 34).

디바이스로부터 응답이 오지 않은 경우에는 반복 횟수에 1을 더하여(단계 38) 단계(32)부터 반복한다.If no response is received from the device, 1 is added to the number of repetitions (step 38) and the operation is repeated from step 32.

이 단계에서, 에러를 방지하기 위하여 반복적으로 디바이스로 메시지를 전송하는 단계부터 반복적으로 시행하며 반복 횟수는 너무 많으면 시간의 낭비가 생기며, 너무 적은 횟수의 루프를 돌리면 에러가 생길 가능성이 있으므로, 이러한 디바이스에게로 반복 횟수는 기 설정 횟수, 예로 5회 동안만 반복한다.In this step, it is repeated from the step of repeatedly sending a message to the device in order to prevent an error. If the number of repetitions is too large, a waste of time is generated, and if there are too many loops, an error may occur. The number of repetitions is only repeated for a predetermined number of times, for example five times.

그러나, 메시지를 전송 한 해당 디바이스로부터 응답이 왔는가를 판단하는(단계 34) 과정중에 디바이스로부터 응답이 왔다면, 단계(40)으로 바로 진행한다.However, if a response is received from the device during the process of determining whether a response is received from the corresponding device that sent the message (step 34), the process proceeds directly to step 40.

단계(40)에서는, 디바이스로부터 응답이 왔다면, 그 디바이스로부터 몇 개의 타임 슬롯의 요청이 있는지의 여부를 판단한다(단계 40).In step 40, if there is a response from the device, it is determined whether there are a number of time slot requests from the device (step 40).

이 단계에서 응답한 타임 슬롯의 요청이 없었으면, 채널넘버변수(Q)를 1증가 시킨다음(단계 42) 다음 순서의 통신 채널을 통해 그에 연결된 디바이스에게로 상술한 교섭 메시지를 전송하는 단계(단계 32)부터 반복 수행한다.If there is no request of the time slot responded in this step, increase the channel number variable (Q) by 1 (step 42) and then transmit the above-described negotiation message to the device connected thereto through the communication channel in the next step (step Repeat from 32).

한편, 단계 40에서, 응답한 타임 슬롯이 있는 경우에, 해당 디바이스에 요청한 타임 슬롯 만큼 해당 디바이스에게 타임 슬롯을 할당한다(단계 44).On the other hand, in step 40, if there is a response time slot, the time slot is allocated to the corresponding device by the time slot requested to the corresponding device (step 44).

그 다음 단계 46에서는 할당된 타임 슬롯의 갯수(R)에 따라 다음과 같은 식에 따라 새로운 채널넘버(Q)를 할당한다.Next, in step 46, a new channel number Q is allocated according to the following equation according to the number R of allocated time slots.

상기 식에서 변수 R은 디바이스가 요청한 타임 슬롯의 갯수(R)이다. 즉, 1개의 채널에 2개의 타임 슬롯이 하드웨어적으로 초기화되어 할당하도록 하였음으로, 디바이스가 요청한 타임 슬롯의 갯수(R)을 숫자 2로 나눈 값의 결과로 나온 수치에 채널 넘버(Q)를 더하고 그 값에 해당되는 채널부터 디바이스로의 타임 슬롯 할당하는 단계를 수행하도록 한다(단계 46).In this equation, the variable R is the number of time slots (R) requested by the device. That is, since two time slots are allocated to one channel by hardware initialization, the channel number (Q) is added to the numerical value resulting from dividing the number of time slots (R) requested by the device by the number 2. Allocating a time slot to the device from the channel corresponding to the value is performed (step 46).

예를 들어, 현재 채널 넘버가 5로 선택되었고, 이 5번 채널에 연결된 디바이스가 10개의 타이 슬롯을 요구한다고 가정하면, 상술한 식에 따라 (10/2)+5=10, 즉 새로운 채널 넘버는 10에서 시작할 것이다.For example, suppose that the current channel number is selected as 5, and a device connected to this channel 5 requires 10 tie slots, according to the above-described formula, (10/2) + 5 = 10, that is, a new channel number. Will start at 10.

하지만, 이를 프로세서(10)가 인식할 때는 5번 채널 한 개의 채널이며, 이를 다섯 개의 채널로는 인식하지 않는다.However, when the processor 10 recognizes this, it is one channel of channel 5, and it is not recognized as five channels.

이때 넘버 6,7,8,9를 갖는 물리적인 채널과 이들 채널에 각기 연결된 디바이스는 존재하지 않는 것으로 간주되며, 이는 5번 채널 한 개의 채널로 인지된다.At this time, the physical channels having the numbers 6, 7, 8, and 9 and the devices connected to the channels are not considered to be present, which is regarded as one channel of channel 5.

그러므로, 그 다음의 교섭은 10번 채널과 교섭이 이루어지며, 다음 과정도 마찬 가지로 디바이스가 요구하는 슬롯을 상기의 과정과 같이 프로세서가 인식하고 타임 슬롯을 할당하여 준다.Therefore, the next negotiation is negotiated with channel 10, and the same procedure is followed by the processor to recognize the slot required by the device and assign a time slot.

단계 48에서는 선택된 채널 넘버가 기 설정된 채널 수, 즉, 채널 넘버가 64이하이면 상술한 식을 통해 선택된 통신 채널을 통해 그에 연결된 디바이스에게 메시지 전송하는 단계(32 단계)부터 반복 수행하며(단계 48), 채널 넘버가 64보다 크게 되면 더 이상 교섭 할 채널이 없는 것으로 판단하여(단계 48) 종료한다.In step 48, if the selected channel number is the preset number of channels, that is, the channel number is 64 or less, the message is repeatedly transmitted to the device connected thereto through the selected communication channel (step 32) through the above-described equation (step 48). If the channel number is greater than 64, it is determined that there are no more channels to negotiate (step 48).

상술한 타임 슬롯 할당 과정에서, 디바이스가 탈장 되었다가 다시 살아 나거나 디바이스가 늘어나서 새로이 디바이스가 실장되는 경우가 발생할 수도 있다.In the above-described time slot allocation process, a device may be detached and revived, or a device may be newly mounted due to an increase in the device.

본 발명에 따르면, 새로운 디바이스가 실장되는 경우에는 프로세서(10)로 인터럽트를 요청하는 방식으로 새로이 실장된 디바이스에게 타임 슬롯 할당을 요구할 수 있으며, 이를 제3도를 참조하여 상세히 설명한다.According to the present invention, when a new device is mounted, a time slot allocation can be requested from a newly mounted device by requesting an interrupt to the processor 10, which will be described in detail with reference to FIG. 3.

인터럽트가 발생되면, 프로세서(10)는 인터럽트를 발생시킨 디바이스를 인식하여 인터럽트가 발생된 해당 채널 넘버에 해당하는 디바이스와 교섭할 준비를 한다(단계 60).When an interrupt is generated, the processor 10 recognizes the device that generated the interrupt and prepares to negotiate with the device corresponding to the corresponding channel number where the interrupt was generated (step 60).

그리고, 채널 넘버에 해당되는 각각의 디바이스에게 디바이스 번호 및 몇 타임 슬롯을 쓸 것인지 알아보기 위해 2개의 타임 슬롯을 가진 디바이스 채널로 메시지를 전송한다(단계 62).Then, a message is transmitted to a device channel having two time slots to find out the device number and how many time slots to write to each device corresponding to the channel number (step 62).

그리고, 프로세서(10)로 보내 초기화 한 후(단계 62) 메시지를 전송 한 해당 디바이스로부터 응답이 왔는가를 판단하여(단계 64), 판단 결과 응답이 있으면 요청한 타임 슬롯이 몇 개인가 알아보기 위해 응답한 타임 슬롯을 점검하는 단계(70)로 가며, 응답이 없는 경우는 다시 일정 횟수의 루프를 돌리는 단계(단계 66)로 가서 응답이 왔는지 오지 않았는지 기 설정 횟수 동안 점검한다.Then, after initialization to the processor 10 (step 62), it is determined whether there is a response from the corresponding device that sent the message (step 64), and if it is determined that the response is a response time to determine how many time slots are requested. Go to step 70 of checking the slot, if there is no response, go back to the step of turning the loop a certain number of times (step 66) and check for a preset number of times whether or not a response is received.

판단 결과 응답이 없으면, 에러를 방지하기 위하여 반복적으로 디바이스로 메시지를 전송하는 단계부터 반복적으로 기 설정 횟수 동안 시행한다(단계 66).If there is no response as a result of the determination, in order to prevent an error, the message is repeatedly transmitted for a predetermined number of times from the step of repeatedly transmitting a message to the device (step 66).

한편, 디바이스로부터 응답이 오지 않는 경우에는 반복 횟수에 1을 더하여(단계 68) 단계 62부터 반복한다.On the other hand, if the response does not come from the device, 1 is added to the number of repetitions (step 68) and the process is repeated from step 62.

이러한 디바이스에게로 반복 횟수는 기 설정 횟수 예로 5회가 될 때까지 왔으면, 단계 70으로 진행한다.If the number of repetitions has been reached to such a device as five times as a preset number of times, the process proceeds to step 70.

또한, 이 과정 중에 디바이스로부터 응답이 왔다면, 단계 70으로 진행한다.Also, if a response is received from the device during this process, proceed to step 70.

다음으로는, 상기 단계에서 디바이스로부터 응답이 왔다면, 그 디바이스로부터 타임 슬롯 할당 요청이 있는지의 여부를 판단한다(단계 70).Next, if there is a response from the device in this step, it is determined whether there is a time slot allocation request from the device (step 70).

한편, 단계 70에서, 응답한 타임 슬롯이 있는 경우에, 해당 디바이스에 요청한 타임 슬롯 수만큼 해당 디바이스에게 타임 슬롯을 할당한다(단계 72).On the other hand, in step 70, when there is a response time slot, the time slot is allocated to the corresponding device by the number of time slots requested to the corresponding device (step 72).

위에서와 같이, 응답한 타임 슬롯이 있는 경우인가를 판단하여(단계 70), 응답한 타임 슬롯이 기 설정된 횟수 반복된 응답 요청에도 응답이 없으면 통신 채널을 상태 불량으로 인식하고 메인 프로세서에 보고한다(단계 74).As described above, it is determined whether there is a time slot that has been responded (step 70), and if there is no response even if the response time slot has been repeated a predetermined number of times, the communication channel is recognized as bad and reported to the main processor ( Step 74).

그러면, 디바이스 선이 불량이라고 판단한 하위 프로세서(10)는 이 디바이스 선을 고장으로 여기고 타임 슬롯을 연결시키지 않는다.Then, the lower processor 10, which determines that the device line is defective, regards the device line as a failure and does not connect the time slot.

이상에서 설명한 바와 같이 본 발명은 다음과 같은 효과가 있다.As described above, the present invention has the following effects.

첫째, 프로세서(10)와 각 디바이스들간의 통신 채널을 고정시키지 않고 능동적으로 변화시킬 수 있으며, 하위 프로세서(10) 입장에서 초기화 함으로 시스템 초기에 정해둔 블록의 성격이 변하여도 하위 프로세서(10)는 프로그래머의 손을 거쳐 재 프로그래밍 할 필요가 없어졌다.First, the communication channel between the processor 10 and each of the devices can be actively changed without being fixed, and the lower processor 10 may be initialized from the position of the lower processor 10 even if the characteristics of the block determined at the beginning of the system are changed. There is no need to reprogram through the hands of the programmer.

둘째, 새롭게 실장 및 탈장된 디바이스들로 인하여 프로그램을 새로 짜서 넣기 위해 전전자 교환기를 다운 시킬 필요가 없이 본 발명에 따라 실장 및 탈장된 디바이스들을 스스로 인식하여 교환기에 있어서 PCM 통신을 위한 타임 슬롯을 할당한다.Secondly, due to newly mounted and detached devices, the time slot for PCM communication in the exchange is allocated by recognizing the mounted and detached devices by themselves according to the present invention without having to download the electronic switch to rewrite the program. do.

Claims (6)

전전자 교환기에서 기 설정된 갯 개수의 채널을 통해 상기 각각의 채널에 연결된 다수의 디바이스에게, 타임 슬롯을 할당하는 방법에 있어서, 하나의 채널을 선택하는 제1단계와; 상기 선택된 채널에 연결된 디바이스에게 타임 슬롯 사용 여부를 문의하는 교섭 메시지를 전송하는 제2단계와; 상기 교섭 메시지에 응답하여 상기 디바이스로부터 타임 슬롯의 요청이 있는지를 판단하여, 상기 디바이스로부터 요청한 타임 슬롯을 할당하는 제3단계와; 상기 디바이스가 요청한 타임 슬롯을 2로 나눈 값에 상기 선택된 채널의 넘버를 더해 결과로 나오는 값을 상기 선택된 채널로 갱신하는 제4단계 및; 상기 선택된 채널이 상기 기 설정된 갯수의 채널 수에 도달할 때까지 상기 제1 내지 제4단계를 반복하는 제5단계로 이루어진 교환기에서 디바이스로의 타임 슬롯 할당 방법.Claims [1] A method for allocating time slots to a plurality of devices connected to each channel through a predetermined number of channels in an electronic switch, comprising: a first step of selecting one channel; Transmitting a negotiation message inquiring whether to use a time slot to a device connected to the selected channel; Determining whether there is a request for a time slot from the device in response to the negotiation message, and allocating the requested time slot from the device; A fourth step of adding a number of the selected channel to a value obtained by dividing a time slot requested by the device by two and updating a resultant value to the selected channel; And a fifth step of repeating the first to fourth steps until the selected channel reaches the preset number of channels. 제1항에 있어서, 상기 3단계는 상기 디바이스에게서 타임 슬롯의 요청이 없으면, 다음 순위의 채널을 상기 선택된 채널로 할당하는 단계를 포함하는 것을 특징으로 하는 교환기에서 디바이스로의 타임 슬롯 할당 방법.The method of claim 1, wherein the step (3) includes assigning a next rank channel to the selected channel if there is no request for a time slot from the device. 제1항에 있어서, 상기 타임 슬롯 할당 방법은 상기 전전자 교환기의 디바이스가 새로이 실장되는 것을 판단하여, 상기 새로이 실장된 디바이스에 대하여 타임 슬롯을 할당하는 단계를 더 포함하는 교환기에서 디바이스로의 타임 슬롯 할당 방법.The method of claim 1, wherein the time slot allocation method further comprises: determining that a device of the electronic switchboard is newly mounted, and allocating a time slot to the newly mounted device. Assignment method. 제3항에 있어서, 상기 타임 슬롯 추가 할당 방법은, 상기 새로이 실장된 디바이스에게 타임 슬롯 사용 여부를 문의하는 교섭 메시지를 전송하는 제1단계와; 상기 새로이 실장된 디바이스로부터 타임 슬롯의 요청이 있는지를 판단하여, 상기 새로이 실장된 디바이스에 요청한 타임 슬롯 수 만큼의 타임 슬롯을 할당하는 제3단계로 이루어진 교환기에서 디바이스로의 타임 슬롯 할당 방법.4. The method of claim 3, further comprising: a first step of transmitting a negotiation message for inquiring whether to use a time slot to the newly mounted device; And determining a time slot request from the newly mounted device, and allocating as many time slots as the requested number of time slots to the newly mounted device. 제4항에 있어서, 상기 제2판단단계는, 상기 새로이 실장된 디바이스에게서 응답이 오지 않으면, 상기 교섭 메시지를 기 설정 횟수 동안 반복적으로 재 전송해주는 단계를 포함하는 것을 특징으로 하는 교환기에서 디바이스로의 타임 슬롯 할당 방법.5. The method of claim 4, wherein the second judging step includes retransmitting the negotiation message repeatedly for a predetermined number of times, if no response is received from the newly mounted device. How to allocate time slots. 제4항에 있어서, 상기 제3단계는 응답한 타임 슬롯이 있는가를 판단하여, 응답 요청에도 응답이 없으면, 통신 채널을 상태 불량으로 인식하고 하위 프로세서에 보고할 것인가를 판단하는 것을 특징으로 하는 교환기에서 디바이스로의 타임 슬롯 할당 방법.5. The exchange of claim 4, wherein the third step determines whether there is a response time slot, and if there is no response in the response request, determines whether to recognize the communication channel as bad and report to the lower processor. How to allocate time slots to devices.
KR1019960034231A 1996-08-19 1996-08-19 Method for assigning the slots to each devices in a switching system KR100208250B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960034231A KR100208250B1 (en) 1996-08-19 1996-08-19 Method for assigning the slots to each devices in a switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960034231A KR100208250B1 (en) 1996-08-19 1996-08-19 Method for assigning the slots to each devices in a switching system

Publications (2)

Publication Number Publication Date
KR19980015020A KR19980015020A (en) 1998-05-25
KR100208250B1 true KR100208250B1 (en) 1999-07-15

Family

ID=19469921

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960034231A KR100208250B1 (en) 1996-08-19 1996-08-19 Method for assigning the slots to each devices in a switching system

Country Status (1)

Country Link
KR (1) KR100208250B1 (en)

Also Published As

Publication number Publication date
KR19980015020A (en) 1998-05-25

Similar Documents

Publication Publication Date Title
RU2155372C2 (en) Method for flexible loading of software applications and device which implements said method
CN1078781C (en) Method for reducing contention and resource misallocation
US4847834A (en) Local area network
US5034993A (en) Method for allocating communication resources among RF communications systems
CN108270883A (en) Can automatic dispensing device address code method, breaker and storage medium
CN101227696B (en) Wireless base station apparatus capable of effectively using wireless resources according to sorts of data
JP2002152813A (en) Time slot assignment method in mobile communication system and time slot assignment device in the mobile communication system
CN101091334A (en) Downlink resource allocation for time offset downlink packets
EP0078180B1 (en) A communication system interconnecting radios and operators located at different positions
KR100208250B1 (en) Method for assigning the slots to each devices in a switching system
KR19980032803A (en) Dynamic Channel Allocation Method and Apparatus in Radio System for Wireless Local Line System
KR970003972B1 (en) Method for loading of common data initial in cdma
KR100350318B1 (en) method for channel and time-slot assigning in time division multiplex system
CN111313719B (en) Shaft number distribution method, rectifying device, inverting device and multi-transmission frequency converter
KR100197409B1 (en) Method for allocating bandwidth in tdx-100 full electronic switching system
KR100459558B1 (en) Method for allocating slc between two ss7 signal points using mtp3 test messages
KR0182698B1 (en) Matching apparatus between lower processor and telephony device
JP2000152326A (en) Digital mobile radio communication system and deciding method for number of assigned slots for data communication
KR20000038361A (en) Apparatus and method for controlling data transmission in mobile communication system
CN118264556A (en) Communication system and address configuration method thereof
KR0161132B1 (en) Call information working apparatus and method in exchanger
KR0176390B1 (en) Data transfer speed varying process between remote exchanger and host exchanger
CN115378913A (en) Device self-addressing method based on RDM protocol
KR100202980B1 (en) Interface apparatus in tdx-100 full electronic switching system
JP2872153B2 (en) Radio base station transceiver for mobile communication system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20020415

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee