The invention discloses a national secret SSL
handshake communication method based on a
quantum key, and relates to the technical field of
quantum communication, and the method comprises the following steps: point-to-point connection is established between two communication parties through a
quantum communication link, and the two communication parties are respectively a sender and a
receiver; a sender uses a
single photon source to generate and send a group of quantum bits to a
receiver according to a predetermined quantum coding mode, and the
receiver measures the received quantum bits through a
quantum detection device to obtain a corresponding measurement result. According to the method, the
quantum state in the quantum
communication link is monitored in real time, the potential collapse risk prediction is carried out in combination with the deep neural network, the redundancy is automatically adjusted when the risk is found,
error correction coding is carried out, and thus the anti-interference capability is improved. By introducing an anti-interference structure and dynamic redundancy adjustment, key
distortion or communication interruption caused by
quantum state collapse is effectively avoided, smooth key negotiation is ensured, and the reliability and
data security of a
communication link are remarkably enhanced.