摘要 |
A processing method of a data receipt module for receiving massive data at a high speed is provided to guarantee transmission rate of high speed data by receiving massive data at a high speed on the basis of a multi-thread or a multi-task technique. A processing method of a data receipt module comprises the following several steps. A main thread of the data receipt module in a terminal defines signal numbers as many as the number of data receipt processing threads to be generated(301). The main thread performs setup and masking for the defined signal not to lose the signal which the main thread itself receives at the first time(302). The main thread generates message receipt module threads as many as necessary(303). The main thread generates a thread load balancing table record for each message receipt module thread and stores the generated thread load balancing table record at a local database and a container data structure(304,305). Then, the main thread waits in order to receive a control data record signal, recorded at a DPRAM(Dual Ported Random Access Memory), from the second intermediate board(306). The main thread searches for a record whose load count is the smallest from the thread load balancing information table according to the received control data record signal, sends a wakeup signal to a corresponding data receipt thread, increases a load count, and updates a record(307).
|