How did the grid worker know the name of the resident?

Because the grid staff can ask the property owner information.

Because for the convenience of work, grid workers usually ask the property for household information, and the ID card has information such as name, gender, age, address, ID number and so on.

Grid member, namely community grid member, refers to the staff who undertake specific tasks in the community grid management organization of a community. The personnel qualified as community grid workers include: leading cadres of community streets and other departments, actual community leaders, ordinary community workers, community school teachers, community school doctors and community police.