language-icon Old Web
English
Sign In

Data transmission method and device

2015 
The invention discloses a data transmission method and device. According to the one embodiment of the invention, the method includes the following steps of: responding to a connection request transmitted by a client end, and generating transmission-used interfaces for transmitting business data to the client end; receiving a business data processing request for business data to be processed which is transmitted by the client end, wherein the business data processing request contains a business type to which the business data to be processed belong; determining business data processing threads for processing the business data processing request based on the business type; and processing the business data processing request through utilizing the business data processing threads and transmitting business data through the transmission-used interfaces and the client end, wherein the business data are obtained after the business data processing threads process the business data processing request. With the data transmission method adopted, the problem of system overhead increase caused by a requirement for performing synchronization operation on the threads corresponding to the transmission-used interfaces when data transmission is performed through the transmission-used interfaces can be solved, and system overhead in data transmission can be decreased.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []