CN101324856B - Method and system for upgrading data - Google Patents

Method and system for upgrading data Download PDF

Info

Publication number
CN101324856B
CN101324856B CN2008101354722A CN200810135472A CN101324856B CN 101324856 B CN101324856 B CN 101324856B CN 2008101354722 A CN2008101354722 A CN 2008101354722A CN 200810135472 A CN200810135472 A CN 200810135472A CN 101324856 B CN101324856 B CN 101324856B
Authority
CN
China
Prior art keywords
data
upgrading
rule
repair
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2008101354722A
Other languages
Chinese (zh)
Other versions
CN101324856A (en
Inventor
崔羽
韦光亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN2008101354722A priority Critical patent/CN101324856B/en
Publication of CN101324856A publication Critical patent/CN101324856A/en
Application granted granted Critical
Publication of CN101324856B publication Critical patent/CN101324856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a data upgrading method. The method comprises the following steps: data verification is performed according to the predetermined upgrading rule, so as to determine whether the data conforms to the upgrading rule or not; if so, the data conforming to the upgrading rule is upgraded; and if not, the abnormal data which cannot conform to the upgrading rule is recovered, and the data verification is performed again after the data recovery. The invention also discloses a system for data upgrading. By adopting the method, the problems of software upgrading, especially the data upgrading interruption caused by the abnormal data during the upgrading process of the enterprise management software can be solved, the probability of the data upgrading error can be reduced, the accuracy of the data upgrading can be enhanced, and the upgrading efficiency can be improved.

Description

A kind of data updating method and system
Technical field
The present invention relates to a kind of data processing technique, particularly relate to a kind of data updating method and system.
Background technology
In today of software industry develop rapidly, the upgrading that how effectively to solve software has become the problem that people generally are concerned about.
Wherein, before formally upgrading, the data of preparing upgrading are called pre-upgrade data.In the data escalation process, may there be the data that do not meet the upgrading rule, claim that this data that do not meet the upgrading rule are abnormal data.Escalation process will guarantee all data consistents of tables of data 1 (Form1) and tables of data 2 (Form2) same field, and this process is called synchronous renewal.
In the prior art, the upgrading scheme of business management software has two kinds mostly:
1, before upgrading, be that database layer is revised data from bottom.Because the method will be that database layer is revised data from bottom before upgrading, thereby has increased data technology of upgrading difficulty, can only be handled by the technical professional.
2, unification is not earlier handled abnormal data the data upgrading, all abnormal datas is repaired or code process after the end to be upgraded again.Again all abnormal datas are handled after the upgrading, be actually a kind of way of running counter to the upgrading rule.Because adopt this kind technology, normal data and abnormal data are not to upgrade by carry out data with the same in other words section program of a kind of method, and data escalation process essence is inconsistent, thereby has increased the risk of upgrading virtually.Particularly for business management software, just there is more incidence relation in data itself, do not take unified upgrade step upgrading for normal data and abnormal data, take which type of repair data mode all to have risk.If when especially in escalation process, running into abnormal data and cause can't continuing to upgrade, need to end escalation process and also withdraw from, cause data upgrading failure, upgrade job can't be finished.
Summary of the invention
In view of this, the invention provides a kind ofly, utilize this method based on data updating method and system, can solve software upgrading particularly in the business management software escalation process because the data upgrading that abnormal data caused is interrupted, the problem of data staging error.
For achieving the above object, the invention provides a kind of data updating method, this method comprises:
According to predefined upgrading rule, data are carried out verification, whether judgment data meets described upgrading rule; Described verification comprises the detection of stored process, and the detection algorithm of realizing by storing process detects data;
If then the data that meet the upgrading rule are upgraded; If not, then the abnormal data that does not meet the upgrading rule is repaired the storing process title according to correspondence, repair, carry out data check after the reparation again by the reparation algorithm that storing process is realized.
Wherein, described data upgrading rule comprises data upgrading scope, data uniqueness judgment rule, data check rule, data primary and secondary principle.
Described data are carried out verification, whether judgment data meets described data check rule, specifically comprises:
Determine pre-upgrade data according to described data upgrading scope;
From at least two systems, obtain pre-upgrade data, and, judge whether described pre-upgrade data meets the data check rule according to described data check rule.
The data that meet the upgrading rule are upgraded, specifically comprise:
According to data primary and secondary principle, the data in described at least two systems are upgraded synchronously;
Wherein, according to data uniqueness judgment rule, the corresponding data in described at least two systems are upgraded synchronously.
Described data upgrading rule also comprises the data repair rule, and the described abnormal data that does not meet the upgrading rule is repaired specifically comprises:
According to described data repair rule, the data that do not meet the upgrading rule are repaired automatically.
Between data check and data repair step, also comprise:
To not meeting the data of upgrading rule, carry out early warning according to predefined early warning rule.
A kind of system of data upgrading comprises:
Upgrading Rulemaking unit: be used to formulate data upgrading rule;
The data check unit: be used for according to predefined upgrading rule data being carried out verification, whether judgment data meets described upgrading rule; If, trigger data upgrading unit then, if not, then trigger data is repaired the unit; Described verification comprises the detection of stored process, and the detection algorithm of realizing by storing process detects data;
Data repair unit: be used for the abnormal data that does not meet the upgrading rule is repaired the storing process title according to correspondence, repair, repair back trigger data verification unit and carry out data check again by the reparation algorithm that storing process is realized;
Data upgrading unit: be used for the data that meet the upgrading rule are upgraded.
Wherein, described data upgrading rule comprises data upgrading scope, data uniqueness judgment rule, data check rule, data primary and secondary principle.
Described data check unit specifically comprises:
Data are determined subelement, are used for determining pre-upgrade data according to described data upgrading scope;
Data are obtained subelement, are used for obtaining pre-upgrade data from least two systems;
The syndrome unit is used for according to described data check rule, judges whether described pre-upgrade data meets the data check rule; If, trigger data upgrading unit then, if not, then trigger data is repaired the unit.
Described data upgrading unit carries out the data upgrading in the following manner:
According to data primary and secondary principle, the data in described at least two systems are upgraded synchronously;
Wherein, according to data uniqueness judgment rule, the corresponding data in described at least two systems are upgraded synchronously.
Described data upgrading rule also comprises the data repair rule, and then described data repair unit is repaired the data that do not meet the upgrading rule automatically according to described data repair rule.
Described system also comprises:
The data early warning unit is used for carrying out early warning to not meeting the data of upgrading rule according to predefined early warning rule.
As seen, the present invention has improved present data updating method, to may cause the abnormal data of staging error to be caught in the escalation process by verification in the pre-upgrading stage, the abnormal data of catching is revised immediately, so just guaranteed data upgrading one-time-reach-place, need not after escalation process finishes, carry out extra data repair again, guarantee the consistance of data upgradings, avoid correct data and abnormal data upgrading mode inconsistent.This operation has not only improved the accuracy and the consistance of data upgradings, and has simplified operation easier.
The present invention sets warning level, can send different alarms according to different abnormal datas, makes things convenient for the user to understand the data upgrade case, takes appropriate measures.
The present invention also is provided with updating result report unit, can send report to the user when the data upgrading finishes.
Description of drawings
Fig. 1 is the principle flow chart of data upgrading of the present invention;
Fig. 2 is the particular flow sheet of the embodiment of the invention one data upgrading;
Fig. 3 is the particular flow sheet of the embodiment of the invention two data upgrading;
Fig. 4 is the particular flow sheet of the embodiment of the invention three data upgrading;
Fig. 5 is a data upgrade-system block diagram of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
The present invention is primarily aimed at present data upgrade technique and improves, before the formal upgrading of data, increased treatment mechanism to the abnormal data that may exist, be data check, so just guaranteed data upgrading one-time-reach-place, need not after escalation process finishes, carry out extra data repair process again.
Below in conjunction with accompanying drawing and specifically the present invention being elaborated.
As shown in Figure 1, the invention provides a kind of data updating method.Data escalation process in the method comprises upgrading Rulemaking step 102, data check step 103, abnormal data reparation step 104 and 105 4 steps of data upgrade step.
Beginning step 101: enter the data upgrading stage;
Upgrading Rulemaking step 102: design data upgrading rule;
Data check step 103: receive the data stream that needs upgrading, every data are carried out verification according to the upgrading rule, distinguish normal and abnormal data, after obtaining all abnormal datas, enter abnormal data and repair step 104 by verification;
Wherein, the data that meet the upgrading rule are normal data, can normally upgrade; The data that do not meet the upgrading rule are " abnormal data ".
Abnormal data is repaired step 104: for all data that do not meet the upgrading rule provide repair function;
Can repair abnormal data by manual mode, the information of the information of some fields or certain several field in the repair data for example, make it meet data upgrading rule, if abnormal data then continues execute exception data repair step 104 through still not meeting the upgrading rule after repairing.
Data upgrade step 105: the data that will meet the upgrading rule are upgraded;
End step 106: withdraw from this flow process after all data upgradings finish.
As shown in Figure 2, the embodiment of the invention one provides a kind of data updating method.Data escalation process in the method comprises upgrading Rulemaking step 202, data check step 203, abnormal data reparation step 204 and 205 4 steps of data upgrade step.
Beginning step 201: enter the data upgrading stage.
Upgrading Rulemaking step 202 specifically comprises:
Specified data upgrading scope: the data of determining the needs upgrading according to different systems;
Wherein, the scope of data upgrading is promptly determined the data that needs are upgraded according to different system's needs;
Formulate data upgrading rule: according to uniqueness specified data upgrading rule;
Preferably, adopt the rule of major key field as the data upgrading, for example, with name or ID (identity number) card No. upgrading rule as data.
Formulate data primary and secondary principle: determine the leading data of system, when data have conflict, be as the criterion with leading data;
Formulation data check rule: how verification of data.
Create the tables of data upgrading and detect information table (Upgrade Check),, need the detection rule items that data are detected in the record escalation process as table 1.
Table 1
Figure G2008101354722D00051
Each ingredient that upgrading detects information table is:
Test item title: be used for the record check project name;
Descriptor: be used to write down test item details descriptor;
Detection order: be used for the sequencing that record entry is checked;
Detection of stored process title: be used to write down the storing process of test item correspondence, storing process is realized detection algorithm, detects data by storing process;
Whether pressure reparation: 0 for not, and 1 for being, if 1 for forcing reparation, promptly must repair testing result.
Test item can be preset or expand by the pre-data of inserting, detection algorithm can be realized by the definition storing process.
Formulate and repair algorithm: after Data Detection notes abnormalities,, realize data repair automatically according to repairing algorithm.
Create upgrade data restoration information table (Upgrade Fix), as table 2, algorithm repaired in record.
Table 2
Figure G2008101354722D00062
Test item ID: respective upgrades detects the unique identification of information table, the i.e. restoration information of test item correspondence.
Title: repair action name;
Descriptor: repair operation and describe;
Repair the storing process title: the reparation storing process title that record is corresponding, realize the reparation of data by this storing process.
Can preset or expand the reparation algorithm by the pre-data of inserting, realize the data repair algorithm by the definition storing process.
Upgrade data checking procedure 203: receive the data stream that needs upgrading, every data are carried out verification according to the upgrading rule, distinguish normal data and abnormal data, after obtaining all abnormal datas, enter abnormal data and repair step 204 by verification.
Wherein, the data that meet the upgrading rule are normal data, can normally upgrade; The data that do not meet the upgrading rule are " abnormal data ".
Data Detection specifically comprises: test item information: detect information table from upgrading and read test item information.In detecting information table,, select corresponding data, and sort in proper order according to certain detection according to concrete choice criteria.
Wherein, preferred, the standard of selecting data can be to select the test item title, descriptor, and whether detection of stored process title forces to repair etc.
Traversal test item information: for the abnormal data that each needs that obtain detects is determined the detection of stored process, and carry out the detection of stored process from detect information table, return testing result information after executing.
Testing result shows: in terminal is to show testing result information on the display.
Abnormal data is repaired step 204: for all data that do not meet the upgrading rule provide repair function, can or repair abnormal data automatically by craft, for example the information of the information of some fields or certain several field in the repair data makes it meet data upgrading rule.
If abnormal data then continues execute exception data repair step 204 through still not meeting the upgrading rule after repairing.
Data repair is divided into:
Repaired by hand data: repaired by hand abnormal data.
Automatic repair data:, repair abnormal data automatically according to repairing algorithm.
From upgrade data restoration information table, find the storage address of corresponding repair data, find according to corresponding address and repair later data, and the data after will repairing are stored.
Data upgrade step 205: the data that will meet the upgrading rule are upgraded.
Preferably, updating result reporting step 206: when the data upgrading finishes, send report to the user.
End step 207: withdraw from this program after all data upgradings finish.
As shown in Figure 3, the embodiment of the invention two provides a kind of data updating method.The data escalation process that the method comprises comprises upgrading Rulemaking step 302, data check step 303, data exception early warning step 304, abnormal data reparation step 305 and 306 4 steps of data upgrade step.
Beginning step 301: enter the data upgrading stage;
Upgrading Rulemaking step 302 specifically comprises:
Specified data upgrading scope: according to uniqueness specified data upgrading rule;
Preferably, adopt the rule of major key field as the data upgrading, for example, with name or ID (identity number) card No. upgrading rule as data.
Formulate data upgrading rule: specified data uniqueness basis for estimation;
Preferably, adopt major key field to judge field as uniqueness.
Formulate data primary and secondary principle: determine leading system data, when data have conflict, be as the criterion with leading system data;
Formulation early warning rule: warning level is set, divides 3 ranks at least: detect and do not pass through, necessary repair data; Warning, suggestion is repaired; By;
Formulation data check rule: how verification of data.
Create the tables of data upgrading and detect information table,, need the detection rule items that data are detected in the record escalation process as table 1.
Table 1
Figure G2008101354722D00081
Figure G2008101354722D00091
Each ingredient that upgrading detects information table is:
Test item title: be used for the record check project name;
Descriptor: be used to write down test item details descriptor;
Detection order: the sequencing that is used for inspection item;
Detection of stored process title: be used to write down the storing process of test item correspondence, storing process is realized detection algorithm, detects data by storing process;
Whether pressure reparation: 0 for not, and 1 for being, as 1 for forcing reparation, promptly must repair testing result.
Test item can be preset or expand by the pre-data of inserting, detection algorithm can be realized by the definition storing process.
Formulate and repair algorithm: after Data Detection notes abnormalities,, realize data repair automatically according to repairing algorithm.
Create upgrade data restoration information table, as table 2, algorithm repaired in record.
Table 2
Figure G2008101354722D00092
Figure G2008101354722D00101
Test item ID: respective upgrades detects the unique identification of information table, the i.e. restoration information of test item correspondence.
Title: be used for record and repair action name;
Descriptor: be used for record and repair the operation description;
Repair the storing process title: be used to write down corresponding reparation storing process title, realize the reparation of data by this storing process.
Can preset or expand the reparation algorithm by the pre-data of inserting, realize the data repair algorithm by the definition storing process.
Upgrade data checking procedure 303: receive the data stream that needs upgrading, every data are carried out verification according to the upgrading rule, distinguish normal data and abnormal data, after obtaining all abnormal datas, enter abnormal data and repair step 305 by verification.
Wherein, the data that meet the upgrading rule are normal data, can normally upgrade; The data that do not meet the upgrading rule are " abnormal data ".
Data Detection specifically comprises:
Test item information: detect information table from upgrading and read test item information.In detecting information table,, select corresponding data, and sort in proper order according to certain detection according to concrete choice criteria.Wherein, preferred, the standard of selecting data can be to select the test item title, descriptor, and whether detection of stored process title forces to repair etc.
Traversal test item information: for each determines the detection of stored process to the abnormal data that the needs that obtain detect from detect information table, and carry out the detection of stored process, return testing result information after executing.
Testing result shows: in terminal is to show testing result information on the display.
Abnormal data early warning step 304: when detecting abnormal data, send early warning signal according to the early warning rule that pre-establishes.
Abnormal data is repaired step 305: for all data that do not meet the upgrading rule provide repair function, can or repair abnormal data automatically by craft, for example the information of the information of some fields or certain several field in the repair data makes it meet data upgrading rule.
If abnormal data then continues execute exception data repair 305 through still not meeting the upgrading rule after repairing.
Data repair is divided into:
Repaired by hand data: repaired by hand abnormal data.
Automatic repair data:, repair abnormal data automatically according to repairing algorithm.
From upgrade data restoration information table, find the storage address of corresponding repair data, find according to corresponding address and repair later data, and the data after will repairing are stored.
Data upgrade step 306: the data that will meet the upgrading rule are upgraded.
Preferably, updating result reporting step 307: when the data upgrading finishes, send report to the user.
End step 308: withdraw from this program after all data upgradings finish.
The embodiment of the invention three provides a kind of data updating method, and present embodiment is primarily aimed at the method for the data upgrading of business management software system, and with two information integrated examples that upgrade to of system personnel, specific implementation process is as follows:
For office worker's data of the office worker's data of the A of system and the B of system are integrated, the office worker's information balance that reaches A of system and the B of system promptly writes down office worker's name, ID (identity number) card No., sex, date of birth unanimity with consistent, divides following each step:
Beginning step 401: enter the data upgrading stage.
Upgrading Rulemaking step 402:
1, specified data upgrading scope: the system that relates to is A of system and the B of system, and the data that relate to are the A office worker of system information, system B office worker information.
2, formulate data upgrading rule: with the ID (identity number) card No. is unique identification.
3, formulate data primary and secondary principle:
If there is identical office worker in system A but this office worker's information inconsistency with the B of system,, be synchronized to the B of system based on the A of system; If office worker's information that system A exists, system B does not exist, with the A of system data sync to the B of system; If office worker's information that system B exists, system A does not exist, with the B of system data sync to the A of system
4, formulate the early warning rule: early warning divides 3 ranks: do not pass through, and warning, by
5, formulate the data check rule
When the A of system exists ID (identity number) card No. identical with the B of system, but office worker's name record inequality, then this record detects and does not pass through, and needs to repair; When A of system and the B of system exist ID (identity number) card No. identical and office worker's name is identical, but supplementarys such as sex, date of birth are inequality, and then this record detects and warns, and suggestion is repaired; When the A of system is identical with information such as the B of system ID (identity number) card No., office worker's name, sex, dates of birth, then this record detects and passes through.
The verification rule is formed the pre-SQL of inserting, insert upgrading detection information (Upgrade Check).
6, formulate to repair algorithm: when there are the identical office worker of ID (identity number) card No. in A of system and the B of system, with office worker's name, sex, the date of birth information of office worker's name of the A of system, sex, date of birth information update system B correspondence.
Repair mode is formed the pre-SQL of inserting, insert upgrade data restoration information table.
Upgrade data checking procedure 403:
1, data extract: obtain office worker's data respectively from A of system and the B of system.
2, data comparison and verification: with the A office worker of system data and system's B office worker's data is that unique identification carries out verification with the ID (identity number) card No..
Abnormal data early warning step 404:
The record identical to ID (identity number) card No., that office worker's name does not pass through is designated " not passing through ", mandatory requirement repair data: identical and office worker's name is identical to ID (identity number) card No., but sex, the record that date of birth information is different are designated " warning ", and suggestion is repaired; To ID (identity number) card No., office worker's name, sex, record that date of birth information is identical, be designated " by ".
Data repair step 405:
Can adopt two kinds of restorative procedures:
1, repaired by hand: according to early warning sign, repair, the data that are designated " warning " are carried out the selectivity reparation to being designated the data that " not by " write down.
2, automatically repair:, repair being designated the data that " not by " write down according to automatic reparation rule.
Data upgrade step 406:
If office worker's information that system A exists, system B does not exist, with the A of system data sync to the B of system;
If office worker's information that system B exists, system A does not exist, with the B of system data sync to the A of system: other information inconsistencies based on the A of system, are synchronized to the B of system if there is identical office worker's title in the A of system with the B of system.
Preferably, updating result reporting step 407: when the data upgrading finishes, send report to the user.
End step 408: withdraw from this program after all data upgradings finish.
Especially, this scheme can be applicable to the edition upgrading of the data integration and the system of heterogeneous system.
With reference to Fig. 5, the installation drawing of the embodiment of the invention below is described, comprising:
Upgrading Rulemaking unit 501: be used to formulate data upgrading rule;
Upgrade data verification unit 502: be used for according to predefined upgrading rule data being carried out verification, whether judgment data meets described upgrading rule; If, trigger data upgrading unit then, if not, then trigger data is repaired the unit;
Data repair unit 503: be used for the abnormal data that does not meet the upgrading rule is repaired, repair back trigger data verification unit and carry out data check again;
Data upgrading unit 505: be used for the data that meet the upgrading rule are upgraded.
Wherein, described data upgrading rule comprises data upgrading scope, data uniqueness judgment rule, data check rule, data primary and secondary principle.
Described data check unit 502 specifically comprises:
Data are determined subelement, are used for determining pre-upgrade data according to described data upgrading scope;
Data are obtained subelement, are used for obtaining pre-upgrade data from least two systems;
The syndrome unit is used for according to described data check rule, judges whether described pre-upgrade data meets the data check rule; If, trigger data upgrading unit then, if not, then trigger data is repaired the unit.
Described data upgrading unit carries out the data upgrading in the following manner:
According to data primary and secondary principle, the data in described at least two systems are upgraded synchronously;
Wherein, according to data uniqueness judgment rule, the corresponding data in described at least two systems are upgraded synchronously.
Described data upgrading rule also comprises the data repair rule, and then described data repair unit is repaired the data that do not meet the upgrading rule automatically according to described data repair rule.
Described system also comprises:
Abnormal data prewarning unit 504 is used for carrying out early warning to not meeting the data of upgrading rule according to predefined early warning rule.
Upgrading Rulemaking unit 501: be used to formulate data upgrading rule, described data upgraded according to the upgrading rule;
Upgrade data verification unit 502: be used for the data that will upgrade are carried out verification, whether judgment data meets described data check rule;
Data repair unit 503: be used to repair described abnormal data;
Data upgrading unit 505: be used for when specified data is normal data, data being upgraded.
Wherein, described upgrading Rulemaking unit 501 comprises:
Data upgrading scope determining unit, data uniqueness rule determining unit, data primary and secondary principle is formulated the unit, and the algorithmization unit is repaired in data check Rulemaking unit;
Described upgrade data verification unit 502 comprises:
Data extracting unit, data contrast unit;
Described upgrading Rulemaking unit 501 also comprises:
Early warning Rulemaking unit: be used to formulate the early warning rule.
Described system also comprises:
Abnormal data prewarning unit 504: be used for after device detects abnormal data, giving the alarm.
Described system also comprises:
Updating result report unit 506: when being used for data upgrading end, send report to the user.
Need to prove, one of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in the computer read/write memory medium, this program comprises the step of said method when carrying out; Described storage medium, as: ROM/RAM, magnetic disc, CD etc.
It will be appreciated by those skilled in the art that accompanying drawing is the synoptic diagram of a preferred embodiment, the module in the accompanying drawing might not be that enforcement the present invention is necessary.
The scheme of the content record of claim also is the protection domain of the embodiment of the invention.
The explanation of above embodiment just is used for helping to understand method of the present invention and thought thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (13)

1. a data updating method is characterized in that, comprising:
According to predefined upgrading rule, data are carried out verification, whether judgment data meets described upgrading rule; Described verification comprises the detection of stored process, and the detection algorithm of realizing by storing process detects data;
If then the data that meet the upgrading rule are upgraded; If not, then the abnormal data that does not meet the upgrading rule is repaired the storing process title according to correspondence, repair, carry out data check after the reparation again by the reparation algorithm that storing process is realized.
2. method according to claim 1 is characterized in that:
Described data upgrading rule comprises data upgrading scope, data uniqueness judgment rule, data check rule, data primary and secondary principle.
3. method according to claim 2 is characterized in that, described data is carried out verification, and whether judgment data meets described data check rule, specifically comprises:
Determine pre-upgrade data according to described data upgrading scope;
From at least two systems, obtain pre-upgrade data, and, judge whether described pre-upgrade data meets the data check rule according to described data check rule.
4. method according to claim 3 is characterized in that, the data that meet the upgrading rule are upgraded, and specifically comprises:
According to data primary and secondary principle, the data in described at least two systems are upgraded synchronously;
Wherein, according to data uniqueness judgment rule, the corresponding data in described at least two systems are upgraded synchronously.
5. method according to claim 1 and 2 is characterized in that, described data upgrading rule also comprises the data repair rule, and the then described abnormal data that does not meet the upgrading rule is repaired specifically comprises:
According to described data repair rule, the data that do not meet the upgrading rule are repaired automatically.
6. method according to claim 1 and 2 is characterized in that, the then described abnormal data that does not meet the upgrading rule is repaired specifically comprises:
The data that do not meet the upgrading rule are carried out repaired by hand.
7. method according to claim 1 is characterized in that, between data check and data repair step, also comprises:
To not meeting the data of upgrading rule, carry out early warning according to predefined early warning rule.
8. a data upgrade-system is characterized in that, comprising:
Upgrading Rulemaking unit: be used to formulate data upgrading rule;
The data check unit: be used for according to predefined upgrading rule data being carried out verification, whether judgment data meets described upgrading rule; If, trigger data upgrading unit then, if not, then trigger data is repaired the unit; Described verification comprises the detection of stored process, and the detection algorithm of realizing by storing process detects data;
Data repair unit: be used for the abnormal data that does not meet the upgrading rule is repaired the storing process title according to correspondence, repair, repair back trigger data verification unit and carry out data check again by the reparation algorithm that storing process is realized;
Data upgrading unit: be used for the data that meet the upgrading rule are upgraded.
9. system according to claim 8 is characterized in that:
Described data upgrading rule comprises data upgrading scope, data uniqueness judgment rule, data check rule, data primary and secondary principle.
10. system according to claim 9 is characterized in that, described data check unit specifically comprises:
Data are determined subelement, are used for determining pre-upgrade data according to described data upgrading scope;
Data are obtained subelement, are used for obtaining pre-upgrade data from least two systems;
The syndrome unit is used for according to described data check rule, judges whether described pre-upgrade data meets the data check rule; If, trigger data upgrading unit then, if not, then trigger data is repaired the unit.
11. system according to claim 9 is characterized in that, described data upgrading unit carries out the data upgrading in the following manner:
According to data primary and secondary principle, the data in described at least two systems are upgraded synchronously;
Wherein, according to data uniqueness judgment rule, the corresponding data in described at least two systems are upgraded synchronously.
12. according to Claim 8 or 9 described systems, it is characterized in that:
Described data upgrading rule also comprises the data repair rule, and then described data repair unit is repaired the data that do not meet the upgrading rule automatically according to described data repair rule.
13. system according to claim 8 is characterized in that, also comprises:
The data early warning unit is used for carrying out early warning to not meeting the data of upgrading rule according to predefined early warning rule.
CN2008101354722A 2008-08-07 2008-08-07 Method and system for upgrading data Active CN101324856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101354722A CN101324856B (en) 2008-08-07 2008-08-07 Method and system for upgrading data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101354722A CN101324856B (en) 2008-08-07 2008-08-07 Method and system for upgrading data

Publications (2)

Publication Number Publication Date
CN101324856A CN101324856A (en) 2008-12-17
CN101324856B true CN101324856B (en) 2011-05-18

Family

ID=40188403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101354722A Active CN101324856B (en) 2008-08-07 2008-08-07 Method and system for upgrading data

Country Status (1)

Country Link
CN (1) CN101324856B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102013029B (en) * 2010-12-25 2013-01-23 河南科技大学 Safe card signing method for intelligent card database application system
CN103049354B (en) * 2012-12-21 2015-08-19 华为技术有限公司 Data recovery method, data restore device and storage system
CN109324918A (en) * 2018-09-13 2019-02-12 广东小天才科技有限公司 Processing method and processing device, terminal and the storage medium of application exception
CN113205666B (en) * 2021-05-06 2022-06-17 广东鹰视能效科技有限公司 Early warning method
CN115242349B (en) * 2022-06-21 2023-11-14 苏州盈数智能科技有限公司 Enterprise-level data verification method, enterprise-level data verification device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN101324856A (en) 2008-12-17

Similar Documents

Publication Publication Date Title
US8386854B2 (en) Automatic analysis of log entries through use of clustering
US8214798B2 (en) Automatic calculation of orthogonal defect classification (ODC) fields
CN107678936B (en) Business system pre-inspection method, server and computer readable storage medium
CN101324856B (en) Method and system for upgrading data
US11599453B2 (en) Vehicle function test apparatus and method of controlling the same
CN104317713A (en) Automatic testing tool and method on basis of templates
US20060107121A1 (en) Method of speeding up regression testing using prior known failures to filter current new failures when compared to known good results
CN101989220A (en) Pressure testing method
US8090994B2 (en) System, method, and computer readable media for identifying a log file record in a log file
CN111158968A (en) BIOS configuration information self-checking method, device and storage medium
CN109542778A (en) A kind of method and device of resource leak detection
CN111198920B (en) Method and device for determining comparison table snapshot based on database synchronization
EP0673529B1 (en) A method for relations recovery of a data base in case of errors
CN110083493A (en) A kind of embedded system failure self-recovery method, terminal device and storage medium
CN106227502A (en) A kind of method and device obtaining hard disk firmware version
CN111309584A (en) Data processing method and device, electronic equipment and storage medium
CN112528331A (en) Privacy disclosure risk detection method, device and system
JP4066667B2 (en) Vehicle process management system and method
JP2003091431A (en) System, method and program for selecting and executing test scenario
CN106201785B (en) Date storage method and device applied to air-conditioning display
CN114064455A (en) Method and device for providing mock service and electronic equipment
CN114840177A (en) Software product acceptance method and device and electronic equipment
CN112148612A (en) Credit investigation service detection method, apparatus, computer device and storage medium
CN115904819A (en) Database backup data verification method and device
CN116383056A (en) Quick positioning method, computer equipment and device for uncovered codes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant