CN107229549A - Processing routine automatic error correction method - Google Patents

Processing routine automatic error correction method Download PDF

Info

Publication number
CN107229549A
CN107229549A CN201710395113.XA CN201710395113A CN107229549A CN 107229549 A CN107229549 A CN 107229549A CN 201710395113 A CN201710395113 A CN 201710395113A CN 107229549 A CN107229549 A CN 107229549A
Authority
CN
China
Prior art keywords
program
data
processing
processing routine
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.)
Pending
Application number
CN201710395113.XA
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710395113.XA priority Critical patent/CN107229549A/en
Publication of CN107229549A publication Critical patent/CN107229549A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0763Error or fault detection not based on redundancy by bit configuration check, e.g. of formats or tags
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1471Saving, restoring, recovering or retrying involving logging of persistent data for recovery

Abstract

The invention discloses a kind of processing routine automatic error correction method, check oneself, synchronously detect and three steps of Program reset comprising processing routine, processing routine checks oneself the normal complete startup for ensureing program, synchronously detect for ensureing that the smooth of data processing is carried out, Program reset is by the complete program recovery of data processing to reset condition.The processing routine automatic error correction method of the present invention i.e. opening program when processing routine is triggered is checked oneself, stability when guarantee program is run, the running status of real-time monitor (RTM) during program carries out data processing, it is that isolation processing does not influence the normal operation of other modules of program when occurring data processing exception, the operation for so avoiding program is crashed, and reduces the risk of loss of data.

Description

Processing routine automatic error correction method
Technical field
The present invention relates to bank information process field, more precisely, being a kind of processing routine automatic error correction method.
Background technology
Bank data processing basic object be from it is substantial amounts of, be probably rambling, elusive data in take out It is valuable, significant data to take and derive for bank clerk.Bank data processing be system engineering and The basic link automatically controlled.The breadth and depth of development and its application of bank data treatment technology, greatly affects silver The process of industry development.The bank field carries out the different computer processing of processing correspondence, these computer disposals to data Program easily causes system disorders or even deadlock during handling data if there is mistake, and then may Cause system program damage, loss of data.
The content of the invention
The present invention mainly solves the technical problem present in prior art, so as to provide a kind of processing routine automatic error-correcting Method.
The above-mentioned technical problem of the present invention is mainly what is be addressed by following technical proposals:
A kind of processing routine automatic error correction method, is comprised the following steps:
1. processing routine is checked oneself:Program is checked oneself when processing routine is triggered progress data processing, journey is checked oneself The state and integrality of sequence verification process program, the state of processing routine determined by the numerical value of proofing state position, mode bit Terminated for 0 representation program, mode bit runs for 1 representation program, the integrality of program is calculated using Message Digest 5 or Hash Method obtains validation value, and gained validation value and storage value are compared, and the two is equal, and program can completely start processing routine, The two do not wait then processing routine it is defective, at this moment startup program Hotfix or covered with stand-by program;
2. synchronous detection:Processing routine is normally-open and starts to open flow monitoring program, the program bag after data processing At the unit of Status register containing processing routine, data buffer storage unit, warning unit and fault processing unit, Status register unit record The processing progress of reason program, data buffer storage unit is used for the intermediate data and report produced during storage processing program processing data Wrong data, warning unit is given a warning when noting abnormalities data or abnormality, and fault processing unit is sent out for processing routine Data processing when raw abnormal, fault processing unit includes data isolation module, data backup module and functional rehabilitation module, when Isolation module isolates the error unit of program when program occurs abnormal, and imports data to data backup module, starts simultaneously Functional rehabilitation module is by a time point before the program recovery of error unit to error, so that the data to backup are located again Reason, until program recovery is normal;
3. Program reset:Start recovery routine at the end of the Status register unit display data processing of processing routine, will Ephemeral data in data buffer storage unit, data backup module is purged, and the mode bit of program returns to 0, program determination.
The processing routine automatic error correction method of the present invention i.e. opening program when processing routine is triggered is checked oneself, it is ensured that program Stability during operation, the running status of real-time monitor (RTM) during program carries out data processing, at generation data Reason is that isolation processing does not influence the normal operation of other modules of program when abnormal, and the operation for so avoiding program is crashed, drop The low risk of loss of data.
Embodiment
The preferred embodiments of the present invention are described in detail below so that advantages and features of the invention can be easier to by It will be appreciated by those skilled in the art that apparent clearly being defined so as to be made to protection scope of the present invention.
A kind of processing routine automatic error correction method, is comprised the following steps:
1. processing routine is checked oneself:Program is checked oneself when processing routine is triggered progress data processing, journey is checked oneself The state and integrality of sequence verification process program, the state of processing routine determined by the numerical value of proofing state position, mode bit Terminated for 0 representation program, mode bit runs for 1 representation program, the integrality of program is calculated using Message Digest 5 or Hash Method obtains validation value, and gained validation value and storage value are compared, and the two is equal, and program can completely start processing routine, The two do not wait then processing routine it is defective, at this moment startup program Hotfix or covered with stand-by program;
2. synchronous detection:Processing routine is normally-open and starts to open flow monitoring program, the program bag after data processing At the unit of Status register containing processing routine, data buffer storage unit, warning unit and fault processing unit, Status register unit record The processing progress of reason program, data buffer storage unit is used for the intermediate data and report produced during storage processing program processing data Wrong data, warning unit is given a warning when noting abnormalities data or abnormality, and fault processing unit is sent out for processing routine Data processing when raw abnormal, fault processing unit includes data isolation module, data backup module and functional rehabilitation module, when Isolation module isolates the error unit of program when program occurs abnormal, and imports data to data backup module, starts simultaneously Functional rehabilitation module is by a time point before the program recovery of error unit to error, so that the data to backup are located again Reason, until program recovery is normal;
3. Program reset:Start recovery routine at the end of the Status register unit display data processing of processing routine, will Ephemeral data in data buffer storage unit, data backup module is purged, and the mode bit of program returns to 0, program determination.
The processing routine automatic error correction method of the present invention i.e. opening program when processing routine is triggered is checked oneself, it is ensured that program Stability during operation, the running status of real-time monitor (RTM) during program carries out data processing, at generation data Reason is that isolation processing does not influence the normal operation of other modules of program when abnormal, and the operation for so avoiding program is crashed, drop The low risk of loss of data.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any The change or replacement expected without creative work, should all be included within the scope of the present invention.Therefore, it is of the invention Protection domain should be determined by the scope of protection defined in the claims.

Claims (1)

1. a kind of processing routine automatic error correction method, it is characterised in that comprise the following steps:
1. processing routine is checked oneself:Program is checked oneself when processing routine is triggered progress data processing, the program of checking oneself is tested The state and integrality of processing routine are demonstrate,proved, the state of processing routine determines that mode bit is 0 table by the numerical value of proofing state position Show program determination, mode bit runs for 1 representation program, the integrality of program is obtained using Message Digest 5 or hash algorithm Validation value, and gained validation value and storage value are compared, the two is equal, and program can completely start processing routine, and the two is not It is defective Deng then processing routine, at this moment startup program Hotfix or covered with stand-by program;
2. synchronous detection:Processing routine is normally-open and starts to open flow monitoring program after data processing, and the program bag is containing place Manage program state deposit unit, data buffer storage unit, warning unit and fault processing unit, Status register unit record processing journey The processing progress of sequence, data buffer storage unit is used for the intermediate data produced during storage processing program processing data and the number that reports an error According to warning unit gives a warning when noting abnormalities data or abnormality, and it is different that fault processing unit is used for processing routine generation Data processing when often, fault processing unit includes data isolation module, data backup module and functional rehabilitation module, works as program Isolation module isolates the error unit of program when occurring abnormal, and imports data to data backup module, while startup function Recovery module is by a time point before the program recovery of error unit to error, so that the data to backup are reprocessed, Until program recovery is normal;
3. Program reset:Start recovery routine at the end of the Status register unit display data processing of processing routine, by data Ephemeral data in buffer unit, data backup module is purged, and the mode bit of program returns to 0, program determination.
CN201710395113.XA 2017-05-30 2017-05-30 Processing routine automatic error correction method Pending CN107229549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710395113.XA CN107229549A (en) 2017-05-30 2017-05-30 Processing routine automatic error correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710395113.XA CN107229549A (en) 2017-05-30 2017-05-30 Processing routine automatic error correction method

Publications (1)

Publication Number Publication Date
CN107229549A true CN107229549A (en) 2017-10-03

Family

ID=59933995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710395113.XA Pending CN107229549A (en) 2017-05-30 2017-05-30 Processing routine automatic error correction method

Country Status (1)

Country Link
CN (1) CN107229549A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1621994A (en) * 2005-01-10 2005-06-01 北京太极英泰信息科技有限公司 Computer security control module and safeguard control method thereof
CN105260653A (en) * 2015-10-20 2016-01-20 浪潮电子信息产业股份有限公司 Safe loading method and system of program on the basis of Linux
CN105426263A (en) * 2015-10-30 2016-03-23 中国印钞造币总公司 Implementation method and system for secure operation of cashbox system
CN106355081A (en) * 2016-09-07 2017-01-25 深圳市新国都支付技术有限公司 Android program start verification method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1621994A (en) * 2005-01-10 2005-06-01 北京太极英泰信息科技有限公司 Computer security control module and safeguard control method thereof
CN105260653A (en) * 2015-10-20 2016-01-20 浪潮电子信息产业股份有限公司 Safe loading method and system of program on the basis of Linux
CN105426263A (en) * 2015-10-30 2016-03-23 中国印钞造币总公司 Implementation method and system for secure operation of cashbox system
CN106355081A (en) * 2016-09-07 2017-01-25 深圳市新国都支付技术有限公司 Android program start verification method and device

Similar Documents

Publication Publication Date Title
CN105659215B (en) A kind of fault handling method, relevant apparatus and computer
CN100388217C (en) Dynamic threshold scaling method and system in communication system
US8201019B2 (en) Data storage device in-situ self test, repair, and recovery
CN100394394C (en) Fault tolerant duplex computer system and its control method
US6845469B2 (en) Method for managing an uncorrectable, unrecoverable data error (UE) as the UE passes through a plurality of devices in a central electronics complex
CN112383457B (en) Safety slave station system based on CANopen protocol
CN103701655A (en) Fault self-diagnosis and self-recovery method and system for interchanger
CN106844082A (en) Processor predictive failure analysis method and device
CN103064988A (en) Abnormal data detection method and device
CN107229549A (en) Processing routine automatic error correction method
CN103793292A (en) Disaster recovery method for disk array
JP2009003592A (en) Failure detection/recovery system for computer
US9483045B2 (en) Numerical controller
CN109117317A (en) A kind of clustering fault restoration methods and relevant apparatus
CN111401760B (en) Safety and stability control device exception handling decision method and device
CN114281639A (en) Storage server fault SAS physical link shielding device and method
CN103605593B (en) The fault diagnosis of heterogeneous system, restoration methods and device
JP6217086B2 (en) Information processing apparatus, error detection function diagnosis method, and computer program
JP2008003646A (en) Defective module detection method and signal processor
CN104731677A (en) High-reliability storage and diagnosis method for external SRAMs (static random access memories) of safety instrument transmitters
CN103514071B (en) Nondestructive internal storage online testing method
KR20170002025A (en) Method for prevention the error recovery in automatic computer system and system thereof
CN115257890A (en) Method for detecting abnormity of main and standby equipment of ATS system key redundancy equipment
CN112486720A (en) Method for improving stability of computer system and computer system
CN113419888A (en) PCIe link repair method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171003