The invention relates to the technical field of single-
photon communication, in particular to a high-speed transmission method and device for single-
photon time counting sequence data. The invention aims to solve the problem of real-time transmission of massive single-
photon time counting sequence data generated by a receiving end of a high-bit-rate single-photon communication
system, and provides a novel high-speed transmission device for the single-photon time counting sequence data. Comprising a giant
frame packing module and a virtual development port module which are arranged in a time counter, and a non-blocking
asynchronous network I / O module, a receiving
thread pool module, a receiving buffer
queue module, a sorting thread module, a storage buffer
queue module, a storage buffer
queue module, a storage thread module and a hard disk which are arranged in a computer. A traditional single-thread blocking synchronous I / O data receiving and transmitting mode is broken through, the non-blocking
asynchronous network I / O and the
thread pool are adopted, the concurrent
processing capacity of the multi-core CPU is utilized to the maximum extent, and the real-time performance and accuracy of
data transmission under the high speed are remarkably improved.