The invention discloses a two-dimensional bar code duplex communication method and aims at providing the duplex communication method based on two-dimensional bar codes. According to the duplex communication method, the communication security is high and the
data transmission efficiency and reliability are high in a scene with a relatively high
confidentiality demand. The method is realized throughutilization of the following technical scheme that a sending end codes to-be-transmitted data into a two-dimensional bar code
image sequence and displays the two-dimensional bar code
image sequence in sequence through utilization of a miniature
liquid crystal display; a receiving end collects the two-dimensional bar code
image sequence through utilization of a vision camera or a two-dimensional bar code
scanner, carries out repeated frame
elimination, image graying, median filtering and binarization preprocessing on collection results and
decodes the collection results according to a two-dimensional bar code coding format, thereby acquiring decoding results; the receiving end integrates the decoding results according to frame serial numbers and the frame number, thereby acquiring a sending end source transmission file; and the receiving end carries out real-time feedback or delayed feedback on a receiving result according to
system transmission configuration. According to the method,the defect of a
data transmission security hinge is solved.