Patent ID: 8429288

Claim:
A streaming media server comprising at least one processor executing a link initialization module, a task polling module, a transmission processing module, and a receipt processing module, wherein, said link initialization module is configured to implement an initialization operation, wherein the initialization operation comprises setting a maximum count of file handles allowed to be opened; said task polling module is configured to be responsible for establishing and intercepting a link and polling events in the link; to receive a message sent by a terminal when the terminal sends the message to the streaming media server, and notify said receiving and processing module to process the received message; to read from the transmission processing module message data organized by the transmission processing module when the streaming media server needs to send a message to the terminal, and to send the message data; said transmission processing module is configured to process the message data sent from an upper layer application and notify the task polling module to send the processed message data; said receiving and processing module is configured to read the received message data from the task polling module, and to process the read message data and send the processed message data to the upper layer application.