Method and device for storing information

The invention discloses a method and a device for storing information, and relates to the technical field of communication networks. By adopting the method and the device, information of a user such as name and login password can be automatically stored in a new mobile phone when the user replaces a mobile phone with the new one, which omits the step of login and operation and saves operation time for the user. The method comprises the following steps: a piece of first electronic equipment receives a first operation, wherein the first operation is an operation in which a user is allowed to log in a first application; the first electronic equipment acquires the international mobile subscriber identity IMSI code of a first subscriber identity module SIM card according to the first operation; the first electronic equipment acquires first information according to the IMSI code of the first SIM card, wherein the first information is user information about that the user logs in the first application; and the first electronic equipment stores the first information to enable the first information to be directly acquired as needed. The scheme provided by the embodiment of the invention is applicable to information storing.