Embodiment
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged, in the appropriate case so that embodiments of the invention described herein.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiments provide a kind of data processing method.
Fig. 1 is the process flow diagram of the data processing method according to the embodiment of the present invention.As shown in Figure 1, to comprise step as follows for this data processing method:
Step S102, obtains pending data.
Pending data can be need processed data, such as, and dimension data (as time data) and/or factual data (as production marketing data).
Step S104, run multiple affairs respectively to process pending data, wherein, multiple affairs are the independently multiple affairs each other split out in advance from default affairs, default affairs are the affairs for the treatment of pending data, default affairs comprise multiple parallel subtransaction, a subtransaction in the corresponding multiple subtransaction of each affairs in multiple affairs.
Wherein, affairs are program execution unit in database, and can be a SQL statement in relational database (as SQL server), also can be a program.When processing data, affairs being divided into multiple subtransactions of functional independence, and running these subtransactions, effectively can improve data processing performance.Multiple affairs can be: the affairs of write dimension data and the affairs of write factual data.
Default affairs can be the standalone transactions corresponding to pending data, these default affairs are the affairs for the treatment of pending data, such as, in the data that pending data are for being written to data warehouse, so, default affairs are then the affairs pending data being write data warehouse corresponding with it.Particularly, default affairs can be write in data warehouse by SSIS (SQL Server Integration Services) engineering by raw data, for storing the database of multi-dimensional data in data warehouse and Conceptual Modeling, be usually divided into dimension table and fact table.Dimension table stores the dimensional information of all kinds of factual data, and fact table stores achievement data, and is associated with dimension table.If dimension table is timetable, fact table is production marketing table, then have achievement data in production marketing table, and join with time correlation, then dimension table when being associated with.
Default affairs can comprise multiple subtransaction, can there is parallel subtransaction in the plurality of subtransaction.Multiple affairs of the embodiment of the present invention are according to multiple affairs that the function of multiple subtransaction splits out from these default affairs, that is to say, in multiple affairs, each affairs have identical function with the subtransaction of in default affairs, such as, default affairs comprise subtransaction A ', subtransaction B ' and subtransaction C ', the multiple affairs so split into comprise: affairs A, affairs B and affairs C, wherein, affairs A has identical function with subtransaction A ', affairs B has identical function with subtransaction B ', and affairs C has identical function with subtransaction C '.Affairs A, affairs B and affairs C are independently affairs, and each affairs all have atomicity.Like this, utilize and process pending data by multiple affairs, a part for the pending data of each issued transaction, because affairs each in multiple affairs all have independence, in the pending data procedures of process, when certain affairs occurs abnormal, such as, when affairs perform unsuccessfully, then only can re-execute the affairs of this exception.
Step S106, judges the affairs that whether there is operation exception in multiple affairs.
Step S108, if judge the affairs that there is operation exception in multiple affairs, then reruns the affairs of this operation exception.
Judge the affairs that whether there is operation exception in multiple affairs, if existed, then rerun the affairs of this exception, due to separate between multiple affairs, other affairs in multiple affairs are then without the need to reruning; If there is no abnormal transaction, then pending ED.Particularly, the affairs judging whether to exist in multiple affairs operation exception can be the marks by detection record affairs running status, judge that the mode whether this mark shows affairs operation exception judges.
According to the embodiment of the present invention, pending data are processed by running multiple affairs respectively, wherein, multiple affairs are the independently multiple affairs each other split out in advance from default affairs, default affairs are the affairs for the treatment of pending data, default affairs comprise multiple parallel subtransaction, a subtransaction in the corresponding multiple subtransaction of each affairs in multiple affairs, when judging the affairs that there is operation exception in multiple affairs, then only need rerun the affairs of this exception, without the need to running other affairs.And adopt in prior art affairs as default affairs process pending data time, when wherein certain subtransaction occurs abnormal, because affairs have atomicity, need to rerun all subtransactions, in embodiments of the present invention, only need rerun and occur abnormal affairs, substantially increase the efficiency of data processing like this, solve the problem that data-handling efficiency in prior art is low, reach the effect of the efficiency improving data processing.
Preferably, running multiple affairs respectively to before processing pending data, the data processing method of the embodiment of the present invention also comprises: obtain the multiple subtransactions preset in affairs; Multiple subtransaction is extracted as multiple independently affairs, obtains multiple affairs.
Here default affairs comprise multiple subtransaction, namely in affairs, part separate for function are divided into multiple subtransaction.For ensureing program parallelization and not destroying complete function, adopt the method for parallel subtransaction to carry out the parallel processing of fulfillment database program, the write efficiency of data warehouse can be improved like this.Such as, in the data warehouse ablation process of Conceptual Modeling engineering, after the dimension data table data stuffing of data warehouse, can walk abreast and fill the data of fact table, between each fact table, data are separate, but all rely on the data in dimension table.Using the process in whole padding data warehouse as complete affairs, so the process of the process of dimension data and each fact table data can be regarded as subtransaction, and each fact table data can be written in parallel to, and are namely multiple parallel subtransactions.But, because affairs have atomicity, could unify to submit to after namely needing to wait all operations to complete.In the meantime any step occur abnormal all can cause data rewind start to affairs before state.In parallel subtransaction, although subtransaction function is separate, if occur in any one subtransaction that process is abnormal, then can affect other all parallel subtransactions.When again processing, need again all processes in processing transactions, and be not only occur abnormal branch.In the present invention, parallel subtransaction is extracted as parallel standalone transaction by function, wherein, any one subtransaction occurs abnormal, capital is only occurring reruning this affairs in abnormal subtransaction, and each subtransaction is independent submission to, with this avoid interactional situation between parallel subtransaction (as needs etc. all transaction operation could unify submission after completing).
The embodiment of the present invention, obtain the multiple word subtransactions preset in affairs, multiple subtransaction is extracted as multiple affairs of the embodiment of the present invention, particularly, each subtransaction completed in same affairs is extracted as multiple independently affairs can by a SQL program is split as multiple program or data warehouse write in by the Sequence Container instrument in SSIS engineering, a Container is split as multiple Container by function and completes.Like this, obtain multiple separate affairs by original multiple subtransactions, when making the affairs occurring operation exception in multiple affairs, only need rerun the affairs of this exception.
Fig. 2 is the process flow diagram according to the preferred data processing method of the embodiment of the present invention.The data processing method of this embodiment can be a kind of preferred implementation of the data processing method of above-described embodiment.As shown in Figure 2, to comprise step as follows for this data processing method:
Step S202, obtains pending data.
Step S204, runs multiple affairs respectively to process pending data.
Step S202 and step S204 are identical with step S104 with the step S102 shown in Fig. 1 successively, do not repeat here.
Step S206, records the mode bit that in multiple affairs, each affairs are corresponding, and mode bit is for reflecting the running status of each affairs in multiple affairs.
It should be noted that, mode bit may be used for the running status representing multiple affairs, and wherein, the corresponding mode bit of each affairs in multiple affairs, this mode bit can be for representing the timestamp that affairs are run, and also may be used for the numerical value representing that affairs are run.Such as, when affairs are run successfully, the mode bit of these affairs becomes the first mark, when affairs operation exception (or failure), this mode bit becomes the second mark, like this, just can judge whether these affairs are run successfully or exception by detecting mode bit corresponding to affairs.
By record status bit, the affairs that this mode bit is corresponding judge whether multiple affairs have been run.By the mode of record status bit, the operation conditions of the affairs corresponding to mode bit can be detected fast, thus processed, effectively improve data processing performance.
Step S208, by judging whether mode bit is preset the affairs that mark judges whether to exist in multiple affairs operation exception.Wherein, when mode bit is for presetting mark, then the affairs operation exception that mode bit is corresponding, that is, default mark is that of arranging before affairs are run is used for judging this affairs normal operation whether mark.
Step S210, if judge, in affairs, existence position is the affairs presetting mark, then determine this affairs operation exception.
Step S212, reruns and occurs abnormal affairs.
According to the embodiment of the present invention, by recording the mode bit that in multiple affairs, each affairs are corresponding, judging whether the mode bit of multiple affairs is preset mark, if the mark of presetting, then determining that the affairs that this mode bit is corresponding occur abnormal, reruning abnormal affairs.The affairs of operation exception are determined in utilization state position, improve the detection speed of abnormal transaction, improve the efficiency of data processing further.
Fig. 3 is the process flow diagram according to the another preferred data processing method of the embodiment of the present invention.The data processing method of this embodiment can be a kind of preferred implementation of the data processing method of above-described embodiment.As shown in Figure 3, to comprise step as follows for this data processing method:
Step S302, obtains pending data.
Step S304, creates the state table being used for flag state position.
Step S306, the mode bit upgraded in state table is operation starting time, and operation starting time is the time that multiple affairs bring into operation.
Step S308, runs multiple affairs respectively to process pending data.
Step S310, when in multiple affairs during each affairs end of run, the mode bit of the affairs of end of run is updated to by state table the end of run time of the affairs of end of run.
Step S312, judges whether mode bit is operation starting time.
Step S314, if judge that mode bit is operation starting time, then determines to rerun this affairs by the affairs operation exception that mode bit is corresponding.
Particularly, timestamp can be used in embodiments of the present invention as the mark of running status.The timestamp that record affairs are run wherein, can be when affairs are run successfully, the end of run time corresponding with these affairs in change state table; If run unsuccessfully, then the mode bit in state table is still operation starting time, like this, and can by judging that whether this mode bit is that operation starting time judges whether this state is for being preset mark, thus determine affairs whether operation exception.
Such as, as shown in Figure 4, data in embodiments of the invention are written with 5 affairs and comprise: affairs A (write dimension data), affairs B (write factual data), affairs C (write factual data), affairs D (write factual data) and affairs E (write factual data), wherein, the parallel branch that 4 (affairs B, affairs C, affairs D and affairs E) write factual data is had.
State table is as shown in table 1, when multiple affairs bring into operation, time more in row state table is operation starting time, such as, first time operation starting time is set to 0:00:00, record paralleling transaction end of run time first time, if the end time of paralleling transaction normal operation first time is 15:00:00, then can judge that the paralleling transaction end of run time whether is equally 15:00:00, if equal, then think the success of this issued transaction, and using time that this end of run time 15:00:00 brings into operation as affairs next time.Before program enters each parallel branch, first judge whether timestamp corresponding to this branch equals the time 15:00:00 of this end of run, if unequal, then this branch's affairs operation exception, re-execute the affairs of this branch, other affairs are without the need to reruning; If equal, then directly jump out branch, and using this end of run time 15:00:00 as running the start time next time.If this step judgement is used for ensureing that a certain parallel branch occurs abnormal before, then only process this branch, and do not need normal branch between process after reruning.The efficiency again processed is improved with this.
After branch's affairs end of run of this operation exception, upgrading corresponding timestamp is end of run time 15:00:00.When whole branches, affairs have been run, and again judge whether the operation starting time of 4 paralleling transaction equals the end of run time, if equal, then these affairs are run and all completed.If operation starting time and end of run time are all 15:00:00 in the present embodiment, then these affairs are run and are all completed.
Table 1:
Alternatively, mode bit can also be digital state position.Wherein, when digital state position is the first numerical value, the affairs end of run of digital state position correspondence, when digital state position is second value, the affairs operation exception of digital state position correspondence.
First numerical value and second value can be the data representing different running status, and the first numerical value can be 1, and second value can be 0, and such as, when supposing that mode bit is 1, the affairs of mode bit 1 correspondence terminate, and namely judge affairs normal operation; When supposing that mode bit is 0, the affairs operation exception of mode bit 0 correspondence.
Particularly, before multiple paralleling transaction runs first, the mode bit of the plurality of affairs is set to 0, when end of run first, judge the mode bit that multiple affairs are corresponding respectively, if mode bit becomes 1, the then whole normal operation of multiple affairs, directly runs affairs next time; If the mode bit having at least 1 affairs corresponding between multiple affairs is 0, then the mode bit of this correspondence be 0 affairs rerun, the affairs of other normal operations are not by the impact of the affairs of this operation exception, and when the affairs of this operation exception complete, upgrading corresponding mode bit is 1.When whole affairs have been run, again judge whether the mode bit that the plurality of paralleling transaction is corresponding is 1, if the mode bit of correspondence is all 1, then these affairs are run and are all completed.
The embodiment of the present invention additionally provides a kind of data processing equipment.This device can realize its function by computer equipment.It should be noted that, the data processing equipment of the embodiment of the present invention may be used for performing the data processing method that the embodiment of the present invention provides, and the data processing equipment that the data processing method of the embodiment of the present invention also can be provided by the embodiment of the present invention performs.
Fig. 5 is the schematic diagram of the data processing equipment according to the embodiment of the present invention.As shown in Figure 5, this data processing equipment comprises: the first acquiring unit 10, processing unit 20, judging unit 30 and running unit 40.
First acquiring unit 10 is for obtaining pending data.
Pending data can be need processed data, such as, and dimension data (as time data) and/or factual data (as production marketing data).
Processing unit 20 is for running multiple affairs respectively to process pending data, wherein, multiple affairs are the independently multiple affairs each other split out in advance from default affairs, default affairs are the affairs for the treatment of pending data, default affairs comprise multiple subtransaction, a subtransaction in the corresponding multiple subtransaction of each affairs in multiple affairs.
Wherein, affairs are program execution unit in database, and can be a SQL statement in relational database (as SQL server), also can be a program.When processing data, affairs being divided into multiple subtransactions of functional independence, and running these subtransactions, effectively can improve data processing performance.Multiple affairs can be: the affairs of write dimension data and the affairs of write factual data.
Default affairs can be the standalone transactions corresponding to pending data, these default affairs are the affairs for the treatment of pending data, such as, in the data that pending data are for being written to data warehouse, so, default affairs are then the affairs pending data being write data warehouse corresponding with it.Particularly, default affairs can be write in data warehouse by SSIS (SQL Server Integration Services) engineering by raw data, for storing the database of multi-dimensional data in data warehouse and Conceptual Modeling, be usually divided into dimension table and fact table.Dimension table stores the dimensional information of all kinds of factual data, and fact table stores achievement data, and is associated with dimension table.If dimension table is timetable, fact table is production marketing table, then have achievement data in production marketing table, and join with time correlation, then dimension table when being associated with.
Default affairs can comprise multiple subtransaction, can there is parallel subtransaction in the plurality of subtransaction.Multiple affairs of the embodiment of the present invention are according to multiple affairs that the function of multiple subtransaction splits out from these default affairs, that is to say, in multiple affairs, each affairs have identical function with the subtransaction of in default affairs, such as, default affairs comprise subtransaction A ', subtransaction B ' and subtransaction C ', the multiple affairs so split into comprise: affairs A, affairs B and affairs C, wherein, affairs A has identical function with subtransaction A ', affairs B has identical function with subtransaction B ', and affairs C has identical function with subtransaction C '.Affairs A, affairs B and affairs C are independently affairs, and each affairs all have atomicity.Like this, utilize multiple affairs to process pending data, a part for the pending data of each issued transaction, because affairs each in multiple affairs all have independence, in the pending data procedures of process, when certain affairs occurs abnormal, such as, when affairs perform unsuccessfully, then only can re-execute the affairs of this exception.
Judging unit 30 is for judging the affairs that whether there is operation exception in multiple affairs.
If running unit 40 for judging the affairs that there is operation exception in multiple affairs, then reruns the affairs of operation exception.
Judge the affairs that whether there is operation exception in multiple affairs, if existed, then rerun the affairs of this exception, due to separate between multiple affairs, other affairs in multiple affairs are then without the need to reruning; If there is no abnormal transaction, then pending ED.Particularly, the affairs judging whether to exist in multiple affairs operation exception can be the marks by detection record affairs running status, judge that the mode whether this mark shows affairs operation exception judges.
According to the embodiment of the present invention, pending data are processed by running multiple affairs respectively, wherein, multiple affairs are the independently multiple affairs each other split out in advance from default affairs, default affairs are the affairs for the treatment of pending data, default affairs comprise multiple parallel subtransaction, a subtransaction in the corresponding multiple subtransaction of each affairs in multiple affairs, when judging the affairs that there is operation exception in multiple affairs, then only need rerun the affairs of this exception, without the need to running other affairs.And adopt in prior art affairs as default affairs process pending data time, when wherein certain subtransaction occurs abnormal, because affairs have atomicity, need to rerun all subtransactions, in embodiments of the present invention, only need rerun and occur abnormal affairs, substantially increase the efficiency of data processing like this, solve the problem that data-handling efficiency in prior art is low, reach the effect of the efficiency improving data processing.
Preferably, data processing equipment also comprises: second acquisition unit, for running multiple affairs respectively to before processing pending data, obtains the multiple subtransactions preset in affairs; And extraction unit, for multiple subtransaction is extracted as multiple independently affairs, obtain multiple affairs.
Here default affairs comprise multiple subtransaction, namely in affairs, part separate for function are divided into multiple subtransaction.For ensureing program parallelization and not destroying complete function, adopt the method for parallel subtransaction to carry out the parallel processing of fulfillment database program, the write efficiency of data warehouse can be improved like this.Such as, in the data warehouse ablation process of Conceptual Modeling engineering, after the dimension data table data stuffing of data warehouse, can walk abreast and fill the data of fact table, between each fact table, data are separate, but all rely on the data in dimension table.Using the process in whole padding data warehouse as complete affairs, so the process of the process of dimension data and each fact table data can be regarded as subtransaction, and each fact table data can be written in parallel to, and are namely multiple parallel subtransactions.But, because affairs have atomicity, could unify to submit to after namely needing to wait all operations to complete.In the meantime any step occur abnormal all can cause data rewind start to affairs before state.In parallel subtransaction, although subtransaction function is separate, if occur in any one subtransaction that process is abnormal, then can affect other all parallel subtransactions.When again processing, need again all processes in processing transactions, and be not only occur abnormal branch.In the present invention, parallel subtransaction is extracted as parallel standalone transaction by function, wherein, any one subtransaction occurs abnormal, capital is only occurring reruning this affairs in abnormal subtransaction, and each subtransaction is independent submission to, with this avoid interactional situation between parallel subtransaction (as needs etc. all transaction operation could unify submission after completing).
The embodiment of the present invention, obtain the multiple word subtransactions preset in affairs, multiple subtransaction is extracted as multiple affairs of the embodiment of the present invention, particularly, each subtransaction completed in same affairs is extracted as multiple independently affairs can by a SQL program is split as multiple program or data warehouse write in by the Sequence Container instrument in SSIS engineering, a Container is split as multiple Container by function and completes.Like this, obtain multiple separate affairs by original multiple subtransactions, when making the affairs occurring operation exception in multiple affairs, only need rerun the affairs of this exception.
Preferably, judging unit comprises: logging modle, for recording the mode bit that in multiple affairs, each affairs are corresponding, mode bit is for reflecting the running status of each affairs in multiple affairs, wherein, when mode bit is for presetting mark, the affairs operation exception that mode bit is corresponding; First judge module, for by judging that whether mode bit is preset the affairs that mark judges whether to exist in multiple affairs operation exception.
It should be noted that, mode bit may be used for the running status representing multiple affairs, and wherein, the corresponding mode bit of each affairs in multiple affairs, this mode bit can be for representing the timestamp that affairs are run, and also may be used for the numerical value representing that affairs are run.Such as, when affairs are run successfully, the mode bit of these affairs becomes the first mark, when affairs operation exception (or failure), this mode bit becomes the second mark, like this, just can judge whether these affairs are run successfully or exception by detecting mode bit corresponding to affairs.
By record status bit, the affairs that this mode bit is corresponding judge whether multiple affairs have been run.By the mode of record status bit, the operation conditions of the affairs corresponding to mode bit can be detected fast, thus processed, effectively improve data processing performance.
When mode bit is for presetting mark, then the affairs operation exception that mode bit is corresponding, that is, default mark is that of arranging before affairs are run is used for judging this affairs normal operation whether mark.
According to the embodiment of the present invention, by recording the mode bit that in multiple affairs, each affairs are corresponding, judging whether the mode bit of multiple affairs is preset mark, if the mark of presetting, then determining that the affairs that this mode bit is corresponding occur abnormal, reruning abnormal affairs.The affairs of operation exception are determined in utilization state position, improve the detection speed of abnormal transaction, improve the efficiency of data processing further.
Preferably, data processing equipment also comprises: creating unit, for running multiple affairs respectively to before processing pending data, creates the state table being used for flag state position; Updating block, be operation starting time for the mode bit upgraded in state table, operation starting time is the time that multiple affairs bring into operation, wherein, when in multiple affairs during each affairs end of run, the mode bit of the affairs of end of run is updated to the end of run time of the affairs of end of run by state table, judge module is also for judging whether mode bit is operation starting time, wherein, if judge that mode bit is operation starting time, then determine the affairs operation exception that mode bit is corresponding.
Particularly, timestamp can be used in embodiments of the present invention as the mark of running status.The timestamp that record affairs are run wherein, can be when affairs are run successfully, the end of run time corresponding with these affairs in change state table; If run unsuccessfully, then the mode bit in state table is still operation starting time, like this, and can by judging that whether this mode bit is that operation starting time judges whether this state is for being preset mark, thus determine affairs whether operation exception.
Such as, as shown in Figure 4, data in embodiments of the invention are written with 5 affairs and comprise: affairs A (write dimension data), affairs B (write factual data), affairs C (write factual data), affairs D (write factual data) and affairs E (write factual data), wherein, the parallel branch that 4 (affairs B, affairs C, affairs D and affairs E) write factual data is had.
State table is as shown in table 1, when multiple affairs bring into operation, time more in row state table is operation starting time, such as, first time operation starting time is set to 0:00:00, record paralleling transaction end of run time first time, if the end time of paralleling transaction normal operation first time is 15:00:00, then can judge that the paralleling transaction end of run time whether is equally 15:00:00, if equal, then think the success of this issued transaction, and using time that this end of run time 15:00:00 brings into operation as affairs next time.Before program enters each parallel branch, first judge whether timestamp corresponding to this branch equals the time 15:00:00 of this end of run, if unequal, then this branch's affairs operation exception, re-execute the affairs of this branch, other affairs are without the need to reruning; If equal, then directly jump out branch, and using this end of run time 15:00:00 as running the start time next time.If this step judgement is used for ensureing that a certain parallel branch occurs abnormal before, then only process this branch, and do not need normal branch between process after reruning.The efficiency again processed is improved with this.
After branch's affairs end of run of this operation exception, upgrading corresponding timestamp is end of run time 15:00:00.When whole branches, affairs have been run, and again judge whether the operation starting time of 4 paralleling transaction equals the end of run time, if equal, then these affairs are run and all completed.If operation starting time and end of run time are all 15:00:00 in the present embodiment, then these affairs are run and are all completed.
Alternatively, mode bit is digital state position, wherein, when digital state position is the first numerical value, the affairs end of run of digital state position correspondence, when digital state position is second value, the affairs operation exception of digital state position correspondence, judging unit comprises: the second judge module, for judging that digital state position is the first numerical value or second value, wherein, if when judging that digital state position is the first numerical value, determine the affairs end of run of digital state position correspondence; If when judging that digital state position is second value, determine the affairs operation exception of digital state position correspondence.
First numerical value and second value can be the data representing different running status, and the first numerical value can be 1, and second value can be 0, and such as, when supposing that mode bit is 1, the affairs of mode bit 1 correspondence terminate, and namely judge affairs normal operation; When supposing that mode bit is 0, the affairs operation exception of mode bit 0 correspondence.
Particularly, before multiple paralleling transaction runs first, the mode bit of the plurality of affairs is set to 0, when end of run first, judge the mode bit that multiple affairs are corresponding respectively, if mode bit becomes 1, the then whole normal operation of multiple affairs, directly runs affairs next time; If the mode bit having at least 1 affairs corresponding between multiple affairs is 0, then the mode bit of this correspondence be 0 affairs rerun, the affairs of other normal operations are not by the impact of the affairs of this operation exception, and when the affairs of this operation exception complete, upgrading corresponding mode bit is 1.When whole affairs have been run, again judge whether the mode bit that the plurality of paralleling transaction is corresponding is 1, if the mode bit of correspondence is all 1, then these affairs are run and are all completed.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed device, the mode by other realizes.Such as, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, mobile terminal, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.