The invention relates to the technical field of
network security communication, in particular to a
wireless network camera mainboard security communication protocol optimization method and
system, and the method comprises the following steps: reading a
signal-to-
noise ratio and a
signal intensity numerical value, calculating a link
quality score, capturing photoelectric
shot noise, converting the photoelectric
shot noise into a true random entropy source sequence, and carrying out the real random entropy source sequence; generating a dynamic
session key in combination with
clock jitter; analyzing the monitoring video
stream to separate an I frame and a P frame, when the
score is lower than a threshold value, only encrypting the I frame to generate a core
ciphertext, and generating an
integrity check code for the P frame; and constructing a security protocol data frame according to the
error correction coding rate and executing a
data transmission action. According to the method, the
encryption density of the video data is dynamically adjusted according to the
signal-to-
noise ratio of a real-
time signal by introducing a dynamic fragmentation mechanism of channel state
perception, so that the calculation overhead of a mainboard in a weak network environment is effectively reduced, and the traditional complete
handshake process is replaced by lightweight re-
authentication logic based on hardware
noise characteristics; and the problem of picture interruption caused by frequent reconnection is fundamentally eliminated.