Abstract:Based on Internet of things(IoT) technology, a train’s automatic-identification system was designed for recording the information of train’s incoming and outcoming action. The system includes intelligent sensor node, gateway, server and client. Equipped with high-capacity battery, the intelligent sensor node identified train’s incoming and outcoming action by ultrasonic sensor, and got train’s information by Radio Frequency Identification (RFID) technology, then transported the information to Long Range Radio (LoRa) server through LoRa gateway. Finally, database server received the information from LoRa server. LoRa Wide Area Network(LoRaWAN) protocol was used between intelligent sensor node and LoRa gateway, and Message Queuing Telemetry Transport(MQTT) protocol was used between LoRa gateway and LoRa server, and WebService technology was used between LoRa server and database server. Client can get history information and realtime information by Browser/Server(B/S) mode. The result shows that the system has advantages of low-power,automatic-identification and high-stability.