The invention discloses a method for realizing a system of a barcode real-name system of train tickets; the system comprises a main control core module, a slave control core module, a radio frequency antenna receiving module, an antenna transmission module, a power management module, a special transmission network module for train-ticket booths, a liquid crystal display module, a keyboard interaction module, a local print module and a peripheral interface module, etc.; the system binds the unique personal identity information (such as the second generation identification card number and the electronic passport number) in the two-dimensional barcode of each train ticket by reading the personal information data of users; system data of database is matched when checking tickets, and the registration of the real-name system of users in a service system of the railway transport of passengers, thus being applicable to all the distribution outlets of train tickets of national railways widely, reducing each uncertain factor before the sale and the purchase of the train tickets of railways and improving the transparency of the train tickets in services of railway transport passengers through the method of the real-name system. The invention mainly solves the defects in the service of railway transport of passengers such as the real-name registration is hard, the cost of information collection is high and the degree of digitization is not enough, etc., is characterized by high integration, stable system, good reliability, small size, low cost, convenient operation and safe data, etc., and has application value for practical promotion in the ticket terminal of services of railway transport of passengers.