Locate the health code by using the mobile phone card. Health codes are 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. Two-dimensional code can be used as an individual to enter and leave electronic certificate locally, once declared, and it is universal in the whole city.