CN107085534A - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN107085534A CN107085534A CN201710200838.9A CN201710200838A CN107085534A CN 107085534 A CN107085534 A CN 107085534A CN 201710200838 A CN201710200838 A CN 201710200838A CN 107085534 A CN107085534 A CN 107085534A
- Authority
- CN
- China
- Prior art keywords
- internal storage
- copied
- storage data
- time
- iteration
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a kind of information processing method and electronic equipment.Methods described includes:First electronic equipment detects whether internal storage data to be copied meets the first preparatory condition;Wherein, the internal storage data is the internal storage data that first electronic equipment is copied to the second electronic equipment iteration;When detecting internal storage data to be copied and being unsatisfactory for the first preparatory condition, the first iteration time-out time is determined based on target downtime and internal storage data to be copied, former iteration time-out time is updated to the first iteration time-out time;When detecting internal storage data the first preparatory condition of satisfaction to be copied, former iteration time-out time is updated to secondary iteration time-out time;According to the iteration time-out time after the target downtime and renewal internal storage data is copied to the second electronic equipment iteration;Wherein, the former iteration time-out time is the corresponding iteration time-out time of last iteration copy internal storage data.
Description
Technical field
The present invention relates to the information processing technology, and in particular to a kind of information processing method and electronic equipment.
Background technology
Prior art, the migration of virtual machine can use pre-copy (Pre-copy) mechanism, migrate after starting, be migrated void
Plan machine is not out of service in source host, the resource on destination host needed for application operation virtual machine, migrates across loop iteration
Copy, the internal storage data of source host virtual machine is sent to destination host.Transition process using Pre-copy mechanism generally may be used
It is divided into following several stages:Iteration phase, delay machine stage and Restoration stage.
In the prior art, machine stage of delaying represents internal storage data when virtual machine is closed and equipment state
Transition process, and machine stage corresponding downtime of delaying applies extremely important for service class, if downtime is long so that empty
Plan machine can not provide various services.
The content of the invention
To solve existing technical problem, the embodiment of the present invention provides a kind of information processing method and electronic equipment.
To reach above-mentioned purpose, what the technical scheme of the embodiment of the present invention was realized in:
The embodiments of the invention provide a kind of information processing method, applied in the first electronic equipment;Methods described includes:
First electronic equipment detects whether internal storage data to be copied meets the first preparatory condition;Wherein, the internal memory number
According to the internal storage data copied for first electronic equipment to the second electronic equipment iteration;
When detecting internal storage data to be copied and being unsatisfactory for the first preparatory condition, based on target downtime and to be copied
Internal storage data determines the first iteration time-out time, and former iteration time-out time is updated into the first iteration time-out time;
When detecting internal storage data to be copied and meeting the first preparatory condition, former iteration time-out time is updated to described the
Two iteration time-out times;
Copied according to the iteration time-out time after the target downtime and renewal to the second electronic equipment iteration
Internal storage data;
Wherein, the former iteration time-out time is the corresponding iteration time-out time of last iteration copy internal storage data.
In such scheme, first electronic equipment detects whether internal storage data to be copied meets the first preparatory condition,
Including:
First electronic equipment detects whether internal storage data to be copied is less than and expects transmitted data amount;Wherein, it is described
It is expected that transmission data are associated with target downtime;
It is described to detect internal storage data to be copied and be unsatisfactory for the first preparatory condition, including:
When detecting internal storage data to be copied not less than transmitted data amount is expected, it is determined that detecting internal memory number to be copied
According to being unsatisfactory for the first preparatory condition;
Accordingly, it is described to detect internal storage data to be copied and meet the first preparatory condition, including:
When detecting internal storage data to be copied less than transmitted data amount is expected, it is determined that detecting internal storage data to be copied
Meet the first preparatory condition.
In such scheme, first electronic equipment detect internal storage data to be copied whether meet the first preparatory condition it
Before, methods described also includes:
When first electronic equipment copies internal storage data to second electronic equipment first, based on being pre-configured with most
Big iteration time-out time copies internal storage data to second electronic equipment;
The maximum downtime being pre-configured with is set to the target downtime.
In such scheme, the preparatory condition of internal storage data first fit first to be copied is detected constantly, it is described that original changes
Secondary iteration time-out time is updated to for time-out time, including:
The minimum downtime being pre-configured with is set to the target downtime, based on the target downtime and treated
The internal storage data of copy determines secondary iteration time-out time, when former iteration time-out time is updated into the secondary iteration time-out
Between.
In such scheme, methods described also includes:
Determine to expect transmitted data amount again based on the minimum downtime;When internal storage data to be copied is not less than weight
During the expectation transmitted data amount newly determined, by default step-length adjust the minimum downtime that is pre-configured with as target delay machine when
Between, secondary iteration time-out time is determined based on the target downtime and internal storage data to be copied.
It is described that former iteration time-out time is updated to after the secondary iteration time-out time in such scheme, methods described
Also include:
The specific data that itself specific components is stored are copied to second electronic equipment by first electronic equipment, and
And remove the specific data.
In such scheme, methods described also includes:First electronic equipment detects whether internal storage data to be copied is small
In object transmission data volume;Wherein, the object transmission data volume is associated with the target downtime;
When first electronic equipment detects that internal storage data to be copied is less than object transmission data volume, control is switched to
Delay machine state.
The embodiment of the present invention additionally provides a kind of electronic equipment, and the electronic equipment includes:Memory, controller and communication
Interface;Wherein,
The memory, the internal storage data to be copied for storing;
The controller, whether the internal storage data to be copied stored for detecting in the memory, which meets first, is preset
Condition;Wherein, the internal storage data is the internal storage data that the electronic equipment is copied to other electronic equipment iteration;Detect and treat
When the internal storage data of copy is unsatisfactory for the first preparatory condition, first is determined based on target downtime and internal storage data to be copied
Iteration time-out time, the first iteration time-out time is updated to by former iteration time-out time;Detect internal memory number to be copied
During according to meeting the first preparatory condition, former iteration time-out time is updated to the secondary iteration time-out time;The former iteration surpasses
When the time be the corresponding iteration time-out time of last iteration copy internal storage data;
The communication interface, when the iteration for the target downtime that is determined according to the controller and after updating is overtime
Between to other described electronic equipment iteration copy internal storage data.
In such scheme, the controller, for detecting, whether internal storage data to be copied, which is less than, is expected transmitted data amount;
Wherein, the expectation maximum transmission data is associated with target downtime;Internal storage data to be copied is detected not less than the phase
When hoping transmitted data amount, it is determined that detecting internal storage data to be copied is unsatisfactory for the first preparatory condition;Detect to be copied interior
When deposit data is less than expectation transmitted data amount, it is determined that detecting internal storage data to be copied meets the first preparatory condition.
In such scheme, the communication interface is additionally operable to detect whether internal storage data to be copied is full in the controller
Before the first preparatory condition of foot, and when copying internal storage data to other described electronic equipments first, based on the maximum being pre-configured with
Iteration time-out time copies internal storage data to other described electronic equipments;
The controller, the maximum downtime for being additionally operable to be pre-configured with is set to the target downtime.
In such scheme, the controller, internal storage data first fit first preparatory condition to be copied for detecting
When, the minimum downtime being pre-configured with is set to the target downtime, based on the target downtime and to be copied
Internal storage data determine secondary iteration time-out time, former iteration time-out time is updated to the secondary iteration time-out time.
In such scheme, the controller, for redefining expectation transmitted data amount based on the minimum downtime;
When internal storage data to be copied is not less than the expectation transmitted data amount redefined, it is pre-configured with most by the adjustment of default step-length
Small downtime determines secondary iteration as target downtime based on the target downtime and internal storage data to be copied
Time-out time.
In such scheme, the communication interface is additionally operable to the controller and former iteration time-out time is updated into described
After two iteration time-out times, the specific data that the particular memory region of the memory is stored are copied to other described electronics and set
It is standby;
The controller, is additionally operable to remove the specific data stored in the particular memory region of the memory.
In such scheme, the controller is additionally operable to detect whether internal storage data to be copied is less than object transmission data
Amount;Wherein, the object transmission data volume is associated with the target downtime;Wait to copy when first electronic equipment is detected
When the internal storage data of shellfish is less than object transmission data volume, control switches to machine state of delaying.
Information processing method and electronic equipment provided in an embodiment of the present invention, methods described include:First electronic equipment is examined
Survey whether internal storage data to be copied meets the first preparatory condition;Wherein, the internal storage data be first electronic equipment to
The internal storage data of second electronic equipment iteration copy;When detecting internal storage data to be copied and being unsatisfactory for the first preparatory condition, base
The first iteration time-out time is determined in target downtime and internal storage data to be copied, former iteration time-out time is updated to institute
State the first iteration time-out time;When detecting internal storage data the first preparatory condition of satisfaction to be copied, by former iteration time-out time
It is updated to secondary iteration time-out time;It is electric to described second according to the iteration time-out time after the target downtime and renewal
Sub- equipment iteration copies internal storage data;Wherein, the former iteration time-out time is that last iteration copy internal storage data is corresponding
Iteration time-out time.Using the technical scheme of the embodiment of the present invention, adjusted by the dynamic to iteration time-out time, shorten iteration
Downtime in copy procedure, the problem of it also avoid that service can not be provided because virtual machine downtime is long.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the information processing method of the embodiment of the present invention one;
Fig. 2 is the schematic flow sheet of the information processing method of the embodiment of the present invention two;
Fig. 3 is a kind of application flow schematic diagram of the information processing method of the embodiment of the present invention;
Fig. 4 is the composition structural representation of the electronic equipment of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further detailed explanation.
Embodiment one
The embodiments of the invention provide a kind of information processing method.Fig. 1 is the information processing method of the embodiment of the present invention one
Schematic flow sheet;As shown in figure 1, methods described includes:
Step 101:First electronic equipment detects whether internal storage data to be copied meets the first preparatory condition;Wherein, institute
It is the internal storage data that first electronic equipment is copied to the second electronic equipment iteration to state internal storage data.
Step 102:When detecting internal storage data to be copied and being unsatisfactory for the first preparatory condition, based on target downtime and
Internal storage data to be copied determines the first iteration time-out time, when former iteration time-out time is updated into the first iteration time-out
Between;Wherein, the former iteration time-out time is the corresponding iteration time-out time of last iteration copy internal storage data.
Step 103:When detecting internal storage data the first preparatory condition of satisfaction to be copied, former iteration time-out time is updated
For secondary iteration time-out time.
Step 104:Iteration time-out time according to the target downtime and after updating is to second electronic equipment
Iteration copies internal storage data.
The information processing method of the embodiment of the present invention is applied in the first electronic equipment, is used as the first electricity of source electronic equipment
Internal storage data to be copied is integrally copied to as in the second electronic equipment of target electronic device by sub- equipment;Wherein, it is described
First electronic equipment and second electronic equipment can be specifically personal computer (PC, Personal Computer) or clothes
Business device.Specifically, first electronic equipment includes at least one virtual machine fictionalized, each virtual machine correspondence one is stored
Region;Accordingly, fictionalized in second electronic equipment with configuring identical virtual machine in first electronic equipment.This reality
It is the corresponding internal storage data of any virtual machine at least one described virtual machine to apply the internal storage data to be copied described in example;Institute
The data that internal storage data can include storing in the corresponding storage region of virtual machine are stated, also including containing dirty pages data.
Under normal circumstances, the process that first electronic equipment copies internal storage data to the second electronic equipment iteration may include
Random dilatation stage (can be described as the rambulk stages), iteration phase, delay machine stage and Restoration stage.The random dilatation stage,
When referring to that virtual machine is also run on the first electronic equipment, the first electronic equipment copies internal memory number to the second electronic equipment iteration
According to stage.Further, before copy internal storage data every time, check whether the internal storage data of last copy becomes
Change;If the internal storage data for checking last copy is changed, the internal storage data of change is referred to as containing dirty pages (Dirty
Page) data, and containing dirty pages Data duplication is copied to the second electronic equipment, this process is referred to as iteration phase.First electronics is set
Standby to continue above-mentioned iteration copy procedure, with the increase of iterations, internal storage data to be copied is gradually decreased, when to be copied
Internal storage data when meeting certain condition, the first electronic equipment can be controlled to suspend the operation of virtual machine, this process can be described as delaying
The machine stage;In the machine stage of delaying, the first electronic equipment, which remains unchanged, can transmit the containing dirty pages data and electronic equipment of last copy generation
In device status data.And the information processing method of the embodiment of the present invention is exactly based on searching and preferably enters machine state of delaying
Time point and the suitable iteration time-out time of determination are so as to the problem of solving downtime process in the prior art.
Based on this, in the present embodiment, it is pre- that first electronic equipment detects whether internal storage data to be copied meets first
If condition, including:First electronic equipment detects whether internal storage data to be copied is less than and expects transmitted data amount;Wherein,
It is described it is expected that transmission data are associated with target downtime;It is described detect internal storage data to be copied be unsatisfactory for first preset
Condition, including:When detecting internal storage data to be copied not less than transmitted data amount is expected, it is determined that detecting internal memory to be copied
Data are unsatisfactory for the first preparatory condition;Accordingly, it is described to detect internal storage data the first preparatory condition of satisfaction to be copied, bag
Include:When detecting internal storage data to be copied less than transmitted data amount is expected, met it is determined that detecting internal storage data to be copied
First preparatory condition.
As a kind of embodiment, first electronic equipment detects whether internal storage data to be copied meets first and preset
Before condition, methods described also includes:When first electronic equipment copies internal storage data to second electronic equipment first,
Internal storage data is copied to second electronic equipment based on the greatest iteration time-out time being pre-configured with;By the maximum being pre-configured with
Downtime is set to the target downtime.
Specifically, due to expecting data to be transmitted amount=coefficient × target downtime × prediction bandwidth;Wherein, the system
Number is the weight coefficient being pre-configured with.And internal storage data/prediction bandwidth of target downtime (DT)=to be copied;It is described to wait to copy
The internal storage data of shellfish also is understood as the internal storage data left;Setting Rn represents the internal storage data to be copied of nth iteration;Dn
Represent the containing dirty pages rate of nth iteration;Containing dirty pages rate represents that containing dirty pages data account for the ratio of all internal storage datas;Bn represents nth iteration
Bandwidth;Tn represents the time-out time of nth iteration, then has:Rn+1=DT × Bn=Dn × Tn+Rn-Bn × Tn;Then Tn=
(Rn-DT×Bn)/(Bn–Dn);Mobile state adjustment can then be entered in the present embodiment to iteration time-out time based on above-mentioned expression formula.
In the present embodiment, when the first electronic equipment copies internal storage data to the second electronic equipment first, according to matching somebody with somebody in advance
The greatest iteration time-out time put copies internal storage data to second electronic equipment, wherein, the greatest iteration time-out time
It may be configured as maximum integer, it can be understood as, when copying internal storage data to the second electronic equipment iteration first, iteration time-out time
For infinity, so, the termination condition of iteration is and completed in the rambulk stages first, now, and target downtime is set to
The maximum downtime being pre-configured with.Further, the rambulk stages complete, the preparation rank newly increased into the present embodiment
Section, the target of the preparatory stage is to make internal storage data to be copied as early as possible close to expectation transmitted data amount;Wherein, it is described to expect
Transmitted data amount is is meeting the transmitted data amount of the maximum downtime, then now, and the expectation transmitted data amount is met
Following formula:Expect transmitted data amount=coefficient × maximum downtime × prediction bandwidth;Wherein, the coefficient is to match somebody with somebody in advance
The weight coefficient put.
Then the present embodiment determines to expect transmitted data amount using the calculation of above-mentioned expression formula, and detects to be copied
The data volume of internal storage data, relatively more described expectation transmitted data amount and internal storage data to be copied, when the internal memory to be copied
When data are not less than transmitted data amount is expected, it is determined that detecting internal storage data to be copied is unsatisfactory for the first preparatory condition, enter one
Step determines that the first iteration surpasses based on target downtime (namely described maximum downtime) and the internal storage data to be copied
When the time;Wherein, the first iteration time-out time meets following formula:First iteration time-out time=(to be copied is interior
Deposit data-coefficient × maximum downtime × prediction bandwidth)/(prediction bandwidth-prediction containing dirty pages rate).Wherein, it is described to be copied
Internal storage data is the internal storage data to be copied left after the completion of last iteration is copied;The coefficient is the weight being pre-configured with
Coefficient;Containing dirty pages data and the internal memory to be copied that the prediction containing dirty pages rate is produced after the completion of being copied according to last iteration
Data, which are calculated, to be obtained.
On the other hand, when the internal storage data to be copied, which is less than, expects transmitted data amount, it is determined that detecting to be copied
Internal storage data meet the first preparatory condition, now optimal delays the machine stage on opportunity into finding.In the present embodiment, found described
Optimal to delay the machine stage on opportunity, dynamic adjustment target downtime determines that secondary iteration surpasses based on the target downtime after adjustment
When the time, former iteration time-out time is updated to the secondary iteration time-out time.
Wherein, when detecting internal storage data the first preparatory condition of first fit to be copied, methods described also includes:Will be pre-
The minimum downtime first configured is set to the target downtime, based on the target downtime and internal memory number to be copied
According to secondary iteration time-out time is determined, former iteration time-out time is updated to the secondary iteration time-out time.
In the present embodiment, the iteration time-out time (such as the based on the target downtime after dynamic adjustment and after updating
One iteration time-out time and secondary iteration time-out time) copy internal storage data to the second electronic equipment iteration.
It is described that former iteration time-out time is updated to after the secondary iteration time-out time in the present embodiment, methods described
Also include:The specific data that itself specific components is stored are copied to second electronic equipment by first electronic equipment, and
And remove the specific data.
Specifically, the specific components are specifically as follows data block (alternatively referred to as block device), data block is by internal storage data
It is stored in the block storage region of fixed size, each data block has corresponding address;It is relatively independent between data block.Then exist
During first electronic equipment copies internal storage data to the second electronic equipment iteration, first electronic equipment surpasses former iteration
When the time be updated to the secondary iteration time-out time and set according to the secondary iteration time-out time to second electronics
After standby iteration copy internal storage data, the corresponding specific components of copied internal storage data are removed.
Using the technical scheme of the embodiment of the present invention, adjusted by the dynamic to iteration time-out time, shorten iteration copy
During downtime, the problem of it also avoid that service can not be provided because virtual machine downtime is long.
Embodiment two
Based on embodiment one, the embodiment of the present invention additionally provides a kind of information processing method.Fig. 2 is the embodiment of the present invention two
Information processing method schematic flow sheet;As shown in Fig. 2 methods described includes:
Step 201:When first electronic equipment copies internal storage data to second electronic equipment first, based on being pre-configured with
Greatest iteration time-out time to second electronic equipment copy internal storage data;The maximum downtime being pre-configured with is set to
Target downtime.Wherein, the internal storage data is the internal memory that first electronic equipment is copied to the second electronic equipment iteration
Data.
Step 202:First after the completion of copy internal storage data, first electronic equipment detects that internal storage data to be copied is
It is no to be less than expectation transmitted data amount.
Step 203:When detecting internal storage data to be copied not less than transmitted data amount is expected, based on target downtime
The first iteration time-out time is determined with internal storage data to be copied, former iteration time-out time is updated to the first iteration time-out
Time.Wherein, the former iteration time-out time is the corresponding iteration time-out time of last iteration copy internal storage data.
Step 204:When detecting internal storage data to be copied first less than transmitted data amount is expected, it will be pre-configured with most
Small downtime is set to target downtime, and secondary iteration is determined based on the target downtime and internal storage data to be copied
Time-out time, the secondary iteration time-out time is updated to by former iteration time-out time.
Step 205:Expectation transmitted data amount is redefined based on the minimum downtime;When internal storage data to be copied
During not less than the expectation transmitted data amount redefined, the minimum downtime being pre-configured with is adjusted as target by default step-length
Downtime, secondary iteration time-out time is determined based on the target downtime and internal storage data to be copied, by former iteration
Time-out time is updated to the secondary iteration time-out time.
Step 206:Iteration time-out time according to the target downtime and after updating is to second electronic equipment
Iteration copies internal storage data.
In the present embodiment, when the first electronic equipment copies internal storage data to the second electronic equipment first, according to matching somebody with somebody in advance
The greatest iteration time-out time put copies internal storage data to second electronic equipment, wherein, the greatest iteration time-out time
It may be configured as maximum integer, it can be understood as, when copying internal storage data to the second electronic equipment iteration first, iteration time-out time
For infinity, so, the termination condition of iteration is and completed in the rambulk stages first, now, and target downtime is set to
The maximum downtime being pre-configured with.Further, the rambulk stages complete, the preparation rank newly increased into the present embodiment
Section, the target of the preparatory stage is to make internal storage data to be copied as early as possible close to expectation transmitted data amount;Wherein, it is described to expect
Transmitted data amount is is meeting the transmitted data amount of the maximum downtime, then now, and the expectation transmitted data amount is met
Following formula:
Expect the coefficient of transmitted data amount=first × maximum downtime × prediction bandwidth (1)
Wherein, first coefficient is the weight coefficient being pre-configured with;The prediction bandwidth can be based in last copy
The bandwidth obtained during deposit data is obtained, and can also estimate determination according to the network parameter of acquisition.Then the present embodiment is in the preparatory stage
Can determine to expect transmitted data amount using the calculation of expression formula (1), and detection internal storage data to be copied data volume,
Compare the expectation transmitted data amount and internal storage data to be copied, when the internal storage data to be copied is transmitted not less than expectation
During data volume, it is determined that detecting internal storage data to be copied is unsatisfactory for the first preparatory condition, target downtime is based further on
(namely described maximum downtime) and the internal storage data to be copied determine the first iteration time-out time;Wherein, described
One iteration time-out time meets following formula:
First iteration time-out time=(internal storage data-coefficient to be copied × maximum downtime × prediction bandwidth)/(pre-
Measuring tape is wide-prediction containing dirty pages rate) (2)
Wherein, the internal storage data to be copied is the internal memory number to be copied left after the completion of last iteration is copied
According to;The coefficient is the weight coefficient being pre-configured with;The prediction containing dirty pages rate is produced after the completion of being copied according to last iteration
Containing dirty pages data calculate and obtain with the internal storage data to be copied.Then first electronic equipment is super based on first iteration
When the time and the maximum downtime to the second electronic equipment iteration copy internal storage data;When first iteration is overtime
Between be corresponding to the preparatory stage iteration time-out time.
On the other hand, increasing with iterations, and the reduction for the internal storage data to be copied left, when detecting
Stating internal storage data to be copied, (the expectation transmitted data amount is met shown in expression formula (1) less than the expectation transmitted data amount
Expectation transmitted data amount) and be detect first the internal storage data to be copied be less than expect transmitted data amount when, enter
Find optimal delay the machine stage on opportunity.First enter into it is described find it is optimal delay the machine stage on opportunity when, first, adjust the target and delay
The machine time is the minimum downtime being pre-configured with, such as 10 milliseconds of the minimum downtime;Based on the minimum delay machine when
Between and internal storage data to be copied determine secondary iteration time-out time;Now, the secondary iteration time-out time meets following table
Up to formula:
Secondary iteration time-out time=(internal storage data to be copied-minimum downtime × prediction bandwidth)/(prediction is single
Money-prediction containing dirty pages rate) (3)
Then first electronic equipment determines secondary iteration time-out time based on expression formula (3), based on the secondary iteration
Time-out time copies internal storage data to the second electronic equipment iteration;Wherein, the secondary iteration time-out time is corresponding to searching
The iteration time-out time in optimal machine stage on opportunity of delaying;And now the expectation transmitted data amount meets following formula:
Expect transmitted data amount=minimum downtime × prediction bandwidth (4)
In iteration copy procedure, transmitted data amount (now phase is expected when internal storage data to be copied can not be less than
It is the expectation transmitted data amount for meeting expression formula (4) to hope transmitted data amount) when, then detect internal storage data to be copied and be not less than
Expect transmitted data amount, first electronic equipment presses default step-length, and (such as 10 milliseconds of the default step-length, is certainly not limited to 10
Millisecond example) adjustment as target downtime minimum downtime.Further, based on the target downtime and
Internal storage data to be copied determines secondary iteration time-out time;Now, the secondary iteration time-out time meets following formula:
Secondary iteration time-out time=(internal storage data to be copied-target downtime × prediction bandwidth)/(prediction is single
Money-prediction containing dirty pages rate) (5)
Wherein, the target downtime is the minimum downtime after being adjusted by default step-length.
Then first electronic equipment is copied based on the secondary iteration time-out time after renewal to the second electronic equipment iteration
Internal storage data, and now the expectation transmitted data amount meets following formula:
Expect transmitted data amount=(minimum downtime+adjustment time) × prediction bandwidth (6)
Wherein, the adjustment time is default step-length × adjustment number of times.
Then first electronic equipment is delayed based on the target after the secondary iteration time-out time after adjustment and adjustment
The machine time copies internal storage data to the second electronic equipment iteration.
Using the technical scheme of the embodiment of the present invention, adjusted by the dynamic to iteration time-out time, and by specific group
Data in part (such as data block) participate in iteration and cleared data after copy terminates, and target downtime is changed
For formula adjustment, so as to obtain optimal downtime, and then shorten the downtime in iteration copy procedure, it also avoid by
In virtual machine downtime is long can not provide service the problem of.
Embodiment three
Based on embodiment two, the embodiment of the present invention additionally provides a kind of information processing method, can refer to shown in Fig. 2, in reality
On the basis of the information processing method for applying the offer of example two, methods described includes:
Step 207:First electronic equipment detects whether internal storage data to be copied is less than object transmission data volume, when
When first electronic equipment detects that internal storage data to be copied is less than object transmission data volume, control switches to machine state of delaying;
Wherein, the object transmission data volume is associated with the target downtime.The target downtime be with by default step
Minimum downtime after long adjustment.
Here, the object transmission data volume namely expectation transmitted data amount, the expectation for specially meeting expression formula (6) are passed
Transmission of data amount.Specifically, being obtained when the data volume for detecting the internal storage data to be copied left is less than to calculate based on expression formula (6)
During the object transmission data volume obtained, the first electronic equipment control switches to machine state of delaying, namely controls first electronics
The virtual machine of Data Migration in equipment is out of service.
In the present embodiment, as a kind of embodiment, when the first electronic equipment be in find it is optimal delay the machine stage on opportunity when,
Namely the internal storage data to be copied in first electronic equipment is when meeting the first preparatory condition, if detecting described to be copied
Internal storage data not less than transmitted data amount is expected when, namely detect the internal storage data to be copied again and be unsatisfactory for first
During preparatory condition, SBR is back switched to, perform foregoing the first iteration time-out time when being in SBR again
It is determined that, based on the first iteration time-out time and the maximum downtime being pre-configured with into the second electronic equipment iteration copy
Deposit data.
It is described that former iteration time-out time is updated to after the secondary iteration time-out time in the present embodiment, methods described
Also include:The specific data that itself specific components is stored are copied to second electronic equipment by first electronic equipment, and
And remove the specific data.
Specifically, the specific components are specifically as follows data block (alternatively referred to as block device), data block is by internal storage data
It is stored in the block storage region of fixed size, each data block has corresponding address;It is relatively independent between data block.Then exist
During first electronic equipment copies internal storage data to the second electronic equipment iteration, first electronic equipment surpasses former iteration
When the time be updated to the secondary iteration time-out time and set according to the secondary iteration time-out time to second electronics
After standby iteration copy internal storage data, the corresponding specific components of copied internal storage data are removed.
Using the technical scheme of the embodiment of the present invention, adjusted by the dynamic to iteration time-out time, and by specific group
Data in part (such as data block) participate in iteration and cleared data after copy terminates, and target downtime is changed
For formula adjustment, so as to obtain optimal downtime, and then shorten the downtime in iteration copy procedure, it also avoid by
In virtual machine downtime is long can not provide service the problem of.
Based on the information processing method described in embodiment one or embodiment two, the embodiment of the present invention additionally provides a kind of information
Processing method, Fig. 3 is a kind of application flow schematic diagram of the information processing method of the embodiment of the present invention;As shown in figure 3, should
In, included with iterative process:Exemplified by rambulk stages, preparatory stage, searching optimal machine stage on opportunity of delaying, methods described bag
Include:
Step 301:In the rambulk stages, copied according to the greatest iteration time-out time being pre-configured with to the second electronic equipment
Shellfish internal storage data;It is to be understood that when copying internal storage data to the second electronic equipment iteration first, iteration time-out time is infinite
Greatly, i.e., described iteration time-out time is maximum integer.Now, by the maximum that target downtime is set to be pre-configured with delay machine when
Between.Further, the rambulk stages complete.
Step 302:Judge whether internal storage data to be copied is less than and expect transmitted data amount, the expected data transmission quantity
To meet the expected data transmission quantity of expression formula (1).When judged result is that internal storage data to be copied transmits number not less than expectation
During according to amount, step 303 is performed;When judged result is that internal storage data to be copied is less than expectation transmitted data amount, step is performed
304 to step 309.
Step 303:First electronic equipment enters the preparatory stage, in the preparatory stage, and target downtime is to match somebody with somebody in advance
The maximum downtime put, then when determining that the first iteration is overtime based on the maximum downtime and internal storage data to be copied
Between, iteration time-out time is updated to the first iteration time-out time.Wherein, the first iteration time-out time meets expression
Shown in formula (2).And the first electronic equipment is based on the maximum downtime and the first iteration time-out time to the second electronics
Equipment iteration copies internal storage data, after the completion of each round copy internal storage data, re-executes step 302, judges that leaves treats
Whether the internal storage data of copy meets expectation transmitted data amount, so that the first electronic equipment is to continue with resting on the preparatory stage,
Still the searching described in step 304 is switched to delay the machine stage on opportunity.
Step 304 is to step 305:First electronic equipment is delayed the machine stage on opportunity into searching.Delayed machine opportunity in searching
Stage, target downtime is the minimum downtime being pre-configured with, then based on the minimum downtime and it is to be copied in
Deposit data determines secondary iteration time-out time, and iteration time-out time is updated into the secondary iteration time-out time.Wherein, it is described
Secondary iteration time-out time is met shown in expression formula (3), and the first electronic equipment is based on the minimum downtime and described the
Two iteration time-out times copy internal storage data to the second electronic equipment iteration, and first electronic equipment is often to the second electronic equipment
An internal storage data is copied, then iterations adds one.
Step 306:Data in refresh data block, that is, the block that clears data.
Step 307:Judge whether internal storage data to be copied is less than object transmission data volume;When judged result is to be copied
Internal storage data be less than object transmission data volume, perform step 310:Into the machine stage of delaying;When judged result is in be copied
Deposit data is not less than object transmission data volume, performs step 308:Judge whether iterations is less than threshold value, the threshold value is pre-
First configure;When iterations is not less than threshold value, step 304 is re-executed, target downtime is set to minimum downtime,
Step 304 is re-executed to step 307;When iterations is less than threshold value, step 309 is performed:Adjust minimum by default step-length
Downtime further performs step 305 as target downtime, is updated again according to the target downtime after adjustment
Secondary iteration time-out time.
In above process, when target downtime is minimum downtime, the object transmission data volume is satisfaction
The expectation transmitted data amount of expression formula (4).When target downtime is the minimum downtime after being adjusted according to default step-length,
The object transmission data volume is the expectation transmitted data amount for meeting expression formula (6).
Example IV
The embodiment of the present invention additionally provides a kind of electronic equipment.Fig. 4 is the composition knot of the electronic equipment of the embodiment of the present invention
Structure schematic diagram;As shown in figure 4, the electronic equipment includes:Memory 41, controller 42 and communication interface 43;Wherein,
The memory 41, the internal storage data to be copied for storing;
The controller 42, for detecting whether the internal storage data to be copied stored in the memory 41 meets first
Preparatory condition;Wherein, the internal storage data is the internal storage data copied to other electronic equipment iteration;Detect to be copied interior
When deposit data is unsatisfactory for the first preparatory condition, the first iteration time-out is determined based on target downtime and internal storage data to be copied
Time, former iteration time-out time is updated to the first iteration time-out time;Detect internal storage data to be copied and meet the
During one preparatory condition, former iteration time-out time is updated to secondary iteration time-out time;The former iteration time-out time is upper one
Secondary iteration copies the corresponding iteration time-out time of internal storage data;
The communication interface 43, target downtime and the iteration after updating for being determined according to the controller 42 surpass
When the time to other described electronic equipment iteration copy internal storage data.
In the present embodiment, the communication interface 43 is additionally operable to the controller 42 and former iteration time-out time is updated into institute
State after secondary iteration time-out time, the specific data that the particular memory region of the memory 41 is stored be copied to it is described other
Electronic equipment;
The controller 42, is additionally operable to remove the specific data stored in the particular memory region of the memory 41.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join
Understand, each processing unit in the electronic equipment of the embodiment of the present invention according to the associated description of aforementioned information processing method, can pass through
Realize the analog circuit of the function described in the embodiment of the present invention and realize, can also be by performing the work(described in the embodiment of the present invention
Can operation of the software on intelligent terminal and realize.
Embodiment five
The embodiment of the present invention additionally provides a kind of electronic equipment.As shown in figure 4, the electronic equipment includes:Memory 41,
Controller 42 and communication interface 43;Wherein,
The memory 41, the internal storage data to be copied for storing;Wherein, the internal storage data is to be set to other electronics
The internal storage data that standby iteration is copied;
The communication interface 43, for copying the internal memory number that the memory 41 is stored to other described electronic equipments first
According to when, based on the greatest iteration time-out time being pre-configured with to other described electronic equipments copy internal storage data;
The controller 42, for the maximum downtime being pre-configured with to be set into the target downtime;It is additionally operable to
First after the completion of copy internal storage data, detect whether internal storage data to be copied is less than and expect transmitted data amount;Detect and wait to copy
When the internal storage data of shellfish is not less than transmitted data amount is expected, first is determined based on target downtime and internal storage data to be copied
Iteration time-out time, the first iteration time-out time is updated to by former iteration time-out time;Detect first to be copied interior
When deposit data is less than expectation maximum transmission data amount, the minimum downtime being pre-configured with is set to target downtime, is based on
The target downtime and internal storage data to be copied determine secondary iteration time-out time, and former iteration time-out time is updated to
The secondary iteration time-out time;Expectation transmitted data amount is redefined based on the minimum downtime;In to be copied
When deposit data is not less than the expectation transmitted data amount redefined, the minimum downtime being pre-configured with is adjusted by default step-length and is made
For target downtime, secondary iteration time-out time is determined based on the target downtime and internal storage data to be copied, will
Former iteration time-out time is updated to the secondary iteration time-out time;The former iteration time-out time is in last iteration copy
The corresponding iteration time-out time of deposit data;
The communication interface 43, target downtime and the iteration after updating for being determined according to the controller 42 surpass
When the time to other described electronic equipment iteration copy internal storage data.
In the present embodiment, the communication interface 43 is additionally operable to the controller 42 and former iteration time-out time is updated into institute
State after secondary iteration time-out time, the specific data that the particular memory region of the memory 41 is stored be copied to it is described other
Electronic equipment;
The controller 42, is additionally operable to remove the specific data stored in the particular memory region of the memory 41.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join
Understand, each processing unit in the electronic equipment of the embodiment of the present invention according to the associated description of aforementioned information processing method, can pass through
Realize the analog circuit of the function described in the embodiment of the present invention and realize, can also be by performing the work(described in the embodiment of the present invention
Can operation of the software on intelligent terminal and realize.
Embodiment six
Based on embodiment five, the embodiment of the present invention additionally provides a kind of electronic equipment.As shown in figure 4, the electronic equipment
Including:Memory 41, controller 42 and communication interface 43;Wherein,
The memory 41, the internal storage data to be copied for storing;Wherein, the internal storage data is to be set to other electronics
The internal storage data that standby iteration is copied;
The communication interface 43, for copying the internal memory number that the memory 41 is stored to other described electronic equipments first
According to when, based on the greatest iteration time-out time being pre-configured with to other described electronic equipments copy internal storage data;
The controller 42, for the maximum downtime being pre-configured with to be set into the target downtime;It is additionally operable to
First after the completion of copy internal storage data, detect whether internal storage data to be copied is less than and expect transmitted data amount;Detect and wait to copy
When the internal storage data of shellfish is not less than transmitted data amount is expected, first is determined based on target downtime and internal storage data to be copied
Iteration time-out time, the first iteration time-out time is updated to by former iteration time-out time;Detect first to be copied interior
When deposit data is less than expectation transmitted data amount, the minimum downtime being pre-configured with is set to target downtime, based on described
Target downtime and internal storage data to be copied determine secondary iteration time-out time, former iteration time-out time are updated to described
Secondary iteration time-out time;Expectation transmitted data amount is redefined based on the minimum downtime;When internal memory number to be copied
During according to not less than the expectation transmitted data amount redefined, the minimum downtime being pre-configured with is adjusted as mesh by default step-length
Downtime is marked, secondary iteration time-out time is determined based on the target downtime and internal storage data to be copied, original is changed
The secondary iteration time-out time is updated to for time-out time;The former iteration time-out time is last iteration copy internal memory number
According to corresponding iteration time-out time;
The communication interface 43, target downtime and the iteration after updating for being determined according to the controller 42 surpass
When the time to other described electronic equipment iteration copy internal storage data;
The controller 42, is additionally operable to detect whether internal storage data to be copied is less than object transmission data volume;Wherein, institute
State object transmission data volume associated with the target downtime;When first electronic equipment detects internal memory number to be copied
During according to less than object transmission data volume, control switches to machine state of delaying.
In the present embodiment, the communication interface 43 is additionally operable to the controller 42 and former iteration time-out time is updated into institute
State after secondary iteration time-out time, the specific data that the particular memory region of the memory 41 is stored be copied to it is described other
Electronic equipment;
The controller 42, is additionally operable to remove the specific data stored in the particular memory region of the memory 41.
It will be appreciated by those skilled in the art that in the electronic equipment of the embodiment of the present invention each processing unit function, can join
Understand, each processing unit in the electronic equipment of the embodiment of the present invention according to the associated description of aforementioned information processing method, can pass through
Realize the analog circuit of the function described in the embodiment of the present invention and realize, can also be by performing the work(described in the embodiment of the present invention
Can operation of the software on intelligent terminal and realize.
The embodiment of the present invention four is into embodiment six, the controller 42 in the electronic equipment, in actual applications can be by
In the electronic equipment central processing unit (CPU, Central Processing Unit), digital signal processor (DSP,
Digital Signal Processor), micro-control unit (MCU, Microcontroller Unit) or programmable gate array
(FPGA, Field-Programmable Gate Array) is realized;Communication interface 43 in the electronic equipment, actually should
(it can be included by communications module in:Base communication external member, operating system, communication module, standard interface and agreement etc.) and
Dual-mode antenna is realized.
, can be by it in several embodiments provided herein, it should be understood that disclosed apparatus and method
Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, is only
A kind of division of logic function, can have other dividing mode, such as when actually realizing:Multiple units or component can be combined, or
Another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed each composition portion
Coupling point each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs of equipment or unit by some interfaces
Or communication connection, can be electrical, machinery or other forms.
The above-mentioned unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can positioned at a place, can also be distributed to multiple network lists
In member;Part or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used
Be each unit individually as a unit, can also two or more units it is integrated in a unit;It is above-mentioned
Integrated unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:It is movable storage device, read-only
Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Or, if the above-mentioned integrated unit of the present invention is realized using in the form of software function module and is used as independent product
Sale in use, can also be stored in a computer read/write memory medium.Understood based on such, the present invention is implemented
The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product,
The computer software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be with
It is personal computer, server or network equipment etc.) perform all or part of each of the invention embodiment methods described.
And foregoing storage medium includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (14)
1. a kind of information processing method, applied in the first electronic equipment;Characterized in that, methods described includes:
First electronic equipment detects whether internal storage data to be copied meets the first preparatory condition;Wherein, the internal storage data is
The internal storage data that first electronic equipment is copied to the second electronic equipment iteration;
When detecting internal storage data to be copied and being unsatisfactory for the first preparatory condition, based on target downtime and internal memory to be copied
Data determine the first iteration time-out time, and former iteration time-out time is updated into the first iteration time-out time;
When detecting internal storage data the first preparatory condition of satisfaction to be copied, former iteration time-out time is updated to secondary iteration and surpassed
When the time;
According to the iteration time-out time after the target downtime and renewal internal memory is copied to the second electronic equipment iteration
Data;
Wherein, the former iteration time-out time is the corresponding iteration time-out time of last iteration copy internal storage data.
2. according to the method described in claim 1, it is characterised in that first electronic equipment detects internal storage data to be copied
Whether first preparatory condition is met, including:
First electronic equipment detects whether internal storage data to be copied is less than and expects transmitted data amount;Wherein, it is described to expect
Transmit data associated with target downtime;
It is described to detect internal storage data to be copied and be unsatisfactory for the first preparatory condition, including:
When detecting internal storage data to be copied not less than transmitted data amount is expected, it is determined that detecting internal storage data to be copied not
Meet the first preparatory condition;
Accordingly, it is described to detect internal storage data to be copied and meet the first preparatory condition, including:
When detecting internal storage data to be copied less than transmitted data amount is expected, met it is determined that detecting internal storage data to be copied
First preparatory condition.
3. according to the method described in claim 1, it is characterised in that first electronic equipment detects internal storage data to be copied
Whether meet before the first preparatory condition, methods described also includes:
When first electronic equipment copies internal storage data to second electronic equipment first, changed based on the maximum being pre-configured with
For time-out time internal storage data is copied to second electronic equipment;
The maximum downtime being pre-configured with is set to the target downtime.
4. according to the method described in claim 1, it is characterised in that detect internal storage data first fit first to be copied pre-
If it is described that former iteration time-out time is updated to secondary iteration time-out time during condition, including:
The minimum downtime being pre-configured with is set to the target downtime, based on the target downtime and to be copied
Internal storage data determine secondary iteration time-out time, former iteration time-out time is updated to the secondary iteration time-out time.
5. method according to claim 4, it is characterised in that methods described also includes:
Expectation transmitted data amount is redefined based on the minimum downtime;When internal storage data to be copied is not less than again true
During fixed expectation transmitted data amount, the minimum downtime being pre-configured with is adjusted as target downtime, base by default step-length
Secondary iteration time-out time is determined in the target downtime and internal storage data to be copied, former iteration time-out time is updated
For the secondary iteration time-out time.
6. the method according to any one of claim 1 to 5, it is characterised in that described to be updated to former iteration time-out time
After the secondary iteration time-out time, methods described also includes:
The specific data that itself specific components is stored are copied to second electronic equipment by first electronic equipment, and clearly
Except the specific data.
7. method according to claim 1 or 2, it is characterised in that methods described also includes:The first electronic equipment inspection
Survey whether internal storage data to be copied is less than object transmission data volume;Wherein, the object transmission data volume is delayed with the target
Machine time correlation joins;
When first electronic equipment detects that internal storage data to be copied is less than object transmission data volume, control switches to the machine of delaying
State.
8. a kind of electronic equipment, it is characterised in that the electronic equipment includes:Memory, controller and communication interface;Wherein,
The memory, the internal storage data to be copied for storing;Wherein, the internal storage data is to other electronic equipment iteration
The internal storage data of copy;
Whether the controller, the internal storage data to be copied stored for detecting in the memory meets the first default bar
Part;When detecting internal storage data to be copied and being unsatisfactory for the first preparatory condition, based on target downtime and internal memory to be copied
Data determine the first iteration time-out time, and former iteration time-out time is updated into the first iteration time-out time;Detect and treat
When the internal storage data of copy meets the first preparatory condition, former iteration time-out time is updated to secondary iteration time-out time;It is described
Former iteration time-out time is the corresponding iteration time-out time of last iteration copy internal storage data;
The communication interface, iteration time-out time for the target downtime that is determined according to the controller and after updating to
Other described electronic equipment iteration copy internal storage data.
9. electronic equipment according to claim 8, it is characterised in that the controller, the internal memory to be copied for detecting
Whether data, which are less than, is expected transmitted data amount;Wherein, it is described it is expected that transmission data are associated with target downtime;Detect and treat
When the internal storage data of copy is not less than transmitted data amount is expected, preset it is determined that detecting internal storage data to be copied and being unsatisfactory for first
Condition;When detecting internal storage data to be copied less than transmitted data amount is expected, it is determined that detecting internal storage data to be copied expires
The first preparatory condition of foot.
10. electronic equipment according to claim 8, it is characterised in that the communication interface, is additionally operable in the controller
Whether detection internal storage data to be copied is met before the first preparatory condition, and copies internal memory to other described electronic equipments first
During data, internal storage data is copied to other described electronic equipments based on the greatest iteration time-out time being pre-configured with;
The controller, the maximum downtime for being additionally operable to be pre-configured with is set to the target downtime.
11. electronic equipment according to claim 8, it is characterised in that the controller, for detecting in be copied
During deposit data the first preparatory condition of first fit, the minimum downtime being pre-configured with is set to the target downtime, base
Secondary iteration time-out time is determined in the target downtime and internal storage data to be copied, former iteration time-out time is updated
For the secondary iteration time-out time.
12. electronic equipment according to claim 11, it is characterised in that the controller, for being delayed based on the minimum
The machine time redefines expectation transmitted data amount;When internal storage data to be copied is not less than the expectation transmitted data amount redefined
When, the minimum downtime being pre-configured with is adjusted as target downtime by default step-length, based on the target downtime
Secondary iteration time-out time is determined with internal storage data to be copied, former iteration time-out time is updated to the secondary iteration time-out
Time.
13. the electronic equipment according to any one of claim 8 to 12, it is characterised in that the communication interface, is additionally operable to institute
State controller former iteration time-out time is updated to after the secondary iteration time-out time, by the specific memory section of the memory
The specific data of domain storage are copied to other described electronic equipments;
The controller, is additionally operable to remove the specific data stored in the particular memory region of the memory.
14. electronic equipment according to claim 8 or claim 9, it is characterised in that the controller, is additionally operable to detection to be copied
Internal storage data whether be less than object transmission data volume;Wherein, the object transmission data volume and the target downtime phase
Association;When first electronic equipment detects that internal storage data to be copied is less than object transmission data volume, control, which is switched to, delays
Machine state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710200838.9A CN107085534B (en) | 2017-03-30 | 2017-03-30 | Information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710200838.9A CN107085534B (en) | 2017-03-30 | 2017-03-30 | Information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107085534A true CN107085534A (en) | 2017-08-22 |
CN107085534B CN107085534B (en) | 2020-06-23 |
Family
ID=59614646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710200838.9A Active CN107085534B (en) | 2017-03-30 | 2017-03-30 | Information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107085534B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189545A (en) * | 2018-07-06 | 2019-01-11 | 烽火通信科技股份有限公司 | A kind of realization method and system improving live migration of virtual machine reliability |
CN109992197A (en) * | 2017-12-29 | 2019-07-09 | 苏州迈瑞微电子有限公司 | A kind of data read-write method, device, electronic equipment and storage medium |
CN111090496A (en) * | 2019-12-06 | 2020-05-01 | 苏州浪潮智能科技有限公司 | Virtual machine memory migration method and device based on automatic iteration time adjustment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090007106A1 (en) * | 2007-06-29 | 2009-01-01 | Microsoft Corporation | Virtual Machine Smart Migration |
CN102455942A (en) * | 2010-12-02 | 2012-05-16 | 中标软件有限公司 | Method and system for dynamic migration of WAN virtual machines |
CN102662723A (en) * | 2012-02-28 | 2012-09-12 | 北京邮电大学 | A virtual machine internal storage migration method based on down time threshold |
CN103064733A (en) * | 2011-10-20 | 2013-04-24 | 电子科技大学 | Cloud computing virtual machine live migration technology |
CN103365704A (en) * | 2012-03-26 | 2013-10-23 | ***通信集团公司 | Memory pre-copying method in virtual machine migration, device executing memory pre-copying method and system |
CN104965757A (en) * | 2015-01-21 | 2015-10-07 | 深圳市腾讯计算机***有限公司 | Virtual machine live migration method, virtual machine migration management apparatus, and virtual machine live migration system |
CN105446790A (en) * | 2014-07-15 | 2016-03-30 | 华为技术有限公司 | Virtual machine migration method and device |
-
2017
- 2017-03-30 CN CN201710200838.9A patent/CN107085534B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090007106A1 (en) * | 2007-06-29 | 2009-01-01 | Microsoft Corporation | Virtual Machine Smart Migration |
CN102455942A (en) * | 2010-12-02 | 2012-05-16 | 中标软件有限公司 | Method and system for dynamic migration of WAN virtual machines |
CN103064733A (en) * | 2011-10-20 | 2013-04-24 | 电子科技大学 | Cloud computing virtual machine live migration technology |
CN102662723A (en) * | 2012-02-28 | 2012-09-12 | 北京邮电大学 | A virtual machine internal storage migration method based on down time threshold |
CN103365704A (en) * | 2012-03-26 | 2013-10-23 | ***通信集团公司 | Memory pre-copying method in virtual machine migration, device executing memory pre-copying method and system |
CN105446790A (en) * | 2014-07-15 | 2016-03-30 | 华为技术有限公司 | Virtual machine migration method and device |
CN104965757A (en) * | 2015-01-21 | 2015-10-07 | 深圳市腾讯计算机***有限公司 | Virtual machine live migration method, virtual machine migration management apparatus, and virtual machine live migration system |
Non-Patent Citations (1)
Title |
---|
贺佰元: "面向电信业务的Xen虚拟机迁移的研究及优化", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109992197A (en) * | 2017-12-29 | 2019-07-09 | 苏州迈瑞微电子有限公司 | A kind of data read-write method, device, electronic equipment and storage medium |
CN109992197B (en) * | 2017-12-29 | 2022-08-26 | 苏州迈瑞微电子有限公司 | Data reading and writing method and device, electronic equipment and storage medium |
CN109189545A (en) * | 2018-07-06 | 2019-01-11 | 烽火通信科技股份有限公司 | A kind of realization method and system improving live migration of virtual machine reliability |
CN109189545B (en) * | 2018-07-06 | 2021-03-30 | 烽火通信科技股份有限公司 | Implementation method and system for improving thermal migration reliability of virtual machine |
CN111090496A (en) * | 2019-12-06 | 2020-05-01 | 苏州浪潮智能科技有限公司 | Virtual machine memory migration method and device based on automatic iteration time adjustment |
CN111090496B (en) * | 2019-12-06 | 2022-12-20 | 苏州浪潮智能科技有限公司 | Virtual machine memory migration method and device based on automatic iteration time adjustment |
Also Published As
Publication number | Publication date |
---|---|
CN107085534B (en) | 2020-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103955399B (en) | A kind of virtual machine migration method and device and physical host | |
CN104298559B (en) | The method and device of physical host system virtualization | |
US9460028B1 (en) | Non-disruptive and minimally disruptive data migration in active-active clusters | |
US8402200B2 (en) | Method and apparatus for storing and restoring state of virtual machine | |
JP5067425B2 (en) | Translation apparatus, translation method, translation program, processor core control method, and processor | |
CN107085534A (en) | A kind of information processing method and electronic equipment | |
EP2678770B1 (en) | Deploying a copy of a disk image from source storage to target storage | |
US9483414B2 (en) | Ordered memory pages transmission in virtual machine live migration | |
CN104965757A (en) | Virtual machine live migration method, virtual machine migration management apparatus, and virtual machine live migration system | |
US20080010496A1 (en) | System and Method to Create and Manage Multiple Virtualized Remote Mirroring Session Consistency Groups | |
US20180367379A1 (en) | Online upgrade method, apparatus, and system | |
US20090037554A1 (en) | Migrating workloads using networked attached memory | |
CN104166607B (en) | Data processing method and device for backup database | |
JP2013114684A (en) | System and method for managing virtual machine | |
JP4894745B2 (en) | Virtual machine migration control method | |
CN105760218A (en) | Online migration method and device for virtual machine | |
CN104461706B (en) | A kind of method and multiprocessing device that shared global variable is shared | |
CN112181736A (en) | Distributed storage system and configuration method thereof | |
CN110262893A (en) | The method, apparatus and computer storage medium of configuration mirroring memory | |
WO2014142217A1 (en) | Information processing system and method for relocating application | |
US8095755B2 (en) | System, method and computer program product for generating a consistent point in time copy of data | |
CN107329836A (en) | Multi-system memory management method and device and mobile terminal | |
CN112783605B (en) | Method, device, equipment and storage medium for thermomigration of virtual machine | |
CN102725746A (en) | Method and apparatus for managing memories in distributed computer system | |
CA2446434C (en) | Benchmark testing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |