Specific embodiment
In existing Internet service, operation system is usually associated with system upgrade, when upgrading to operation system,
New system would generally be established, later, the new business datum that user can be generated in Internet service is stored in new system
In.Specifically, it is determining to old system upgrade and after establishing new system, service center is handled in the service request to user
And when generating business datum, business datum can be sent to new system, new system is after receiving these business datums, storage
These business datums are migrated the new business datum of user into new system with realizing.
However, in practical applications, there are the generation time of a part of business datum Data Migration initial time it
Before, the time of operation system is reached after the initial time, in this way, when being stored to this partial service data, due to
Its generation time is before the initial time of Data Migration, and therefore, this partial service data can be sent to old system by service center
System, stores this partial service data by old system, further, since the time that this partial service data reaches operation system is data
After the initial time of migration, therefore, new system can also store this partial service data.In this way, due to old system and new system
This partial service data is stored simultaneously, operation system is caused possibly can not to be normally carried out business relevant to these business datums
Processing.
For example, when checking business datum, due to repeating to store a part of business in new system and old system
Data, therefore, it may appear that the inconsistent problem of data, for another example when being settled accounts to business datum, due to being deposited in new system
Business datum of the generation time before the initial time of Data Migration is contained, therefore, this partial service data, which will appear, to be delayed
The problem of clearing.
In view of this, this specification embodiment provides a kind of date storage method and device, this method is applied and the first industry
When business system, this method includes:When receiving business datum, Data Migration is judged whether to, is taken in the business datum
First time when with the generation business datum;When determining progress Data Migration, judge whether the first time reaches
Preset time, the preset time are used for the initial time of characterize data migration;When the first time, arrival was described default
Between when, store the business datum.
In this way, business datum is migrated to new system determining, due to increasing in new system to business datum
Whether generation time reaches the judgement of the initial time of Data Migration, therefore, new system can only store generation time be equal to or
It is later than the business datum of the initial time, the business datum that generation time is not reached to the initial time is avoided to deposit
Storage, that is, avoid the repetition storage of business datum, and then guarantees that operation system can be normally carried out related service processing.
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation
Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described
Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual,
Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, all should belong to
The range of this specification protection.
In this specification embodiment, first operation system can be understood as establishing when upgrading old system new
System, second operation system can be understood as the old system upgraded, wherein upgrading to operation system can
To be interpreted as establishing second operation system, by new business datum store to second operation system can be understood as by
New business datum is migrated into first operation system, and the new business datum can be understood as rising in Data Migration
The business datum generated after time beginning (including the initial time).
First operation system and second operation system may include multiple points for storage service data
Cloth stores equipment, and first operation system and second operation system can carry out subsequent core to business datum
To, clearing etc. business processings.
User after initiating business request, can be carried out in Internet service by service request of the service center to user
Business datum can be sent to operation system after being handled service request and generating business datum by reason, service center
It is stored.In this specification embodiment, second operation system is upgraded in determination and establishes first operation system
Afterwards, the business datum of generation can be sent to first operation system and second operation system by the service center,
First operation system and second operation system can be mentioned after receiving business datum using this specification embodiment
The technical solution of confession judges whether to store the business datum, and then the repetition of business datum is avoided to store.
Below in conjunction with attached drawing, the technical solution that each embodiment of this specification provides is described in detail.
Fig. 1 is the flow diagram of one embodiment data processing method of this specification.Data processing side shown in FIG. 1
Method can be applied to first operation system, and the method is as described below.
S102:When receiving business datum, Data Migration is judged whether to.
In a step 102, after determination upgrades old system and establishes the first operation system, when user is in internet
In business when initiating business request, service center can handle the service request of user and generate business datum, and will
These business datums are sent to the first operation system, and the first operation system can receive these business datums.
Service center can be carried in this specification embodiment, in the business datum when generating the business datum
At the first time, wherein the first time can be system time of the service center when generating the business datum, for example,
When the business datum is payment data, the first time can be service center and complete to pay and generate respective pay number
According to when system time.
First operation system is after receiving the business datum, it can be determined that whether carry out Data Migration, it is described whether
Carry out Data Migration can be understood as, if can with or allow to be stored in business datum in first operation system.
First operation system judges whether to Data Migration, may include:
Judge whether pre-set flag information meets the preset condition for carrying out Data Migration;
Data Migration is carried out if satisfied, then determining;
If not satisfied, then determining without Data Migration.
Specifically, the first operation system can preset flag information before judging whether to Data Migration, and
Preset condition is determined for the flag information, when the flag information meets the preset condition, can be considered as determining progress
Data Migration can be considered as when the flag information is unsatisfactory for the preset time without Data Migration.
The flag information can be expression formula, when the expression formula is true, can determine carry out Data Migration, work as institute
Stating expression formula is fictitious time, can be determined without Data Migration.For example, the expression formula can be isStartMigrate, when
When isStartMigrate=true, then carry out Data Migration can be determined;If, can when isStartMigrate=false
To determine without Data Migration.
The flag information is also possible to other forms, for example, the flag information can be whether the time is greater than or waits
In setting time, if so, carry out Data Migration can be determined, if it is not, can then determine without Data Migration.This specification
Embodiment no longer illustrates the other forms of the flag information one by one.
In one embodiment of this specification, the first business datum can be ignored when determining without Data Migration
The business datum, i.e., in the case where carrying out Data Migration, the first business datum will not store above-mentioned business datum.
In one embodiment of this specification, the first operation system can be executed when determining progress Data Migration
S104。
S104:When determining progress Data Migration, judge whether the first time reaches preset time.
At step 104, the first operation system can continue the business that judgement receives after determining progress Data Migration
Whether the first time carried in data reaches preset time.
In this specification embodiment, the preset time can be preset before carrying out Data Migration, described default
Time can be used for the initial time of characterize data migration, and the initial time of the Data Migration is it is to be understood that by business number
At the beginning of migrating to the first operation system.For example, determine carry out Data Migration after, can after one day 00:00:
00 starts to carry out Data Migration, wherein 00 after described one day:00:00 is the initial time of the Data Migration.
It should be understood that the initial time of the Data Migration may not be the time of integral point, for example, it can be XX XX
The 14 of the XX days moon:30:00.
First operation system judges whether the first time reaches the preset time, it can be understood as judges the industry
The generation time of business data (can wrap before the initial time of Data Migration, or after the initial time of Data Migration
Include the initial time of Data Migration).
First operation system is when judging whether the first time reaches the preset time, when can be by described first
Between compared with the preset time, if the first time earlier than the preset time, when can determine described first
Between do not reach the preset time;If the first time is equal to or is later than the preset time, described first can be determined
Time reaches the preset time.
For example, the preset time is 17 on December 25,14:30:00, if the first time is on December 25th, 17
12:30:00, then it can determine that the first time does not reach the preset time;If the first time is 17 year December 25
Day 14:30:00, then it can determine that the first time reaches the preset time;If the first time is 17 year December 25
Day 16:30:00, then it can also determine that the first time reaches the preset time.
First operation system can execute S106 after determining that the first time reaches the preset time.
S106:When the first time reaching the preset time, the business datum is stored.
In step 106, the first operation system, can be by institute when determining that the first time reaches the preset time
Business datum is stated to be stored.First operation system, can be according to the business number of storage after storing the business datum
According to progress related service processing.
First operation system can also return to confirmation message to service center, with notice after storing the business datum
The business datum is stored in the first operation system by service center.
In one embodiment of this specification, when the first time not reaching the preset time, in order to avoid
The repetition of business datum stores, and the first operation system can ignore the business datum, i.e., not store the business datum.
In this way, the first operation system can be only by generation time (including described after the initial time of Data Migration
Begin the time) business datum be stored in the first operation system, before the initial time and reach for generation time
Business datum of the time of one operation system after the initial time, the first operation system will ignore these business datums,
This way it is possible to avoid this partial service data is repeated to deposit in the second operation system (i.e. old system) and the first operation system
Storage, and then solve the problems, such as repetition storage service data existing in the prior art.
It should be noted that in order to guarantee that business datum is migrated according to the accurate time, in the business of above-mentioned record
The heart, the first operation system and the second operation system can have unified time standard, first time and described pre-
If the time (initial time of the i.e. described Data Migration), determination obtained on the basis of same time standard, for example, unified
Time standard can be Beijing time, and the first time and the preset time are determining on the basis of Beijing time
It arrives.In this way, can be in order to based on the subsequent time comparison of same time standard progress.
The technical solution that this specification embodiment provides, to old system upgrade and after establishing new system, new system is being connect
When receiving business datum, it can be determined that whether Data Migration is carried out, if so, further judging the generation time of business datum is
The no initial time for reaching Data Migration, if so, business datum is stored in new system.In this way, determining business number
According to migrating to new system, due to increasing whether the generation time to business datum reaches rising for Data Migration in new system
The judgement of time beginning, therefore, new system can only store the business datum that generation time is equal to or is later than the initial time, keep away
The business datum for exempting from not reaching generation time the initial time stores, that is, avoids the repetition storage of business datum,
To guarantee that operation system can be normally carried out related service processing.
Fig. 2 is the flow diagram of one embodiment data processing method of this specification.Data processing side shown in Fig. 2
Method can be applied to second operation system, what second operation system can be understood as recording in embodiment illustrated in fig. 1
The corresponding old system of first operation system.Data processing method shown in Fig. 2 is as described below.
S202:When receiving business datum, Data Migration is judged whether to.
In step 202, after determination upgrades old system and establishes the first operation system, when user is in internet
In business when initiating business request, service center can handle the service request of user and generate business datum, and will
While these business datums are sent to the first operation system, it is also sent to the second operation system, the second operation system can connect
Receive these business datums.
First time when generating the business datum can be carried in this specification embodiment, in the business datum,
The first time recorded in the first time and embodiment illustrated in fig. 1 is identical, and explanation is not repeated herein.
Second operation system is after receiving the business datum, it can be determined that whether carry out Data Migration, it is described whether
Carrying out Data Migration can be understood as, if can with or allow by business datum by store to the second operation system be changed to store to
First operation system.
Second operation system judges whether to Data Migration, may include:
Judge whether pre-set flag information meets the preset condition for carrying out Data Migration;
Data Migration is carried out if satisfied, then determining;
If not satisfied, then determining without Data Migration.
Specifically, the second operation system can preset flag information before judging whether to Data Migration, and
Preset condition is determined for the flag information, when the flag information meets the preset condition, can be considered as determining progress
Data Migration can be considered as when the flag information is unsatisfactory for the preset time without Data Migration.
It should be noted that the pre-set flag information of second operation system and being determined for the flag information
Preset condition can be with the flag information and preset condition of the default setting of the first operation system for being recorded in embodiment illustrated in fig. 1
It is identical, explanation is not repeated herein.That is, the second operation system and the first operation system can be true based on identical method
It is fixed whether to carry out Data Migration.
In one embodiment of this specification, the second business datum can store when determining without Data Migration
The business datum still stores the business datum by the second business datum that is, without Data Migration.
In one embodiment of this specification, the second business datum can be executed when determining progress Data Migration
S204。
S204:When determining progress Data Migration, judge whether the first time reaches preset time.
In step 204, the second operation system can continue the business that judgement receives after determining progress Data Migration
Whether the first time carried in data reaches preset time.
In this specification embodiment, the preset time can be preset before carrying out Data Migration, can be used for
The initial time of characterize data migration, specifically can be identical as the preset time recorded in embodiment shown in FIG. 1, here no longer
Repeated description.
Second operation system is when judging whether the first time reaches the preset time, when can be by described first
Between compared with the preset time, if the first time earlier than the preset time, when can determine described first
Between do not reach the preset time;If the first time is equal to or is later than the preset time, described first can be determined
Time reaches the preset time.It specifically may refer to the related content recorded in embodiment illustrated in fig. 1, be not repeated herein and retouch
It states.
Second operation system can execute S206 after determining that the first time does not reach the preset time.
S206:When the first time not reaching the preset time, the business datum is stored.
In step 206, the second operation system can be incited somebody to action when determining that the first time does not reach the preset time
The business datum is stored.
In this way, regardless of whether the time that the business datum reaches the second operation system is equal to or is later than rising for Data Migration
Begin the time, as long as the generation time of the business datum before the initial time of Data Migration, can be by the business number
According to storing into the second operation system.The content recorded in embodiment as shown in connection with fig. 1, for generation time in the starting
Between before and reach business datum of the time after the initial time of the second operation system, can only be stored to the
Two operation systems can store to avoid the repetition of business datum, and then solve repetition storage service number existing in the prior art
According to the problem of.
Second operation system can carry out related industry after storing the business datum according to the business datum of storage
Business processing.
Second operation system can also return to confirmation message to service center, with notice after storing the business datum
The business datum is stored in the first operation system by service center.
In addition, the second operation system can also record the time for receiving the business datum, according to the time of record
And the first time determines which business datum is generation time before the initial time of Data Migration, reaches business system
The time of system carries out related service processing after the initial time of Data Migration, and then to this partial data.
In one embodiment of this specification, when the first time reaching the preset time, as shown in connection with fig. 1
The content recorded in embodiment, in order to avoid the repetition of business datum stores, the second operation system can ignore the business number
According to, i.e., do not store the business datum, only by the first operation system storage generation time after the initial time of Data Migration
Business datum.
The technical solution that this specification embodiment provides, to old system upgrade and after establishing new system, old system is being connect
When receiving business datum, it can be determined that whether Data Migration is carried out, if so, further judging the generation time of business datum is
The no initial time for reaching Data Migration, if it is not, then business datum is stored in new system.In this way, determining business number
According to migrating to new system, when business datum is sent to old system, due to increasing in old system to business datum
Whether generation time reaches the judgement of the initial time of Data Migration, and therefore, old system can only store generation time earlier than institute
The business datum for stating initial time avoids the business datum for generation time being equal to or being later than the initial time from storing,
The repetition storage of business datum is avoided, to guarantee that operation system can be normally carried out related service processing.
Fig. 3 is the flow diagram of one embodiment data processing method of this specification, embodiment shown in Fig. 3 be by
Embodiment shown in FIG. 1 is combined with embodiment shown in Fig. 2, belongs to identical inventive concept, and the method is as described below.
After determination upgrades the second operation system and establishes the first operation system, step 301 can be executed.
Step 301:User is to service center initiating business request.
Step 302:Service center handles the service request and generates business datum.
First time when service center generates the business datum can be carried in the business datum.
Step 303:The business datum is sent to the first operation system and the second operation system by service center.
Step 304:First operation system judges whether to Data Migration when receiving the business datum.
First operation system is when judging whether to Data Migration, the side that can record in embodiment according to Fig. 1
Method is judged, description is not repeated herein.
If it is determined that carrying out Data Migration, then step 305 can be executed;If it is determined that can then be executed without Data Migration
Step 307.
Step 305:First operation system judges whether the first time reaches preset time.
The preset time can preset setting, the initial time that the preset time can be migrated with characterize data, and first
Operation system judges whether the first time reaches the preset time, it can be understood as judges the generation of the business datum
Time (may include Data Migration before the initial time of Data Migration, or after the initial time of Data Migration
Initial time).
First operation system judges that the method whether first time reaches preset time may refer to implement shown in Fig. 1
The related content recorded in example, is not repeated herein description.
If the first time reaches the preset time, step 306 can be executed;If the first time does not reach
The preset time can then execute step 307.
Step 306:Store the business datum.
Step 307:Ignore the business datum.
Step 308:Second operation system judges whether to Data Migration when receiving the business datum.
Second operation system is when judging whether to Data Migration, the side that can record in embodiment according to Fig.2,
Method is judged, description is not repeated herein.
If it is determined that carrying out Data Migration, then step 309 can be executed;If it is determined that can then be executed without Data Migration
Step 310.
Step 309:Second operation system judges whether the first time reaches the preset time.
Second operation system judge the first time whether reach the preset time method and above-mentioned record the
One operation system judge the first time whether reach the preset time method it is identical, description is not repeated herein.
If the first time does not reach the preset time, step 310 can be executed;If the first time reaches
The preset time can then execute step 311.
Step 310:Store the business datum.
Step 311:Ignore the business datum.
It can be seen that after the second operation system is upgraded to the first operation system, when determining without Data Migration,
Business datum can be stored in the second operation system, when determining progress Data Migration, if the generation time of business datum
Before the initial time of Data Migration, then business datum is stored in the second operation system, if when the generation of business datum
Between after the initial time of Data Migration (including initial time), then business datum is stored in the first operation system.This
Sample, after upgrading to operation system, identical business datum is merely stored in an operation system, it is possible to prevente effectively from existing
There is the problem of repetition of business datum in technology stores.
It should be noted that the step 304 of above-mentioned record can be performed simultaneously, i.e., first to 307 with step 308 to 311
Operation system and the second operation system can judge whether to store the business datum simultaneously after receiving business datum.
The technical solution that this specification embodiment provides, to old system upgrade and after establishing new system, new system and old
System can decide whether to carry out Data Migration when receiving business datum, if so, further judging business datum
Whether generation time reaches the initial time of Data Migration, if so, business datum is stored in new system, if it is not, then will
Business datum is stored in old system.In this way, business datum is migrated to new system determining, due in new system and old system
The judgement that the initial time of Data Migration whether is reached to the generation time of business datum, therefore, new system are increased in system
The business datum that generation time is equal to or is later than the initial time can be only stored, old system can only store generation time morning
In the business datum of the initial time, it is possible to prevente effectively from the repetition of business datum stores, to guarantee that operation system can be with
It is normally carried out related service processing.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment
It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable
Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can
With or may be advantageous.
Fig. 4 is the structural schematic diagram of one embodiment electronic equipment of this specification.Referring to FIG. 4, in hardware view, it should
Electronic equipment includes processor, optionally further comprising internal bus, network interface, memory.Wherein, memory may be comprising interior
It deposits, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile memories
Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other
Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..Only to be indicated with a four-headed arrow in Fig. 4, it is not intended that an only bus or a type of convenient for indicating
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer
Data processing equipment is formed on face.Processor executes the program that memory is stored, and is specifically used for executing following operation:
When receiving business datum, Data Migration is judged whether to, is carried in the business datum and generates the industry
First time when data of being engaged in;
When determining progress Data Migration, judge whether the first time reaches preset time, the preset time is used
In the initial time of characterize data migration;
When the first time reaching the preset time, the business datum is stored.
The method that data processing equipment disclosed in the above-mentioned embodiment illustrated in fig. 4 such as this specification executes can be applied to handle
In device, or realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.It is realizing
In the process, each step of the above method can pass through the integrated logic circuit of the hardware in processor or the instruction of software form
It completes.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.It may be implemented or execute and is in this specification embodiment disclosed
Each method, step and logic diagram.General processor can be microprocessor or the processor be also possible to it is any conventional
Processor etc..The step of method in conjunction with disclosed in this specification embodiment, can be embodied directly in hardware decoding processor execution
Complete, or in decoding processor hardware and software module combine execute completion.Software module can be located at random storage
Device, flash memory, read-only memory, this fields such as programmable read only memory or electrically erasable programmable memory, register at
In ripe storage medium.The storage medium is located at memory, and processor reads the information in memory, completes in conjunction with its hardware
The step of stating method.
The method that the electronic equipment can also carry out Fig. 1 and Fig. 3, and realize data processing equipment implementation shown in Fig. 1 and Fig. 3
Function in example, details are not described herein for this specification embodiment.
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of this specification, such as
Logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each
Logic unit is also possible to hardware or logical device.
This specification embodiment also proposed a kind of computer readable storage medium, the computer-readable recording medium storage
One or more programs, the one or more program include instruction, and the instruction is when by the portable electric including multiple application programs
When sub- equipment executes, the method that the portable electronic device can be made to execute embodiment illustrated in fig. 1, and be specifically used for executing following
Operation:
When receiving business datum, Data Migration is judged whether to, is carried in the business datum and generates the industry
First time when data of being engaged in;
When determining progress Data Migration, judge whether the first time reaches preset time, the preset time is used
In the initial time of characterize data migration;
When the first time reaching the preset time, the business datum is stored.
Fig. 5 is the structural schematic diagram of one embodiment data processing equipment 50 of this specification.Referring to FIG. 5, in one kind
In Software Implementation, the data processing equipment 50 may include:Judging unit 51 and storage unit 52, wherein:
Judging unit 51 judges whether to Data Migration, carries in the business datum when receiving business datum
Generate the first time when business datum;
The judging unit 51 judges whether the first time reaches preset time when determining progress Data Migration,
The preset time is used for the initial time of characterize data migration;
Storage unit 52 stores the business datum when the first time reaching the preset time.
Optionally, the judging unit 51, judges whether to Data Migration, including:
Judge whether pre-set flag information meets the preset condition for carrying out Data Migration;
Data Migration is carried out if satisfied, then determining;
If not satisfied, then determining without Data Migration.
Optionally, the judging unit 51 ignores the business datum when determining without Data Migration.
Optionally, the judging unit 51 is ignored described when determining that the first time does not reach the preset time
Business datum.
Optionally, the data processing equipment 50 further includes:Setting unit 53, wherein:
The setting unit 53 is arranged before the judging unit 51 judges whether to Data Migration for judging
Whether the flag information of Data Migration, and the setting preset time are carried out.
The method that data processing equipment 50 can also carry out Fig. 1, and realize the function of data processing equipment embodiment shown in Fig. 1
Can, details are not described herein for this specification embodiment.
Fig. 6 is the structural schematic diagram of one embodiment electronic equipment of this specification.Referring to FIG. 6, in hardware view, it should
Electronic equipment includes processor, optionally further comprising internal bus, network interface, memory.Wherein, memory may be comprising interior
It deposits, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile memories
Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other
Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..Only to be indicated with a four-headed arrow in Fig. 6, it is not intended that an only bus or a type of convenient for indicating
Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer
Data processing equipment is formed on face.Processor executes the program that memory is stored, and is specifically used for executing following operation:
When receiving business datum, Data Migration is judged whether to, is carried in the business datum and generates the industry
First time when data of being engaged in;
When determining progress Data Migration, judge whether the first time reaches preset time, the preset time is used
In the initial time of characterize data migration;
When the first time not reaching the preset time, the business datum is stored.
The method that data processing equipment disclosed in the above-mentioned embodiment illustrated in fig. 6 such as this specification executes can be applied to handle
In device, or realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.It is realizing
In the process, each step of the above method can pass through the integrated logic circuit of the hardware in processor or the instruction of software form
It completes.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.It may be implemented or execute and is in this specification embodiment disclosed
Each method, step and logic diagram.General processor can be microprocessor or the processor be also possible to it is any conventional
Processor etc..The step of method in conjunction with disclosed in this specification embodiment, can be embodied directly in hardware decoding processor execution
Complete, or in decoding processor hardware and software module combine execute completion.Software module can be located at random storage
Device, flash memory, read-only memory, this fields such as programmable read only memory or electrically erasable programmable memory, register at
In ripe storage medium.The storage medium is located at memory, and processor reads the information in memory, completes in conjunction with its hardware
The step of stating method.
The method that the electronic equipment can also carry out Fig. 2 and Fig. 3, and realize data processing equipment implementation shown in Fig. 2 and Fig. 3
Function in example, details are not described herein for this specification embodiment.
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of this specification, such as
Logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each
Logic unit is also possible to hardware or logical device.
This specification embodiment also proposed a kind of computer readable storage medium, the computer-readable recording medium storage
One or more programs, the one or more program include instruction, and the instruction is when by the portable electric including multiple application programs
When sub- equipment executes, the method that the portable electronic device can be made to execute embodiment illustrated in fig. 2, and be specifically used for executing following
Operation:
When receiving business datum, Data Migration is judged whether to, is carried in the business datum and generates the industry
First time when data of being engaged in;
When determining progress Data Migration, judge whether the first time reaches preset time, the preset time is used
In the initial time of characterize data migration;
When the first time not reaching the preset time, the business datum is stored.
Fig. 7 is the structural schematic diagram of one embodiment data processing equipment 70 of this specification.Referring to FIG. 7, in one kind
In Software Implementation, the data processing equipment 70 may include:Judging unit 71 and storage unit 72, wherein:
The judging unit 71, judges whether to Data Migration, including:
Judge whether pre-set flag information meets the preset condition for carrying out Data Migration;
Data Migration is carried out if satisfied, then determining;
If not satisfied, then determining without Data Migration.
Optionally, the judging unit 71 stores the business datum when determining without Data Migration.
Optionally, the judging unit 71, when determining progress Data Migration, if the first time reaches described preset
Time then ignores the business datum.
Optionally, the data carding apparatus 70 further includes:Setting unit 73, wherein:
The setting unit 73, before judging whether to Data Migration, setting is moved for judging whether to data
The flag information of shifting, and the setting preset time.
The method that data processing equipment 70 can also carry out Fig. 2, and realize the function of data processing equipment embodiment shown in Fig. 2
Can, details are not described herein for this specification embodiment.
Fig. 8 is the structural schematic diagram of one embodiment data processing system of this specification.Referring to FIG. 8, a kind of soft
In part embodiment, the data processing system 80 may include:First operation system 81 and the second operation system 82, wherein:
First operation system 81 judges whether to Data Migration, the business number when receiving business datum
According to the middle first time carried when generating the business datum;When determining progress Data Migration, judge that the first time is
No arrival preset time, the preset time are used for the initial time of characterize data migration;Described in being reached when the first time
When preset time, the business datum is stored;
Second operation system 82 judges whether to Data Migration when receiving the business datum;In determination
When carrying out Data Migration, judge whether the first time reaches the preset time;Described in not reached when the first time
When preset time, the business datum is stored
The first operation system recorded in Fig. 1 and embodiment illustrated in fig. 3 realization may be implemented in first operation system 81
Function, concrete methods of realizing may refer to the content recorded in Fig. 1 and embodiment illustrated in fig. 3, explanation is not repeated herein.
The second operation system recorded in Fig. 2 and embodiment illustrated in fig. 3 realization may be implemented in second operation system 82
Function, concrete methods of realizing may refer to the content recorded in Fig. 2 and embodiment illustrated in fig. 3, is also not repeated to illustrate here.
In short, being not intended to limit the protection of this specification the foregoing is merely the preferred embodiment of this specification
Range.For all spirit in this specification within principle, any modification, equivalent replacement, improvement and so on should be included in this
Within the protection scope of specification.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.