Method for checking accounts online and method and device for data storage

The embodiment of the invention discloses a method for checking accounts online and a method and device for data storage. The method for checking the accounts online comprises the steps that files in a back-up database are read so that parameter information, subject data information, currency information, voucher data information and balance list information of a book set system can be obtained; according to the obtained parameter information, the obtained subject data information, the obtained currency information, the obtained voucher data information and the obtained balance list information of the book set system, the read files in the database are converted into files of a standard format; the files of the standard format are stored in an online accounting database. According to the method for checking the accounts online and the method and device for data storage, inquiry is simple, a financial software environment does not need to be established, an expensive license does not need to be bought, and therefore inquiry is simple and high in efficiency.