KR100853457B1 - Method for working of data reception module to receive massive data at high-speed - Google Patents

Method for working of data reception module to receive massive data at high-speed Download PDF

Info

Publication number
KR100853457B1
KR100853457B1 KR1020060121759A KR20060121759A KR100853457B1 KR 100853457 B1 KR100853457 B1 KR 100853457B1 KR 1020060121759 A KR1020060121759 A KR 1020060121759A KR 20060121759 A KR20060121759 A KR 20060121759A KR 100853457 B1 KR100853457 B1 KR 100853457B1
Authority
KR
South Korea
Prior art keywords
data
thread
processing
receiving
data receiving
Prior art date
Application number
KR1020060121759A
Other languages
Korean (ko)
Other versions
KR20080050888A (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 KR1020060121759A priority Critical patent/KR100853457B1/en
Publication of KR20080050888A publication Critical patent/KR20080050888A/en
Application granted granted Critical
Publication of KR100853457B1 publication Critical patent/KR100853457B1/en

Links

Images

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/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 고속의 대량 데이터를 수신하기 위한 데이터 수신 모듈의 처리 방법에 관한 것임.The present invention relates to a processing method of a data receiving module for receiving high speed bulk data.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은 다중 쓰레드(multi-thread) 또는 다중 타스크(multi-task) 기술을 도입하여 고속의 대량 데이터를 수신하기 위한, 데이터 수신 모듈의 처리 방법을 제공하는데 그 목적이 있음.An object of the present invention is to provide a processing method of a data receiving module for receiving a large amount of data at high speed by introducing a multi-thread or multi-task technology.

3. 발명의 해결방법의 요지3. Summary of Solution to Invention

본 발명은, 데이터 수신 모듈의 처리 방법에 있어서, 메인 쓰레드가 다수개의 메시지 수신 모듈 쓰레드를 생성하고, 상기 생성된 메시지 수신 모듈 쓰레드별로 쓰레드 로드 밸런싱 정보 테이블을 생성하는 단계; 상기 메인 쓰레드가 제어 데이터 기록 시그널을 수신하고, 상기 수신한 제어 데이터 기록 시그널에 따라 상기 쓰레드 로드 밸런싱 정보 테이블에서 해당하는 데이터 수신 처리 쓰레드를 선택하여 시그널을 전송하는 시그널 전송 단계; 상기 시그널을 수신한 데이터 수신 처리 쓰레드가 제어 데이터를 읽어 분석하여 해당하는 트래픽 데이터를 읽는 단계; 및 상기 데이터 수신 처리 쓰레드가 상기 쓰레드 로드 밸런싱 정보 테이블을 갱신하는 갱신 단계를 포함함.The present invention provides a method of processing a data receiving module, comprising: generating, by a main thread, a plurality of message receiving module threads and a thread load balancing information table for each of the generated message receiving module threads; A signal transmission step of the main thread receiving a control data write signal, selecting a corresponding data receiving processing thread from the thread load balancing information table according to the received control data write signal, and transmitting a signal; Reading, analyzing, and reading the control data by the data receiving processing thread receiving the signal to read corresponding traffic data; And updating, by the data receiving processing thread, the thread load balancing information table.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 단말의 고속의 대량 데이터 수신 기술 등에 이용됨.The present invention is used for high speed mass data reception technology of the terminal.

고속 대량 데이터, 메인 쓰레드, 데이터 수신 처리 쓰레드, 데이터 수신 모듈 High speed bulk data, main thread, data receiving processing thread, data receiving module

Description

고속의 대량 데이터를 수신하기 위한 데이터 수신 모듈의 처리 방법{Method for working of data reception module to receive massive data at high-speed}Method for working of data reception module to receive massive data at high-speed}

도 1 은 본 발명이 적용되는 고속의 대량 데이터를 처리하기 위한 단말의 일실시예 구성도,1 is a configuration diagram of an embodiment of a terminal for processing high-speed bulk data to which the present invention is applied;

도 2 는 본 발명에 따른 쓰레드 로드 밸런싱 정보 테이블을 나타내는 일실시예 설명도,2 is a diagram illustrating an embodiment of a thread load balancing information table according to the present invention;

도 3 은 본 발명에 따른 단말의 데이터 수신 모듈의 메인 쓰레드의 동작 과정에 대한 일실시예 흐름도,3 is a flowchart illustrating an operation of a main thread of a data receiving module of a terminal according to the present invention;

도 4 는 본 발명에 따른 단말의 데이터 수신 모듈의 데이터 수신 처리 쓰레드의 동작 과정에 대한 일실시예 흐름도이다.4 is a flowchart illustrating an operation of a data receiving processing thread of a data receiving module of a terminal according to the present invention.

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

11 : 종단 보드 12 : 제1 중간 보드11: end board 12: first intermediate board

13 : 제2 중간 보드 14 : 선두 보드13: 2nd intermediate board 14: lead board

121 : DPRAM 122 : FPGA121: DPRAM 122: FPGA

131 : DPRAM 132 : FPGA131: DPRAM 132: FPGA

141 : 버스 매트릭스 142 : 메인 메모리141: bus matrix 142: main memory

143 : 중앙 처리부 1431 : 데이터 수신 모듈 쓰레드143: central processing unit 1431: data receiving module thread

본 발명은 고속의 대량 데이터를 수신하기 위한 데이터 수신 모듈의 처리 방법에 관한 것으로, 더욱 상세하게는 다중 쓰레드(multi-thread) 또는 다중 타스크(multi-task) 기술을 도입하여 고속의 대량 데이터를 수신하는, 데이터 수신 모듈의 처리 방법에 관한 것이다.The present invention relates to a processing method of a data receiving module for receiving high-speed bulk data, and more particularly, to receive high-speed bulk data by introducing a multi-thread or multi-task technology. It relates to a processing method of a data receiving module.

최근에 휴대 단말기, 노트북, 개인 휴대 정보 단말기 등의 통신 단말을 통해 시간과 장소의 제약 없이 양방향 통신을 가능하게 하는 무선 데이터 통신 기술이 급부상하고 있다.Recently, wireless data communication technologies that enable two-way communication without restriction of time and place through communication terminals such as portable terminals, laptops, and personal digital assistants have been rapidly emerging.

종래의 무선 데이터 통신 기술에는 코드 분할 다중 접속(Code Division Multiple Access) 방식을 기초로 하는 무선 데이터 통신 기술과, 이를 비동기 방식으로 발전시킨 광대역 코드 분할 다중 접속(Wideband Code Division Multiple Access) 방식의 무선 데이터 통신 기술이 있다. 또한, 무선 데이터 통신 기술에는 고정된 액세스 포인트를 중심으로 근거리 내의 무선 통신을 지원하는 무선 랜(WLAN : Wireless Local Area Network)을 통한 고속/고품질의 데이터 통신 기술과 서비스 가능 범위가 넓은 이동통신 망의 특징을 결합한 무선 휴대 인터넷 기술(Wireless Broadband Internet) 등이 있다.In the conventional wireless data communication technology, a wireless data communication technology based on a code division multiple access method, and a wideband code division multiple access method using asynchronously developed wireless data communication technology. There is communication technology. In addition, the wireless data communication technology includes a high speed / high quality data communication technology through a wireless local area network (WLAN) that supports wireless communication within a short distance around a fixed access point and a mobile communication network having a wide range of service. Wireless Broadband Internet, which combines features.

이렇게 다양한 무선 데이터 통신 기술이 발전함에 따라, 고속/고품질의 멀티미디어 서비스에 대한 사용자들의 요구와 관심 또한 증가하고 있으며, 이를 충족시키기 위해서는 단말이 고속의 대량 데이터를 수신할 수 있도록 하는 방안이 절실히 요구된다.As various wireless data communication technologies have been developed, users' demands and interests for high-speed / high-quality multimedia services are also increasing, and a method for enabling a terminal to receive a large amount of high-speed data is urgently required. .

본 발명은 상기 문제점을 해결하기 위하여 제안된 것으로, 다중 쓰레드(multi-thread) 또는 다중 타스크(multi-task) 기술을 도입하여 고속의 대량 데이터를 수신하기 위한, 데이터 수신 모듈의 처리 방법을 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and provides a processing method of a data receiving module for receiving a large amount of data at a high speed by introducing a multi-thread or multi-task technology. The purpose is.

본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시예에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허청구범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.Other objects and advantages of the present invention can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. It will also be appreciated that the objects and advantages of the present invention may be realized by the means and combinations thereof indicated in the claims.

상기 목적을 달성하기 위한 본 발명은, 데이터 수신 모듈의 처리 방법에 있어서, 메인 쓰레드가 다수개의 메시지 수신 모듈 쓰레드를 생성하고, 상기 생성된 메시지 수신 모듈 쓰레드별로 쓰레드 로드 밸런싱 정보 테이블을 생성하는 단계; 상기 메인 쓰레드가 제어 데이터 기록 시그널을 수신하고, 상기 수신한 제어 데이터 기록 시그널에 따라 상기 쓰레드 로드 밸런싱 정보 테이블에서 해당하는 데이터 수신 처리 쓰레드를 선택하여 시그널을 전송하는 시그널 전송 단계; 상기 시그널을 수신한 데이터 수신 처리 쓰레드가 제어 데이터를 읽어 분석하여 해당하는 트래픽 데이터를 읽는 단계; 및 상기 데이터 수신 처리 쓰레드가 상기 쓰레드 로드 밸런싱 정보 테이블을 갱신하는 갱신 단계를 포함한다.In accordance with another aspect of the present invention, there is provided a method of processing a data receiving module, the method comprising: generating, by a main thread, a plurality of message receiving module threads, and generating a thread load balancing information table for each of the generated message receiving module threads; A signal transmission step of the main thread receiving a control data write signal, selecting a corresponding data receiving processing thread from the thread load balancing information table according to the received control data write signal, and transmitting a signal; Reading, analyzing, and reading the control data by the data receiving processing thread receiving the signal to read corresponding traffic data; And updating, by the data receiving processing thread, the thread load balancing information table.

상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명하기로 한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, whereby those skilled in the art may easily implement the technical idea of the present invention. There will be. In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에서의 모듈(Module)은 특정한 기능이나 동작을 처리하는 하나의 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현할 수 있다.Module in the present invention refers to a unit for processing a specific function or operation, which can be implemented in hardware or software or a combination of hardware and software.

도 1 은 본 발명이 적용되는 고속의 대량 데이터를 처리하기 위한 단말의 일 실시예 구성도로서, 단말의 하드웨어적인 구성을 나타낸다.1 is a configuration diagram of an embodiment of a terminal for processing high speed bulk data to which the present invention is applied, and illustrates a hardware configuration of the terminal.

도 1에 도시된 바와 같이, 본 발명이 적용되는 고속의 대량 데이터를 처리하기 위한 단말은, 종단 보드(11), 제1 중간 보드(12), 제2 중간 보드(13) 및 선두 보드(14)를 포함한다.As shown in FIG. 1, a terminal for processing high-speed bulk data to which the present invention is applied includes an end board 11, a first intermediate board 12, a second intermediate board 13, and a leader board 14. ).

여기서, 종단 보드(11)는 외부로부터 데이터를 수신할 수 있도록 하는 유/무선 네트워크 인터페이스(도시되어 있지 않음)와, 제1 중간 보드(12) 및 제2 중간 보드(13)와 연결하기 위한 로컬 버스 인터페이스(도시되어 있지 않음)를 포함한다.Here, the termination board 11 is a wired / wireless network interface (not shown) for receiving data from the outside, and a local for connecting with the first intermediate board 12 and the second intermediate board 13. Bus interface (not shown).

이러한 종단 보드(11)는 외부로부터 데이터를 수신하여 제1 중간 보드에 트래픽 데이터를 기록하고, 제2 중간 보드에 제어 데이터를 기록한다.The end board 11 receives data from the outside to record the traffic data on the first intermediate board and the control data on the second intermediate board.

이때, 제어 데이터는 트래픽 데이터의 기록 위치에 대한 정보 및 트래픽 데이터에 대한 제어 정보를 포함한다.At this time, the control data includes information on the recording position of the traffic data and control information on the traffic data.

그리고 제1 중간 보드(12)는 종단 보드(11) 또는 선두 보드(14)가 트래픽 데이터를 기록할 수 있도록 하는 DPRAM(Dual Ported Random Access Memory)(121) 및 선두 보드(14)가 DPRAM(121)에 접근(Access)할 수 있도록 버스 슬레이브(bus-slave)와 각종 기능들이 로딩되어 실행되는 FPGA(Field-Programmable Gate Array)(122)를 포함한다.In addition, the first intermediate board 12 may include a dual ported random access memory (DPRAM) 121 and a leader board 14 that allow the termination board 11 or the leader board 14 to record traffic data. Bus-slave and a field-programmable gate array (FPGA) 122 in which various functions are loaded and executed to access the same.

그리고 제2 중간 보드(13)는 종단 보드(11) 또는 선두 보드(14)가 제어 데이터를 기록할 수 있도록 하는 DPRAM(Dual Ported Random Access Memory)(131) 및 선두 보드(14)가 DPRAM(131)에 접근(Access)할 수 있도록 버스 슬레이브(bus-slave)와 각종 기능들이 로딩되어 실행되는 FPGA(Field-Programmable Gate Array)(132)를 포함한다.In addition, the second intermediate board 13 may include a dual ported random access memory (DPRAM) 131 and a leader board 14 that allow the termination board 11 or the leader board 14 to write control data. Bus-slave and a field-programmable gate array (FPGA) 132 on which various functions are loaded and executed so as to be accessible.

그리고 선두 보드(14)는 제1 중간 보드(12) 및 제2 중간 보드(13)와 연결하기 위한 버스 매트릭스(bus-matrix)(141)와, 데이터 수신 모듈 쓰레드(1431)를 실행하는데 필요한 메인 메모리(142) 및 중앙 처리부(CPU : Central Processing Unit)(143)와, 각종 데이터를 저장하기 위한 플래쉬 메모리(도면에 도시되어 있지 않음)를 포함한다.The first board 14 is a bus matrix 141 for connecting with the first intermediate board 12 and the second intermediate board 13, and a main board for executing the data receiving module thread 1431. A memory 142 and a central processing unit (CPU) 143, and a flash memory (not shown) for storing various data.

도 2 는 본 발명에 따른 쓰레드 로드 밸런싱 정보 테이블을 나타내는 일실시예 설명도이다.2 is a diagram illustrating an embodiment of a thread load balancing information table according to the present invention.

본 발명에 따른 쓰레드 로드 밸런싱 정보 테이블은 메인 메모리(142)에 저장되며, 단말의 데이터 수신 모듈 쓰레드(1431)에 의해 관리된다.The thread load balancing information table according to the present invention is stored in the main memory 142 and managed by the data receiving module thread 1431 of the terminal.

이때, 단말의 데이터 수신 모듈 쓰레드(1431)는 메인 쓰레드와 데이터 수신 처리 쓰레드로 기능이 나누어진다. 여기서, 메인 쓰레드는 메인함수(main())로 정의되고, 데이터 수신 처리 쓰레드는 프로시듀어(procedure) 형태로 정의된다. 이때, 데이터 수신 처리 쓰레드는 메인 쓰레드에 의해 생성된다.At this time, the data receiving module thread 1431 of the terminal is divided into a main thread and a data receiving processing thread. Here, the main thread is defined by the main function (main ()), and the data receiving processing thread is defined in the form of a procedure. At this time, the data receiving processing thread is created by the main thread.

도 2에 도시된 바와 같이, 본 발명에 따른 쓰레드 로드 밸런싱 정보 테이블은, 데이터 수신 처리 쓰레드에 부여된 데이터 처리 개수를 나타내는 로드 카운트(count) 필드(201), 각각의 데이터 수신 처리 쓰레드의 고유 식별자를 나타내는 쓰레드 식별자(pid) 필드(202) 및 해당 데이터 수신 처리 쓰레드를 기동(wakeup)하기 위한 시그널 번호(sig#) 필드(203)를 포함하며, 로컬 데이터베이스 또는 컨테이너 자료 구조로 관리된다.As shown in FIG. 2, the thread load balancing information table according to the present invention includes a load count field 201 indicating a number of data processings assigned to a data receiving processing thread, and a unique identifier of each data receiving processing thread. It includes a thread identifier (pid) field 202 indicating a and a signal number (sig #) field 203 for waking up the corresponding data receiving processing thread, and is managed by a local database or container data structure.

이러한 쓰레드 로드 밸런싱 정보 테이블은 데이터 수신 처리 쓰레드에 관한 정보를 관리하는데 사용된다.This thread load balancing information table is used to manage information about the data receiving processing thread.

도 3 은 본 발명에 따른 단말의 데이터 수신 모듈의 메인 쓰레드의 동작 과정에 대한 일실시예 흐름도이다.3 is a flowchart illustrating an operation of a main thread of a data receiving module of a terminal according to the present invention.

먼저, 단말의 데이터 수신 모듈의 메인 쓰레드는, 생성하고자 하는 데이터 수신 처리 쓰레드의 개수(n)만큼 시그널 번호(sig#)를 정의한다(301).First, the main thread of the data receiving module of the terminal defines a signal number sig # as many as n of the data receiving processing threads to be created (301).

이후, 메인 쓰레드는 자신이 최초로 수신하는 시그널(signal)을 손실하지 않기 위하여 정의된 시그널을 설정(sigset) 및 마스킹(sigmask)한다(302).Thereafter, the main thread sets (sigset) and masks (302) the defined signal so as not to lose the signal it first receives.

이어서, 메인 쓰레드는 필요한 만큼의 메시지 수신 모듈 쓰레드를 생성한다(303).Subsequently, the main thread creates as many message receiving module threads as necessary (303).

그리고 메인 쓰레드는 상기 생성된 메시지 수신 모듈 쓰레드별로 쓰레드 로드 밸런싱 정보 테이블의 레코드를 생성하여, 로컬 데이터베이스 또는 컨테이너 자료구조에 저장한다(304, 305).The main thread generates a record of a thread load balancing information table for each generated message receiving module thread and stores the record in a local database or a container data structure (304, 305).

즉, 메인 쓰레드는 쓰레드 로드 밸런싱 정보 테이블의 로드 카운트(count)를 초기화하고, 각각의 메시지 수신 모듈 쓰레드의 프로세스 식별자를 설정하며, 해당 메시지 수신 모듈 쓰레드로 유일하게 식별될 수 있는 시그널 번호(sig#)를 부여한다.That is, the main thread initializes the load count of the thread load balancing information table, sets the process identifier of each message receiving module thread, and has a signal number (sig #) uniquely identified as the corresponding message receiving module thread. ).

이후, 메인 쓰레드는 제2 중간 보드(13)로부터 DPRAM(131)에 기록되어 있는 제어 데이터 기록 시그널(signal)을 수신하기 위하여 대기한다(306).Thereafter, the main thread waits to receive a control data write signal (signal) recorded in the DPRAM 131 from the second intermediate board 13 (306).

그리고 메인 쓰레드는 제2 중간 보드(13)로부터 제어 데이터 기록 시그널을 수신하면, 수신한 제어 데이터 기록 시그널에 따라 쓰레드 로드 밸런싱 정보 테이블에서 로드 카운트(count)가 가장 적은 레코드를 검색하여 해당 데이터 수신 처리 쓰레드로 기동(wakeup) 시그널을 보내고, 로드 카운트(count)를 증가시켜 레코드를 갱신하고(307), 제2 중간 보드(13)로부터 DPRAM(131)에 기록되어 있는 다음 제어 데이터 기록 시그널(signal)을 수신하기 위하여 대기한다(306).When the main thread receives the control data write signal from the second intermediate board 13, the main thread searches for the record having the lowest load count in the thread load balancing information table according to the received control data write signal and processes the corresponding data receive. Send a wakeup signal to the thread, update the record by incrementing the load count (307), and the next control data write signal (signal) recorded in the DPRAM 131 from the second intermediate board (13). Wait to receive 306.

도 4 는 본 발명에 따른 단말의 데이터 수신 모듈의 데이터 수신 처리 쓰레드의 동작 과정에 대한 일실시예 흐름도이다.4 is a flowchart illustrating an operation of a data receiving processing thread of a data receiving module of a terminal according to the present invention.

먼저, 단말의 데이터 수신 모듈의 데이터 수신 처리 쓰레드는, 메인 쓰레드로부터 기동(wakeup) 시그널을 수신하기 위하여 대기한다(401).First, the data receiving processing thread of the data receiving module of the terminal waits to receive a wakeup signal from the main thread (401).

이후, 데이터 수신 처리 쓰레드는 메인 쓰레드로부터 기동(wakeup) 시그널을 수신하면, 기동(wakeup)하여 다음 기동(wakeup) 시그널을 수신하기 위한 시그널 설정(sigset) 및 시그널 마스킹(sigmask)을 한다(402).After receiving the wakeup signal from the main thread, the data receiving processing thread wakes up and performs signal set and signal masking to receive the next wakeup signal (402). .

이어서, 데이터 수신 처리 쓰레드는 제2 중간보드(13)의 FPGA(132)를 통해 DPRAM(131)에 기록된 제어 데이터를 읽고, 이를 분석한다(403).Subsequently, the data receiving processing thread reads the control data recorded in the DPRAM 131 through the FPGA 132 of the second intermediate board 13 and analyzes it (403).

그리고 데이터 수신 처리 쓰레드는 분석된 제어 데이터의 트래픽 데이터의 저장 위치 정보를 기반으로 제1 중간보드(12)의 FPGA(122)를 통해 DPRAM(121)에 기록된 트래픽 데이터를 읽는다(404).The data receiving processing thread reads the traffic data recorded in the DPRAM 121 through the FPGA 122 of the first intermediate board 12 based on the storage location information of the traffic data of the analyzed control data (404).

다음으로, 데이터 수신 처리 쓰레드는 쓰레드 로드 밸런싱 정보 테이블에서 자신의 쓰레드 식별자(pid)와 동일한 레코드를 검색하여 로드 카운트(count)를 감소시켜 레코드를 갱신하고(405), 메인 쓰레드로부터 다음 기동(wakeup) 시그널을 수신하기 위하여 대기한다(401).Next, the data receiving processing thread retrieves the same record as its thread identifier (pid) from the thread load balancing information table, decrements the load count (count), updates the record (405), and then wakes up from the main thread. Wait to receive the signal (401).

상술한 바와 같은 본 발명의 방법은 프로그램으로 구현되어 컴퓨터로 읽을 수 있는 형태로 기록매체(씨디롬, 램, 롬, 플로피 디스크, 하드 디스크, 광자기 디스크 등)에 저장될 수 있다. 이러한 과정은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있으므로 더 이상 상세히 설명하지 않기로 한다.As described above, the method of the present invention may be implemented as a program and stored in a recording medium (CD-ROM, RAM, ROM, floppy disk, hard disk, magneto-optical disk, etc.) in a computer-readable form. Since this process can be easily implemented by those skilled in the art will not be described in more detail.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited by the drawings.

상기와 같은 본 발명은, 다중 쓰레드(multi-thread) 또는 다중 타스크(multi-task) 기술을 도입하여 고속의 대량 데이터를 수신함으로써, 고속 데이터의 전송률을 보장할 수 있는 효과가 있다. The present invention as described above, by introducing a multi-thread (multi-thread) or multi-task (multi-task) technology to receive a large amount of high-speed data, there is an effect that can guarantee the transmission rate of the high-speed data.

Claims (6)

데이터 수신 모듈의 처리 방법에 있어서,In the processing method of the data receiving module, 메인 쓰레드가 다수개의 메시지 수신 모듈 쓰레드를 생성하고, 상기 생성된 메시지 수신 모듈 쓰레드별로 쓰레드 로드 밸런싱 정보 테이블을 생성하는 단계;Generating, by the main thread, a plurality of message receiving module threads, and generating a thread load balancing information table for each of the generated message receiving module threads; 상기 메인 쓰레드가 제어 데이터 기록 시그널을 수신하고, 상기 수신한 제어 데이터 기록 시그널에 따라 상기 쓰레드 로드 밸런싱 정보 테이블에서 해당하는 데이터 수신 처리 쓰레드를 선택하여 시그널을 전송하는 시그널 전송 단계;A signal transmission step of the main thread receiving a control data write signal, selecting a corresponding data receiving processing thread from the thread load balancing information table according to the received control data write signal, and transmitting a signal; 상기 시그널을 수신한 데이터 수신 처리 쓰레드가 제어 데이터를 읽어 분석하여 해당하는 트래픽 데이터를 읽는 단계; 및Reading, analyzing, and reading the control data by the data receiving processing thread receiving the signal to read corresponding traffic data; And 상기 데이터 수신 처리 쓰레드가 상기 쓰레드 로드 밸런싱 정보 테이블을 갱신하는 갱신 단계An update step of the data receiving processing thread updating the thread load balancing information table 를 포함하는 고속의 대량 데이터를 수신하기 위한 데이터 수신 모듈의 처리 방법.Processing method of a data receiving module for receiving a high speed mass data comprising a. 제 1 항에 있어서,The method of claim 1, 상기 시그널 전송 단계는,The signal transmission step, 상기 수신한 제어 데이터 기록 시그널에 따라 상기 쓰레드 로드 밸런싱 정보 테이블의 로드 카운트가 가장 적은 레코드를 검색하고, 상기 검색된 레코드에 해당하는 데이터 수신 처리 쓰레드로 기동 시그널을 전송하는 것을 특징으로 하는 고속의 대량 데이터를 수신하기 위한 데이터 수신 모듈의 처리 방법.Fast mass data according to the received control data recording signal to search for the record with the lowest load count of the thread load balancing information table, and to transmit the start signal to the data receiving processing thread corresponding to the retrieved record Method of processing a data receiving module for receiving a. 제 1 항에 있어서,The method of claim 1, 상기 갱신 단계는,The update step, 상기 데이터 수신 처리 쓰레드의 쓰레드 식별자를 이용하여 상기 쓰레드 로드 밸런싱 정보 테이블을 검색하여 로드 카운트를 감소시키는 것을 특징으로 하는 고속의 대량 데이터를 수신하기 위한 데이터 수신 모듈의 처리 방법.And retrieving the thread load balancing information table using a thread identifier of the data receiving processing thread to reduce the load count. 제 1 항 내지 제 3 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 쓰레드 로드 밸런싱 정보 테이블은,The thread load balancing information table is 상기 데이터 수신 처리 쓰레드에 부여된 데이터 처리 개수를 나타내는 로드 카운트(count) 필드;A load count field indicating the number of data processing granted to the data receiving processing thread; 각각의 데이터 수신 처리 쓰레드의 고유 식별자를 나타내는 쓰레드 식별자(pid) 필드; 및A thread identifier (pid) field indicating a unique identifier of each data receiving processing thread; And 해당 데이터 수신 처리 쓰레드를 기동(wakeup)하기 위한 시그널 번호(sig#) 필드Signal number (sig #) field to wake up the data receiving processing thread 를 포함하는 고속의 대량 데이터를 수신하기 위한 데이터 수신 모듈의 처리 방법.Processing method of a data receiving module for receiving a high speed mass data comprising a. 제 4 항에 있어서,The method of claim 4, wherein 상기 쓰레드 로드 밸런싱 정보 테이블은, The thread load balancing information table is 로컬 데이터베이스 또는 컨테이너 자료 구조로 저장되어 관리되는 것을 특징으로 하는 고속의 대량 데이터를 수신하기 위한 데이터 수신 모듈의 처리 방법.A method of processing a data receiving module for receiving fast bulk data, characterized in that it is stored and managed in a local database or container data structure. 제 5 항에 있어서,The method of claim 5, wherein 상기 제어 데이터는,The control data, 트래픽 데이터의 기록 위치에 대한 정보 및 트래픽 데이터에 대한 제어 정보를 포함하는 것을 특징으로 하는 고속의 대량 데이터를 수신하기 위한 데이터 수신 모듈의 처리 방법.A method of processing a data receiving module for receiving a large amount of high-speed data, characterized in that it includes information on a recording position of traffic data and control information on traffic data.
KR1020060121759A 2006-12-04 2006-12-04 Method for working of data reception module to receive massive data at high-speed KR100853457B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060121759A KR100853457B1 (en) 2006-12-04 2006-12-04 Method for working of data reception module to receive massive data at high-speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060121759A KR100853457B1 (en) 2006-12-04 2006-12-04 Method for working of data reception module to receive massive data at high-speed

Publications (2)

Publication Number Publication Date
KR20080050888A KR20080050888A (en) 2008-06-10
KR100853457B1 true KR100853457B1 (en) 2008-08-21

Family

ID=39806050

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060121759A KR100853457B1 (en) 2006-12-04 2006-12-04 Method for working of data reception module to receive massive data at high-speed

Country Status (1)

Country Link
KR (1) KR100853457B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10340213A (en) 1997-06-10 1998-12-22 Nec Software Ltd Performance analytic system for execution of parallel processing program, and function call frequency counting method
JPH11306149A (en) 1998-04-16 1999-11-05 Sony Corp Parallel arithmetic processor and method therefor
JP2000235501A (en) 1999-02-16 2000-08-29 Matsushita Electric Ind Co Ltd Task execution device
KR20040068721A (en) * 2003-01-27 2004-08-02 삼성전자주식회사 Simultaneous Multithreading processor providing for thread fetch based on instructions count weighted by the operation cycle count and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10340213A (en) 1997-06-10 1998-12-22 Nec Software Ltd Performance analytic system for execution of parallel processing program, and function call frequency counting method
JPH11306149A (en) 1998-04-16 1999-11-05 Sony Corp Parallel arithmetic processor and method therefor
JP2000235501A (en) 1999-02-16 2000-08-29 Matsushita Electric Ind Co Ltd Task execution device
KR20040068721A (en) * 2003-01-27 2004-08-02 삼성전자주식회사 Simultaneous Multithreading processor providing for thread fetch based on instructions count weighted by the operation cycle count and method thereof

Also Published As

Publication number Publication date
KR20080050888A (en) 2008-06-10

Similar Documents

Publication Publication Date Title
US9420063B2 (en) System and method for prioritizing requests to a SIM
WO2019141134A1 (en) Data query method, apparatus and device
US8160097B2 (en) System and method for optimizing communication between a mobile communications device and a second communications device
US9801195B2 (en) Mobile device and method for managing background data transmission thereof
CN109992398A (en) Method for managing resource, device, mobile terminal and computer readable storage medium
US20120082131A1 (en) System and method of handover in wireless network
JP5929501B2 (en) Information processing apparatus, information processing method, and program
US7392061B2 (en) Methods and apparatus for operating transceiver systems of a wireless platform
CN108595483B (en) Data processing method and related device
KR102219015B1 (en) Use of network support protocols to improve network usage
US20230140279A1 (en) Inter-processor communication method, electronic assembly, and electronic device
CN113766528A (en) Positioning processing method, terminal and network side equipment
US9594411B2 (en) Dynamic power management of context aware services
CN109314969B (en) Transmission configuration method, device, equipment, system and storage medium
EP2863677B1 (en) Methods and devices for determining and assisting in determining standby frequency point in cognitive radio system
CN110583054B (en) Timing method of synchronous signal block, user equipment and network equipment
US20060246884A1 (en) Contact information sharing with mobile telephone
CN107548121B (en) Method and device for determining access network
KR100853457B1 (en) Method for working of data reception module to receive massive data at high-speed
CN116303303A (en) Batch data processing method, device, equipment and medium
CN113727298A (en) Layer two identifier determining method and device and terminal
CN114428589B (en) Data processing method and device, electronic equipment and storage medium
US20110153940A1 (en) Method and apparatus for communicating data between processors in mobile terminal
CN107025118B (en) Method and device for ending application program
CN110018888A (en) Method for managing resource, device, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee