发明名称 A METHOD AND SYSTEM FOR TRANSMITTING DATA
摘要 A method and system for transmitting data are disclosed. The method includes the following steps of: sending a network connection request to a data receiving terminal; after the connection is successful and a notice slot of the pre-established socket is registered, judging whether it is successful to write data into the data receiving terminal through the socket or not, when it is successful reading the response package of the data receiving terminal, and when it is unsuccessful adding the socket into a work queue, and notifying the socket to write the data into the data receiving terminal when it is inquired that the socket is writable. In the embodiments of the invention, the state machine is built for the socket through general inquiring mechanism, and the socket performs the data circulation according to the state machine, and a notice mechanism is built for the socket to notice the state of data circulation of the socket in time and exactly, so the network protocol and the network connection are disposed effectively in the case of the large network subsequent quantity.
申请公布号 WO2009030130(A1) 申请公布日期 2009.03.12
申请号 WO2008CN71577 申请日期 2008.07.08
申请人 SHENZHEN COSHIP ELECTRONICS CO., LTD.;YE, ZHIGANG 发明人 YE, ZHIGANG
分类号 H04L12/56 主分类号 H04L12/56
代理机构 代理人
主权项
地址