In this current work, two fresh transition metal coordination polymers (CPs) have been created with the reaction between terphenyl-3,3″,5,5″-tetracarboxylic acid (H4L), the symmetrical rigid carboxylic acid ligand and the relevant metal salts under the reaction conditions of solvothermal, and the chemical compositions of the compounds respectively are {[Cu2(TPTC) (DMF)2(H2O)]·2DMF·2H2O} (2) and {[Zn (TPTC) (1,2-bimb)2]·4(H2O)}n (1, bimb = 1,2-bis((1H-imidazol-1-yl)methyl)benzene). Moreover, the prevention and nursing values of the compound on postoperative infection was explored and their corresponding mechanism also was investigated. Firstly, enzyme linked immunosorbent assay kit (ELISA) was employed to detect the release of inflammatory cytokines into plasma. Additionally, the expression of the bacterial survival genes was determined via exploiting the real time reverse transcription-polymerase chain reaction (RT-PCR) after treated with the compound.