We first constructed a uropathogenic Escherichia Coli (UPEC) rat orchitis model and then detected the expression of CaSR and NLRP3 inflammatory pathway proteins in testicular macrophages (TM) through RT-PCR and WB, calcium levels in TM through flow cytometry, and proinflammatory factor IL-1β through ELISA. The gene discussed is NLRP3; the disease is orchitis.