Based on real data, citizens or people who return to work after rework can declare online by themselves, and generate personal QR codes after background review. As an individual entering and leaving electronic certificate locally, the QR code can be declared once, which is universal in the whole city. The introduction of the health code aims to make the work of returning to work more accurate, scientific and orderly.