KR20010009052A - Method for sending and generating data between main processor and relay station - Google Patents

Method for sending and generating data between main processor and relay station Download PDF

Info

Publication number
KR20010009052A
KR20010009052A KR1019990027200A KR19990027200A KR20010009052A KR 20010009052 A KR20010009052 A KR 20010009052A KR 1019990027200 A KR1019990027200 A KR 1019990027200A KR 19990027200 A KR19990027200 A KR 19990027200A KR 20010009052 A KR20010009052 A KR 20010009052A
Authority
KR
South Korea
Prior art keywords
data
flag
byte
determination step
value
Prior art date
Application number
KR1019990027200A
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 KR1019990027200A priority Critical patent/KR20010009052A/en
Publication of KR20010009052A publication Critical patent/KR20010009052A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PURPOSE: A data generating and transmitting method is provided to improve upper processor performance without revising of a hardware by reducing the amount of signal data transferred between an upper processor and a link line device. CONSTITUTION: A data generating and transmitting method is described which comprises a transmission algorithm. The transmission algorithm comprises initializing a program for data transmission(S100). A 16-byte data is generated by comparing previous signal data with current signal data in an upper processor(S200). A 2-byte data is generated by comparing the 16-byte data with a set byte number(S300). After transferring the 2-byte data at the upper processor(S400), whether the 16-byte data is transferred is judged according to comparison of the transferred 2-byte data(S500). If the 2-byte data is identical to a set value, the procedure goes to the step(S500). If the 2-byte data is not identical to the set value, varied signal data is only transferred(S600).

Description

상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법{METHOD FOR SENDING AND GENERATING DATA BETWEEN MAIN PROCESSOR AND RELAY STATION}METHOD FOR SENDING AND GENERATING DATA BETWEEN MAIN PROCESSOR AND RELAY STATION}

본 발명은 상위 프로세서와 중계선 장치간의 데이터 전송 방법에 관한 것으로, 특히, 상위 프로세서와 중계선 장치간에 신호가 바뀐 데이터만을 송/수신할 수 있도록 하는 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법에 관한 것이다.The present invention relates to a data transmission method between an upper processor and a trunk line device. More particularly, the present invention relates to a data generation and transmission method between a higher processor and a trunk line device that transmits and receives only data whose signal is changed between the upper processor and the trunk line device. .

주지하다시피, 본 발명은 교환기간 또는 가입자와 교환기간의 호 접속, 감시, 선택 및 운용 등을 위하여 신호 정보를 송/수신할 때, 상위 프로세서와 중계선 장치간의 신호 데이터를 송/수신하는데 사용된다.As is well known, the present invention is used to transmit / receive signal data between an upper processor and a trunk line device when transmitting / receiving signal information for a call connection, monitoring, selection and operation of a switching period or a subscriber and the switching period. .

종래에는 통신시스템에서 상위 프로세서와 중계선 장치간에 신호 데이터를 송/수신하는데 있어서, 신호 데이터가 변하거나 변하지 않아도 모든 채널에 대한 신호 데이터를 송/수신 함으로써, 상위 프로세서와 중계선 장치는 불필요한 데이터를 송/수신하여 자원을 낭비하게 되고, 상위 프로세서의 부하에 많은 영향을 주는 문제점이 있었다.Conventionally, in a communication system, in transmitting / receiving signal data between an upper processor and a trunk line device, the upper processor and the relay line device transmit / receive unnecessary data by transmitting / receiving signal data for all channels even if the signal data does or does not change. There is a problem that wastes resources by receiving, and affects the load of the upper processor.

따라서, 본 발명은 상기와 같은 종래의 문제점을 해소하기 위한 것으로서, 본 발명의 목적은 상위 프로세서와 중계선 장치간에 신호 데이터를 송/수신 받을 때, 이전에 송/수신되었던 신호 데이터를 저장하여 현재 송/수신되는 신호 데이터와 비교한 후 신호 데이터가 변화된 채널을 판단하여 상위 프로세서와 중계선 장치간에 변화된 채널의 신호 데이터를 서로 알려주고, 변화된 데이터만 송/수신받을 수 있도록 한 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법을 제공하는 데 있다.Accordingly, the present invention is to solve the above-mentioned conventional problems, an object of the present invention is to store the signal data that was previously transmitted / received when the signal data is transmitted / received between the upper processor and the trunk line device to transmit the current After comparing with the received signal data, determine the channel where the signal data has changed and inform the signal data of the changed channel between the upper processor and the trunk line device, and generate data between the upper processor and the trunk line device so that only the changed data can be transmitted / received. And a transmission method.

상기와 같은 목적을 달성하기 위하여 본 발명 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법에서 데이터 생성 방법은, 데이터 비교를 하기 위한 프로그램을 초기화시켜 주는 초기화 단계와; 입력된 신호 데이터를 과거에 입력된 데이터와 동일한지의 여부를 비교하는 데이터 비교 판단단계와; 상기 데이터 비교 판단단계에서 새로 입력된 신호 데이터가 동일하면, 신호 데이터가 동일하다는 것을 알 수 있도록 캐리 플래그값을 설정하는 제 1 플래그 설정단계와; 상기 데이터 비교 판단단계에서 새로 입력된 신호 데이터가 동일하지 않으면, 신호 데이터가 동일하지 않다는 것을 알 수 있도록 캐리 플래그값을 설정하는 제 2 플래그 설정단계와; 상기 제 1, 제 2 플래그 설정단계에서 채널이 변한 것을 16바이트로 저장하기 위해 플래그값을 메모리 공간에 삽입하여 회전시켜 1바이트에 저장시키는 제 1 플래그 저장단계와; 캐리 플래그가 모두 저장되었는지 8번 카운팅하여 캐리 플래그 값이 설정값으로 되었는지의 여부를 판단하는 제 1 플래그 판단단계와; 상기 제 1 플래그 판단단계에서 8번 카운팅하여 설정 플래그값이 나오지 않았으면, 다음 입력된 신호 데이터를 과거 입력된 데이터와 비교할 수 있도록 메모리의 위치를 이동시키는 제 1 메모리 위치 이동단계와; 상기 제 1 플래그 판단단계에서 설정 플래그 값이 나왔으면, 16바이트의 모든 채널을 저장했는지의 여부를 판단하는 제 1 저장 판단단계와; 상기 제 1 저장 판단단계에서 16바이트의 채널을 모두 저장하지 않았으면 상기 메모리 위치 이동단계로 되돌아가고, 모두 저장되었으면 2바이트의 데이터를 생성하기 위해 초기화해 주는 2바이트 초기화단계와; 생성된 16바이트를 1바이트 단위로 비교하여 0인지 아닌지의 여부를 판단하는 제 2 플래그 판단단계와; 상기 제 2 플래그 판단단계에서 데이터가 0인지를 알 수 있도록 캐리 플래그의 값을 설정해 주는 제 3 플래그 설정단계와; 상기 제 2 플래그 판단단계에서 데이터가 0이 아닌 것을 알 수 있도록 캐리 플래그 값을 설정해 주는 제 4 플래그 설정단계와; 상기 제 3, 제 4 플래그 설정단계에서 설정된 캐리 플래그를 2바이트로 저장하기 위해 캐리 플래그 값을 메모리 공간에 삽입하여 1바이트씩 저장시키는 제 2 플래그 저장단계와; 1바이트에 캐리 플래그가 모두 저장되었는지 8번 카운팅하여 캐리 플래그 값이 설정값으로 되었는지의 여부를 판단하는 제 3 플래그 판단단계와; 상기 제 3 플래그 판단단계에서 8번 카운팅하여 설정 플래그 값이 나오지 않았으면, 다음 입력된 신호 데이터를 과거 입력된 데이터와 비교할 수 있도록 메모리의 위치를 이동시키는 제 2 메모리 위치 이동단계와; 2바이트의 모든 채널 데이터를 저장했는지의 여부를 판단하는 제 2 저장 판단단계와; 상기 제 2 저장 판단단계에서 2바이트의 채널을 모두 저장하지 않았으면 상기 제 2 메모리 위치 이동단계로 되돌아가고, 모두 저장되었으면 2바이트의 채널 검색을 모두한 후 초기화해 주는 2바이트 초기화단계로 구성된 것을 특징으로 한다.In order to achieve the above object, a data generation method in a data generation and transmission method between an upper processor and a trunk line device includes an initialization step of initializing a program for data comparison; A data comparison determination step of comparing whether the input signal data is the same as the data input in the past; A first flag setting step of setting a carry flag value to recognize that the signal data is the same if the newly input signal data is the same in the data comparison determining step; A second flag setting step of setting a carry flag value so as to know that the signal data are not the same if the newly input signal data is not the same in the data comparison determining step; A first flag storing step of inserting and rotating a flag value in a memory space to store in one byte in order to store the changed channel in 16 bytes in the first and second flag setting steps; A first flag determination step of determining whether the carry flag value is a set value by counting eight times whether all carry flags are stored; A first memory location shifting step of shifting the location of the memory so that the next input signal data can be compared with the past input data if the set flag value is not counted by counting eight times in the first flag determination step; A first storage determination step of determining whether all channels of 16 bytes have been stored, if a set flag value is issued in the first flag determination step; A two-byte initialization step of returning to the memory location shifting step if all 16-byte channels are not stored in the first storage determining step, and initializing to generate two-byte data if all of the channels are stored; A second flag determination step of comparing the generated 16 bytes in units of 1 byte to determine whether or not it is 0; A third flag setting step of setting a carry flag value so as to know whether data is 0 in the second flag determining step; A fourth flag setting step of setting a carry flag value to know that data is not 0 in the second flag determining step; A second flag storing step of inserting a carry flag value into a memory space and storing each byte by one byte in order to store the carry flag set in the third and fourth flag setting steps as two bytes; A third flag determination step of determining whether the carry flag value is a set value by counting eight times whether all carry flags are stored in one byte; A second memory location shifting step of shifting the location of the memory to compare the next input signal data with the past input data if the set flag value is not counted by counting eight times in the third flag determination step; A second storage determination step of determining whether all channel data of two bytes are stored; In the second storage determination step, if the two-byte channel has not been stored, the process returns to the second memory location shifting step. It features.

한편, 본 발명 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법에서 송신 방법은, 데이터 송신을 하기 위한 프로그램을 초기화시켜 주는 초기화 단계와; 과거에 입력된 신호 데이터와 현재의 신호 데이터를 설정 비트씩 비교하여 일정 바이트수를 갖는 첫 번째 데이터를 생성하는 제 1 데이터 생성단계와; 상기 제 1 데이터 생성단계에서 첫 번째 데이터를 생성했으면, 첫 번째 데이터를 설정 바이트수로 비교하여 두 번째 데이터를 생성하는 제 2 데이터 생성단계와; 첫 번째 및 두 번째 데이터를 모두 생성했으면, 상기 두 번째 데이터를 전송하는 데이터 전송단계와; 전송된 두 번째 데이터의 값을 비교하여 첫 번째 데이터를 전송할 것인지의 여부를 판단하는 데이터 전송 판단단계와; 상기 데이터 전송 판단단계에서 두 번째 데이터가 설정값이면 상기 데이터 전송 판단단계로 되돌아가고, 두 번째 데이터가 설정값이 아니면 변화된 신호 데이터만 전송하는 신호 데이터 전송단계로 구성된 것을 특징으로 한다.On the other hand, the transmission method in the data generation and transmission method between the upper processor and the relay line device of the present invention comprises: an initialization step of initializing a program for data transmission; A first data generation step of generating first data having a predetermined number of bytes by comparing the signal data input in the past with the current signal data by a set bit; A second data generation step of generating second data by comparing the first data with a set number of bytes when the first data is generated in the first data generation step; A data transmission step of transmitting the second data when both the first and second data are generated; A data transmission determination step of determining whether to transmit the first data by comparing the value of the second data transmitted; In the data transmission determination step, if the second data is a set value, the process returns to the data transmission determination step, and if the second data is not the set value, it is characterized in that it comprises a signal data transmission step of transmitting only the changed signal data.

한편, 본 발명 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법에서 수신 방법은, 데이터를 수신하기 위한 프로그램을 초기화시켜 주는 초기화 단계와; 상기 송신 방법에서 전송된 두 번째 데이터를 입력받는 데이터 입력단계와; 두 번째 데이터를 분석하여 첫 번째 데이터에 과거에 입력된 데이터와 동일한 데이터가 있는지 판단하는 동일 데이터 판단단계와; 상기 동일 데이터 판단단계에서 동일한 데이터가 있으면 상기 동일 데이터 판단단계로 되돌아가고, 동일한 데이터가 없으면 첫 번째 신호 데이터를 입력받는 첫 번째 데이터 입력단계와; 첫 번째 데이터를 분석하여 변화된 데이터를 입력받아 처리하는 데이터 처리단계로 구성된 것을 특징으로 한다.On the other hand, the reception method in the data generation and transmission method between the upper processor and the trunk line device of the present invention includes an initialization step of initializing a program for receiving data; A data input step of receiving second data transmitted by the transmission method; Analyzing the second data to determine whether the first data includes the same data as the data input in the past; A first data input step of returning to the same data determination step if there is identical data in the same data determination step and receiving first signal data if there is no identical data; It is characterized by consisting of a data processing step of receiving the first data is analyzed by analyzing the changed data.

도 1 은 본 발명의 일 실시예에 따른 상위 프로세서와 중계선 장치간의 데DL터 생성 및 전송 방법을 구현하기 위한 블록도,1 is a block diagram for implementing a method for generating and transmitting data between a higher processor and a trunk line device according to an embodiment of the present invention;

도 2 는 본 발명의 일 실시예에 따른 상위 프로세서와 중계선 장치간의 데DL터 생성 및 전송 방법에서 데이터 생성 방법을 나타낸 순서도,2 is a flowchart illustrating a data generation method in a method for generating and transmitting data between an upper processor and a relay line device according to an embodiment of the present invention;

도 3 은 본 발명의 일 실시예에 따른 상위 프로세서와 중계선 장치간의 데DL터 생성 및 전송 방법에서 데이터 송신 방법을 나타낸 순서도,3 is a flowchart illustrating a data transmission method in a method of generating and transmitting data between a higher processor and a relay line device according to an embodiment of the present invention;

도 4 는 본 발명의 일 실시예에 따른 상위 프로세서와 중계선 장치간의 데DL터 생성 및 전송 방법에서 수신 방법을 나타낸 순서도,4 is a flowchart illustrating a receiving method in a method of generating and transmitting data between an upper processor and a relay line device according to an embodiment of the present invention;

도 5 는 본 발명의 일 실시예에 따른 상위 프로세서와 중계선 장치간의 데DL터 생성 및 전송 방법에서 상위 프로세서와 중계선 장치간의 송/수신 데이터 형식을 나타낸 도면이다.FIG. 5 is a diagram illustrating a transmission / reception data format between an upper processor and a trunk line device in a method for generating and transmitting data between the upper processor and the trunk line device according to an embodiment of the present invention.

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

100 : 상위 프로세서 200 : 중계선 장치100: upper processor 200: relay line device

이하, 본 발명의 일 실시예에 의한 본 발명의 상위 프로세서와 중계선 장치간의 데이터 전송 방법에 대하여 첨부된 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, a method of transmitting data between an upper processor and a trunk line device according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법을 구현하기 위한 블록도이고, 도 2 는 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법에서 데이터 생성 방법을 나타낸 순서도이며, 도 3 은 상위 프로세서와 중계선 장치간의 데이터 전송 방법에서 송신 방법을 나타낸 순서도이다.1 is a block diagram for implementing a method for generating and transmitting data between an upper processor and a trunk line apparatus. FIG. 2 is a flowchart illustrating a data generating method in a method for generating and transmitting data between an upper processor and a trunk line apparatus. Is a flowchart illustrating a transmission method in a data transmission method between an RS and a relay apparatus.

또한, 도 4 는 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법에서 데이터 생성 방법을 나타낸 순서도이고, 도 5 는 상위 프로세서와 중계선 장치간의 데이터 전송 방법에서 상위 프로세서와 중계선 장치간의 송/수신 데이터 형식을 나타낸 표이다.4 is a flowchart illustrating a data generation method in a data generation and transmission method between an upper processor and a trunk line device, and FIG. 5 illustrates a transmission / reception data format between a higher processor and a relay line device in a data transmission method between the upper processor and the trunk line device. Table shown.

본 발명은 도 1 에 도시한 바와 같이, 먼저, 중계선 장치(200)는 가입자가 불특정 다수인인 착신측 가입자에게 통화를 하고자 시도할 때, 도시하지 않은 교환기간 송/수신되는 신호 데이터를 입력받아 상위 프로세서(100)로 전송해 주고, 상기 상위 프로세서(100)에서 입력받은 신호 데이터를 전송하는 하는 한편, 채널의 상태를 감시하며 상위 프로세서(100)로 보고하는 역할을 한다.As shown in FIG. 1, first, the relay line apparatus 200 receives signal data transmitted / received during an exchange period (not shown) when a subscriber attempts to make a call to an unsubscribed subscriber. It transmits to the upper processor 100, transmits the signal data received from the upper processor 100, and monitors the status of the channel and reports to the upper processor 100.

또한, 상위 프로세서(100)에서는 도시하지 않은 교환기를 통해 전송된 음성 데이터를 상기 중계선 장치(200)에서 정상적인 경로를 통해 전송될 수 있도록 제어하는 한편, 통화가 정상적으로 이루어질 수 있도록 상기 중계선 장치(100)를 제어하는 역할을 한다.In addition, the upper processor 100 controls the voice data transmitted through the switch (not shown) to be transmitted through the normal path from the relay line device 200, and the relay line device 100 so that the call can be made normally. It serves to control.

이하, 상기와 같이 구성된 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법에서 데이터 생성 방법의 동작과정을 설명하면 다음과 같다.Hereinafter, an operation process of the data generation method in the data generation and transmission method between the upper processor and the relay line device configured as described above will be described.

상위 프로세서(100) 또는 중계선 장치(100)에서 데이터를 송신하기 위해 즉, 예를 들어 상기 상위 프로세서(100)에서 데이터를 생성하기 위해 데이터 비교를 위한 프로그램을 초기화시켜 주면(S1), 입력된 신호 데이터를 과거에 입력된 데이터와 동일한지의 여부를 비교한다(S2).If the program for data comparison is initialized in order to transmit data from the upper processor 100 or the trunk line apparatus 100, that is, for example, to generate data in the upper processor 100 (S1), the input signal The data is compared with the data input in the past (S2).

이어서, 상기 데이터 비교 판단단계(S2)에서 새로 입력된 신호 데이터가 과거에 입력된 데이터와 동일하면, 상기 상위 프로세서(100)에서 신호 데이터가 동일하다는 것을 알 수 있도록 캐리 플래그 값을 예를 들어 0으로 설정하고(S3), 상기 데이터 비교 판단단계(S2)에서 새로 입력된 신호 데이터가 과거에 입력된 데이터와 동일하지 않으면, 상기 상위 프로세서(100)에서 신호 데이터가 동일하지 않다는 것을 알 수 있도록 캐리 플래그 값을 예를 들어 1로 설정한다(S4).Subsequently, if the newly input signal data is the same as the data input in the past in the data comparison determination step (S2), the carry flag value is set to 0, for example, so that the signal data is the same in the upper processor 100. (S3), if the newly input signal data in the data comparison determination step (S2) is not the same as the data input in the past, carry so that the upper processor 100 knows that the signal data is not the same. For example, the flag value is set to 1 (S4).

그러면, 상기 제 1, 제 2 플래그 설정단계(S3, S4)에서 채널이 변한 것을 상기 상위 프로세서(100)에서 도 5 B에 도시한 바와 같이, 16바이트로 저장하기 위해 캐리 플래그 값을 메모리 공간에 삽입하여 1바이트에 저장시키고(S5), 상기 각각의 캐리 플래그가 모두 저장되었는지 8번 카운팅하여 캐리 플래그 값이 설정값으로 되었는지의 여부를 판단한다(S6).Then, as shown in FIG. 5B, the upper processor 100 stores the change of the channel in the first and second flag setting steps S3 and S4, so that the carry flag value is stored in the memory space. It is inserted and stored in one byte (S5), and counts eight times whether all of the carry flags are stored, and it is determined whether or not the carry flag value is a set value (S6).

또한, 상기 제 1 플래그 판단단계(S6)에서 8번 카운팅하여 설정 플래그값이 나오지 않았으면 다음 입력된 신호 데이터를 과거 입력된 데이터와 비교할 수 있도록 메모리의 위치를 이동시켜 주고(S7), 제 1 플래그 판단단계에서 설정 플래그 값이 나왔으면, 16바이트의 모든 채널을 저장했는지의 여부를 판단한다(S8).In addition, if the set flag value is not counted by counting eight times in the first flag determination step S6, the location of the memory is moved to compare the next input signal data with the previously input data (S7). If the set flag value is found in the flag determination step, it is determined whether all channels of 16 bytes are stored (S8).

이어서, 상기 저장 판단단계(S8)에서 16바이트의 채널을 모두 저장하지 않았으면 상기 메모리 위치 이동단계로 되돌아가고, 모두 저장되었으면 상기 상위 프로세서(100)에서 도 5 A에 도시한 바와 같이, 2바이트의 데이터를 생성하기 위해 초기화해 주고(S9), 생성된 16바이트를 1바이트 단위로 비교하여 0인지 아닌지의 여부를 판단한다(S10).Subsequently, if all 16-byte channels are not stored in the storage determination step (S8), the process returns to the memory location shifting step. If all of the channels are stored, the upper processor 100 returns 2 bytes as shown in FIG. 5A. Initialize to generate the data of (S9), and compares the generated 16 bytes in units of 1 byte to determine whether or not (S10).

이때, 상기 제 2 플래그 판단단계(S10)에서 데이터 0인지를 알 수 있도록 캐리 플래그의 값을 설정해 주고(S11), 상기 제 2 플래그 판단단계에서 데이터가 0이 아닌 것을 알 수 있도록 캐리 플래그 값을 설정해 준다(S12).In this case, the carry flag value is set to determine whether the data is 0 in the second flag determination step (S10) (S11), and the carry flag value is set so that the data is not 0 in the second flag determination step. It is set (S12).

한편, 상기 제 3, 제 4 플래그 설정단계(S11, S12)에서 설정된 캐리 플래그를 2바이트로 저장하기 위해 캐리 플래그 값을 메모리 공간에 삽입하여 1바이트씩 저장시키고(S13), 1바이트에 캐리 플래그가 모두 저장되었는지 8번 카운팅하여 캐리 플래그 값이 설정값으로 되었는지의 여부를 판단한다(S14).Meanwhile, in order to store the carry flag set in the third and fourth flag setting steps S11 and S12 in 2 bytes, the carry flag value is inserted into the memory space and stored one by one (S13), and the carry flag is stored in 1 byte. 8 is counted whether all are stored, and it is determined whether the carry flag value is a set value (S14).

또한, 상기 제 3 플래그 판단단계(S14)에서 8번 카운팅하여 설정 캐리 플래그 값이 나오지 않았으면, 다음 입력된 신호 데이터를 과거 입력된 데이터와 비교할 수 있도록 메모리의 위치를 이동시키고(S15), 2바이트의 모든 채널 데이터를 저장했는지의 여부를 판단한다(S16),In addition, if the set carry flag value is not counted by counting eight times in the third flag determination step (S14), the location of the memory is moved to compare the next input signal data with the previous input data (S15). It is determined whether all channel data of the byte are stored (S16).

이어서, 상기 제 2 저장 판단단계(S16)에서 2바이트의 채널을 모두 저장하지 않았으면 상기 메모리 위치 이동단계(S15)로 되돌아가고, 모두 저장되었으면 2바이트의 채널 검색을 모두한 후 초기화한다(S17).Subsequently, if all channels of 2 bytes are not stored in the second storage determination step (S16), the process returns to the memory position shifting step (S15). If all of the channels are stored, the channel search of 2 bytes is performed and initialized (S17). ).

이하, 상기와 같이 구성된 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법에서 송신 방법의 동작과정을 설명하면 다음과 같다.Hereinafter, an operation process of a transmission method in the data generation and transmission method between the upper processor and the relay apparatus configured as described above will be described.

상위 프로세서(100) 또는 중계선 장치(200) 즉, 예를 들어 상위 프로세서(100)에서 신호 데이터를 송신하기 위해 데이터 송신을 하기 위한 프로그램을 초기화시킨 후(S100), 상기 상위 프로세서(100)에서 과거에 입력된 신호 데이터와 현재 입력되는 신호 데이터를 설정 비트씩 비교하여 일정 바이트수 예를 들면 16바이트를 갖는 첫 번째 데이터를 생성한다(S200).After initializing a program for data transmission in order to transmit signal data from the upper processor 100 or the relay line device 200, that is, the upper processor 100 (S100), the upper processor 100 is past. The first data having a predetermined number of bytes, for example, 16 bytes is generated by comparing the input signal data with the currently input signal data by setting bits (S200).

이어서, 상기 제 1 데이터 생성단계(S200)에서 첫 번째 데이터를 생성했으면, 상기 상위 프로세서(100)에서 설정 바이트수로 비교하여 두 번째 데이터 예를 들면 2바이트의 데이터를 생성하고(S300), 첫 번째 및 두 번째 데이터의 값을 모두 생성했으면, 상기 상위 프로세서(100)에서 상기 두 번째 데이터를 전송한다(S400).Subsequently, when the first data is generated in the first data generation step (S200), the upper processor 100 compares the set number of bytes to generate the second data, for example, two bytes of data (S300). After generating the values of the second and second data, the upper processor 100 transmits the second data (S400).

또한, 상기 상위 프로세서(100)에서 전송된 두 번째 데이터의 값을 비교하여 첫 번째 데이터를 전송할 것인지의 여부를 판단하여(S500), 상기 데이터 전송 판단단계(S500)에서 두 번째 데이터가 설정값과 동일하면 상기 상위 프로세서(100)에서 상기 데이터 전송 판단단계로 되돌아가고, 두 번째 데이터가 설정값과 동일하지 않으면 변화된 신호 데이터만 전송시켜 준다(S600).In addition, by comparing the value of the second data transmitted from the upper processor 100 to determine whether to transmit the first data (S500), in the data transmission determination step (S500), the second data and the set value If the same, the upper processor 100 returns to the data transmission determination step, and if the second data is not the same as the set value, only the changed signal data is transmitted (S600).

이하, 상기와 같이 구성된 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법에서 수신 방법의 동작과정을 설명하면 다음과 같다.Hereinafter, an operation process of the reception method in the data generation and transmission method between the upper processor and the relay apparatus configured as described above will be described.

상위 프로세서(100) 또는 중계선 장치(200) 즉, 예를 들어 상기 중계선 장치(200)에서 신호 데이터를 수신하기 위해 데이터를 수신하기 위한 프로그램을 초기화한 후(S1000), 상기 중계선 장치(200)는 상기 상위 프로세서(100)로 부터 전송된 변화된 신호 데이터 즉, 두 번째 데이터를 입력받는다(S2000).After initializing a program for receiving data in order to receive signal data from the upper processor 100 or the trunk line device 200, that is, the relay line device 200 (S1000), the relay line device 200 The changed signal data, that is, the second data transmitted from the upper processor 100 is received (S2000).

그러면, 상기 중계선 장치(200)에서 상기 상위 프로세서(100)로 부터 전송된 두 번째 데이터를 분석하여 첫 번째 데이터에 과거에 입력된 데이터와 동일한 데이터가 있는지의 여부를 판단한다(S3000).Then, the relay line apparatus 200 analyzes the second data transmitted from the upper processor 100 to determine whether the first data includes the same data as the data input in the past (S3000).

이어서, 상기 동일 데이터 판단단계(S3000)에서 동일한 데이터가 있으면 상기 동일 데이터 판단단계로 되돌아가고, 동일한 데이터가 없으면 첫 번째 신호 데이터를 입력받고(S4000), 상기 중계선 장치(200)에서 상위 프로세서(100)로 부터 전송된 변화된 데이터 즉, 첫 번째 데이터를 입력받아 분석한 후 처리한다(S5000).Subsequently, if there is the same data in the same data determination step (S3000), the process returns to the same data determination step, and if there is no identical data, the first signal data is received (S4000), and the upper processor 100 in the relay line apparatus 200 is received. After receiving the changed data, that is, the first data transmitted from the), it is processed and processed (S5000).

이상에서 살펴본 바와 같이 본 발명 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법은, 상위 프로세서와 중계선 장치간의 송/수신되는 신호 데이터의 양을 감소시켜 상위 프로세서의 부하를 줄임으로써, 상위 프로세서를 교체하거나 하드웨어의 수정없이 상위 프로세서의 성능을 향상시킬 수 있고, 상위 프로세서가 보다 많은 일처리와 다른 작업을 용이하게 수행할 수 있다는 효과가 있다.As described above, the method for generating and transmitting data between the upper processor and the trunk line apparatus of the present invention reduces the load of the upper processor by reducing the amount of signal data transmitted / received between the upper processor and the trunk line apparatus, thereby replacing the upper processor. There is an effect that the performance of the upper processor can be improved without modifying hardware, and the upper processor can easily perform more work and other tasks.

Claims (3)

데이터 비교를 하기 위한 프로그램을 초기화시켜 주는 초기화 단계와; 입력된 신호 데이터를 과거에 입력된 데이터와 동일한지의 여부를 비교하는 데이터 비교 판단단계와; 상기 데이터 비교 판단단계에서 새로 입력된 신호 데이터가 동일하면, 신호 데이터가 동일하다는 것을 알 수 있도록 캐리 플래그값을 설정하는 제 1 플래그 설정단계와; 상기 데이터 비교 판단단계에서 새로 입력된 신호 데이터가 동일하지 않으면, 신호 데이터가 동일하지 않다는 것을 알 수 있도록 캐리 플래그값을 설정하는 제 2 플래그 설정단계와; 상기 제 1, 제 2 플래그 설정단계에서 채널이 변한 것을 16바이트로 저장하기 위해 플래그값을 메모리 공간에 삽입하여 회전시켜 1바이트에 저장시키는 제 1 플래그 저장단계와; 캐리 플래그가 모두 저장되었는지 8번 카운팅하여 캐리 플래그 값이 설정값으로 되었는지의 여부를 판단하는 제 1 플래그 판단단계와; 상기 제 1 플래그 판단단계에서 8번 카운팅하여 설정 플래그값이 나오지 않았으면, 다음 입력된 신호 데이터를 과거 입력된 데이터와 비교할 수 있도록 메모리의 위치를 이동시키는 제 1 메모리 위치 이동단계와; 상기 제 1 플래그 판단단계에서 설정 플래그 값이 나왔으면, 16바이트의 모든 채널을 저장했는지의 여부를 판단하는 제 1 저장 판단단계와; 상기 제 1 저장 판단단계에서 16바이트의 채널을 모두 저장하지 않았으면 상기 메모리 위치 이동단계로 되돌아가고, 모두 저장되었으면 2바이트의 데이터를 생성하기 위해 초기화해 주는 2바이트 초기화단계와; 생성된 16바이트를 1바이트 단위로 비교하여 0인지 아닌지의 여부를 판단하는 제 2 플래그 판단단계와; 상기 제 2 플래그 판단단계에서 데이터가 0인지를 알 수 있도록 캐리 플래그의 값을 설정해 주는 제 3 플래그 설정단계와; 상기 제 2 플래그 판단단계에서 데이터가 0이 아닌 것을 알 수 있도록 캐리 플래그 값을 설정해 주는 제 4 플래그 설정단계와; 상기 제 3, 제 4 플래그 설정단계에서 설정된 캐리 플래그를 2바이트로 저장하기 위해 캐리 플래그 값을 메모리 공간에 삽입하여 1바이트씩 저장시키는 제 2 플래그 저장단계와; 1바이트에 캐리 플래그가 모두 저장되었는지 8번 카운팅하여 캐리 플래그 값이 설정값으로 되었는지의 여부를 판단하는 제 3 플래그 판단단계와; 상기 제 3 플래그 판단단계에서 8번 카운팅하여 설정 플래그 값이 나오지 않았으면, 다음 입력된 신호 데이터를 과거 입력된 데이터와 비교할 수 있도록 메모리의 위치를 이동시키는 제 2 메모리 위치 이동단계와; 2바이트의 모든 채널 데이터를 저장했는지의 여부를 판단하는 제 2 저장 판단단계와; 상기 제 2 저장 판단단계에서 2바이트의 채널을 모두 저장하지 않았으면 상기 제 2 메모리 위치 이동단계로 되돌아가고, 모두 저장되었으면 2바이트의 채널 검색을 모두한 후 초기화해 주는 2바이트 초기화단계로 구성된 것을 특징으로 하는 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법.An initialization step of initializing a program for data comparison; A data comparison determination step of comparing whether the input signal data is the same as the data input in the past; A first flag setting step of setting a carry flag value to recognize that the signal data is the same if the newly input signal data is the same in the data comparison determining step; A second flag setting step of setting a carry flag value so as to know that the signal data are not the same if the newly input signal data is not the same in the data comparison determining step; A first flag storing step of inserting and rotating a flag value in a memory space to store in one byte in order to store the changed channel in 16 bytes in the first and second flag setting steps; A first flag determination step of determining whether the carry flag value is a set value by counting eight times whether all carry flags are stored; A first memory location shifting step of shifting the location of the memory so that the next input signal data can be compared with the past input data if the set flag value is not counted by counting eight times in the first flag determination step; A first storage determination step of determining whether all channels of 16 bytes have been stored, if a set flag value is issued in the first flag determination step; A two-byte initialization step of returning to the memory location shifting step if all 16-byte channels are not stored in the first storage determining step, and initializing to generate two-byte data if all of the channels are stored; A second flag determination step of comparing the generated 16 bytes in units of 1 byte to determine whether or not it is 0; A third flag setting step of setting a carry flag value so as to know whether data is 0 in the second flag determining step; A fourth flag setting step of setting a carry flag value to know that data is not 0 in the second flag determining step; A second flag storing step of inserting a carry flag value into a memory space and storing each byte by one byte in order to store the carry flag set in the third and fourth flag setting steps as two bytes; A third flag determination step of determining whether the carry flag value is a set value by counting eight times whether all carry flags are stored in one byte; A second memory location shifting step of shifting the location of the memory to compare the next input signal data with the past input data if the set flag value is not counted by counting eight times in the third flag determination step; A second storage determination step of determining whether all channel data of two bytes are stored; In the second storage determination step, if the two-byte channel has not been stored, the process returns to the second memory location shifting step. A method of generating and transmitting data between an upper processor and a trunk line device. 데이터 송신을 하기 위한 프로그램을 초기화시켜 주는 초기화 단계와; 과거에 입력된 신호 데이터와 현재의 신호 데이터를 설정 비트씩 비교하여 일정 바이트수를 갖는 첫 번째 데이터를 생성하는 제 1 데이터 생성단계와; 상기 제 1 데이터 생성단계에서 첫 번째 데이터를 생성했으면, 첫 번째 데이터를 설정 바이트수로 비교하여 두 번째 데이터를 생성하는 제 2 데이터 생성단계와; 첫 번째 및 두 번째 데이터를 모두 생성했으면, 상기 두 번째 데이터를 전송하는 데이터 전송단계와; 전송된 두 번째 데이터의 값을 비교하여 첫 번째 데이터를 전송할 것인지의 여부를 판단하는 데이터 전송 판단단계와; 상기 데이터 전송 판단단계에서 두 번째 데이터가 설정값이면 상기 데이터 전송 판단단계로 되돌아가고, 두 번째 데이터가 설정값이 아니면 변화된 신호 데이터만 전송하는 신호 데이터 전송단계로 구성된 것을 특징으로 하는 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법.An initialization step of initializing a program for data transmission; A first data generation step of generating first data having a predetermined number of bytes by comparing the signal data input in the past with the current signal data by a set bit; A second data generation step of generating second data by comparing the first data with a set number of bytes when the first data is generated in the first data generation step; A data transmission step of transmitting the second data when both the first and second data are generated; A data transmission determination step of determining whether to transmit the first data by comparing the value of the second data transmitted; If the second data is the set value in the data transmission determination step, the process returns to the data transmission determination step, and if the second data is not the set value, the upper processor and the relay line comprising a signal data transmission step of transmitting only the changed signal data. How to create and transfer data between devices. 데이터를 수신하기 위한 프로그램을 초기화시켜 주는 초기화 단계와; 상기 송신 방법에서 전송된 두 번째 데이터를 입력받는 데이터 입력단계와; 두 번째 데이터를 분석하여 첫 번째 데이터에 과거에 입력된 데이터와 동일한 데이터가 있는지 판단하는 동일 데이터 판단단계와; 상기 동일 데이터 판단단계에서 동일한 데이터가 있으면 상기 동일 데이터 판단단계로 되돌아가고, 동일한 데이터가 없으면 첫 번째 신호 데이터를 입력받는 첫 번째 데이터 입력단계와; 첫 번째 데이터를 분석하여 변화된 데이터를 입력받아 처리하는 데이터 처리단계로 구성된 것을 특징으로 하는 상위 프로세서와 중계선 장치간의 데이터 생성 및 전송 방법.An initialization step of initializing a program for receiving data; A data input step of receiving second data transmitted by the transmission method; Analyzing the second data to determine whether the first data includes the same data as the data input in the past; A first data input step of returning to the same data determination step if there is identical data in the same data determination step and receiving first signal data if there is no identical data; And a data processing step of analyzing the first data and receiving the changed data to process the data.
KR1019990027200A 1999-07-07 1999-07-07 Method for sending and generating data between main processor and relay station KR20010009052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990027200A KR20010009052A (en) 1999-07-07 1999-07-07 Method for sending and generating data between main processor and relay station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990027200A KR20010009052A (en) 1999-07-07 1999-07-07 Method for sending and generating data between main processor and relay station

Publications (1)

Publication Number Publication Date
KR20010009052A true KR20010009052A (en) 2001-02-05

Family

ID=19599849

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990027200A KR20010009052A (en) 1999-07-07 1999-07-07 Method for sending and generating data between main processor and relay station

Country Status (1)

Country Link
KR (1) KR20010009052A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010099124A (en) * 2001-09-03 2001-11-09 홍장표 Real Time Data Compare and Transfer Protocol
KR100855156B1 (en) * 2002-12-04 2008-08-29 엘지노텔 주식회사 Device of Checking Channel of Data in Base Transceiver Station for Mobile Communication System

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010099124A (en) * 2001-09-03 2001-11-09 홍장표 Real Time Data Compare and Transfer Protocol
KR100855156B1 (en) * 2002-12-04 2008-08-29 엘지노텔 주식회사 Device of Checking Channel of Data in Base Transceiver Station for Mobile Communication System

Similar Documents

Publication Publication Date Title
US4507782A (en) Method and apparatus of packet switching
KR20040062882A (en) Optimizing System Resources
JPH02137567A (en) Public telephone set
US20030099195A1 (en) Method and apparatus for notifying data congestion in a communication system
EP0436932A2 (en) A loop data link system and a station number setting method
EP0570348B1 (en) Control of the interchange of data packets in a network
US5343466A (en) Path routing system for communication network
KR20010009052A (en) Method for sending and generating data between main processor and relay station
EP0899899A2 (en) An apparatus and method for sharing a signaling channel
KR20000046131A (en) Apparatus for matching copious configuration data between switching system and tmn repeater in cdma system and method for controlling the same
EP1041771A1 (en) Enhanced data rate control for wireless communication
JPH09500510A (en) Signal message switching in cell mobile radio communication system having base station and mobile station
US6529505B1 (en) System for expanding a parameter encoding field in a message to allow additional parameters to be added while maintaining compatibility with existing parameter encodings
US20010002190A1 (en) Priority auto-control method of signal routes in No.7 signaling network
KR100327985B1 (en) Method for controlling data transmission path using path switch
US20040109463A1 (en) Efficient data transmission method
KR100331395B1 (en) Mux capable of dispersion transmission and priority transmission in imt-2000 base-station controller and control method thereof
KR100258244B1 (en) Method for opening inter processor communication window
JPH05336194A (en) Data transmission system
KR0154485B1 (en) Interrupt handling method of high level serial communication expanding chip board
JPH10149968A (en) Communication controller for semiconductor manufacturing equipment
JPH0482351A (en) Data communication equipment
KR100289688B1 (en) Message Recombination Method in Connectionless Network Service of Signaling Controller of Seven Signaling System
CN117749567A (en) Data message forwarding method and device, storage medium and electronic device
JP2737854B2 (en) Broadcast communication control method

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination