Patent ID: 9698907
Date: 2017-07-04
CPC Classifications: H04B,H04K,H04L

Claim:
1. A handshake synchronization restoration method, comprising: after a transmitting end in which a state machine varies with unit time is powered on again, transmitting, by the transmitting end, in the form of a visible light signal, to a receive and control system, a status reset signal which varies with unit time, wherein the receive and control system comprises one or multiple receiving ends; and receiving, by the receive and control system, the visible light signal, and when it is determined that the received visible light signal is a status reset signal, adjusting, by the receive and control system, status of a state machine of a receiving end to a state indicated by the status reset signal; wherein before the method, further comprising: connecting, by the transmitting end, to the receive and control system, and adjusting, by the receive and control system, the status of the state machine of the receiving end to be synchronous with status of the state machine of the transmitting end; performing, by the transmitting end, a logical operation on an original signal and a pilot optical signal separately with a pseudocode signal of the current period of time to obtain an encrypted original signal and an encrypted pilot optical signal, combining the encrypted original signal and the encrypted pilot optical signal to obtain the scrambled signal, and sending the scrambled signal in the form of a visible light signal; and receiving, by the receive and control system, the scrambled signal, and decomposing the scrambled code into the encrypted original signal and the encrypted pilot optical signal; performing a logical operation on the encrypted pilot optical signal with a prestored pseudocode signal corresponding to a state machine of all users in the current period of time, and identifying a pseudocode signal corresponding to the pilot optical signal in the current status according to relevant peaks; and using the pseudocode signal corresponding to the current status to decrypt the encrypted original signal.