发明名称 Method, computer, and apparatus for migrating memory data
摘要 A method, a computer, and an apparatus for migrating memory data. After receiving a first trigger instruction, a processor can exit an operating system and execute a memory data migration instruction of a basic input/output system, where the memory data migration instruction of the basic input/output system enables the processor to determine a source memory card of to-be-migrated memory data, determine a backup memory card for the source memory card, and instruct a memory controller of the source memory card to migrate the memory data, so as to enable the memory controller of the source memory card to read the memory data of the source memory card and write the read memory data of the source memory card into the backup memory card according to an instruction of the processor.
申请公布号 US9424146(B2) 申请公布日期 2016.08.23
申请号 US201514709444 申请日期 2015.05.11
申请人 Huawei Technologies, Co., Ltd. 发明人 Yang Liping;Lv Teng;Sun Hongwei
分类号 G06F11/16;G06F11/14;G06F12/06;G06F11/20;G11C29/00;G06F3/06 主分类号 G06F11/16
代理机构 Conley Rose, P.C. 代理人 Conley Rose, P.C. ;Rodolph Grant
主权项 1. A computer, comprising: a processor; a basic input/output system; a main memory configured to load an instruction of the basic input/output system and an instruction of an operating system in the computer, wherein the main memory comprises a first memory card and a second memory card; a first memory controller corresponding to the first memory card and no other memory card; and a second memory controller corresponding to the second memory card and no other memory card, wherein the processor is configured to: execute a first instruction of the operating system;receive a first trigger instruction when executing the first instruction of the operating system; andexecute a second memory data migration instruction of the basic input/output system according to the first trigger instruction, wherein the processor performs operations according to the second memory data migration instruction of the basic input/output system, the operations comprising: determining a source memory card of to-be-migrated memory data from among the first memory card and the second memory card;determining a backup memory card for the source memory card from among the first memory card and the second memory card; andinstructing a memory controller of the source memory card to migrate the memory data, wherein the memory controller of the source memory card is configured to: receive an instruction of the processor; andmigrate the memory data of the source memory card to the backup memory card according to the instruction of the processor, wherein the memory controller of the source memory card is the first memory controller when the source memory card is the first memory card, wherein the memory controller of the source memory card is the second memory controller when the source memory card is the second memory card, wherein the processor is further configured to: set the source memory card and the backup memory card to a mirror mode;send a data read instruction to the memory controller of the source memory card,wherein the data read instruction is used to instruct the memory controller of the source memory card to read the memory data of the source memory card; and send a data write instruction to the memory controller of the source memory card, wherein the data write instruction is used to instruct the memory controller of the source memory card to write the read data back into the source memory card, wherein the memory controller of the source memory card is further configured to: read the memory data of the source memory card according to the data read ruction of the processor;receive the data write instruction sent by the processor; andsend the read memory data of the source memory card to a memory controller of the backup memory card according to the mirror mode of the source memory card and the backup memory card, wherein the memory controller of the backup memory card is configured to write the received memory data of the source memory card into the backup memory card, wherein the memory controller of the backup memory card is the first memory controller when the backup memory card is the first memory card, and wherein the memory controller of the backup memory card is the second memory controller when the backup memory card is the second memory card.
地址 Shenzhen CN