The invention discloses a method and system for identifying the queuing number of battery replacing users of a battery replacing station, and the method comprises the steps: setting a virtual fence according to the position of the battery replacing station, and enabling the range of the virtual fence to cover the range of the battery replacing station; receiving user information uploaded by a user, wherein the user information comprises position information of the user; and judging whether the user is located in the virtual fence or not according to the position information, and if so, determining that the user is a queuing user. The queuing number of the battery replacing users in the battery replacing station can be recognized and obtained in real time in a full-automatic mode, the usersneeding to replace the batteries can obtain the queuing number in the battery replacing station in advance, and therefore the battery replacing time can be arranged to reduce unnecessary waiting, theburden of workers of the battery replacing station can be reduced, and power exchange resources can be distributed more reasonably.