A computer, comprising: a processor; a basic input/output system; a primary memory, configured to load an instruction of an operating system of the computer, wherein the primary memory comprises one or more memory cards (101-A,...); and a memory controller, wherein each memory card (101-A,...) is provided with a corresponding memory controller (102-A,...); wherein the operating system is configured to acquire a first trigger instruction, suspend, according to the first trigger instruction, a task that is being executed, determine a source memory card of to-be-migrated memory data, determine a backup memory card for the source memory card; the operating system is further configured to determine whether the backup memory card meets a migration condition, the migration condition comprises the backup memory card has been completely initialized; the basic input/output system is configured to initialize the backup memory card according to an instruction of the operating system if the backup memory card does not meet the migration condition, wherein the initialization avoids allocating a system address to the backup memory card; the operating system is further configured to instruct a memory controller of the source memory card to perform memory data migration if the backup memory card meets the migration condition; the memory controller of the source memory card is configured to migrate memory data of the source memory card to the backup memory card according to an instruction of the operating system; and the operating system is further configured to change a target memory card to which a system address of the source memory card points, to the backup memory card after it is determined that all the memory data of the source memory card is migrated to the backup memory card. a processor; a basic input/output system; a primary memory, configured to load an instruction of an operating system of the computer, wherein the primary memory comprises one or more memory cards (101-A,...); and a memory controller, wherein each memory card (101-A,...) is provided with a corresponding memory controller (102-A,...); wherein the operating system is configured to acquire a first trigger instruction, suspend, according to the first trigger instruction, a task that is being executed, determine a source memory card of to-be-migrated memory data, determine a backup memory card for the source memory card; the operating system is further configured to determine whether the backup memory card meets a migration condition, the migration condition comprises the backup memory card has been completely initialized; the basic input/output system is configured to initialize the backup memory card according to an instruction of the operating system if the backup memory card does not meet the migration condition, wherein the initialization avoids allocating a system address to the backup memory card; the operating system is further configured to instruct a memory controller of the source memory card to perform memory data migration if the backup memory card meets the migration condition; the memory controller of the source memory card is configured to migrate memory data of the source memory card to the backup memory card according to an instruction of the operating system; and the operating system is further configured to change a target memory card to which a system address of the source memory card points, to the backup memory card after it is determined that all the memory data of the source memory card is migrated to the backup memory card.