In conclusion, the unidirectional and bidirectional quantum security communication protocols based on single-photon in the paper have not only inherited the advantages of QPLZ, such as easy to realize, high transmission efficiency, double communication distance and so on, but also overcome some shortcomings. Furthermore, the new protocol has brought out some new ideas for realizing bidirectional protocol to guarantee the unconditional security. It has improved the strategy of coding to reduce code amount of information and made the quantum communication easier to realize. It has transmitted some irrelative content to the secret messages in terms of random code to confuse the eavesdroppers to reach the target of semantic safety. It needn’t test Trojan horse attack and has advantage in the noise channel.