The application of smart city technologies requires new data analysis methods to interpret the voluminous data collected. In this study, we first analyzed the transfer behavior of subway pedestrians using the fingerprinting technique using data collected by more than 100 MAC (Media Access Control) ID sensors installed in a congested subway station serving two subway lines. We then developed a model that employs an AI (Artificial Intelligence)-based methodology, the cumulative visibility of moving objects (CVMO), to present the data in such a manner that it could be used to address pedestrian flow issues in this real-world implementation of smart city technology. The MAC ID location data collected during a three-month monitoring period were mapped using the fingerprinting wireless location sensing method to display the congestion situation in real time. Furthermore we developed a model that can inform immediate response to identified conditions. In addition, we formulated several schemes for disbursing congestion and improving pedestrian flow using behavioral economics, and then confirmed their effectiveness in a follow-up monitoring period. The proposed pedestrian flow analysis method cannot only solve pedestrian congestion, but can also help to prevent accidents and maintain public order.