Recently, the demand for unmanned stores has increased year by year, and how to calculate the number of people entering and leaving the unmanned stores is increasingly important. In this paper, a sensor floor based on a push button switch array is proposed. The sensor floor periodically transmits floor information to a cloud database for analysis as well as transmits the analysis result to the manager's smart device. In this way, managers can get the results of instant flow control in unmanned stores. If this sensor floor is built into the entire store, more information (such as hotspot analysis) will be available, which will protect personal privacy more than existing camera image analysis.