An object is to provide a semiconductor device having stable electric characteristics in which an oxide semiconductor is used. Also, the present invention provides a method for anti-corrosion treatment of a metallic separator for a fuel cell. The time series data pieces for the predetermined times are loaded in a plurality of data areas of the database in sequence of times.