CN105353980B - A kind of moving method of internal storage data, computer and device - Google Patents

A kind of moving method of internal storage data, computer and device Download PDF

Info

Publication number
CN105353980B
CN105353980B CN201510698302.5A CN201510698302A CN105353980B CN 105353980 B CN105353980 B CN 105353980B CN 201510698302 A CN201510698302 A CN 201510698302A CN 105353980 B CN105353980 B CN 105353980B
Authority
CN
China
Prior art keywords
card
ram card
migration
processor
source ram
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510698302.5A
Other languages
Chinese (zh)
Other versions
CN105353980A (en
Inventor
杨丽萍
吕腾
孙红伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510698302.5A priority Critical patent/CN105353980B/en
Priority claimed from CN201380002306.4A external-priority patent/CN103827834B/en
Publication of CN105353980A publication Critical patent/CN105353980A/en
Application granted granted Critical
Publication of CN105353980B publication Critical patent/CN105353980B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The embodiment of the invention provides a kind of moving methods of internal storage data, computer and device, processor is after receiving first triggering command, operating system can be exited and execute the migration instruction of the internal storage data of basic input output system, the migration instruction of the internal storage data of the basic input output system enables the processor to determine the source RAM card of internal storage data to be migrated, archive memory card is determined for the source RAM card, indicate that the Memory Controller Hub of the source RAM card carries out the migration of internal storage data, so that the Memory Controller Hub of the source RAM card can be read according to the instruction of the processor by the internal storage data of the source RAM card, and the archive memory card is written into the internal storage data of the source RAM card of reading, so as in computer not lower electricity, the internal storage data of the source RAM card is migrated, it realizes pair The on-line maintenance of failure memory card solves the problems, such as that the prior art needs just to can be carried out failure memory card replacement or maintenance to electricity under computer.

Description

A kind of moving method of internal storage data, computer and device
Technical field
The present invention relates to computer technology, especially a kind of moving method of internal storage data, computer and device.
Background technique
Memory (Memory) is also referred to as main memory, is one of the ost important components in computer.All journeys in computer The operation of sequence is all to carry out in memory, therefore influence of the performance of memory to computer is very big.Memory can be used in temporarily Store the operational data in processor, and the data exchanged with external memories such as hard disks.As long as computer is in operation, place Reason device, which will be transferred to the data for needing operation in memory, carries out operation, completes preprocessor when operation and again sends out result Come, the operation of memory also determines the stable operation of computer.
Under X86-based, the amount of memory that server is supported is more and more, newest Intel E7 V2 processor, and single Processor can at most support 2 pieces of memory boards, every piece of memory board that can at most support 12 root memory items, interior in a 8P system Depositing quantity can achieve 192.However, the failure rate of Memory System can be up to 0.1% at present, memory failure not only may be used It can cause system fluctuation of service, it is also possible to cause the crash of system.
The prior art cannot achieve the migration of internal storage data in computer, when occurring memory failure in system, Wu Fa Computer realizes the migration of failure memory plate or the data in failure memory item in the case where operating normally, therefore can not be to event Hinder memory and carries out on-line maintenance, it can only be first to failure memory plate or failure memory item could be replaced after electricity under the computer.
Summary of the invention
The embodiment of the invention provides a kind of moving method of internal storage data, computer and device, can computer not The migration of internal storage data is realized in the case where lower electricity.
In a first aspect, the embodiment of the present invention proposes a kind of computer, including
Processor;
Basic input output system;
Main memory, for loading the operation of the instruction stored in the basic input output system and the computer The instruction of system, the main memory include one or more RAM cards;
Memory Controller Hub, each RAM card configure corresponding Memory Controller Hub;
In the computer, the processor is used to execute the instruction of the operating system, and is executing the operation system First triggering command is received when the instruction of system, according to the first triggering command, executes the interior of the basic input output system The migration of deposit data instructs, the processor according to the migration instruction execution of the internal storage data of the basic input output system such as Lower operation: the source RAM card of internal storage data to be migrated is determined;Archive memory card is determined for the source RAM card;It indicates in the source The Memory Controller Hub for depositing card carries out the migration of internal storage data;
The Memory Controller Hub of the source RAM card is used to receive the instruction of the processor, according to the instruction of the processor The internal storage data of the source RAM card is moved into the archive memory card.
With reference to first aspect, in the first possible implementation, the processor is specifically used for the source memory Card and the archive memory card are set as mirror image pattern, and the Memory Controller Hub of the source Xiang Suoshu RAM card sends data reading instructions, institute It states data reading instructions and is used to indicate the Memory Controller Hub of the source RAM card and read the internal storage data of the source RAM card, Yi Jixiang The Memory Controller Hub of the source RAM card sends data writing instructions, and the data writing instructions are used to indicate the interior of the source RAM card The data of the reading are write back the source RAM card by memory controller;The Memory Controller Hub of the source RAM card is specifically used for basis The data reading instructions of the processor read the internal storage data of the source RAM card, receive the data that the processor is sent Write command, according to the mirror image pattern between the source RAM card and the archive memory card, by the read source RAM card Internal storage data be sent to the Memory Controller Hub of the archive memory card;The Memory Controller Hub of the archive memory card will be for that will connect The internal storage data of the source RAM card received is written to the archive memory card.
With reference to first aspect or the first possible implementation of first aspect, in second of possible implementation In, the processor is specifically used for acquisition gradation migration strategy and indicates the source RAM card according to the gradation migration strategy Memory Controller Hub is performed in multiple times the migration of internal storage data.
The possible implementation of second with reference to first aspect, in the third possible implementation, the processing Implement body is used to perform the following operations a)-d according to the gradation migration strategy), until by the internal storage data of the source RAM card All move to the archive memory card, operation a)-d) it include: a) to determine when time data volume of migration, indicate the source Time data volume of migration of working as is moved to the archive memory card by the Memory Controller Hub of RAM card, is moved alternatively, determining when secondary The duration of shifting indicates that the Memory Controller Hub of the source RAM card carries out moving for internal storage data in the duration for working as secondary migration It moves;B) described in completing in the Memory Controller Hub for determining the source RAM card after secondary migration, the basic input and output are exited System and the instruction for executing the operating system;C) the second triggering command is received, second triggering command is used to indicate described Processor returns to the migration instruction for executing the internal storage data of the basic input output system;D) according to the basic input and output The migration of the internal storage data of system instructs, and returns to step a).
With reference to first aspect or the first possible implementation of first aspect or second of possible realization side Formula or the third possible implementation, in the fourth possible implementation, the Memory Controller Hub of the source RAM card It is also used to be monitored the wrong data of the source RAM card, if the quantity of the wrong data is more than threshold value, described in triggering First triggering command;The processor is specifically used for receiving first triggering of the Memory Controller Hub triggering of the source RAM card Instruction.
With reference to first aspect or the first possible implementation of first aspect or second of possible realization side Formula or the third possible implementation, in a fifth possible implementation, the operating system are also used to configure interior The starting strategy of the migration of deposit data, or the enabled instruction of the migration for the internal storage data that user sends is received, the operation system System indicates that the processor generates the first triggering command according to the starting strategy or enabled instruction.
Second aspect, the embodiment of the invention provides a kind of moving methods of internal storage data, for migrating in computer Internal storage data, this method comprises:
The processor of the computer receives first triggering command when executing the instruction of operating system;
According to the first triggering command, the migration for executing the internal storage data of basic input output system refers to the processor It enables;
The processor operates as follows according to the migration instruction execution of the internal storage data of the basic input output system:
Determine the source RAM card of internal storage data to be migrated;
Archive memory card is determined for the source RAM card;
Indicate that the Memory Controller Hub of the source RAM card carries out the migration of internal storage data, so that the source RAM card is interior The internal storage data of the source RAM card is moved to the archive memory card according to the instruction of the processor by memory controller.
In conjunction with second aspect, in the first possible implementation, this method further include: the processor is by the source RAM card and the archive memory card are set as mirror image pattern;The processor indicate the Memory Controller Hub of the source RAM card into The migration of row internal storage data, so that the Memory Controller Hub of the source RAM card reads the source according to the instruction of the processor The internal storage data of the read source RAM card is written to the archive memory card by the internal storage data of RAM card, comprising:
The processor sends data reading instructions to the Memory Controller Hub of the source RAM card, and the data reading instructions are used for Indicate that the Memory Controller Hub of the source RAM card reads the internal storage data of the source RAM card;
The Memory Controller Hub of the source RAM card reads the source RAM card according to the data reading instructions of the processor Internal storage data;
The processor sends data writing instructions to the Memory Controller Hub of the source RAM card, and the data writing instructions are used for Indicate that the data of the reading are write back the source RAM card by the Memory Controller Hub of the source RAM card;
The Memory Controller Hub of the source RAM card receives the data writing instructions that the processor is sent, according to the source The internal storage data of the read source RAM card is sent to institute by the mirror image pattern between RAM card and the archive memory card The Memory Controller Hub of archive memory card is stated, so that the source memory that the Memory Controller Hub of the archive memory card will receive The internal storage data of card is written to the archive memory card.
In conjunction with the possible implementation of the first of second aspect or second aspect, second of possible realization side In formula, before the processor indicates the migration of Memory Controller Hub progress internal storage data of the source RAM card, further includes: institute It states processor and obtains gradation migration strategy;Then, the processor indicates the source RAM card according to the gradation migration strategy Memory Controller Hub is performed in multiple times the migration of internal storage data.
In conjunction with second of possible implementation of second aspect, in the third possible implementation, the processing Device indicates that the Memory Controller Hub of the source RAM card is performed in multiple times the migration of internal storage data according to the gradation migration strategy, packet Include: a) processor is determining when time data volume of migration, indicates that the Memory Controller Hub of the source RAM card is moved described when secondary The data volume of shifting moves to the archive memory card, alternatively, the processor is determined when time duration of migration, indicates in the source The Memory Controller Hub of card is deposited in the migration when progress internal storage data in time duration of migration;B) the source RAM card is being determined Memory Controller Hub complete described after time migrating, the processor exits the basic input output system and executes operation The instruction of system;C) processor receives the second triggering command, and second triggering command is used to indicate the processor and returns The migration of the internal storage data of basic input output system described in receipt row instructs;D) processor according to it is described input substantially it is defeated The migration instruction of the internal storage data of system out, returns to step a), until the internal storage data of the source RAM card all migrates To the archive memory card.
In conjunction with the possible implementation of the first of second aspect or second aspect or second of possible realization side Formula or the third possible implementation, in the fourth possible implementation, the Memory Controller Hub of the source RAM card The wrong data of the source RAM card is monitored, if the quantity of the wrong data is more than threshold value, the source RAM card Memory Controller Hub triggers the first triggering command;Then, the processor receives the Memory Controller Hub triggering of the source RAM card The first triggering command.
In conjunction with the possible implementation of the first of second aspect or second aspect or second of possible realization side Formula or the third possible implementation are being held in the processor of the computer in a fifth possible implementation When the instruction of row operating system, the method also includes: the operating systems according to the starting of the migration of preset internal storage data The enabled instruction of strategy or the migration of the internal storage data of user indicates that the processor generates the first triggering command;Then, institute State the first triggering command that processor receives itself generation.
The third aspect, the embodiment of the present invention propose a kind of basic input output system, the basic input output system packet Computer executed instructions are included, when the processor of computer executes the computer executed instructions, the processor executes as follows Method:
Determine the source RAM card of internal storage data to be migrated;
Archive memory card is determined for the source RAM card;
Indicate that the Memory Controller Hub of the source RAM card carries out the migration of internal storage data, so that the source RAM card is interior The internal storage data of the source RAM card is moved to the archive memory card according to the instruction of the processor by memory controller.
In conjunction with the third aspect, the processor executes following method also according to the computer executed instructions: by the source RAM card and the archive memory card are set as mirror image pattern;The Memory Controller Hub of the instruction source RAM card carries out memory The migration of data, so that the Memory Controller Hub of the source RAM card reads the memory number of the source RAM card according to the instruction According to the internal storage data of the read source RAM card is written to the archive memory card, comprising:
Data reading instructions are sent to the Memory Controller Hub of the source RAM card, the data reading instructions are used to indicate the source The Memory Controller Hub of RAM card reads the internal storage data of the source RAM card;
Data writing instructions are sent to the Memory Controller Hub of the source RAM card, the data writing instructions are used to indicate the source The data of the reading are write back the source RAM card by the Memory Controller Hub of RAM card, so that the memory control of the source RAM card Device processed reads the internal storage data of the source RAM card according to the data reading instructions of the processor, receives the data writing instructions It afterwards, will be in the read source RAM card according to the mirror image pattern between the source RAM card and the archive memory card Deposit data is sent to the Memory Controller Hub of the archive memory card.
In conjunction with the possible implementation of the first of the third aspect or the third aspect, in second of possible implementation In, the processor executes following method also according to the computer executed instructions: obtaining gradation migration strategy;According to described point Secondary migration strategy indicates that the Memory Controller Hub of the source RAM card is performed in multiple times the migration of internal storage data.
In conjunction with second of possible implementation of the third aspect, in the third possible implementation, the processing Device indicates that the Memory Controller Hub of the source RAM card is performed in multiple times the migration of internal storage data according to the gradation migration strategy, packet It includes: determining the Memory Controller Hub for indicating the source RAM card when time data volume of migration by described when time data volume of migration is moved The archive memory card is moved on to, alternatively, determining when time duration of migration, indicates the Memory Controller Hub of the source RAM card described When the migration for carrying out internal storage data in the duration of secondary migration;It is completed in the Memory Controller Hub for determining the source RAM card described when secondary After migration, exits the basic input output system and execute the instruction of operating system;
The second triggering command is received, it is described substantially defeated that second triggering command is used to indicate the processor return execution Enter the migration instruction of the internal storage data of output system;
It is instructed according to the migration of the internal storage data of the basic input output system, until by the memory of the source RAM card Data all move to the archive memory card.
In conjunction with the third aspect or the first possible implementation or second of possible implementation or third The possible implementation of kind, in the fourth possible implementation, the basic input output system further include: described in determination After the internal storage data of source RAM card all moves to the archive memory card, the system address of the source RAM card is directed toward Target memory card is changed to the archive memory card.
In embodiments of the present invention, processor exits operating system and executes basic after receiving first triggering command The migration of the internal storage data of input-output system instructs, the migration of the internal storage data of the basic input output system instruct so that The processor can determine the source RAM card of internal storage data to be migrated, determines archive memory card for the source RAM card, indicates The Memory control of the source RAM card reads the internal storage data of the source RAM card and will be in the read source RAM card The archive memory card is written in deposit data, migrates so as to the internal storage data to the source RAM card, realizes and counting To the on-line maintenance of failure memory card in the case where the not lower electricity of calculation machine, solves and needed in the prior art to electric under entire computer The problem of just can be carried out the replacement or maintenance of failure memory card.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to required in the prior art or embodiment Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings Other attached drawings.
Fig. 1 is system for computer block diagram provided in an embodiment of the present invention;
Fig. 2 is the moving method flow chart of internal storage data provided in an embodiment of the present invention;
Fig. 3 is the moving method flow chart of another internal storage data provided in an embodiment of the present invention;
Fig. 4 is the moving method flow chart of another internal storage data provided in an embodiment of the present invention;
Fig. 5 is device provided in an embodiment of the present invention composition figure.
Specific embodiment
The embodiment of the invention provides a kind of moving method of internal storage data, computer and device, can computer just The migration of internal storage data is often carried out in the case where operation.
A kind of computer for realizing internal storage data migration
As shown in Figure 1, the computer may include primary storage to implement an example of the computer of the embodiment of the present invention Device 101, Memory Controller Hub 102, processor 105, basic input output system (Basic Input Output System, BIOS) 104 and hard disk (Fig. 1 is not shown).The main memory 101 includes at least one RAM card, with 3 RAM cards in Fig. 1 For, RAM card 101-A, 101-B, 101-C.The Memory Controller Hub 102 is for controlling the main memory 101, Ke Yiwei Each RAM card of the main memory 101 configures corresponding Memory Controller Hub 102, such as the Memory control of RAM card 101-A The Memory Controller Hub 102-C of the Memory Controller Hub 102-B of device 102-A, RAM card 101-B, RAM card 101-C.In the present embodiment Memory fixture body can be any storage medium that can be used as memory such as memory board or memory bar, RAM card can be with Refer to a root memory item or a memory board, can also refer to the set of more root memory items or the set of multiple memory boards.Each memory Card is equipped with corresponding Memory Controller Hub, and the corresponding relationship of RAM card and Memory Controller Hub can be one-to-one, is also possible to One-to-many or many-one, Fig. 1 are that the present invention implements one of example.
After the computer system power-on, the main memory 101 can be when computer booting starts, described in load The finger of the operating system (Operating System, OS) 103 of the computer of instruction and storage in a hard disk in BIOS104 It enables, the processor 105 can execute the instruction of the BIOS 104 or the operating system (Operating of the computer System, OS) 103 instruction, such as the processor 105 can execute the instruction of BIOS104 to setting in the computer It is standby to be initialized, and execute the instruction of the OS103 and the RAM card is written and read, wherein the processor 105 refer mainly to CPU core part, can be a CPU core, are also possible to the set of multiple CPU cores, implement in the present invention In example, the processor 105 is the set of multiple CPU cores.The BIOS104 can be a processing chip, in the processing Multiple process instructions are had registered in chip, the processor 105 can execute these process instructions.
The migration that internal storage data is realized in the present embodiment, needs configuration backup RAM card in a computer, using as The target memory card of the migration of the internal storage data of source RAM card, in addition, the RAM card of pending internal storage data migration is in this implementation It is referred to as source RAM card in example.In the embodiment shown in fig. 1, RAM card 101-A and 101-B can be source RAM card, memory Card 101-C is the archive memory card of configuration of the embodiment of the present invention.In the present embodiment, to specify an archive memory card for computer For 101-C, in fact, or computer specify multiple archive memory cards.Internal storage data described in the embodiment of the present invention The purpose of migration be the internal storage data that archive memory card is obtained in the RAM card of source, in order to realize the mesh of above-mentioned migration , it in the concrete realization, can be using modes such as duplication, copy or the resettlements of internal storage data, as long as realizing archive memory Card can obtain the move target of the internal storage data in the RAM card of source, and above-mentioned various specific implementations are all in the embodiment of the present invention " migration " scope etc.
In the embodiment of the present invention, BIOS 104 can be improved, such as register new memory number in BIOS 104 According to migration instruction so that processor executes the migration instruction of the internal storage data of BIOS 104 to realize the migration of internal storage data.
Each composition of the computer of the embodiment of the present invention can perform the following operations:
The processor 105 is used to receive the triggering command of internal storage data migration when executing the instruction of OS103, according to The triggering command of the internal storage data migration exits OS103 and executes the migration instruction of the internal storage data of BIOS 104, described The migration of the internal storage data of BIOS 104 instructs so that the processor performs the following operations: determining the source of internal storage data to be migrated RAM card, such as the source RAM card 101-A determine archive memory card, such as the archive memory card for the source RAM card 101-C, and indicate that the Memory Controller Hub 102-A of the source RAM card carries out the migration of internal storage data.
The Memory Controller Hub 102-A of the source RAM card is used to receive the instruction of the processor, according to the processor Instruction read the internal storage data of the source RAM card 101-A, the internal storage data of the read source RAM card 101-A is write Enter to the archive memory card, realizes the Data Migration of the source RAM card 101-A to the archive memory card 101-C.
In embodiments of the present invention, processor 105 can receive the internal storage data migration when running the instruction of OS Triggering command, OS103 is exited according to the triggering command that the internal storage data migrates and the internal storage data for executing BIOS104 moves Move instruction, realize and the archive memory card 101-C is written into the data of the source RAM card 101-A, can computer not under In the case where electricity, the internal storage data of the source RAM card 101-A is migrated, the online dimension to failure memory card is realized Shield solves the problems, such as the replacement or maintenance for needing just to can be carried out electricity under entire computer on failure memory card in the prior art. Further, since the processor is the migration for executing the instruction completion internal storage data of BIOS, can be realized to O/S kernel module institute The data of RAM card migrated, avoid the problem of cannot migrating to O/S kernel module data by OS operation.
Expansion of the embodiment of the present invention is introduced in detail below.
About configuration backup RAM card
In the present embodiment, in order to guarantee that the instruction of internal storage data migration is performed correctly, the archive memory card conduct The target device of internal storage data to be migrated, with other RAM cards in computer with certain difference, such as including Deposit data migration is invisible to OS 103 before completing, i.e., OS103 can not be written and read it;The processor 105 can Special initialization is carried out to the archive memory card 101-C to execute the instruction of BIOS 104, so that the archive memory card 101-C is ready and can be used normally, but the initialization procedure avoids distributing for the archive memory card 101-C and is System address can be protected in this way so that the OS 103 can not carry out any read-write operation to the archive memory card 101-C The internal storage data of source RAM card is completely moved to backup card by card, guarantees that the data migrated in transition process will not be capped Upper others data, so that the internal storage data of migration is destroyed.
Configuring the archive memory card may include:
1, specify and record the mark of archive memory card.Can be by user by archive memory card insertion enter hardware slot it Afterwards, the mark of the archive memory card is recorded in some memory module of the computer by OS103, such as recorded In advanced configuration and electric fault management interface (Advanced Configuration and Power Management Interface, ACPI) in list, the ACPI list is the set of OS 103 and the information table interacted of BIOS 104, OS103 Inquiry operation can be carried out to it with BIOS 104, in such cases, i.e., specified there are memories for hardware in a computer Card is archive memory card;It is also possible to user and archive memory card insertion is not entered into hardware slot, but after specified archive memory card The slot number of the continuous hardware slot that will be inserted into, records specified slot number as the mark of archive memory card, such In the case of, i.e., it is specified in a computer that there are no hardware there are RAM card is archive memory card.
The mark of archive memory card is specified and records, processor 105 is subsequent can be inquired for recording archive memory card Memory module, such as ACPI list, to determine archive memory card.
2, special initialization is executed to archive memory card.It, can be in the backup after specifying archive memory card It deposits card and carries out special initialization, so that the archive memory card is ready, computer can be by the memory number of source RAM card According to the write-in archive memory card.To archive memory card initialization, the RAM card is needed to be already inserted into hardware slot, and it is practical On, when archive memory card insertion is entered hardware slot very flexibly can be inserted into before can be specified archive memory card, It can be after specified archive memory card, and execute any time before the migration of internal storage data.It is specifically initial The scene of change can be divided into two kinds, one is before the migration of internal storage data starting, press the button in backup units by user, The button generates initialization and interrupts, so that BIOS104 executes the special initialization to the archive memory card, one is internal storage datas Migration starting after, if BIOS detects that initialization has not been completed in archive memory card, can temporarily start in backup Deposit the initialization of card.
Wherein, the special initialization of archive memory card progress is referred to and the archive memory card is configured, so that The archive memory card is ready and can be used normally, but invisible to OS103;The process of the initialization includes just The various actions often initialized, in addition to being avoided during initialization as the archive memory card distribution system address, for example, to institute Stating archive memory card and carrying out initialization may include for archive memory card power supply, the parameters such as configuration correlated performance, configuration institute The communication connection between the processor in archive memory card and computer is stated, detects whether the archive memory card is able to carry out just Normal read-write operation etc..When being initialized to the archive memory card, avoid for the archive memory card distribution system Location cannot carry out the archive memory card any so that the OS103 can not obtain the system address of the archive memory card Although read-write operation, i.e., the described archive memory card are ready, but invisible to the OS, and the OS cannot be used at this time The archive memory card.
Triggering about internal storage data migration
In embodiments of the present invention, the starting of the migration of internal storage data is the fault condition according to source RAM card or user Demand and trigger and start, that is to say, that after computer booting starting, the normal instruction for executing OS103, according to receiving Internal storage data migration triggering command be switched to BIOS104 and execute the instruction of BIOS104, to realize moving for internal storage data It moves.In embodiments of the present invention, the processor 105 is just carried out when receiving the triggering command of the internal storage data migration The migration of internal storage data is directed to source RAM card or have the source RAM card of clear failure to carry out internal storage data that user specifies Migration does not need the source RAM card for preassigning fixation, does not need the mirror image for being pre-configured with source RAM card and archive memory card yet Relationship, therefore, the embodiment of the present invention realize the triggering of the migration of internal storage data for clearly source RAM card, that is, ensure that failure Timely processing, and saved the resource of computer, ensure that the high efficiency of computer.
The triggering command that internal storage data migrates in the embodiment of the present invention is used to refer to processor 105 and exits OS 103 and execute The migration of the internal storage data of BIOS 104 instructs, to realize the migration of internal storage data.Due to the embodiment of the present invention may be implemented it is interior The multiple migration of internal storage data also may be implemented in the primary migration of deposit data, and therefore, internal storage data moves in embodiments of the present invention The triggering command of shifting may include first triggering command and the second triggering command, will start in the first time migration of internal storage data The triggering command of deposit data migration is known as first triggering command, will trigger the internal storage data migration of the subsequent migration of internal storage data Triggering command is known as the second triggering command.
The triggering of the first triggering command can be relatively more flexible, such as can be by processor 105 according to the finger of OS 103 It enables and triggers the first triggering command, first triggering can also be triggered by the Memory Controller Hub 102-A of the source RAM card Instruction, specifically, such as:
(1) the Memory Controller Hub 102-A and 102-B of source RAM card can also be respectively to source RAM card 101-A and 101-B Wrong data is monitored, if the wrong data of source RAM card 101-A or 101-B are more than threshold value, corresponding Memory Controller Hub can To trigger the first triggering command, for example, the wrong data of source RAM card 101-A is more than threshold value, Memory Controller Hub 102-A touching Send out first triggering command described;The processor 105 can receive the institute of the Memory Controller Hub 102-A triggering of the source RAM card First triggering command is stated, OS 103 is exited and executes the migration instruction of the internal storage data of BIOS 104.Specifically, first touching Send instructions and can be system management interrupt (System Management Interrupt, SMI).
(2) enabled instruction of the migration for the internal storage data that the first triggering command can also be sent by OS according to user is straight Contact hair processor generates, can also by OS according to the starting strategy of the migration of user's internal storage data preset in the OS To generate.Such as user directly sends to OS and instructs, OS indicates that processor generates first triggering and refers to according to the instruction of user It enables such as what user configured in OS in advance starts moving for internal storage data according to the operating status of time or processor The starting strategy of shifting, when the starting strategy is satisfied, OS indicates that processor generates the first triggering command.The processor 105 can receive the first triggering command of itself triggering, exit OS 103 and execute moving for the internal storage data of BIOS 104 Move instruction.
About the migration for realizing internal storage data several times
In the preferably embodiment of one of the embodiment of the present invention, the migration of internal storage data will be performed in multiple times.Due into During row internal storage data migrates, if the processor 105 executes the instruction of BIOS 104 always to carry out internal storage data Migration, will can not execute the instruction of OS 103 in a longer period of time to carry out business processing, this will affect computer just Often operation causes other business processings to be in abort state for a long time, and influences the experience of user, therefore the processor 105 It can be performed in multiple times the migration of internal storage data, for example, the processor 105 can after completing an internal storage data migration To exit the BIOS 104, the instruction of the OS 103 is executed, normal business processing is carried out, until carrying out memory next time When Data Migration, then exit the OS 103, execute again the internal storage data of the BIOS 104 migration instruction, with continue into The migration of row internal storage data.The mode of this migration for being performed in multiple times internal storage data so that processor be alternately performed OS103 and The instruction of BIOS104, and be finally completed the migration of internal storage data, the long-time for avoiding system business are interrupted, and be ensure that and are The normal operation of system.
It can be to institute in another embodiment of the present invention for the above-mentioned mode for being performed in multiple times internal storage data migration The migration instruction for stating the internal storage data of BIOS 104 is further improved, so that the processor 105 executes the BIOS When the migration instruction of 104 internal storage data, available gradation migration strategy indicates the source according to the gradation migration strategy The Memory Controller Hub 102-A of RAM card is performed in multiple times the migration of internal storage data, and the gradation migration strategy can be matched by user It sets, such as user can specify the data volume migrated every time or the duration migrated every time according to demand, the processor 105 is held It, can be according to the specified data volume migrated every time or every when the migration instruction of the internal storage data of the row BIOS 104 The duration of secondary migration, performs the following operations a)-d), until the internal storage data of the source RAM card 101-A is all moved to institute State archive memory card 101-C, operation a)-d) include:
A) it is determined according to each migration specified data amount when time data volume of migration, indicates the source RAM card Time data volume of migration of working as is moved to the archive memory card 101-C by Memory Controller Hub 102-A, alternatively, according to each The duration of migration determines that time duration of migration of working as is determined when the duration of secondary migration, indicates the Memory control of the source RAM card Device 102-A is in the migration when progress internal storage data in time duration of migration, or according to the operating status of processor, indicates The Memory Controller Hub 102-A of the source RAM card carries out internal storage data within the period that the operating status of processor is idle Migration, wherein the operating status of the processor is that idle state can be the occupancy of processor less than given threshold;
B) it described in being completed in the Memory Controller Hub 102-A for determining the source RAM card after secondary migration, exits described BIOS 104 and the instruction for executing OS 103;
C) the second triggering command is received, second triggering command is used to indicate the processor and returns to the execution BIOS 104 instruction is to continue the migration of internal storage data;
D) it returns to step a).
The processor 105 passes through aforesaid operations a)-d), it realizes the data of the source RAM card 101-A several times The archive memory card 101-C is moved to.
Wherein, second triggering command can also be root by processor 105 according to the instruction triggers of OS 103 It is triggered according to the trigger condition of preconfigured second triggering command, such as described second can be configured in the migration strategy The trigger condition of triggering command, the trigger condition of second triggering command may include the interval duration migrated every time or place The operating status of device is managed, the processor 105 can configure internal memory migration timing according to the interval duration migrated every time Device, so that the internal memory migration timer triggers second triggering command, example according to the interval duration migrated every time It such as can be by the internal memory migration timer configuration in the south bridge of computer;Alternatively, triggering institute according to the operating status of itself The second triggering command is stated, for example, the processor 105 triggers second triggering command when self-operating state is idle.
In embodiments of the present invention, the processor 105 can indicate the source memory according to the gradation migration strategy The internal storage data of the source RAM card is moved to the archive memory card several times by the Memory Controller Hub 102-A of card, so that During carrying out internal storage data migration, the processor can exit the memory number that OS 103 executes BIOS 104 according to demand According to migration instruction, or exit BIOS 104 execute OS 103 instruction carry out business processing so that the industry of the computer Business can be handled in time, avoided the long-time of the caused computer business when carrying out the migration of a large amount of internal storage datas from interrupting, ensured The normal operation of the computer.
Mirror image pattern is set as about by the source RAM card and the archive memory card
Before the migration for carrying out internal storage data, the processor 105 can also be by the source RAM card and the backup RAM card is set as mirror image pattern, allows the Memory control 102-A of the source RAM card according to the finger of the processor 105 Show and the mirror image pattern, the archive memory card is written into the internal storage data of the source RAM card.
Specifically, the migration instruction that the internal storage data of BIOS 104 is executed in the processor 105, determines the source memory After blocking the 101-A and archive memory card 101-C, institute can be configured in the Memory Controller Hub 102-A of the source RAM card The mark for stating archive memory card configures the mark of the source RAM card in the Memory Controller Hub 109 of the archive memory card, with So that being set as mirror image pattern between the source RAM card 101-A and the archive memory card 101-C.Certainly setting mirror image pattern It further include the operation such as data transmission channel established between the source RAM card 101-A and the archive memory card 101-C, specifically Realize that this will not be repeated here.
It, can also be according to BIOS's 104 when the processor 105 executes the migration instruction of the internal storage data of BIOS 104 It instructs to the Memory Controller Hub of the source RAM card and sends data reading instructions, the data reading instructions are used to indicate the source memory The Memory Controller Hub 102-A of card reads the data of the source RAM card 101-A, receives the Memory Controller Hub of the source RAM card After the response message for the data reading instructions that 102-A is sent, it can also be sent out to the Memory Controller Hub 102-A of the source RAM card Send data writing instructions, the data writing instructions are used to indicate the Memory Controller Hub 102-A of the source RAM card for the reading Data write back the source RAM card 101-A.To which the Memory Controller Hub 102-A of the source RAM card can be according to the processor 105 data reading instructions sent, read the data of the source RAM card 101-A, are write according to the data that the processor 105 is sent The data of the reading are write back the source RAM card 101-A, and the Memory Controller Hub according to the source RAM card by instruction The memory control of the archive memory card is written in the data of the reading by the mark of the archive memory card configured in 102-A The archive memory card 101- is written in the data received by the Memory Controller Hub 102-C of device 102-C processed, the archive memory card C, to realize the Data Migration of the source RAM card 101-A to the archive memory card 101-C.
By the above-mentioned means, the processor 105 can be by all Data Migrations of the source RAM card 101-A described in Archive memory card 101-C ensure that the complete migration of internal storage data.Also, since source RAM card and archive memory card are arranged to Mirror image pattern, when exiting BIOS and executing the instruction of OS, the OS can be simultaneously to any write operation of source RAM card It writes on archive memory card, ensure that the accuracy of the internal storage data migrated on archive memory card.
It is migrated about to non-erroneous data
When the wrong data in RAM card is excessive, it may cause memory card failure or even cause restarting for computer, because This can only migrate non-erroneous data during carrying out internal storage data migration.
The processor is executing when migrating the migration for instructing progress internal storage data of the internal storage data of the BIOS 104, It also can indicate that the Memory Controller Hub 102-A of the source RAM card determines the non-erroneous data in the source RAM card 101-A, and Detection label is stamped according to testing result, such as obtains the non-mistake that the Memory Controller Hub 102-A of the source RAM card is determined The accidentally information of data, so as to indicate the Memory Controller Hub 102-A of the source RAM card to described according to error detection label Non-erroneous data are migrated, and avoid the wrong data in the source RAM card 101-A moving to the archive memory card 101-C and the computer that may cause is restarted or the archive memory card 101-C that may cause generates failure.
About transition condition
In order to guarantee going on smoothly for internal storage data migration, before carrying out internal storage data migration, the processor 105 can To check whether the archive memory card 101-C meets transition condition, i.e., whether can be used as the source RAM card 101-A data The target device of migrating data is avoided since the archive memory card 101-C is not due to completing initialization or memory size not Data Migration fails caused by situations such as enough.
Specifically, the processor execute the internal storage data of the BIOS 104 migration instruction when, can also be performed as Lower operation: in the Memory Controller Hub 1012-A for indicating the source RAM card by the Data Migration of the source RAM card 101-A to institute Before stating archive memory card 101-C, determine whether the archive memory card 101-C completes to initialize, if the archive memory card 101-C completes initialization, then sets mirror image pattern for the source RAM card 101-A and the archive memory card 101-C, so as to The subsequent migration for carrying out internal storage data;
When the processor 105 executes the migration instruction of the internal storage data of the BIOS 104, it can also determine described standby Whether the memory size of part RAM card 101-C is greater than the memory size of the source RAM card 101-A, if the archive memory card The memory size of 101-C is greater than the memory size of the source RAM card 101-A, it is determined that meet the transition condition, it can be with The subsequent internal storage data by the source RAM card 101-A moves to the archive memory card 101-C.
When the processor 105 executes the migration instruction of the internal storage data of the BIOS 104, the source can also be determined Whether RAM card 101-A and the archive memory card 101-C belong to same processor control, if be not belonging to, expression can be with By the Data Migration of the source RAM card 101-A to the archive memory card 101-C, thus by the source RAM card 106 and institute It states archive memory card 107 and is set as mirror image pattern, so as to the subsequent migration for carrying out internal storage data.
The replacement of archive memory card and source RAM card after being completed about internal storage data migration
When the data of the source RAM card 101-A are all moved to institute by the Memory Controller Hub 102-A of the source RAM card After stating archive memory card 101-C, when the processor 105 executes the migration instruction of the internal storage data of the BIOS 104, also It can establish the system address of the source RAM card 101-A and the mapping relations of the archive memory card 101-C, it will be in the source The target memory card for depositing the system address direction of card is changed to the archive memory card, so that the archive memory card 101-C can To substitute the source RAM card 101-A, the OS 103 is taken over to all read-write operations of the source RAM card 101-A.
After the source RAM card has been substituted in the archive memory card, the processor 105 can also be to described Source RAM card 101-A is electrically operated under executing, so that can remove or replace institute in the case where not lower electricity in the computer Source RAM card 101-A is stated, solves the replacement for needing just to can be carried out failure memory card to electricity under entire computer in the prior art Or the problem of maintenance.
A kind of moving method of internal storage data
Computer as shown in connection with fig. 1, the embodiment of the invention provides a kind of moving methods of internal storage data, for migrating Internal storage data in computer is stored with the migration instruction of internal storage data in the basic input output system of the computer, such as Shown in Fig. 2, which comprises
S201: the processor of the computer receives first triggering command when executing the instruction of OS.
The first triggering command can be triggered by the Memory Controller Hub of source RAM card according to the fault state of source RAM card, For example, the Memory Controller Hub of source RAM card, which monitors some source RAM card, multiple mistake occurs, preset threshold is had reached, it can To trigger first triggering command instruction processor to the migration for the repeatedly source memory card start-up internal storage data of mistake occur; The first triggering command can also trigger processor according to the instruction of user by OS and trigger the first triggering command, for example, When user has migration demand, enabled instruction actively can be sent to OS, OS indicates that processor triggers institute according to the enabled instruction First triggering command is stated, in another example, user can preset starting be tactful in OS, and when starting strategy is satisfied, triggering is handled Device triggers the first triggering command.
S202: the processor executes the migration instruction of the internal storage data of BIOS according to the first triggering command.
The processor exits operating system and executes the internal storage data of BIOS after obtaining the first triggering command The migration of migration instruction, the internal storage data of the BIOS instructs so that the processor executes step S203-S205.
S203: the processor is instructed according to the migration of the internal storage data of the BIOS, determines internal storage data to be migrated Source RAM card.
S204: the processor is instructed according to the migration of the internal storage data of the BIOS, is determined for the source RAM card standby Part RAM card.
The processor can determine the target memory card of the source RAM card, and in general, target memory card backs up RAM card.The archive memory card can be preconfigured.
S205: the processor is instructed according to the migration of the internal storage data of the BIOS, indicates the interior of the source RAM card Memory controller carries out the migration of internal storage data, so that instruction of the Memory Controller Hub of the source RAM card according to the processor The internal storage data of the source RAM card is moved into the archive memory card.
After determining the source RAM card and the archive memory card, the processor can be according in the BIOS The migration of deposit data instructs, and indicates that the Memory Controller Hub of the source RAM card reads the internal storage data of the source RAM card, by institute The archive memory card is written in the data of reading, realize to realize the source RAM card internal storage data move to it is described standby Part RAM card.In embodiments of the present invention, the processor can receive first triggering command, be referred to according to first triggering It enables, exit operating system and executes the migration instruction of the internal storage data of the BIOS, the migration of the internal storage data of the BIOS refers to It enables so that the processor determines the source RAM card of internal storage data to be migrated and the archive memory card of the source RAM card, with And the archive memory card is written in the internal storage data of the source RAM card by the Memory Controller Hub of the instruction source RAM card, thus In the case where computer not lower electricity, the internal storage data of the source RAM card can be migrated, be realized to failure memory The on-line maintenance of card solves the replacement or dimension for needing just to can be carried out failure memory card to electricity under entire computer in the prior art The problem of shield.Further, since the processor is the migration for executing the instruction completion internal storage data of BIOS, can be realized in OS The data of RAM card where core module are migrated, and the problem of cannot migrating to O/S kernel module data is avoided.
Method specific embodiment one
Computer as shown in connection with fig. 1, the embodiment of the invention provides a kind of moving methods of internal storage data, such as Fig. 3 institute Show, for migrating internal storage data in computer, the migration that internal storage data is stored in the BIOS of the computer is instructed, for example, The internal storage data of source RAM card can be moved to archive memory card, the source RAM card can be RAM card 101-A, described standby Part RAM card can be RAM card 101-C, and the RAM card 101-C is already inserted into hardware slot before can be computer booting RAM card, be also possible to the RAM card temporarily increased newly, before carrying out internal storage data migration, the mark of the RAM card 101-C Knowledge is configured in ACPI list and the special initialization procedure that is finished before executing migration, the embodiment of the present invention The moving method of internal storage data may include:
S301: processor obtains the mark of specified archive memory card according to the instruction of BIOS and is configured to ACPI list In.
In computer booting starting, processor executes the instruction of the BIOS, can be presented BIOS's for user Initial menu, the mark for the archive memory card that user is specified by the initial menu configuration of BIOS, the processor can obtain The mark of the archive memory card of user configuration, and be recorded in ACPI list, so that subsequent can be arranged by reading the ACPI Table obtains the information of the archive memory card.Certainly, the processor can also exist the identification record of the archive memory card In other storage units or list, the mark of the archive memory card of the subsequent available record of processor, this Inventive embodiments are not limited thereto.
The mark of the archive memory card can be slot position number or the institute for the slot position that the archive memory card is inserted into State the relevant number of slot position.In embodiments of the present invention, the archive memory card can be before computer booting starting just Through in insertion slot position, being also possible to be inserted into slot position after computer booting starts, if the archive memory card is Through in insertion slot position, then the slot position for being identified as the slot position for working as secondary insertion of the archive memory card is numbered, if in the backup It deposits card to be also not inserted into slot position, then the mark of the archive memory card can be the slot position number for the slot position that user specifies, institute Stating archive memory card can be in the subsequent slot position for being inserted directly into the user and specifying.
Step 301 is optional step, and user is not necessarily to the archive memory card when computer booting starts Mark is supplied to processor, the mark of the archive memory card can also be supplied to processor after computer booting starting, The processor executes the instruction of OS at this time, and the mark of the archive memory card can be supplied to the processing by OS by user Device.
S302: the processor initializes the archive memory card according to the instruction of the BIOS, described initial Change process avoids as the archive memory card distribution system address.
After the processor obtains the mark for the archive memory card that user specifies, computer can be restarted, The instruction of the BIOS is executed to carry out special initialization to the archive memory card, i.e. initialization procedure avoids being described standby Part RAM card distribution system address, so that the archive memory card is ready, but it is invisible to OS.
Specifically, when computer is restarted, the processor will execute the initialization directive of BIOS, and the BIOS's is initial Changing instruction can make the processor determine whether the archive memory card is already inserted into slot position, if being already inserted into slot position, Determine that hardware exists the archive memory card, then can initialize the archive memory card.
Certainly, this step is optional step, in fact, the processor can not also restart computer in the backup Card is deposited to be initialized, but when subsequent need using the archive memory card, such as before migration, determine in the backup When depositing card and not completing initialization, then the archive memory card is initialized.
S303: the Memory Controller Hub of source RAM card is monitored the wrong data of the source RAM card, judges the mistake Accidentally whether data are more than threshold value, if the wrong data is more than threshold value, the Memory Controller Hub triggering first of the source RAM card Triggering command.
Due to may cause the RAM card and breaking down, or even drawing when the wrong data in RAM card is more than certain value It plays computer to restart, therefore, in computer booting starting, the processor can execute the instruction of the BIOS to the source The Memory Controller Hub of RAM card is configured, and allows the Memory Controller Hub of the source RAM card to the mistake of the source RAM card Accidentally data are monitored, and when the wrong data of the source RAM card is more than threshold value, trigger the first triggering command, and described the One triggering command is used to indicate processor and exits OS and execute the internal storage data migration instruction of BIOS, to start moving for internal storage data It moves, wherein the threshold value can be configured to the Memory Controller Hub of source RAM card by the processor when computer booting starts, So that the Memory Controller Hub of the source RAM card can count the wrong data in the source RAM card after starting up, it is right The source RAM card carries out real-time monitoring.
If the source RAM card in computer has multiple, the wrong data of each source RAM card can be monitored, When the wrong data for monitoring any one source RAM card is more than the threshold value, the first triggering command is triggered, is referred to Show that BIOS starting migrates the internal storage data of the RAM card.
The Memory Controller Hub of the source RAM card, which triggers the first triggering command, specifically can be triggering computer system Management interrupt SMI, after the processor receives the SMI interrupt of Memory Controller Hub triggering of the source RAM card, into Enter system administration (System Management, SM) mode, the processor will move out OS and execute the instruction of BIOS at this time.
In embodiments of the present invention, the source RAM card in computer can be monitored, the processor can be directed to Problematic source RAM card triggers the first triggering command, carries out the migration of internal storage data, can guarantee that failure solves in time, And internal storage data migration is only just carried out when source RAM card breaks down, saves system resource.
Further, the Memory Controller Hub of the source RAM card can record the source RAM card in the register of itself The quantity of wrong data is more than threshold value, so that subsequent instruction processor determines the RAM card i.e. source RAM card to go wrong.
S304: the processor obtains the first triggering command and exits operating system according to the first triggering command And execute the migration instruction of the internal storage data of BIOS.
After the processor receives the SMI interrupt, into System Management Mode, the processor exits OS at this time And the migration instruction of the internal storage data of BIOS is executed, the migration instruction of the internal storage data can make the processor execute step Rapid S305- step S312.
S305: the processor is instructed according to the migration of the internal storage data of the BIOS, inquires the interior of the source RAM card Memory controller determines the source RAM card.
Starting internal storage data migration after, the processor it needs to be determined that data to be migrated RAM card, i.e., in source Card is deposited, the processor can execute the migration instruction of the internal storage data of the BIOS, determine and trigger the first triggering command The corresponding RAM card of source Memory Controller Hub be source RAM card, for example, inquiring the deposit of the Memory Controller Hub in the computer Device, the information recorded in the register by the Memory Controller Hub of the source RAM card, determines the source RAM card.
Further, the processor can also remember the mark of the source RAM card after determining the source RAM card It records in the ACPI list, so that the subsequent information that can obtain the source RAM card by reading the ACPI list.
S306: the processor is instructed according to the migration of the internal storage data of the BIOS, inquires the ACPI list, is determined The mark of the archive memory card.
The processor can obtain the mark of the archive memory card of record, the archive memory from the ACPI list The mark of card may be one, it is also possible to which to be multiple, if it is the mark of multiple archive memory cards, the processor can To obtain the mark of multiple archive memory cards from the ACPI list, and according to the information of the source RAM card, from more A mark as the archive memory card is selected in the mark of a archive memory card, such as according to the source RAM card Memory size, memory size of the memory size greater than the source RAM card is selected from the multiple archive memory card RAM card determines mark of the mark of the RAM card as the archive memory card, in another example, it can be according to the source RAM card The information of the processor of ownership, from selected in the multiple archive memory card one with the source RAM card be not belonging to it is same from The RAM card for managing device control determines mark of the mark of the RAM card as the archive memory card.
S307: the processor is instructed according to the migration of the internal storage data of the BIOS, determines that the archive memory card is It is no to meet transition condition.
Before carrying out the migration of internal storage data of the source RAM card, the processor is it needs to be determined that the archive memory Whether card meets transition condition, if meeting transition condition, the migration of internal storage data is just carried out to the source RAM card, ensure that Internal storage data migration is gone on smoothly, and data are moved caused by avoiding due to the problems such as the archive memory card memory size is inadequate Move failure.
The processor determines whether the archive memory card meets transition condition specifically and may is that in the determining backup It deposits whether card is completed to initialize, if the archive memory card completes initialization, shows that the archive memory card is ready, it is full Sufficient transition condition;If the step S302 is not carried out before executing this step, i.e., if the archive memory card does not have Initialization is completed, the processor can execute the initialization directive of BISO at this moment, and it is special to carry out to the archive memory card Initialization meet transition condition so that the archive memory card is ready.
Further, determine whether the archive memory card meets transition condition and may also is that the determining archive memory card Memory size whether be greater than the memory size of the source RAM card, if it is greater than the memory size of the source RAM card, then table Bright that the internal storage data of the source RAM card can be moved to the archive memory card, the archive memory plate meets migration item Part;Alternatively,
Determine whether the source RAM card and the archive memory card belong to same processor control, if it is determined that do not belong to It is controlled in same processor, then shows that the internal storage data of the source RAM card archive memory card, institute can be moved to It states archive memory plate and meets transition condition.
S308: if the archive memory card meets transition condition, the processor is according to the internal storage data of the BIOS Migration instruction, indicate the source RAM card Memory Controller Hub execute memory inspection operation, in the determination source RAM card Non-erroneous data.
Before carrying out internal storage data migration, the processor can indicate that the Memory Controller Hub of the source RAM card executes Memory inspection operation with the non-erroneous data in the determination source RAM card, and stamps detection label according to testing result, so that When the subsequent internal storage data by the source RAM card moves to the archive memory card, it can be marked according to the error detection and only be migrated Non-erroneous data in the source RAM card avoid wrong data moving to computer caused by the archive memory card The problems such as restarting.
The Memory Controller Hub of the source RAM card can start memory inspection operation, institute according to the instruction of the processor Stating memory inspection operation specifically can be, and according to the error-detection mechanism of setting, detect to the internal storage data of the source RAM card, To judge which data is wrong data in the source RAM card, and the system address of the wrong data is marked, i.e., according to inspection It surveys result and stamps detection label, so that the processor can be according to the mistake of label when subsequent progress internal storage data migration The accidentally system address of data, migrates the non-erroneous data in the source RAM card.
The Memory Controller Hub of the source RAM card can match the register of itself after having executed inspection operation It sets, the processor can determine whether the inspection operation is completed, complete when the inspection operates by inquiring the register Later, the processor can execute step 309, i.e., set mirror image mould for the source RAM card and the archive memory card Formula, to carry out the migration of internal storage data.
This step is optional step, and the processor is not necessarily to indicate that the source Memory Controller Hub carries out memory inspection Operation.
S309: if the archive memory card meets transition condition, the processor is according to the internal storage data of the BIOS Migration instruction, set mirror image pattern for the source RAM card and the archive memory card.
In order to realize the migration of internal storage data, the processor can be set the source RAM card and the archive memory card It is set to mirror image pattern, after being provided with the mirror image pattern, the Memory control of the source RAM card can be according to the processing The archive memory card is written in the internal storage data of the source RAM card by the instruction of device.
Specifically, the processor, can be in the source when executing the migration of internal storage data of BIOS instruction The mark for configuring the archive memory card in the Memory Controller Hub of card is deposited, is configured in the Memory Controller Hub of the archive memory card The mark of the source RAM card, so that it is set as mirror image pattern between the source RAM card and the archive memory card, thus The source RAM card can send the internal storage data of the source RAM card in the backup according to the instruction of the processor The Memory Controller Hub of card is deposited, so that institute is written in the internal storage data of the source RAM card by the Memory Controller Hub of the archive memory card State archive memory card.
In addition, setting mirror image pattern for the source RAM card and the archive memory card can also include the processing The address configuration information of the Memory Controller Hub of the source RAM card is copied to the Memory Controller Hub of the archive memory card by device, is made The archive memory card is obtained according to the address distribution of the source RAM card, is the archive memory card distribution system address.
S310: the processor is instructed according to the migration of the internal storage data of the BIOS, indicates the interior of the source RAM card The migration of memory controller progress internal storage data.
The processor can refer to after configuring the mirror image pattern between the source RAM card and the archive memory card Show that the Memory Controller Hub of the source RAM card carries out the migration of internal storage data to the source RAM card.
Specifically, the processor can send data reading instructions, the number to the Memory Controller Hub of the source RAM card The internal storage data that the source RAM card is read according to the Memory Controller Hub that reading instruction is used to indicate the source RAM card, described in determination After the Memory Controller Hub of source RAM card completes the data reading instructions, the processor can be to the memory of the source RAM card Controller sends data writing instructions, and the data writing instructions are used to indicate the Memory Controller Hub of the source RAM card for the reading Data write back the source RAM card so that the Memory Controller Hub of the source RAM card can according to the data read refer to It enables, reads the internal storage data of the source RAM card, then further according to the data writing instructions, institute is written into the data of the reading Source RAM card is stated, and according to the mirror image pattern, the data of the reading are sent to the memory control of the archive memory card Device processed enables the Memory Controller Hub of the archive memory card that the archive memory card is written in the data of the reading, real Show the migration of internal storage data, all internal storage datas of the source RAM card can be moved to the archive memory card, without Only after the migration of migration starting internal storage data, the data in the source RAM card are newly written.
Due to during carrying out internal storage data migration, if the processor executes the instruction of BIOS always to carry out The migration of internal storage data will can not execute the instruction of OS in a longer period of time to carry out business processing, this will affect computer Normal operation cause other business processings to be in abort state for a long time, therefore the processor can be performed in multiple times memory The migration of data, for example, the processor can exit the BIOS, execute institute after completing an internal storage data migration The instruction of OS is stated, normal business processing is carried out, when carrying out internal storage data migration next time, then exits the OS, again The migration instruction of the internal storage data of the BIOS is executed, to continue the migration of internal storage data.It is this to be performed in multiple times memory The mode of the migration of data so that processor is alternately performed the instruction of OS and BIOS, and has been finally completed the migration of internal storage data, The long-time for avoiding system business is interrupted, and ensure that the normal operation of system.In embodiments of the present invention, above-mentioned in order to realize It is performed in multiple times the moving method of internal storage data, the migration of the internal storage data of the BIOS can be instructed and further be changed Into, for example, in advance the internal storage data of the BIOS migration instruction in configure the data volume migrated every time or migrate every time when Long, i.e. configuration gradation migration strategy can be by when so that the processor executing the migration instruction of the internal storage data of the BIOS According to the gradation migration strategy, indicate that the Memory Controller Hub of the source RAM card is performed in multiple times the migration of internal storage data, specifically Ground, the processor can indicate that the Memory Controller Hub of the source RAM card is performed in multiple times internal storage data by following steps Migration:
A) processor is determined according to each migration specified data amount works as time data volume of migration, described in instruction Time data volume of migration of working as is moved to the archive memory card by the Memory Controller Hub of source RAM card, alternatively, the processing Device determines that time duration of migration of working as is determined when the duration of secondary migration according to the duration migrated every time, indicates the source RAM card Memory Controller Hub described when the migration for carrying out internal storage data in time duration of migration, or the operation shape according to processor State, indicate that the Memory Controller Hub 102-A of the source RAM card is carried out within the period that the operating status of processor is idle in The migration of deposit data, wherein the operating status of the processor is that idle state can be the occupancy of processor less than setting threshold Value;
B) described in completing in the Memory Controller Hub for determining the source RAM card after secondary migration, the processor exits institute It states BIOS and executes the instruction of the OS;
C) processor receives the second triggering command, and second triggering command is used to indicate the processor return and holds The instruction of the row BIOS is to continue the migration of internal storage data
D) processor returns to step a) according to the instruction of the BIOS, until the memory of the source RAM card Data all move to the archive memory card.
It, can when the processor exits the BIOS and executes the instruction progress business processing of the OS in step b) The source memory board can be written and read, even if the OS is using the processor to having migrated in the source RAM card Data block A carry out data write operation, due to be provided with mirror image pattern, the Memory Controller Hub of the source RAM card also can be by institute The data block A of the archive memory card is written in the data for stating write operation, avoids the loss of data, ensure that the archive memory The consistency of card and the source RAM card data.
In addition, user can also configure the trigger condition of second triggering command, institute in the gradation migration strategy The trigger condition for stating the second triggering command can be the interval duration migrated every time, then processor can be from the migration strategy The interval duration migrated every time is obtained, and internal memory migration timer is configured according to the interval duration migrated every time, with So that the internal memory migration timer triggers second triggering command according to the interval duration migrated every time, i.e., according to institute It states the interval duration migrated every time and indicates that the processor continues the migration of internal storage data, for example, the processor can be with The internal memory migration timer is set in the south bridge of computer;
The trigger condition of second triggering command can also be the operating status of processor, and the processor can basis The operating status of itself triggers second triggering command, is in for example, the operating status of the processor can be processor The occupancy of idle state or processor is less than specific threshold, and the processor can be real when executing the instruction of the OS When monitor self-operating information, when the occupancy of processor be less than setting specific threshold when, trigger it is described second migration instruction, So that the second migration instruction that the processor is triggered according to itself, exits the instruction that the OS executes the BIOS, after The continuous migration for carrying out internal storage data, certainly, the processor can also utilize mainboard control unit (Base Mainboard Controller, BMC) to itself being that operating status is monitored and triggers second triggering command, the embodiment of the present invention exists This is not construed as limiting.
Further, the processor is when the Memory Controller Hub for indicating the source RAM card carries out the migration of internal storage data, The address for the wrong data that can be recorded according to the Memory Controller Hub of the source RAM card, indicates the interior of the source RAM card For memory controller by the non-erroneous Data Migration in the source RAM card to the archive memory card, avoiding will be in the source RAM card The wrong data computer that moves to the archive memory card and may cause restart.
S311: the processor is instructed according to the migration of the internal storage data of the BIOS, by the system of the source RAM card The target memory card that address is directed toward is changed to the archive memory card.
After internal storage data migration is completed, the processor can be by the system address map of source RAM card to described standby Part RAM card, so that the target memory card that the system address of the source RAM card is directed toward is changed to the archive memory card, it is described Archive memory card can substitute the source RAM card, take over all read-write operations to the source RAM card.
S312: the processor is instructed according to the migration of the internal storage data of the BIOS, under executing to the source RAM card It is electrically operated.
After the internal storage data migration of the source RAM card is completed, the processor can be executed the source RAM card Under it is electrically operated so that can remove or replace the source RAM card in the case where computer lower electricity, solve existing Have and is needed in technology to the problem of electricity just can be carried out the replacement or maintenance of failure memory card under entire computer.
In embodiments of the present invention, the available first triggering command of the processor, according to the first triggering command, It exits OS and executes the migration instruction of the internal storage data of BIOS, the migration of the internal storage data of the BIOS instructs so that the processing Device can determine the source RAM card and the archive memory card, and after determining that the archive memory card meets transition condition, Set mirror image pattern for the source RAM card and the archive memory card, indicate the Memory Controller Hub of the source RAM card according to The archive memory card is written in the internal storage data of the source RAM card by the mirror image pattern, thus in the not lower electricity of computer In the case of, the internal storage data of the source RAM card can be migrated, realize the on-line maintenance to failure memory card, solved It is needed in the prior art to the problem of electricity just can be carried out the replacement or maintenance of failure memory card under entire computer.Also, institute Processor is stated according to the first triggering command of triggering, starts the migration of internal storage data, only breaks down or needs in source RAM card It carries out just carrying out internal storage data migration when internal storage data migration, is effectively saved system resource.Further, since the processor is The migration of internal storage data is completed in the instruction for executing BIOS, be can be realized and is moved to the data of the RAM card where O/S kernel module It moves, avoids the problem of cannot migrating to O/S kernel module data.
In embodiments of the present invention, the processor can also be by all Data Migrations of the source RAM card to described standby Part RAM card, rather than only migrate after starting internal memory migration, the internal storage data of the source RAM card is newly written, ensure that interior The complete migration of deposit data.Further, the processor can also indicate the interior of the source RAM card according to gradation migration strategy The internal storage data of the source RAM card is moved to the archive memory card several times by memory controller, so that carrying out internal storage data During migration, the processor can exit the migration instruction that OS executes the internal storage data of BIOS according to demand, or move back The instruction that BIOS executes OS out carries out business processing, to guarantee that the business of the computer can be handled in time, avoid into The long-time of caused computer business is interrupted when row a large amount of internal storage datas migration, has ensured the normal operation of the computer.Into One step, the processor can also indicate that the Memory Controller Hub of the source RAM card determines the non-erroneous number in the source RAM card According to, and indicate the Memory Controller Hub of the source RAM card by the non-erroneous Data Migration to the archive memory card, avoid by The computer that wrong data in the source RAM card moves to the archive memory card and may cause is restarted.
Further, in embodiments of the present invention, before carrying out internal storage data migration, the processor can also determine institute It states whether archive memory card meets transition condition, if meeting transition condition, internal storage data just is carried out to the source RAM card Migration ensure that going on smoothly for internal storage data migration, avoid not completing initialization or memory due to the archive memory card Data Migration fails caused by the problems such as capacity is inadequate.
Specific embodiment two
Computer as shown in connection with fig. 1, the embodiment of the invention provides a kind of moving methods of internal storage data, such as Fig. 3 institute Show, for migrating internal storage data in computer, the migration that internal storage data is stored in the BIOS of the computer is instructed, for example, The internal storage data of source RAM card can be moved to archive memory card, the source RAM card can be RAM card 101-A, described standby Part RAM card can be RAM card 101-C, and the RAM card 101-C is already inserted into hardware slot before can be computer booting RAM card, be also possible to the RAM card temporarily increased newly, before carrying out internal storage data migration, the mark of the RAM card 101-C Knowledge is configured in ACPI list and the initialization procedure that is finished before executing migration, the memory of the embodiment of the present invention The moving method of data may include:
S401: the mark of specified archive memory card is configured in ACPI list by processor according to the instruction of OS.
After computer booting starting, the processor executes the instruction of the OS, and user can mention to the OS For specifying the mark of archive memory card, the processor can obtain the archive memory card that user specifies according to the instruction of the OS Mark, and be configured in the ACPI list, since the ACPI list is the list that BIOS and OS can be accessed so that When the code of BIOS described in the processor subsequent execution archive memory card can be obtained by reading the ACPI list Information, the mark of certain archive memory card also can recorde in other storage units or list, described in guarantee Processor can access the storage unit or list in the instruction of the instruction and the BIOS that execute the OS, this Inventive embodiments are not limited thereto.
This step is optional step, and user can also specify the mark of archive memory card when computer booting starts, this Shi Suoshu processor runs the instruction of the BIOS, and user can provide the mark of the archive memory card, institute to the BIOS The mark for the backup units that user specifies can be obtained according to the instruction of the BIOS by stating processor.
Wherein, the mark of the backup units can be the slot position that the archive memory card is inserted into slot position number or The relevant number of the slot position.In embodiments of the present invention, the archive memory card can be before computer booting starting just It is already inserted into slot position, is also possible to be inserted into slot position after computer booting starts, if the archive memory card It is already inserted into slot position, then the slot position number of the archive memory card being identified as when time slot position of insertion, if the backup RAM card is also not inserted into slot position, then the mark of the archive memory card can be the slot position number for the slot position that user specifies, The archive memory card can be in the subsequent slot position for being inserted directly into the user and specifying.
Further, the processor can also initialize the archive memory card according to the instruction of the BIOS, So that the archive memory card is ready, can be used normally, but it is invisible to the OS, i.e., and the described processor executes institute The archive memory card cannot be written and read when stating the instruction of OS, specifically, when the specified archive memory card is It is inserted into slot position after computer booting starting, then it can be at the archive memory card insertion slot position, by described Trigger button on archive memory card, the initialization directive that triggering processor executes the BIOS carry out the archive memory card Initialization, it is of course also possible to which the processor executes the BIOS's again when subsequent need using the archive memory card Initialization directive initializes the archive memory card;When the specified archive memory card is started in computer booting Preceding to be just already inserted into slot position, then when computer booting starts, the processor executes the instruction of BIOS, and user needs to pass through The initial menu of BIOS configures the mark of the archive memory card, so that the processor executes the instruction of the BISO, true The fixed archive memory card carries out special initialization to the archive memory card in the presence of hardware.
S402: the mark of specified source RAM card is configured to ACPI list according to the instruction of the OS by the processor In.
After computer booting starting, when the processor executes the instruction of the OS, when user has found in some It deposits when card performance is unstable or the working time is too long or the case where other are needed replacing, it is possible to specify the RAM card is wait move The RAM card of data, i.e. source RAM card are moved, and the mark of the source RAM card is supplied to the OS, the processor can root The mark for the source RAM card that user specifies is obtained according to the instruction of the OS, and the mark of the source RAM card is configured to ACPI column In table, so that when the subsequent processor executes the migration instruction of the internal storage data of the BIOS, it can be by described in reading ACPI list obtains the information of the source RAM card.
In embodiments of the present invention, user can respectively provide the mark of the source RAM card and the archive memory card To the OS, the mark of the source RAM card and the archive memory card can also be supplied to the OS together, so that described The mark of the source RAM card and the archive memory card can be configured in the ACPI list by processor respectively, such as logical It crosses step 401 and 402 mark of the source RAM card and the archive memory card is configured in the ACPI list, it can also be with The source RAM card is configured in the ACPI list together with the mark of the archive memory card, the embodiment of the present invention is herein It is not construed as limiting.
S403: the processor is according to the instruction triggers first triggering command of the OS.
When the instruction that the processor executes OS carries out business processing, if user has the migration demand of internal storage data, The migration instruction of internal storage data, i.e. enabled instruction can be sent to OS, the OS refers to according to the migration that user sends internal storage data Show, instruction processing unit generates the first triggering command, and the processor generates first triggering according to the instruction of the OS Instruction, the first triggering command are used to indicate the processor and exit OS and execute the migration instruction of the internal storage data of BIOS.
Wherein, the first triggering command specifically can be SMI, for example, the processor can be according to the finger of the OS It enables, changes the pin level of GPIO, so that the South Bridge chip (South Bridge) of the computer triggers the SMI, the place Reason device can receive the SMI;In another example the processor can be according to the instruction of the OS, in the south bridge in computer Register configured so that the south bridge of the computer triggers the SMI, the processor can receive the SMI;At this In inventive embodiments, the processor can also trigger the first triggering command, the embodiment of the present invention by another way It is not limited thereto.
S404: the processor exits operating system and executes the internal storage data of BIOS according to the first triggering command Migration instruction.
After the processor receives the SMI interrupt, into System Management Mode, the processor exits OS at this time And the migration instruction of the internal storage data of BIOS is executed, the migration instruction of the internal storage data can make the processor execute step Rapid S405- step S411.
S405: the processor inquires the ACPI list, determines the source RAM card and the archive memory card.
Since the processor has recorded the source RAM card and the archive memory card in the ACPI list in advance Mark, therefore the processor can inquire it is described state in ACPI list, obtain the source RAM card of record and described standby The mark of part RAM card determines the source RAM card and described according to the mark of the source RAM card and the archive memory card Archive memory card.
When the archive memory card has multiple, then the processor can obtain multiple described from the ACPI list The mark of archive memory card, and according to the information of the source RAM card, one is selected from the mark of multiple archive memory cards A mark as the archive memory card, such as according to the memory size of the source RAM card, from the multiple archive memory RAM card of the memory size greater than the memory size of the source RAM card is selected in card, determines the mark conduct of the RAM card The mark of the archive memory card, in another example, the information for the processor that can be belonged to according to the source RAM card, from the multiple The RAM card for being not belonging to same processor control with the source RAM card is selected in archive memory card, determines the RAM card Mark of the mark as the archive memory card.
S406: the processor determines whether the archive memory card meets transition condition.
S407: if the archive memory card meets transition condition, the processor indicates the memory of the source RAM card Controller executes memory inspection operation, with the non-erroneous data in the determination source RAM card.
S408: if the archive memory card meets transition condition, the processor is by the source RAM card and described standby Part RAM card is set as mirror image pattern.
S409: the processor indicates that the Memory Controller Hub of the source RAM card carries out the migration of internal storage data.
S410: the processor establishes the system address of the source RAM card and the mapping relations of the archive memory card.
S411: the processor is electrically operated under executing to the source RAM card.
In embodiments of the present invention, the specific embodiment of step S406-S411 is similar with step S307-S312, herein It repeats no more.
After the internal storage data migration of the source RAM card is completed, the processor can be executed the source RAM card Under it is electrically operated so that can remove or replace the source RAM card in the case where computer lower electricity, solve existing Have and is needed in technology to the problem of electricity just can be carried out the replacement or maintenance of failure memory card under entire computer.
In embodiments of the present invention, the available first triggering command of the processor, according to the first triggering command, It exits OS and executes the migration instruction of the internal storage data of BIOS, the migration of the internal storage data of the BIOS instructs so that the processing Device can determine the source RAM card and the archive memory card, and after determining that the archive memory card meets transition condition, Set mirror image pattern for the source RAM card and the archive memory card, indicate the Memory Controller Hub of the source RAM card according to The archive memory card is written in the internal storage data of the source RAM card by the mirror image pattern, thus in the not lower electricity of computer In the case of, the internal storage data of the source RAM card can be migrated, realize the on-line maintenance to failure memory card, solved It is needed in the prior art to the problem of electricity just can be carried out the replacement or maintenance of failure memory card under entire computer.Also, institute Processor is stated according to the first triggering command of triggering, starts the migration of internal storage data, only breaks down or needs in source RAM card It carries out just carrying out internal storage data migration when internal storage data migration, is effectively saved system resource.Further, since the processor is The migration of internal storage data is completed in the instruction for executing BIOS, be can be realized and is moved to the data of the RAM card where O/S kernel module It moves, avoids the problem of cannot migrating to O/S kernel module data.
In embodiments of the present invention, the processor can also be by all Data Migrations of the source RAM card to described standby Part RAM card, rather than only migrate after starting internal memory migration, the internal storage data of the source RAM card is newly written, ensure that interior The complete migration of deposit data.Further, the processor can also indicate the interior of the source RAM card according to gradation migration strategy The internal storage data of the source RAM card is moved to the archive memory card several times by memory controller, so that carrying out internal storage data During migration, the processor can exit the migration instruction that OS executes the internal storage data of BIOS according to demand, or move back The instruction that BIOS executes OS out carries out business processing, to guarantee that the business of the computer can be handled in time, avoid into The long-time of caused computer business is interrupted when row a large amount of internal storage datas migration, has ensured the normal operation of the computer.Into One step, the processor can also indicate that the Memory Controller Hub of the source RAM card determines the non-erroneous number in the source RAM card According to, and indicate the Memory Controller Hub of the source RAM card by the non-erroneous Data Migration to the archive memory card, avoid by The computer that wrong data in the source RAM card moves to the archive memory card and may cause is restarted.
Further, in embodiments of the present invention, before carrying out internal storage data migration, the processor can also determine institute It states whether archive memory card meets transition condition, if meeting transition condition, internal storage data just is carried out to the source RAM card Migration ensure that going on smoothly for internal storage data migration, avoid not completing initialization or memory due to the archive memory card Data Migration fails caused by the problems such as capacity is inadequate.
The embodiment of the invention provides a kind of basic input output systems, as shown in figure 5, the basic input output system Including computer executed instructions 501, the basic input output system can be a processing chip, when the processor of computer When executing the computer executed instructions 501, the computer executes following method:
Determine the source RAM card of internal storage data to be migrated;
Archive memory card is determined for the source RAM card;
Indicate that the Memory Controller Hub of the source RAM card carries out the migration of internal storage data, so that the source RAM card is interior The internal storage data of the source RAM card is moved to the archive memory card according to the instruction of the processor by memory controller.
Further, the computer can also execute following method according to the computer executed instructions 501:
Mirror image pattern is set by the source RAM card and the archive memory card;
The processor indicates that the Memory Controller Hub of the source RAM card carries out the migration of internal storage data, so that the source The Memory Controller Hub of RAM card reads the internal storage data of the source RAM card according to the instruction of the processor, by read institute The internal storage data for stating source RAM card is written to the archive memory card, comprising:
The processor sends data reading instructions to the Memory Controller Hub of the source RAM card, and the data reading instructions are used for Indicate that the Memory Controller Hub of the source RAM card reads the internal storage data of the source RAM card;
The processor sends data writing instructions to the Memory Controller Hub of the source RAM card, and the data writing instructions are used for Indicate that the data of the reading are write back the source RAM card by the Memory Controller Hub of the source RAM card, so that the source memory The Memory Controller Hub of card reads the internal storage data of the source RAM card according to the data reading instructions of the processor, receives described After data writing instructions, according to the mirror image pattern between the source RAM card and the archive memory card, by the read source The internal storage data of RAM card is sent to the Memory Controller Hub of the archive memory card.
Further, the computer can also execute following method according to the computer executed instructions 501:
The computer obtains gradation migration strategy;
The computer indicates that the Memory Controller Hub of the source RAM card is performed in multiple times according to the gradation migration strategy The migration of internal storage data.Further, the computer indicates the memory control of the source RAM card according to the gradation migration strategy The migration that device processed is performed in multiple times internal storage data may include:
The computer determines the data volume when secondary migration, indicates that the Memory Controller Hub of the source RAM card will be described when secondary The data volume of migration moves to the archive memory card, alternatively, the computer is determined when time duration of migration, indicates the source The Memory Controller Hub of RAM card is described when the migration for carrying out internal storage data in time duration of migration;
Described in completing in the Memory Controller Hub for determining the source RAM card after secondary migration, the computer exits described Basic input output system and the instruction for executing operating system.
Further, the computer can also execute following method according to the computer executed instructions 501:
The computer determines whether the archive memory card meets transition condition, if meeting the transition condition, holds The step of Memory Controller Hub of the row instruction source RAM card carries out the migration of internal storage data;Wherein, the transition condition Including but not limited to one of the following conditions or any combination: the archive memory card completes the memory of initialization, the backup plate Capacity is greater than or equal to the memory size of the source RAM card.
In addition, the computer can not also be completed according to the computer executed instructions 501 in the archive memory card When initialization, the archive memory card is initialized, wherein the initialization, which avoids distributing for the archive memory card, is System address.
Further, when the processor of computer executes the computer executed instructions 501, institute is indicated in the computer Before the migration of Memory Controller Hub progress internal storage data for stating source RAM card, following method is can also be performed in the computer:
The computer indicates that the Memory Controller Hub of the source RAM card detects the non-erroneous data in the source RAM card And it is marked;
Then, the computer is instructed according to the migration of the internal storage data of the basic input output system, indicates the source The Memory Controller Hub of RAM card migrates the non-erroneous data according to the label.
Further, the computer can also determine the source RAM card according to the computer executed instructions 501 After internal storage data all moves to the archive memory card, by the target memory card of the system address direction of the source RAM card It is changed to the archive memory card.
In embodiments of the present invention, the basic input output system includes computer executed instructions 501, so that computer When executing the computer executed instructions 501, it can determine the source RAM card of internal storage data to be migrated, be that the source RAM card is true Determine archive memory card, sets mirror image pattern for the source RAM card and the archive memory card, indicate the source RAM card The archive memory card is written according to the mirror image pattern, by the internal storage data of the source RAM card in Memory Controller Hub, thus In the case where the not lower electricity of computer, the internal storage data of the source RAM card can be migrated, be realized to failure memory card On-line maintenance, solve and need just to can be carried out the replacement or maintenance of failure memory card to electricity under entire computer in the prior art The problem of.Further, since the processor of the computer is the completion internal storage data of computer executed instructions 501 for executing BIOS Migration, can be realized and migrate to the data of the RAM card where O/S kernel module, avoiding cannot be to O/S kernel number of modules The problem of according to being migrated.
In embodiments of the present invention, can also by all Data Migrations of the source RAM card to the archive memory card, Rather than only migrate after starting internal memory migration, the internal storage data of the source RAM card is newly written, ensure that internal storage data Complete migration.It further, can also be according to by several times when the processor of the computer executes the computer executed instructions 501 It is described to indicate that the Memory Controller Hub of the source RAM card several times moves to the internal storage data of the source RAM card for migration strategy Archive memory card, so that the processor can exit OS execution according to demand during carrying out internal storage data migration The computer executed instructions 501 of BIOS, or the instruction progress business processing that BIOS executes OS is exited, to guarantee the calculating The business of machine can be handled in time, be avoided when carrying out the migration of a large amount of internal storage datas in the long-time of caused computer business It is disconnected, ensure the normal operation of the computer.Further, the processor can also indicate the Memory control of the source RAM card Device determines the non-erroneous data in the source RAM card, and indicates the Memory Controller Hub of the source RAM card by the non-erroneous number According to the archive memory card is moved to, avoid moving to the wrong data in the source RAM card into the archive memory card and can Computer caused by energy is restarted.
Further, in embodiments of the present invention, before carrying out internal storage data migration, the processor executes the calculating When machine executes instruction 501, it can also determine whether the archive memory card meets transition condition, if meeting transition condition, The migration that internal storage data is carried out to the source RAM card ensure that going on smoothly for internal storage data migration, avoid due to described standby Data Migration fails caused by part RAM card does not complete the problems such as initialization or inadequate memory size.
The possibility implementation of each aspect of the present invention or various aspects can use the form of computer program product, Computer program product refers to the computer readable program code of storage in computer-readable medium.
Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer can Read storage medium including but not limited to electronics, magnetism, optics, electromagnetism, infrared or semiconductor system, equipment perhaps device or It is above-mentioned any appropriately combined, such as random access memory (RAM), read-only memory (ROM), the read-only storage of erasable programmable Device (EPROM or flash memory), optical fiber, portable read-only memory (CD-ROM).
Processor in computer reads the computer readable program code of storage in computer-readable medium, so that place Reason device is able to carry out function action specified in the combination of each step or each step in flow charts;It generates and implements in block diagram Each piece or each piece of combination specified in function action device.
Computer readable program code can execute on the user's computer completely, part is held on the user's computer Row, as individual software package, part on the user's computer and part on the remote computer, or completely long-range It is executed on computer or server.It is also noted that in some alternative embodiments, each step or frame in flow charts Each piece of function of indicating may not be occurred by the sequence indicated in figure in figure.For example, depending on related function, show in succession Two steps or two blocks out may be actually executed substantially concurrently or these blocks sometimes may be by with opposite suitable Sequence executes.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (35)

1. a kind of computer, comprising:
Processor;
Basic input output system;
Main memory, for loading the finger of the instruction of the basic input output system and the operating system of the computer It enables, the main memory includes one or more RAM cards;
Memory Controller Hub, each RAM card are configured with corresponding Memory Controller Hub;
It is characterized in that,
The processor is used to execute the instruction of the operating system, and receives first when executing the instruction of the operating system Triggering command executes the migration instruction of the internal storage data of the basic input output system, institute according to the first triggering command It states processor to be operated as follows according to the migration instruction execution of the internal storage data of the basic input output system: determine in be migrated The source RAM card of deposit data;Archive memory card is determined for the source RAM card;Indicate the Memory Controller Hub of the source RAM card into The migration of row internal storage data;The processor is also used to obtain gradation migration strategy, according to the gradation migration strategy, indicates institute The Memory Controller Hub for stating source RAM card is performed in multiple times the migration of internal storage data;
The Memory Controller Hub of the source RAM card is used to receive the instruction of the processor, according to the instruction of the processor by institute The internal storage data for stating source RAM card moves to the archive memory card.
2. computer as described in claim 1, which is characterized in that the processor is specifically used for the source RAM card and institute It states archive memory card and is set as mirror image pattern, the Memory Controller Hub of the source Xiang Suoshu RAM card sends data reading instructions, the data The Memory Controller Hub that reading instruction is used to indicate the source RAM card reads the internal storage data of the source RAM card, and to the source The Memory Controller Hub of RAM card sends data writing instructions, and the data writing instructions are used to indicate the Memory control of the source RAM card The data of the reading are write back the source RAM card by device;
The Memory Controller Hub of the source RAM card is specifically used for reading the source memory according to the data reading instructions of the processor The internal storage data of card receives the data writing instructions that the processor is sent, according in the source RAM card and the backup The mirror image pattern between card is deposited, the internal storage data of the read source RAM card is sent to the memory of the archive memory card Controller;
The Memory Controller Hub of the archive memory card is used to for the internal storage data of the source RAM card received being written to described Archive memory card.
3. computer as described in claim 1, which is characterized in that the processor is specifically used for migrating plan according to the gradation Slightly perform the following operations a)-d), until the internal storage data of the source RAM card is all moved into the archive memory card, it is described Operate a)-d) include:
A) determine the Memory Controller Hub for indicating the source RAM card when time data volume of migration by described when time data volume of migration The archive memory card is moved to, alternatively, determining when time duration of migration, indicates the Memory Controller Hub of the source RAM card in institute It states when the migration for carrying out internal storage data in time duration of migration;
B) described in completing in the Memory Controller Hub for determining the source RAM card after secondary migration, the basic input and output are exited System and the instruction for executing the operating system;
C) the second triggering command is received, second triggering command is used to indicate the processor and returns to the execution basic input The migration of the internal storage data of output system instructs;
D) it is instructed, is returned to step a) according to the migration of the internal storage data of the basic input output system.
4. computer as claimed in claim 3, which is characterized in that the gradation migration strategy includes the specified number of each migration According to the duration measured or migrated every time;
Then the processor determines described when time data volume of migration according to each migration specified data amount, or according to every The duration of secondary migration determines described when time duration of migration.
5. computer according to claim 4, which is characterized in that the gradation migration strategy further includes between migrating every time Every duration or the operating status of central processing unit, second triggering command is according to the interval duration migrated every time or center The operating status of processor is triggered.
6. -2 described in any item computers according to claim 1, which is characterized in that the Memory Controller Hub of the source RAM card is also It is monitored for the wrong data to the source RAM card, if the quantity of the wrong data is more than threshold value, triggers described the One triggering command;
The processor is specifically used for receiving the first triggering command of the Memory Controller Hub triggering of the source RAM card.
7. computer according to claim 6, which is characterized in that
The Memory Controller Hub of the source RAM card is also used to record the wrong data of the source RAM card in the register of itself Quantity be more than threshold value;
The processor is specifically used for inquiring the register of the Memory Controller Hub of the source RAM card, determines the source RAM card.
8. -2 described in any item computers according to claim 1, which is characterized in that the operating system is also used to configure memory The starting strategy of the migration of data, or receive the enabled instruction of the migration for the internal storage data that user sends, the operating system Indicate that the processor generates the first triggering command according to the starting strategy or enabled instruction.
9. computer according to claim 8, which is characterized in that the starting is tactful or enabled instruction further includes described The mark of source RAM card;
The operating system is also used to indicate the processor by the identification record of the source RAM card to memory module;
The processor is specifically used for being instructed according to the migration of the internal storage data of the basic input output system, deposits described in inquiry Module is stored up, determines the mark of the source RAM card.
10. computer according to claim 9, which is characterized in that the processor is also used to according to the operating system Or the instruction of the basic input output system, it is pre-configured with the mark of the archive memory card in a storage module;
After the processor executes the migration instruction of the internal storage data of the basic input output system, the processing utensil Body determines the mark of the preconfigured archive memory card for inquiring the memory module.
11. -2 described in any item computers according to claim 1, which is characterized in that the processor is specifically used for determining institute It states whether archive memory card meets transition condition, if meeting the transition condition, executes the instruction source RAM card Memory Controller Hub carries out the operation of the migration of internal storage data;
The transition condition includes one of the following conditions or any combination: the archive memory card completes initialization, the backup The memory size of RAM card is greater than or equal to the memory size of the source RAM card.
12. computer according to claim 11, which is characterized in that the processor is also used in the archive memory card The archive memory card is initialized when not completing initialization, wherein the initialization avoids as the archive memory card Distribution system address.
13. -2 described in any item computers according to claim 1, which is characterized in that the processor is also used to indicate described The Memory Controller Hub of source RAM card detects the non-erroneous data in the source RAM card;
The Memory Controller Hub of the source RAM card is also used to be indicated according to the detection of the processor, determine in the source RAM card Non-erroneous data, and according to testing result stamp detection label;
The processor is specifically used for being instructed according to the migration of the internal storage data of the basic input output system, indicates the source The Memory Controller Hub of RAM card migrates the non-erroneous data according to detection label.
14. -2 described in any item computers according to claim 1, which is characterized in that the processor is also used to determining State source RAM card internal storage data all move to the archive memory card after, the system address of the source RAM card is directed toward Target memory card be changed to the archive memory card.
15. a kind of moving method of internal storage data, which is characterized in that for migrating the internal storage data in computer, the method Include:
The processor of the computer receives first triggering command when executing the instruction of operating system;
The processor executes the migration instruction of the internal storage data of basic input output system according to the first triggering command;
The processor operates as follows according to the migration instruction execution of the internal storage data of the basic input output system:
Determine the source RAM card of internal storage data to be migrated;
Archive memory card is determined for the source RAM card;
The processor obtains gradation migration strategy and indicates the memory control of the source RAM card according to the gradation migration strategy Device processed is performed in multiple times the migration of internal storage data;
Indicate that the Memory Controller Hub of the source RAM card carries out the migration of internal storage data, so that the memory control of the source RAM card The internal storage data of the source RAM card is moved to the archive memory card according to the instruction of the processor by device processed.
16. according to the method for claim 15, which is characterized in that the method also includes:
The source RAM card and the archive memory card are set mirror image pattern by the processor;
The processor indicates that the Memory Controller Hub of the source RAM card carries out the migration of internal storage data, so that the source memory The Memory Controller Hub of card reads the internal storage data of the source RAM card according to the instruction of the processor, by the read source The internal storage data of RAM card is written to the archive memory card, comprising:
The processor sends data reading instructions to the Memory Controller Hub of the source RAM card, and the data reading instructions are used to indicate The Memory Controller Hub of the source RAM card reads the internal storage data of the source RAM card;
The Memory Controller Hub of the source RAM card reads the memory of the source RAM card according to the data reading instructions of the processor Data;
The processor sends data writing instructions to the Memory Controller Hub of the source RAM card, and the data writing instructions are used to indicate The data of the reading are write back the source RAM card by the Memory Controller Hub of the source RAM card;
The Memory Controller Hub of the source RAM card receives the data writing instructions that the processor is sent, according to the source memory Mirror image pattern between card and the archive memory card, the internal storage data of the read source RAM card is sent to described standby The Memory Controller Hub of part RAM card, so that the Memory Controller Hub of the archive memory card is by the source RAM card received Internal storage data is written to the archive memory card.
17. according to the method for claim 15, which is characterized in that
The processor indicates that the Memory Controller Hub of the source RAM card is performed in multiple times memory according to the gradation migration strategy The migration of data, comprising:
A) processor is determining when time data volume of migration, indicates that the Memory Controller Hub of the source RAM card is moved described when secondary The data volume of shifting moves to the archive memory card, alternatively, the processor is determined when time duration of migration, indicates in the source The Memory Controller Hub of card is deposited in the migration when progress internal storage data in time duration of migration;
B) described in completing in the Memory Controller Hub for determining the source RAM card after secondary migration, the processor exits the base This input-output system and the instruction for executing operating system;
C) processor receives the second triggering command, and second triggering command is used to indicate the processor and returns to execution institute State the migration instruction of the internal storage data of basic input output system;
D) processor is instructed according to the migration of the internal storage data of the basic input output system, is returned to step a), Until the internal storage data of the source RAM card all moves to the archive memory card.
18. according to the method for claim 17, the gradation migration strategy includes every time migration specified data amount or every The duration of secondary migration;
Then the processor determines described when time data volume of migration according to each migration specified data amount, or according to every The duration of secondary migration determines described when time duration of migration.
19. according to the method for claim 18, which is characterized in that the gradation migration strategy further includes between migrating every time Every duration or the operating status of central processing unit, second triggering command is according to the interval duration migrated every time or center The operating status of processor is triggered.
20. the described in any item methods of 5-16 according to claim 1, which is characterized in that further include:
The Memory Controller Hub of the source RAM card is monitored the wrong data of the source RAM card, if the wrong data Quantity is more than threshold value, and the Memory Controller Hub of the source RAM card triggers the first triggering command;
Then, the processor receives the first triggering command of the Memory Controller Hub triggering of the source RAM card.
21. according to the method for claim 20, which is characterized in that further include:
The Memory Controller Hub of the source RAM card records the quantity of the wrong data of the source RAM card in the register of itself More than threshold value;
The processor determines that the source RAM card includes:
The processor inquires the register of the Memory Controller Hub of the source RAM card, determines the source RAM card.
22. the described in any item methods of 5-16 according to claim 1, which is characterized in that held in the processor of the computer When the instruction of row operating system, the method also includes:
The operating system is opened according to what the starting strategy of the migration of preset internal storage data or the internal storage data of user migrated Dynamic instruction indicates that the processor generates the first triggering command;
Then, the processor receives the first triggering command of itself generation.
23. according to the method for claim 22, which is characterized in that the starting is tactful or enabled instruction further includes described The mark of source RAM card;
The method also includes: memory module is written in the mark of the source RAM card by the processor;
The processor determines that the source RAM card includes:
The processor is instructed according to the migration of the internal storage data of the basic input output system, inquires the memory module, Determine the source RAM card.
24. according to the method for claim 23, which is characterized in that further include:
The processor is pre-configured with the mark of the archive memory card in a storage module;
The processor determines that the archive memory card includes:
The processor is instructed according to the migration of the internal storage data of the basic input output system, inquires the memory module, Determine the mark of the preconfigured archive memory card.
25. the described in any item methods of 5-16 according to claim 1, which is characterized in that the processor indicates the source memory The Memory Controller Hub of card carries out before the migration of internal storage data, further includes:
The processor determines whether the archive memory card meets transition condition, if meeting the transition condition, executes institute It states and indicates the step of Memory Controller Hub of the source RAM card carries out the migration of internal storage data;
The transition condition includes one of the following conditions or any combination: the archive memory card completes initialization, the backup The memory size of RAM card is greater than or equal to the memory size of the source RAM card.
26. according to the method for claim 25, which is characterized in that the method also includes:
The processor initializes the archive memory card when the archive memory card does not complete initialization, wherein The initialization avoids as the archive memory card distribution system address.
27. the described in any item methods of 5-16 according to claim 1, which is characterized in that indicated in the source in the processor Before the migration of Memory Controller Hub progress internal storage data for depositing card, further includes:
The non-erroneous data that the processor indicates that the Memory Controller Hub of the source RAM card detects in the source RAM card are gone forward side by side Line flag;
Then, the processor indicates that the Memory Controller Hub of the source RAM card carries out the non-erroneous data according to the label Migration.
28. the described in any item methods of 5-16 according to claim 1, which is characterized in that the method also includes:
The processor, will be described after the internal storage data for determining the source RAM card all moves to the archive memory card The target memory card that the system address of source RAM card is directed toward is changed to the archive memory card.
29. a kind of basic input output system, which is characterized in that including computer executed instructions, when the processor of computer is held When the row computer executed instructions, the processor executes following method:
Determine the source RAM card of internal storage data to be migrated;
Archive memory card is determined for the source RAM card;
Obtain gradation migration strategy;
According to the gradation migration strategy, indicate that the Memory Controller Hub of the source RAM card is performed in multiple times moving for internal storage data It moves;Indicate that the Memory Controller Hub of the source RAM card carries out the migration of internal storage data, so that the memory control of the source RAM card The internal storage data of the source RAM card is moved to the archive memory card according to the instruction of the processor by device processed.
30. basic input output system according to claim 29, which is characterized in that the processor is also according to the meter Calculation machine, which executes instruction, executes following method:
Mirror image pattern is set by the source RAM card and the archive memory card;
The Memory Controller Hub of the instruction source RAM card carries out the migration of internal storage data, so that the source RAM card is interior Memory controller reads the internal storage data of the source RAM card according to the instruction, by the memory number of the read source RAM card According to being written to the archive memory card, comprising:
Data reading instructions are sent to the Memory Controller Hub of the source RAM card, the data reading instructions are used to indicate the source memory The Memory Controller Hub of card reads the internal storage data of the source RAM card;
Data writing instructions are sent to the Memory Controller Hub of the source RAM card, the data writing instructions are used to indicate the source memory The data of the reading are write back the source RAM card by the Memory Controller Hub of card, so that the Memory Controller Hub of the source RAM card The internal storage data that the source RAM card is read according to the data reading instructions of the processor, after receiving the data writing instructions, According to the mirror image pattern between the source RAM card and the archive memory card, by the memory number of the read source RAM card According to the Memory Controller Hub for being sent to the archive memory card.
31. basic input output system according to claim 29, which is characterized in that the processor is according to the gradation Migration strategy indicates that the Memory Controller Hub of the source RAM card is performed in multiple times the migration of internal storage data, comprising:
Determine the Memory Controller Hub for indicating the source RAM card when time data volume of migration by described when time data volume of migration is moved The archive memory card is moved on to, alternatively, determining when time duration of migration, indicates the Memory Controller Hub of the source RAM card described When the migration for carrying out internal storage data in the duration of secondary migration;
Described in completing in the Memory Controller Hub for determining the source RAM card after secondary migration, the basic input and output system is exited Unite and execute the instruction of operating system;
Receive the second triggering command, second triggering command be used to indicate the processor return execute it is described input substantially it is defeated The migration instruction of the internal storage data of system out;
The internal storage data of the source RAM card is migrated according to the migration instruction of the internal storage data of the basic input output system, directly The internal storage data of the source RAM card is all extremely moved into the archive memory card.
32. according to the described in any item basic input output systems of claim 29-30, which is characterized in that the processor is also Following method is executed according to the computer executed instructions:
It determines whether the archive memory card meets transition condition, if meeting the transition condition, executes described in the instruction The Memory Controller Hub of source RAM card carries out the step of migration of internal storage data;
The transition condition includes one of the following conditions or any combination: the archive memory card completes initialization, the backup The memory size of RAM card is greater than or equal to the memory size of the source RAM card.
33. basic input output system according to claim 32, which is characterized in that the processor is also according to the meter Calculation machine, which executes instruction, executes following method:
When the archive memory card does not complete initialization, the archive memory card is initialized, wherein the initialization It avoids as the archive memory card distribution system address.
34. according to the described in any item basic input output systems of claim 29-30, which is characterized in that in the processor Before the migration of Memory Controller Hub progress internal storage data for indicating the source RAM card, further includes:
Indicate that the Memory Controller Hub of the source RAM card detects the non-erroneous data in the source RAM card and is marked;
Then, it is instructed according to the migration of the internal storage data of the basic input output system, indicates the memory control of the source RAM card Device processed migrates the non-erroneous data according to the label.
35. according to the described in any item basic input output systems of claim 29-30, which is characterized in that further include:
After determining that the internal storage data of the source RAM card all moves to the archive memory card, by the source RAM card The target memory card that system address is directed toward is changed to the archive memory card.
CN201510698302.5A 2013-11-22 2013-11-22 A kind of moving method of internal storage data, computer and device Active CN105353980B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510698302.5A CN105353980B (en) 2013-11-22 2013-11-22 A kind of moving method of internal storage data, computer and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510698302.5A CN105353980B (en) 2013-11-22 2013-11-22 A kind of moving method of internal storage data, computer and device
CN201380002306.4A CN103827834B (en) 2013-11-22 2013-11-22 A kind of moving method of internal storage data, computing machine and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201380002306.4A Division CN103827834B (en) 2013-11-22 2013-11-22 A kind of moving method of internal storage data, computing machine and device

Publications (2)

Publication Number Publication Date
CN105353980A CN105353980A (en) 2016-02-24
CN105353980B true CN105353980B (en) 2019-10-22

Family

ID=55346235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510698302.5A Active CN105353980B (en) 2013-11-22 2013-11-22 A kind of moving method of internal storage data, computer and device

Country Status (1)

Country Link
CN (1) CN105353980B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114780473A (en) * 2022-05-18 2022-07-22 长鑫存储技术有限公司 Memory bank hot plug method and device and memory bank
CN117806526A (en) * 2022-09-23 2024-04-02 华为技术有限公司 Data migration method, device, chip and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102326149A (en) * 2011-07-28 2012-01-18 华为技术有限公司 Realization method and apparatus for internal memory migration

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7103728B2 (en) * 2002-07-23 2006-09-05 Hewlett-Packard Development Company, L.P. System and method for memory migration in distributed-memory multi-processor systems

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102326149A (en) * 2011-07-28 2012-01-18 华为技术有限公司 Realization method and apparatus for internal memory migration

Also Published As

Publication number Publication date
CN105353980A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN103827834B (en) A kind of moving method of internal storage data, computing machine and device
CN103842968B (en) A kind of moving method of internal storage data, computing machine and device
US10241868B2 (en) Server control method and server control device
CN103955441A (en) Equipment management system, equipment management method and IO (Input/Output) expansion interface
CN110647359B (en) Semiconductor device, method of operating the same, and stacked memory device having the same
CN104137077A (en) Processor system
CN106484549A (en) A kind of exchange method, NVMe equipment, HOST and physical machine system
CN110569154B (en) Chip interface function testing method, system, terminal and storage medium
CN105353980B (en) A kind of moving method of internal storage data, computer and device
CN112905668A (en) Database derivative method, apparatus, and medium based on distributed data stream processing engine
CN115599617B (en) Bus detection method and device, server and electronic equipment
US20170123657A1 (en) Systems and methods for back up in scale-out storage area network
EP2639692A2 (en) Memory dump program, information processing apparatus, and memory dump method
JP2005234617A (en) Multiprocessor debugger and debugging method
CN114328345B (en) Control information processing method, device and computer readable storage medium
CN114613418B (en) System and method for NVMe-MI function test of solid state disk
CN117311769B (en) Server log generation method and device, storage medium and electronic equipment
CN116578446B (en) Virtual machine backup method, device and system, electronic equipment and storage medium
CN115827591A (en) Heterogeneous system migration data consistency verification method, device, terminal and medium
US10209888B2 (en) Computer and optimization method
CN116483608A (en) Abnormal synchronous saving method of multiple operating systems and core dump offline debugging method
CN115114023A (en) Thread allocation method, system, terminal and storage medium for thread pool
CN114217737A (en) Data storage processing method, data storage processing circuit and electronic equipment
CN114691296A (en) Interrupt processing method, device, medium and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211223

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right