KR20030027426A - message processing equipment of the message queue of operation system and controlling method therefore - Google Patents

message processing equipment of the message queue of operation system and controlling method therefore Download PDF

Info

Publication number
KR20030027426A
KR20030027426A KR1020010060663A KR20010060663A KR20030027426A KR 20030027426 A KR20030027426 A KR 20030027426A KR 1020010060663 A KR1020010060663 A KR 1020010060663A KR 20010060663 A KR20010060663 A KR 20010060663A KR 20030027426 A KR20030027426 A KR 20030027426A
Authority
KR
South Korea
Prior art keywords
message
pointer
message queue
queue
reading
Prior art date
Application number
KR1020010060663A
Other languages
Korean (ko)
Other versions
KR100434340B1 (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 KR10-2001-0060663A priority Critical patent/KR100434340B1/en
Publication of KR20030027426A publication Critical patent/KR20030027426A/en
Application granted granted Critical
Publication of KR100434340B1 publication Critical patent/KR100434340B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes

Abstract

PURPOSE: An apparatus for processing a message of message queue in an operating system and a control method are provided to classify a message queue as a write pointer and a reading pointer and then process messages being stacked by circulation, thereby securing safety of an operation since a queue full phenomenon does occur although contents of the message queue are congested. CONSTITUTION: A control command unit(1) inputs and indicates a control command of an operator. A transmission processor(2) receives a control command signal of the control command unit(1), for example, a base station failure information collection command signal and then outputs a corresponding message signal. A circulation message queue(3) includes a writing pointer and a reading pointer, which are possessed within a common memory, for managing a message signal outputted from the transmission processor(2) and stores a message being written by circulation. A receiving processor(5) compares the writing pointer and the reading pointer of the circulation message queue(3) periodically, and reads the message signal and then reports a corresponding base station(4) if the pointers are different from each other.

Description

운용 시스템의 메시지큐의 메시지 처리장치 및 그 제어방법{ message processing equipment of the message queue of operation system and controlling method therefore}Message processing equipment of the message queue of operation system and controlling method therefore}

본 발명은 운용 시스템의 메시지큐의 메시지 처리장치 및 그 제어방법에 관한 것으로, 특히 기지국운용시스템의 프로세서들 사이에서 메시지를 처리하는 메시지 큐를 라이트포인터와 리딩포인터로 구분하여 적층되는 메시지를 순환처리하는 운용 시스템의 메시지큐의 메시지 처리장치 및 그 제어방법에 관한 것이다.The present invention relates to a message processing device of a message queue of an operating system and a method of controlling the same. Particularly, a message queue for processing a message among processors of a base station operating system is classified into a write pointer and a reading pointer, and the message is stacked. A message processing device of a message queue of an operating system and a control method thereof.

일반적으로 정보화사회가 발전됨에 따라 통신망이 사회전반에 끼치는 역할이 더욱 증대함에 따라 통신망 운용관리의 집중화 및 자동화가 통신망을 구성하는 필수 구성요소로서 등장하고 있다. 그렇기때문에, ITU-T에서도 통신망 운용관리의 중요성을 감안하여 통신망을 위한 자동화/집중화개념으로서 운용시스템 요소 예컨데, 망관리시스템을 통신망을 구성하는 필수요소로 설정하고 있다.In general, as the information society develops, as the role of communication network plays an increasing role in society as a whole, the centralization and automation of communication network operation management has emerged as an essential component of communication network. Therefore, in consideration of the importance of network operation management, ITU-T also sets the management system element as an automation / centralization concept for the communication network, for example, the network management system as an essential component of the communication network.

상기와 같은 망관리시스템은 통상 통신망을 자동화/집중화의 형태로 운용되는 운용시시스템으로, 그 특성상 통신망을 구성하고 있는 여러 유형 예컨데, WLL(wireless local loop)의 기지국 운용장치(PROM:radio port operation maintenance)와 같은 통신시스템에서 프로세서와 프로세서간에 적용되는 데이터 처리를 위한 운용시스템으로 널리사용된다. 이때, 상기와 같은 운용시스템은 통신망에 접속된 기지국으로부터 정보를 멀티 프로세싱(multi processing)으로 수집축적하고, 이들 정보로부터 각종 통신망 관리정보 예컨대, 유니트의 탈장이나 절체와 같은 장애정보를 가공 및 처리하는 기능을 기본적으로 제공한다.The network management system as described above is an operation system that usually operates a communication network in the form of automation / centralization. Due to its characteristics, various types of communication networks are constructed, for example, a wireless local loop (WLL) base station operating device (PROM: radio port operation). It is widely used as an operating system for data processing applied between processors in communication systems such as maintenance. At this time, such an operating system collects and accumulates information from a base station connected to a communication network by multiprocessing, and processes and processes various communication network management information such as failure information such as a hernia or a change of a unit from these information. It provides a basic function.

그러면, 상기와 같은 운용시스템의 메시지처리장치(70)를 도 1을 참고로 살펴보면, 운용자의 제어명령을 입력하고 표시하는 제어명령부(71)와, 상기 제어명령부(71)의 제어명령신호 예컨대, 기지국 장애정보 수집명령신호등을 수신하여 해당메시지제어신호를 출력하는 송신프로세서(72)와, 상기 송신프로세서(72)로부터 출력된 메시지제어신호를 순차적으로 저장하고 그 저장된 메시지를 순차적으로 출력하는 메시지 큐(73; message queue)와, 상기 메시지 큐(73)로부터 메시지 제어신호를 순차적으로 리딩(reading)하여 해당 기지국(74)으로 통보하는 수신프로세서(75)를 포함한다.Then, referring to Figure 1 of the message processing device 70 of the operating system as described above, the control command unit 71 for inputting and displaying the control command of the operator, and the control command signal of the control command unit 71 For example, the transmitting processor 72 receives a base station failure information collecting command signal and outputs the corresponding message control signal, and sequentially stores the message control signal output from the transmitting processor 72 and sequentially outputs the stored message. A message queue 73 and a receiving processor 75 sequentially reading a message control signal from the message queue 73 and notifying the corresponding base station 74.

한편, 상기와 같은 종래 운용시스템의 메시지처리장치(70)의 동작을 살펴보면, 먼저, 운용자가 제어명령부(71)를 통해 자신이 원하는 제어명령 예컨대, 특정 기지국의 장애정보 수집명령신호를 입력할 경우 송신프로세서(72)가 이를 인식하여 해당 명령을 편집한 다음 메시지 큐(73)로 출력한다. 그러면, 상기 메시지 큐(73)는 송신프로세서(72)로부터 입력된 메시지신호를 메시지 큐(73)에 순차적으로 저장한다. 그러면, 상기 메시지 큐(73)를 수신프로세서(75)가 일정주기로 액세스하여 메시지 큐(73)에 새로운 메시지가 저장되었는지를 확인한다. 이때, 상기 수신프로세서(75)는 메시지 큐(73)에 새로운 메시지가 수신저장되었을 경우 이 메시지 내용을 읽어들여 분석하고 그 해당 명령 예컨대, 특정 기지국의 장애정보 수집명령신호에 따라 특정 기지국(74)으로 해당 메시지신호를 전송하여 처리하게 한다.On the other hand, referring to the operation of the message processing device 70 of the conventional operating system as described above, first, the operator inputs a control command desired by the user through the control command unit 71, for example, a failure information collection command signal of a specific base station. In this case, the transmitting processor 72 recognizes this, edits the corresponding command, and outputs the command to the message queue 73. Then, the message queue 73 sequentially stores the message signal input from the transmission processor 72 in the message queue 73. Then, the receiving processor 75 accesses the message queue 73 at regular intervals to check whether a new message is stored in the message queue 73. In this case, when the new message is received and stored in the message queue 73, the receiving processor 75 reads and analyzes the content of the message, and according to the corresponding command, for example, the fault information collecting command signal of the specific base station, the specific base station 74. Transmit the corresponding message signal to process.

그러나, 상기와 같은 종래 운용시스템의 메시지처리장치는 메시지 큐가 입출력되는 메시지를 순차적으로 처리하기 때문에 일시에 다량의 데이터가 폭주할 경우 예컨대, 경보(alarm)와 같은 데이터가 발생될 경우 이를 메시지 큐가 제대로 처리할 수 없어 메시지 큐 풀(full)현상이 발생되므로 그에 따라 운용시스템이 빈번하게 다운되는 문제점을 야기시켰다.However, since the message processing apparatus of the conventional operating system sequentially processes the messages to which the message queue is inputted and outputted, when a large amount of data is congested at a time, for example, when data such as an alarm is generated, the message queue is processed. Could not handle properly, resulting in a message queue full phenomenon, causing the operating system to frequently crash.

이에 본 발명은 상기와 같은 종래 제반 문제점을 해결하기 위해 발명된 것으로, 기지국운용시스템의 프로세서들 사이에서 메시지를 처리하는 메시지 큐를 라이트포인터와 리딩포인터로 구분하여 적층되는 메시지를 순환처리하므로써, 메시지 큐의 내용이 폭주한다 하더라도 큐풀 현상이 발생되지 않으므로 그에 따라 운용시스템의 동작안전성을 확보하는 운용 시스템의 메시지큐의 메시지 처리장치 및 그 제어방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been invented to solve the above-mentioned general problems, and the message queue for processing a message among the processors of the base station operating system is divided into a write pointer and a reading pointer, thereby circulating a message that is stacked. Even if the contents of the queue are congested, the queue pool phenomenon does not occur. Accordingly, an object of the present invention is to provide a message processing apparatus and a control method of the message queue of the operating system, thereby ensuring operational safety of the operating system.

본 발명의 다른 목적은 별도의 추가회로구성없이 메시지 큐의 처리용량을 무한대로 증가시켜 송수신 데이터를 처리하므로 그에 따라 운용시스템의 메시지 처리기능성을 상당히 향상시키는 운용 시스템의 메시지큐의 메시지 처리장치 및 그 제어방법을 제공하는데 있다.Another object of the present invention is to increase and decrease the processing capacity of the message queue without additional circuit configuration to process the transmission and reception data, so that the message processing apparatus of the message queue of the operating system to significantly improve the message processing functionality of the operating system accordingly To provide a control method.

상기와 같은 목적을 달성하기 위한 본 발명은 공유 메모리내에 라이팅 포인터와 리딩 포인터를 구비하고 메시지신호를 공유메모리내에서 순환 기록 혹은 재생시키는 순환메시지 큐와, 상기 순환메시지 큐의 라이팅 포인터를 이용하여 메시지신호를 공유메모리내에 기록하고 라이팅 포인터의 변수값을 가감시키는 송신프로세서와, 상기 순환 메시지 큐의 라이팅 포인터와 리딩 포인터를 주기적으로 비교하여 포인터 값이 다를 경우 리딩 포인터의 변수값을 가감시키고 메시지신호를 리딩하는 수신프로세서로 이루어진 운용 시스템의 메시지큐의 메시지 처리장치를 제공한다.In order to achieve the above object, the present invention provides a message using a circular message queue having a writing pointer and a reading pointer in a shared memory and circularly recording or reproducing a message signal in the shared memory, and a writing pointer of the circular message queue. The sender writes the signal in the shared memory and adds and subtracts the variable value of the writing pointer, and periodically compares the writing pointer and the reading pointer of the circular message queue to add or subtract the variable value of the leading pointer and output the message signal. Provided is a message processing apparatus of a message queue of an operating system comprising a receiving processor for reading.

본 발명의 다른 특징은 운용시스템의 송신프로세서가 순환메시지 큐에 메시지를 기록하고 메시지 큐의 라이팅 포인터를 1씩 증가시키는 메시지 기록단계와,상기 메시지 기록단계후에 송신프로세서가 라이팅 포인터의 변수값을 검색하여 현재 번지가 순환 메시지 큐의 공유메모리의 마지막 번지를 확인하는 최종 메시지번지 확인단계와, 상기 최종 메시지번지 확인단계중에 라이팅 포인터의 변수값이 순환 메시지 큐의 공유메모리의 마지막 번지를 지시할 경우 송신프로세서가 라이팅 포인터의 변수값을 "0"으로 하고 공유메모리의 처음번지로 순환하여 메시지를 기록하는 메시지큐 라이트 순환단계와, 상기 메시지큐 순환단계중에 수신프로세서가 순환메시지 큐의 라이팅포인터와 리딩포인터의 변수값이 동일한지를 확인하는 변수값 비교단계와, 상기 변수값 비교단계중에 의해 순환메시지 큐의 라이팅포인터와 리딩포인터의 변수값이 동일할 경우 수신프로세서가 리딩포인터가 지시하는 공유메모리의 번지에서 메시지를 리딩하여 해당 명령을 실행시키는 메시지 리딩단계와, 상기 메시지 리딩단계중에 리딩 포인터의 변수값이 순환 메시지 큐의 공유메모리의 마지막 번지를 지시할 경우 수신프로세서가 리딩 포인터의 변수값을 "0"으로 하고 공유메모리의 처음번지로 순환하여 메시지를 재생하는 메시지큐 리딩순환단계로 이루어진 운용 시스템의 메시지큐의 메시지 처리장치의 제어방법을 제공한다.Another feature of the present invention is a message recording step in which the sending processor of the operating system writes a message to the circular message queue and increments the writing pointer of the message queue by one; and after the message writing step, the sending processor retrieves the variable value of the writing pointer. When the current address indicates the last address of the shared memory of the circular message queue and the last message address is checked, the variable value of the writing pointer indicates the last address of the shared memory of the circular message queue during the final message address confirmation. The message queue write cycle, in which the processor cycles to the first address of the shared memory and writes a message, setting the variable value of the writing pointer to "0", and the writing processor and the reading pointer of the circulation message queue during the message queue cycle. Comparing the value of the variable to see if the values of A message reading step of executing a corresponding command by reading a message at a shared memory address indicated by a reading pointer when the writing pointer and the reading pointer of the circular message queue have the same variable value during the variable value comparing step; If the variable value of the leading pointer indicates the last address of the shared memory of the circular message queue during the message reading phase, the receiving processor sets the value of the leading pointer to "0" and cycles to the first address of the shared memory to play the message. Provided is a control method of a message processing apparatus of a message queue of an operating system having a queue reading circulation step.

도 1은 종래 운용시스템의 메시지 큐 처리장치를 설명하는 설명도.1 is an explanatory diagram illustrating a message queue processing apparatus of a conventional operating system.

도 2는 본 발명의 메시지큐의 메시지 처리장치를 설명하는 설명도.2 is an explanatory diagram illustrating a message processing apparatus of a message queue of the present invention.

도 3은 본 발명의 플로우차트.3 is a flowchart of the present invention.

도 4는 본 발명의 순환메시지 큐의 구조를 설명하는 설명도.4 is an explanatory diagram illustrating a structure of a circular message queue of the present invention.

도 5는 본 발명 장치의 적용예를 예시하는 설명도.5 is an explanatory diagram illustrating an application example of the apparatus of the present invention.

<부호의 상세한 설명><Detailed Description of Codes>

1 : 제어명령부 2 : 송신프로세서1: control command unit 2: sending processor

3 : 순환메시지 큐 4 : 기지국3: circular message queue 4: base station

5 : 수신프로세서 6 : 라이팅 포인터5: Receive Processor 6: Lighting Pointer

7 : 리딩 포인터 8 : 공유 메모리7: reading pointer 8: shared memory

9: 기지국 제어기9: base station controller

이하, 본 발명을 첨부된 예시도면에 의거 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

본 발명 장치는 도 2에 도시된 바와같이 운용자의 제어명령을 입력하고 표시하는 제어명령부(1)와, 상기 제어명령부(1)의 제어명령신호 예컨대, 기지국 장애정보 수집명령신호등을 수신하여 해당 메시지신호를 출력하는 송신프로세서(2)와, 상기 송신프로세서(2)로부터 출력된 메시지신호를 관리하는 라이팅 포인터(writingpointer)와 리딩 포인터(reading pointer)를 공유메모리내에 구비하고 라이팅되는 메시지를 순환 저장시키는 순환메시지 큐(3)와, 상기 순환 메시지 큐(3)의 라이팅 포인터와 리딩 포인터를 주기적으로 비교하여 다를 경우 메시지신호를 리딩(reading)하여 해당 기지국(4)으로 통보하는 수신프로세서(5)를 포함한다.The apparatus of the present invention receives a control command unit 1 for inputting and displaying a control command of an operator as shown in FIG. 2, and a control command signal of the control command unit 1, for example, a base station failure information collection command signal. A transmitting processor 2 for outputting the corresponding message signal, a writing pointer and a reading pointer for managing the message signal output from the transmitting processor 2 are provided in the shared memory, and the written message is circulated. The receiving processor 5 which reads the message signal and notifies the corresponding base station 4 when the cyclic message queue 3 to be stored and the writing pointer and the reading pointer of the cyclic message queue 3 are periodically compared. ).

여기서, 상기 순환메시지 큐(3)는 라이팅 포인터(6)와 리딩 포인터(7)를 이용하여 공유메모리(8)의 ø번지부터 라이팅(writing) 혹은 리딩하기 시작하여 맨 마지막 번지까지 데이터를 기록 혹은 재생한 다음 다시 처음 ø번지로 되돌아와 기록 혹은 재생하는데, 이때 상기와 같은 과정을 계속 순환(cyclic)한다.Here, the circular message queue 3 uses the writing pointer 6 and the reading pointer 7 to write or read data from the ø address of the shared memory 8 to the last address, or to write the data to the last address. After playback, it returns to the first address ø to record or play back. At this time, the above process is cyclically continued.

또한, 상기 순환메시지 큐(3)는 쉐어드 메모리(shared memory)로 구성될 수 있다.In addition, the circular message queue 3 may be configured as a shared memory.

다음에는 상기와 같은 본 발명의 장치의 제어방법을 설명한다.Next, a control method of the apparatus of the present invention as described above will be described.

본 발명은 도 3에 도시된 바와같이 초기상태(S1)에서 메시지 기록단계(S2)로 진행하여 송신프로세서가 순환메시지 큐에 메시지를 기록하고 메시지 큐의 라이팅 포인터를 1씩 증가시킨다. 그리고, 상기 메시지 기록단계(S2)후에 최종 메시지번지 판단단계(S3)로 진행하여 송신프로세서가 라이팅 포인터의 변수값을 검색하여 현재 번지가 순환 메시지 큐의 공유메모리의 마지막 번지인가를 판단한다.As shown in FIG. 3, the present invention proceeds from the initial state S1 to the message recording step S2, where the transmitting processor writes the message to the circular message queue and increments the writing pointer of the message queue by one. After the message recording step (S2), the process proceeds to the final message address determination step (S3) to determine whether the current address is the last address of the shared memory of the circular message queue by searching the variable value of the writing pointer.

이때, 상기 최종 메시지번지 판단단계(S3)중에 판단한 결과 라이팅 포인터의 변수값이 순환 메시지 큐의 공유메모리의 마지막 번지를 지시할 경우에는 메시지큐 라이팅순환단계(S4)로 진행하여 송신프로세서가 라이팅 포인터의 변수값을 ø하고 공유메모리의 처음번지로 순환하여 메시지를 기록한다.At this time, if the variable value of the writing pointer indicates the last address of the shared memory of the circular message queue as a result of the determination during the final message address determination step (S3), the process proceeds to the message queue writing circulation step (S4) and the transmitting processor writes the writing pointer. Write the message by circulating to the first address of shared memory.

그러나, 상기 최종 메시지번지 판단단계(S3)중에 판단한 결과 라이팅 포인터의 변수값이 순환 메시지 큐의 공유메모리의 마지막 번지를 지시하지 않을 경우에는 변수값 비교단계(S5)로 진행하여 수신프로세서가 순환메시지 큐의 라이팅포인터와 리딩포인터의 변수값이 동일한지를 판단한다.However, if the variable value of the writing pointer does not indicate the last address of the shared memory of the circular message queue as a result of the determination during the final message address determination step (S3), the process proceeds to the variable value comparison step (S5) and the receiving processor performs a circular message. It is determined whether the variable values of the writing pointer and the reading pointer of the queue are the same.

여기서, 상기 변수값 비교단계(S5)중에 판단한결과 순환메시지 큐의 라이팅포인터와 리딩포인터의 변수값이 동일할 경우는 종료한다. 그러나, 상기 변수값 비교단계(S5)중에 판단한결과 순환메시지 큐의 라이팅포인터와 리딩포인터의 변수값이 동일하지 않을 경우에는 메시지 리딩단계(S6)로 진행하여 수신프로세서가 리딩포인터가 지시하는 공유메모리의 번지에서 메시지를 리딩하여 해당 명령을 실행시킨다.In this case, when the variable values of the writing pointer and the reading pointer of the circular message queue are the same as the result of the determination in the variable value comparing step S5, the processing ends. However, if the variable values of the writing pointer and the reading pointer of the circular message queue are not the same as judged during the variable value comparing step S5, the process proceeds to the message reading step S6, where the receiving processor indicates the shared memory indicated by the leading pointer. Execute the command by reading the message at the address of.

상기 메시지 리딩단계(S6)후에 최종 메시지번지 판단단계(S7)로 진행하여 수신프로세서가 리딩 포인터의 변수값을 검색하여 현재 번지가 순환 메시지 큐의 공유메모리의 마지막 번지인가를 판단한다.After the message reading step S6, the process proceeds to the final message address determining step S7. The receiving processor searches the variable value of the reading pointer to determine whether the current address is the last address of the shared memory of the circular message queue.

이때, 상기 최종 메시지번지 판단단계(S7)중에 판단한 결과 리딩 포인터의 변수값이 순환 메시지 큐의 공유메모리의 마지막 번지를 지시할 경우에는 메시지큐 리딩순환단계(S8)로 진행하여 수신프로세서가 리딩 포인터의 변수값을 ø으로 하고 공유메모리의 처음번지로 순환하여 메시지를 기록한다.At this time, if the variable value of the reading pointer indicates the last address of the shared memory of the circular message queue as a result of the determination in the final message address determining step (S7), the process proceeds to the message queue reading circulation step (S8) and the receiving processor reads the reading pointer. Set the variable value of ø to the first address of shared memory and record the message.

즉, 도 2의 본 발명장치(10)에서 운용자가 제어명령부(1)를 통해 자신이 원하는 제어명령 예컨대, 특정 기지국의 장애정보 수집명령신호 등을 입력할 경우 송신프로세서(2)가 이를 인식하여 해당 명령을 편집한 다음 순환메시지 큐(3)의 라이팅 포인터(6)를 이용하여 공유메모리(8)의 처음번지에 기록하고 라이팅 포인터(6)의 변수값을 1씩 증가시킨다. 따라서, 상기 송신프로세서(2)는 상기 과정에서와 같이 메시지가 있을 때마다 라이팅 포인터(6)의 변수값을 1씩 증가시키면서 공유메모리(8)의 마지막 번지까지 기록한다.That is, in the apparatus 10 of the present invention, when the operator inputs a control command desired by the operator through the control command unit 1, for example, a fault information collecting command signal of a specific base station, the transmitting processor 2 recognizes this. After editing the corresponding command, the writing pointer 6 of the circular message queue 3 is written to the first address of the shared memory 8, and the variable value of the writing pointer 6 is increased by one. Therefore, the transmission processor 2 writes up to the last address of the shared memory 8 while increasing the variable value of the writing pointer 6 by 1 each time there is a message as in the above procedure.

이때, 상기 송신프로세서(2)는 만약, 라이팅 포인터(6)의 변수값이 마지막번지를 지시하는 상태에서 새로운 메시지신호를 기록해야 할 경우 라이팅 포인터를 클리어하고 공유메모리(8)의 처음 번지로 되돌아가 기록한 다음 다시 라인팅 포인터를 1씩 증가시키는 순환과정을 반복한다.At this time, the transmission processor 2 clears the writing pointer and returns to the first address of the shared memory 8 if it is necessary to write a new message signal while the variable value of the writing pointer 6 indicates the last address. Writes and then repeats the cycle of incrementing the line pointer by one.

예컨대, 상기 순환메시지 큐(3)의 공유메모리(8)의 총 번지수가 도 4에 도시된 바와같이 5000번이라고 가정할 경우 송신프로세서(2)는 메시지신호가 있을 경우 라이팅 포인터(6)를 1씩 증가시키면서 공유메모리(8)의 처음번지(1번지)부터 마지막 번지(5000번지)까지 기록한 다음 다시 처음번지(1번지)로 되돌아와 다시 상기 기록과정을 반복하면서 메시지신호를 기록한다.For example, assuming that the total address of the shared memory 8 of the circular message queue 3 is 5000 as shown in Fig. 4, the transmitting processor 2 sets the writing pointer 6 to 1 when there is a message signal. The first address (address 1) to the last address (5000 address) of the shared memory 8 is recorded in increments, and then the data is returned to the first address (address 1) again and the message process is recorded again.

이때, 상기 수신프로세서(5)는 순환메시지 큐(3)의 라이팅 포인터(6)와 리딩 포인터(7)의 변수값을 비교하여 이들의 값이 서로 같아질때까지 즉, 공유메모리(8)에 기록된 메시지를 모두 리딩할 때까지 메시지신호를 리딩해 간다. 그리고, 상기 수신프로세서(5)는 메시지신호를 리딩해 갈때마다 리딩 포인터(7)의 변수값을 1씩 증가시킨다.At this time, the receiving processor 5 compares the variable values of the writing pointer 6 and the reading pointer 7 of the circular message queue 3 and writes them in the shared memory 8 until their values are equal to each other. The message signal is read until all read messages are read. The reception processor 5 increments the variable value of the reading pointer 7 by one every time the message signal is read.

예를들어, 상기 라이팅 포인터(6)의 변수값이 2000번지를 지시하고 리딩포인터(7)의 변수값은 1999번지를 지시한다면 이는 수신프로세서(5)가 아직 2000번지에있는 메시지를 리딩해가지 않은 것이므로 수신프로세서(5)는 이 2000번지내에 들어 있는 메시지를 리딩한 다음 리딩 포인터(7)의 변수값을 1 증가시키게 되고 그에따라 상기 라이팅 포인터(6)의 변수값과 리딩 포인터(7)의 변수값이 일치된다.For example, if the variable value of the writing pointer 6 indicates 2000 and the variable value of the reading pointer 7 indicates 1999, this means that the receiving processor 5 reads the message still at 2000. Since the receiving processor 5 reads the message contained in the address 2000, the receiving processor 5 increases the variable value of the reading pointer 7 by 1 and accordingly the variable value of the writing pointer 6 and the reading pointer 7 The variable values match.

이때, 상기 수신프로세서(5)는 리딩 포인터(7)의 변수값이 지시하는 공유메모리(8)의 번지가 마지막번지(5000번지)일 경우 처음번지(1번지)로 되돌아가 메시지가 있을 경우 다시 리딩하게된다.At this time, when the address of the shared memory 8 indicated by the variable value of the reading pointer 7 is the last address (5000 address), the receiving processor 5 returns to the first address (address 1) if there is a message again. Will lead.

따라서, 상기와 같은 방법으로 수신프로세서(5)는 순환 메시지 큐(3)에 기록된 메시지 내용을 읽어들여 분석하고 그 해당 명령 예컨대, 특정 기지국의 장애정보 수집명령신호에 따라 기지국제어기(9)를 경유하여 특정 기지국(4)으로 해당 메시지신호를 전송하여 처리하게 한다.Thus, in the above manner, the receiving processor 5 reads and analyzes the message contents recorded in the circular message queue 3 and analyzes the base station controller 9 according to the corresponding command, for example, the fault information collecting command signal of the specific base station. The message signal is transmitted to the specific base station 4 through the processing.

그러므로, 본원 발명에 의하면, 송신프로세서(2)와 수신프로세서(5)가 순환메시지 큐(3)의 공유메모리(8)의 모든 번지를 계속 순환하며서 메시지를 기록하거나 읽어들이기 때문에 종래의 메시지 큐처럼 큐풀 현상이 발생되는 일을 일어나지 않는다.Therefore, according to the present invention, since the transmitting processor 2 and the receiving processor 5 write or read messages while circulating all the addresses of the shared memory 8 of the circular message queue 3, as in the conventional message queue, It doesn't happen that the pooling happens.

또한, 본 발명의 장치나 방법은 메시지 큐를 사용하는 모든 운용시스템에 적용할 수 있는데, 예를들어, 도 5에 도시된 바와같이 기지국운용장치(RPOM)의 GUI 타스크모듈이나 이벤트 타스크모듈 또는 SNMP 타스크모듈 과같이 메시지 큐를 사용하는 영역에서는 모두 적용가능하다.In addition, the apparatus or method of the present invention can be applied to any operating system using a message queue. For example, as shown in FIG. 5, a GUI task module, an event task module, or an SNMP of a base station operating apparatus (RPOM). This is applicable in areas that use message queues, such as task modules.

이상 설명에서와 같이 본 발명은 기지국운용시스템의 프로세서들 사이에서메시지를 처리하는 메시지 큐를 라이트포인터와 리딩포인터로 구분하여 적층되는 메시지를 순환처리하므로써, 메시지 큐의 내용이 폭주한다 하더라도 큐풀 현상이 발생되지 않으므로 그에 따라 운용시스템의 동작안전성을 확보하는 장점을 가지고 있다.As described above, the present invention divides a message queue that processes messages among processors of a base station operating system into a light pointer and a reading pointer, and processes the stacked messages so that the queue pool phenomenon may occur even if the contents of the message queue are congested. Since it does not occur, it has the advantage of ensuring the operation safety of the operating system accordingly.

또한, 본 발명에 의하면, 별도의 추가회로구성없이 메시지 큐의 처리용량을 무한대로 증가시켜 송수신 데이터를 처리하므로 그에 따라 운용시스템의 메시지 처리기능성을 상당히 향상시키는 효과도 있다.In addition, according to the present invention, since the processing capacity of the message queue is increased indefinitely without any additional circuit configuration, the transmission / reception data is processed, thereby significantly improving the message processing functionality of the operating system.

Claims (3)

공유 메모리내에 라이팅 포인터와 리딩 포인터를 구비하고 메시지신호를 공유메모리내에서 순환 기록 혹은 재생시키는 순환메시지 큐와, 상기 순환메시지 큐의 라이팅 포인터를 이용하여 메시지신호를 공유메모리내에 기록하고 라이팅 포인터의 변수값을 가감시키는 송신프로세서와, 상기 순환 메시지 큐의 라이팅 포인터와 리딩 포인터를 주기적으로 비교하여 다를 경우 리딩 포인터의 변수값을 가감시키고 메시지신호를 리딩하는 수신프로세서로 이루어진 것을 특징으로 하는 운용 시스템의 메시지큐의 메시지 처리장치.A write message and reading pointer in the shared memory and a circular message queue for circular recording or reproducing of the message signal in the shared memory, and the message signal is written in the shared memory using the writing pointer of the circular message queue. A message of an operating system comprising: a transmitting processor for adding or subtracting a value; and a receiving processor for periodically adding and subtracting a variable value of a reading pointer and reading a message signal when the writing pointer and reading pointer of the circular message queue are different from each other. Message processing unit for the queue. 제1항에 있어서, 상기 순환메시지 큐는 쉐어드 메모리인 것을 특징으로 하는 운용 시스템의 메시지큐의 메시지 처리장치.2. The message processing apparatus of claim 1, wherein the circular message queue is a shared memory. 운용시스템의 송신프로세서가 순환메시지 큐에 메시지를 기록하고 메시지 큐의 라이팅 포인터를 1씩 증가시키는 메시지 기록단계와, 상기 메시지 기록단계후에 송신프로세서가 라이팅 포인터의 변수값을 검색하여 현재 번지가 순환 메시지 큐의 공유메모리의 마지막 번지를 확인하는 최종 메시지번지 확인단계와, 상기 최종 메시지번지 확인단계중에 라이팅 포인터의 변수값이 순환 메시지 큐의 공유메모리의 마지막 번지를 지시할 경우 송신프로세서가 라이팅 포인터의 변수값을 ø으로 하고 공유메모리의 처음번지로 순환하여 메시지를 기록하는 메시지큐 라이트 순환단계와, 상기 메시지큐 순환단계중에 수신프로세서가 순환메시지 큐의 라이팅포인터와 리딩포인터의 변수값이 동일한지를 확인하는 변수값 비교단계와, 상기 변수값 비교단계중에 의해 순환메시지 큐의 라이팅포인터와 리딩포인터의 변수값이 동일할 경우 수신프로세서가 리딩포인터가 지시하는 공유메모리의 번지에서 메시지를 리딩하여 해당 명령을 실행시키는 메시지 리딩단계와, 상기 메시지 리딩단계중에 리딩 포인터의 변수값이 순환 메시지 큐의 공유메모리의 마지막 번지를 지시할 경우 수신프로세서가 리딩 포인터의 변수값을 ø으로 하고 공유메모리의 처음번지로 순환하여 메시지를 재생하는 메시지큐 리딩순환단계로 이루어진 것을 특징으로 하는 운용 시스템의 메시지큐의 메시지 처리장치의 제어방법.A message recording step in which the sending processor of the operating system writes a message to the circular message queue and increments the writing pointer of the message queue by one; and after the message writing step, the sending processor searches for a variable value of the writing pointer and the current address is a circular message. In the final message address checking step of checking the last address of the shared memory of the queue, and if the variable value of the writing pointer indicates the last address of the shared memory of the circular message queue during the final message address checking step, the sending processor determines the variable of the writing pointer. The message queue write cycle of recording a message by looping back to the first address of the shared memory and setting the value to ø, and the receiving processor checks whether the variable values of the writing pointer and the reading pointer of the circular message queue are the same during the message queue circulation. During the variable value comparison step and the variable value comparison step If the writing value of the writing pointer and the reading pointer of the circular message queue are the same, the message reading step of the receiving processor reading a message at the address of the shared memory indicated by the reading pointer and executing the corresponding command, and reading the message during the reading step When the variable value of the pointer indicates the last address of the shared memory of the circular message queue, the receiving processor performs the message queue reading circulation step of reproducing the message by circulating to the first address of the shared memory and setting the variable value of the leading pointer to ø. A control method of a message processing apparatus of a message queue of an operating system.
KR10-2001-0060663A 2001-09-28 2001-09-28 message processing equipment of the message queue of operation system and controlling method therefore KR100434340B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0060663A KR100434340B1 (en) 2001-09-28 2001-09-28 message processing equipment of the message queue of operation system and controlling method therefore

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0060663A KR100434340B1 (en) 2001-09-28 2001-09-28 message processing equipment of the message queue of operation system and controlling method therefore

Publications (2)

Publication Number Publication Date
KR20030027426A true KR20030027426A (en) 2003-04-07
KR100434340B1 KR100434340B1 (en) 2004-06-04

Family

ID=29562923

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0060663A KR100434340B1 (en) 2001-09-28 2001-09-28 message processing equipment of the message queue of operation system and controlling method therefore

Country Status (1)

Country Link
KR (1) KR100434340B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100966562B1 (en) * 2003-09-01 2010-06-29 엘지전자 주식회사 Queue pool structure in communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100315472B1 (en) * 1999-07-12 2001-11-28 윤종용 Queue resource management method between two cpu

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100966562B1 (en) * 2003-09-01 2010-06-29 엘지전자 주식회사 Queue pool structure in communication system

Also Published As

Publication number Publication date
KR100434340B1 (en) 2004-06-04

Similar Documents

Publication Publication Date Title
RU2176816C2 (en) Supporting host computer with capability information of slave computer
US20030061428A1 (en) Dynamic master/slave configuration for multiple expansion modules
JP2006195867A (en) Bus arbitration method and semiconductor device
CN107835089B (en) Method and device for managing resources
CN104516838A (en) Management path determining method and device
US5586056A (en) Remote monitoring system using a polling level table and a monitored station number table
CN113595773B (en) Information processing method, device, electronic equipment and storage medium
JPS6142052A (en) Initial load controlling system of terminal equipment
KR100434340B1 (en) message processing equipment of the message queue of operation system and controlling method therefore
CN114241984B (en) LED driving device, multi-stage LED driving system and driving method
CN110716692B (en) Reading performance improving method and device, storage node and data reading method
CN112311671A (en) Method, apparatus, medium and device for issuing aggregated link configuration to switch chip
CN112328527B (en) Method, system, equipment and medium for BMC remote access to I2C device
US10572403B1 (en) Complex programmable logic device with capability of performing multi-address response and operation method thereof
CN115826481B (en) State detection equipment and state detection method
CN116954968A (en) Memory fault processing method and system for realizing Feiteng server based on CPLD
JPH07222267A (en) State information collecting system and state managing system
KR100413422B1 (en) Multiport controlling method in multiport controller
CN112769693A (en) Method and device for maintaining multicast group
CN116974757A (en) Load balancing method, device, storage medium and processor
JPH0870489A (en) Notifying method for load monitoring state and load monitoring system using the same
CN116886709A (en) Management information processing method, device, equipment and machine-readable storage medium
KR100428662B1 (en) multi-processing equipment of NMS and controlling method therefore
KR100678098B1 (en) Memory access method for transmission apparatus
CN110727472A (en) Application server performance optimization method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20090429

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee