The invention relates to the technical field of photoelectric materials, in particular to a pyridine-bridged ruthenium acetylene-terminated compound, which has a structural general formula shown in the specification, in the formula, Py is one of H or CH3, and R' is one of H, F, CH3, OCH3, CHO, COOEt and CN. According to the compound, pyridine and derivatives thereof are used as conjugated bridge chains, metal ruthenium is used as an oxidation-reduction active end group, and an electrochemical method test shows that the compound shows two continuous single-electron oxidation-reduction processes, shows good electron interaction (coupling), has the good charge transmission performance and has the good potential application prospects in the field of molecular wires.