CN104809825B - Movement cash box state fault-tolerance processing method and system - Google Patents

Movement cash box state fault-tolerance processing method and system Download PDF

Info

Publication number
CN104809825B
CN104809825B CN201510216563.9A CN201510216563A CN104809825B CN 104809825 B CN104809825 B CN 104809825B CN 201510216563 A CN201510216563 A CN 201510216563A CN 104809825 B CN104809825 B CN 104809825B
Authority
CN
China
Prior art keywords
cash box
state
physical state
acquisition
logic state
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
CN201510216563.9A
Other languages
Chinese (zh)
Other versions
CN104809825A (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.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
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 Shenzhen Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201510216563.9A priority Critical patent/CN104809825B/en
Publication of CN104809825A publication Critical patent/CN104809825A/en
Application granted granted Critical
Publication of CN104809825B publication Critical patent/CN104809825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to finance self-help field of terminal technology, and in particular to a kind of movement cash box state fault-tolerance processing method and system, this method include:Obtain cash box physical state;Newest cash box logic state is obtained according to the cash box physical state and default cash box state fault-tolerant processing rule list;The newest cash box logic state is sent to movement, the present invention shields hardware error using the method for software, so that the self-service device such as ATM is unlikely to stop servicing because of the failure of hardware, reach the purpose of software fault-tolerant, the reliability of self-service device especially cash box is lifted, is allowed to not turn into the bottleneck of Self-Service.

Description

Movement cash box state fault-tolerance processing method and system
Technical field
The present invention relates to finance self-help field of terminal technology, and in particular to a kind of movement cash box state fault-tolerance processing method and System.
Background technology
ATM (Automatic Teller Machine, abbreviation ATM) is widely used in each business bank, postal service In savings, the mode of operation of its 24 hour self-help formula has brought great convenience.
Self-service device is in operation or maintenance process, operation system ATMC (ATM control, atm end device control system System) the deposit or the withdrawal are carried out, it is necessary to obtain to movement cash box status information, to determine whether this business can be carried out, when certainly When helping the appliance services system ATMC to carry out withdrawal business, only detect that cash box status information shows in cash box there are enough banknotes, Withdrawal business just continues;Equally when self-service device ATMC carries out deposit business, only detect that cash box status information shows Show there is sufficient space in cash box, deposit business just continues.
Self-service device during the normal service by sensor report existing banknote amount in cash box number, cash box state Reported by cash box sensor and give operation system ATMC, specific sensor has:1) empty sensor:Corresponding to cash box banknote state is EMPTY, represent there is no banknote in cash box;2) low sensor:Corresponding cash box banknote state is LOW, represents number of banknotes in cash box It is on the low side;3) nominal sensor:Corresponding cash box banknote state is OK, represents that number of banknotes is moderate in cash box;4) high sensor:It is corresponding Cash box banknote state is HIGH, represents to fill banknote soon in cash box;5) full sensor:Corresponding cash box banknote state is FULL, table Show and banknote is had been filled with cash box.
The accurate acquisition of self-service device cash box state, normal operation and timely offer service to self-service device have great Meaning, it is necessary to which rich in cash box be available for note output in self-service device withdrawal process of exchange, cash box state is LOW, OK, HIGH, FULL can meet note output function, and withdrawal trade fair causes cash box banknote to reduce;, it is necessary to which cash box has space can during credit transaction Banknote is stored in, cash box state is that EMPTY, LOW, OK, HIGH can meet savings function, and credit transaction can cause cash box banknote to increase It is more, acquisition cash box state promptly and accurately so that bank management person, clear paper money can be timely and accurately provided and add paper money service, made Self-service device is timely safeguarded, when cash box is full, it is necessary to notify keeper to take out banknote in time, when the fast space-time of cash box, Need to notify keeper to supplement banknote in time.
Prior art, self-service device operation system ATMC is using hardware sensor report cash box state, as acquisition cash box The unique channel of state, because hardware sensor easily becomes " dirty ", it is possible to produce wrong report, it is impossible to reflection cash box promptly and accurately Virtual condition, such as wrong report for sky can not perform withdrawal transaction, while can mistake guide management person supplement banknote;Report by mistake and be Credit transaction can not be completely performed, while guide management person that can be wrong takes out banknote, thus the start of self-service device can be influenceed Rate, the idle wasting of resources of cash is caused, add the maintenance cost of self-service device.
The content of the invention
It is an object of the invention to propose a kind of movement cash box state fault-tolerance processing method and system, it is possible to increase movement paper money The reliability of case so that self-service device will not stop servicing because of the failure of hardware, reach the purpose of software fault-tolerant.
To use following technical scheme up to this purpose, the present invention:
A kind of movement cash box state fault-tolerance processing method, including:
Obtain cash box physical state;
Newest cash box logic shape is obtained according to the cash box physical state and default cash box state fault-tolerant processing rule list State;
The newest cash box logic state is sent to movement.
Wherein, it is described to be patrolled according to cash box physical state and the newest cash box of default cash box state fault-tolerant processing rule list acquisition The state of collecting specifically includes:
Judge whether the acquisition cash box physical state is to be obtained for the first time after movement starts, if so, then obtaining this Cash box physical state as newest cash box logic state;
If the cash box physical state that obtains is not to obtain the first time after movement starts, judge that the physical state is The no cash box physical state equal to previous acquisition converts obtained former cash box logic state, if so, then by former cash box logic state As newest cash box logic state;
If the physical state converts obtained former cash box logic state not equal to the cash box physical state of previous acquisition, Judge to obtain whether cash box physical state has paper money to the cash box in the period of this acquisition cash box physical state from last Ticket passes in and out, if so, then using the cash box physical state of this acquisition as newest cash box logic state, otherwise, by former cash box logic State is as newest cash box logic state.
Wherein, the cash box state fault-tolerant processing rule list is used for according to the cash box physical state and former cash box logic shape State, judge whether the cash box physical state is effective, and then determine newest cash box logic state.
Wherein, the cash box physical state is obtained by sensor, and the cash box physical state includes:EMPTY、LOW、 OK, HIGH, FULL, accordingly, the cash box logic state also include:EMPTY、LOW、OK、HIGH、FULL.
Wherein, the cash box includes:Deposit boxes, withdrawal case, circulating box and collection box, wherein, the deposit boxes or recovery The fault-tolerant order of case is:EMPTY>LOW>OK>HIGH>FULL, when cash box original logic state is in preceding, the cash box physical state of acquisition When rear, then the cash box physical state of the acquisition is effective, on the contrary then invalid;The fault-tolerant order of the withdrawal case is:FULL> HIGH>OK>LOW>EMPTY, when cash box original logic state is preceding, the cash box physical state of acquisition is when rear, then the acquisition Cash box physical state be it is effective, it is on the contrary then invalid.
A kind of movement cash box state fault-tolerance processing system, including:
Cash box physical state acquisition module, for obtaining cash box physical state;
Cash box state fault-tolerant processing rule list, for according to the cash box physical state and former cash box logic state, judging Whether the cash box physical state is effective, and then determines newest cash box logic state;
Cash box logic state acquisition module, for according to the cash box physical state and default cash box state fault-tolerant processing Rule list obtains newest cash box logic state;
Cash box logic state update module, for the newest cash box logic state to be sent to movement.
Wherein, the cash box logic state acquisition module includes:
First judging unit, for judging whether the acquisition cash box physical state is to be obtained for the first time after movement starts, If so, then using the cash box physical state of this acquisition as newest cash box logic state;
Second judging unit, for when it is described acquisition cash box physical state be not movement start after first time obtain when, Judge the physical state whether be equal to previous acquisition cash box physical state convert obtained former cash box logic state, if so, Then using former cash box logic state as newest cash box logic state;
Cash box enters note output monitoring unit, for being converted when the physical state not equal to the cash box physical state of previous acquisition During obtained former cash box logic state, judge from it is last obtain cash box physical state to this acquisition cash box physical state when Between in section the cash box whether have banknote disengaging, if so, then using the cash box physical state of this acquisition as newest cash box logic State, otherwise, using former cash box logic state as newest cash box logic state.
Wherein, the cash box physical state is obtained by sensor, and the cash box physical state includes:EMPTY、LOW、 OK, HIGH, FULL, accordingly, the cash box logic state also include:EMPTY、LOW、OK、HIGH、FULL.
Wherein, the cash box includes:Deposit boxes, withdrawal case, circulating box and collection box, wherein, the deposit boxes or recovery The fault-tolerant order of case is:EMPTY>LOW>OK>HIGH>FULL, when cash box original logic state is in preceding, the cash box physical state of acquisition When rear, then the cash box physical state of the acquisition is effective, on the contrary then invalid;The fault-tolerant order of the withdrawal case is:FULL> HIGH>OK>LOW>EMPTY, when cash box original logic state is preceding, the cash box physical state of acquisition is when rear, then the acquisition Cash box physical state be it is effective, it is on the contrary then invalid.
Beneficial effects of the present invention are:A kind of movement cash box state fault-tolerance processing method, including:Obtain cash box physics shape State;Newest cash box logic state is obtained according to the cash box physical state and default cash box state fault-tolerant processing rule list;Will The newest cash box logic state sends to movement, the present invention and shields hardware error using the method for software so that ATM etc. is self-service Equipment is unlikely to stop servicing because of the failure of hardware, reaches the purpose of software fault-tolerant, lifting self-service device especially cash box Reliability, be allowed to not turn into Self-Service bottleneck.
Brief description of the drawings
Fig. 1 is a kind of flow chart for movement cash box state fault-tolerance processing method that the embodiment of the present invention one provides.
Fig. 2 is the method flow diagram for the newest cash box logic state of acquisition that the embodiment of the present invention one provides.
Fig. 3 is a kind of structure chart for movement cash box state fault-tolerance processing system that the embodiment of the present invention two provides.
Fig. 4 is the structure chart for the cash box logic state acquisition module that the embodiment of the present invention two provides.
Embodiment
Technical scheme is further illustrated with reference to Fig. 1-Fig. 4 and by embodiment.
Embodiment one
Fig. 1 is a kind of flow chart for movement cash box state fault-tolerance processing method that the embodiment of the present invention one provides.
A kind of movement cash box state fault-tolerance processing method, including:
110th, cash box physical state is obtained;
120th, newest cash box is obtained according to the cash box physical state and default cash box state fault-tolerant processing rule list to patrol The state of collecting;
130th, the newest cash box logic state is sent to movement.
In the present embodiment, when the hardware devices such as the sensor for detecting cash box state are reported by mistake, provided by this method Cash box state fault-tolerance processing method, reach the fault-tolerant purpose of movement, improve the utilization rate of cash box, reduce movement failure, this method Hardware error is shielded using the method for software so that the self-service device such as ATM is unlikely to stop because of the failure of hardware sensor Service, reach the purpose of software fault-tolerant, the reliability of lifting self-service device especially cash box, be allowed to not as the bottle of Self-Service Neck, the normal operation rate of the global function of self-service device, especially the deposit or the withdrawal is significantly improved, improve self-service device main body industry The normal service rate of business.
In the present embodiment, cash box physical state is:The cash box state obtained by cash box sensor, have EMPTY (sky), The states such as LOW (low), OK (normal), HIGH (height), FULL (full).Cash box logic state is:What self-service operation system to be used Cash box state, realize the conversion and agreement of the cash box state of different manufacturers or different hardware report so that user need not Be concerned about the different values of different manufacturers or different hardware cash box physical state, also have EMPTY (sky), LOW (low), OK (normal), The states such as HIGH (height), FULL (full), for same cash box, the relation of banknote number is in the cash box status representative cash box: EMPTY (sky)<LOW (low)<OK (normal)<HIGH (height)<FULL (full).
As shown in Fig. 2 in the present embodiment, the step 120 specifically includes:
121st, judge whether the acquisition cash box physical state is to be obtained for the first time after movement starts, if so, then by this The cash box physical state of acquisition is as newest cash box logic state;
If the 122, the cash box physical state that obtains is not to obtain the first time after movement starts, the physics shape is judged The cash box physical state whether state is equal to previous acquisition converts obtained former cash box logic state, if so, then by former cash box logic State is as newest cash box logic state;
If the 123rd, the physical state converts obtained former cash box logic shape not equal to the cash box physical state of previous acquisition State, then judge from it is last obtain cash box physical state to the cash box in the period of this acquisition cash box physical state whether There is banknote disengaging, if so, then using the cash box physical state of this acquisition as newest cash box logic state, otherwise, by former cash box Logic state is as newest cash box logic state.
In the present embodiment, the cash box state fault-tolerant processing rule list is used for according to the cash box physical state and former paper money Case logic state, judge whether the cash box physical state is effective, and then determine newest cash box logic state.
In the present embodiment, the cash box physical state is obtained by sensor, and the cash box physical state includes: EMPTY, LOW, OK, HIGH, FULL, accordingly, the cash box logic state also include:EMPTY、LOW、OK、HIGH、FULL.
In the present embodiment, the cash box includes:Deposit boxes, withdrawal case, circulating box and collection box, wherein, the deposit The fault-tolerant order of case or collection box is:EMPTY>LOW>OK>HIGH>FULL, when cash box original logic state is in preceding, the cash box of acquisition When rear, then the cash box physical state of the acquisition is effective physical state, on the contrary then invalid;The fault-tolerant order of the withdrawal case For:FULL>HIGH>OK>LOW>EMPTY, when cash box original logic state is preceding, the cash box physical state of acquisition is when rear, then institute The cash box physical state for stating acquisition be it is effective, it is on the contrary then invalid.
In the present embodiment, by taking deposit boxes as an example, its fault-tolerant order is:EMPTY>LOW>OK>HIGH>FULL, work as cash box Former logic state is preceding, and when rear, then the cash box physical state of this acquisition is effective for the cash box physical state of acquisition, such as point Not Wei LOW and OK, or during LOW and HIGH, if there are the increased event of cash box banknote number or operation the period, The physical state that the newest logic state of the cash box is this acquisition is updated, otherwise newest cash box logic state is still former cash box logic State;When cash box original logic state after, the cash box physical state of acquisition is when preceding, such as respectively HIGH and OK, or HIGH and During LOW, then the cash box physical state of this acquisition is effective, it will be apparent that, for deposit boxes, the cash box physical state of acquisition is Cash box sensor wrong report result, be judged to it is invalid should omit, again through cash box sensor obtain a cash box physical state, Or the newest cash box logic state of acquiescence is still former cash box logic state.If this cash box physical state obtained is invalid , then cash box physical state is obtained next time, and the former cash box that the benchmark to compare still obtains for last time effective physical state is patrolled The state of collecting.
As another embodiment, by taking withdrawal case (going out cash box) as an example, its fault-tolerant order is:FULL>HIGH>OK>LOW> EMPTY, when cash box original logic state is preceding, the cash box physical state of acquisition is when rear, then the cash box physical state of the acquisition To be effective, such as respectively HIGH and OK, or during HIGH and LOW, if there is the event of the cash box banknote number reduction period Or operation occurs, then physical state of the newest logic state of the cash box for acquisition is updated, otherwise newest cash box logic state is still Former cash box logic state;When former cash box logic state after, the cash box physical state of acquisition when preceding, such as respectively LOW and HIGH, or OK and HIGH, then the cash box physical state of this acquisition is invalid, it will be apparent that, it is impossible for going out cash box banknote Increase, the cash box physical state of acquisition is the result of cash box sensor wrong report, it should omit, obtained again through cash box sensor Cash box physical state, or the newest cash box logic state of acquiescence is still former cash box logic state;If this paper money obtained Case physical state is invalid, then obtains cash box physical state next time, the benchmark to compare is still last time effective physics shape The former cash box logic state that state obtains.
As further embodiment, by taking circulating box as an example, if the period only has the thing of the cash box banknote number reduction Part or operation occur, and are handled by foregoing withdrawal case;If the period only has the increased event of cash box banknote number or operation Occur, handled by foregoing deposit boxes, according to prior art, the period between cash box state renewal twice can not possibly occur following Situation:It is existing that the increased event of cash box banknote number or operation occurs, there is the event for making the cash box banknote number reduction again Or operation occurs.
As table 1.1 show cash box state change table in the prior art.
As table 1.2 show the cash box state change table using this method after fault-tolerant.
As can be seen here, cash box state is more bonded actual conditions after employing this method.
Table 1.1
Table 1.2
Embodiment two
As shown in figure 3, a kind of movement cash box state fault-tolerance processing system, including:
Cash box physical state acquisition module, for obtaining cash box physical state;
Cash box state fault-tolerant processing rule list, for according to the cash box physical state and former cash box logic state, judging Whether the cash box physical state is effective, and then determines newest cash box logic state;
Cash box logic state acquisition module, for according to the cash box physical state and default cash box state fault-tolerant processing Rule list obtains newest cash box logic state;
Cash box logic state update module, for the newest cash box logic state to be sent to movement.
In the present embodiment, shown cash box physical state acquisition module is used to directly obtain cash box physical state immediately, leads to Cross cash box sensor and directly detect cash box state, because sensor easily becomes " dirty ", the cash box virtual condition that the module obtains can Can be inaccurate.
In the present embodiment, cash box state fault-tolerant processing rule list, for according to the cash box physical state and former cash box Logic state, judge whether the cash box physical state is effective, and then determine newest cash box logic state, cash box physical state obtains After modulus block obtains cash box logic state, prior art is cash box physical state directly by the condition conversion, passes to upper strata industry Business system, because the state is the cash box data that are obtained immediately by cash box sensor, cash box sensor is held due to its ardware feature Variable " dirty " error, causes acquisition cash box status data to be forbidden, so as to which upper-layer service system can take for cash box under prior art It is unavailable and the cash box can not be used;The present invention is after cash box physical state acquisition module obtains cash box logic state, not directly It is that cash box physical state passes to upper-layer service system to connect the condition conversion.But continued by cash box logic state acquisition module The cash box logic state being stored in internal memory is obtained, the cash box logic state is after the cash box physical state obtained last time updates Cash box logic state result.Then by cash box enter note output event-monitoring module detection twice obtain cash box physical state between the time Section, whether there occurs enter note output event for the cash box.Cash box logic state judge module is according to the cash box physics shape directly detected Whether state value, the cash box logic-state value that the last time obtains, and this period cash box, which occur banknote, is entered three changes of note output event Amount, the newest cash box logic state judgment rule provided according to cash box state fault-tolerant processing rule list, obtains newest cash box and patrols State value is collected, then transfers to cash box logic state update module to update cash box logic state.
As shown in figure 4, in the present embodiment, the cash box logic state acquisition module includes:
First judging unit, for judging whether the acquisition cash box physical state is to be obtained for the first time after movement starts, If so, then using the cash box physical state of this acquisition as newest cash box logic state;
Second judging unit, for when it is described acquisition cash box physical state be not movement start after first time obtain when, Judge the physical state whether be equal to previous acquisition cash box physical state convert obtained former cash box logic state, if so, Then using former cash box logic state as newest cash box logic state;
Cash box enters note output monitoring unit, for being converted when the physical state not equal to the cash box physical state of previous acquisition During obtained former cash box logic state, judge from it is last obtain cash box physical state to this acquisition cash box physical state when Between in section the cash box whether have banknote disengaging, if so, then using the cash box physical state of this acquisition as newest cash box logic State, otherwise, using former cash box logic state as newest cash box logic state.
In the present embodiment, the cash box physical state is obtained by sensor, and the cash box physical state includes: EMPTY, LOW, OK, HIGH, FULL, accordingly, the cash box logic state also include:EMPTY、LOW、OK、HIGH、FULL.
In the present embodiment, the cash box includes:Deposit boxes, withdrawal case, circulating box and collection box, wherein, the deposit The fault-tolerant order of case or collection box is:EMPTY>LOW>OK>HIGH>FULL, when cash box original logic state is in preceding, the cash box of acquisition When rear, then the cash box physical state of the acquisition is effective physical state, on the contrary then invalid;The fault-tolerant order of the withdrawal case For:FULL>HIGH>OK>LOW>EMPTY, when cash box original logic state is preceding, the cash box physical state of acquisition is when rear, then institute The cash box physical state for stating acquisition be it is effective, it is on the contrary then invalid.
In the present embodiment, by taking self-service device as an example, certain self-service device moment movement has four cash boxes:Collection box, deposit Money case, go out cash box, circulating box, the moment each cash box state is collection box OK, deposit boxes EMPTY, goes out cash box FULL, circulating box OK;The self-service device is after Service control software ATMC start completions, if cash box sensor detects the self-service device movement Each cash box state is:Collection box OK, deposit boxes EMPTY, go out cash box FULL, circulating box OK;It is because this time obtains cash box state Movement obtains cash box state for the first time after starting, then newest logic cash box state is that state directly takes what cash box sensor detected Each cash box state, i.e.,:Collection box OK, deposit boxes EMPTY, go out cash box FULL, circulating box OK, so, Service control software ATMC After start completion, the cash box information that operation system processing monetary transaction is got is newest logic cash box state;In fact, industry After control software ATMC start completions of being engaged in, the cash box state that cash box sensor detects might not be accurate, it is also possible to mistake be present Report situation.Thus in order to prevent wrong report from causing originally be able to use with the cash box of normal work, as Service control software ATMC Cash box sensor detects collection box FULL, deposit boxes FULL, goes out cash box EMPTY, circulating box EMPTY or FULL after start completion When, i.e., when certain cash box is unavailable, it can be assumed that the down state of the cash box is wrong report, is set to an available state, holds Into or out paper money operation of row, to determine whether the state of the cash box is actual really for down state.
As another embodiment, certain self-service device moment movement has four cash boxes:Collection box, deposit boxes, go out cash box, Circulating box, certain moment each cash box logic state are collection box OK, deposit boxes EMPTY, go out cash box FULL, circulating box OK.It is self-service to set Standby to perform a business operation, the business operation has banknote to be recovered to collection box so that withdrawal case banknote is reduced, circulating box banknote Increase;Each cash box state that cash box sensor reports after the completion of operation is:Collection box LOW, deposit boxes OK, go out cash box OK, circulation Case HIGH.Now determine the newest logic state of each cash box of the self-service device;According to following rule:Paper money in deposit boxes or collection box Ticket becomes more, or the banknote in withdrawal case tails off, and cash box availability declines;Deposit boxes or collection box, according to EMPTY>LOW>OK> HIGH>FULL order status migration, judge there is banknote to enter cash box, paper money during the business operation of detection cash box state twice Case availability declines successively;Withdrawal case, according to FULL>HIGH>OK>LOW>EMPTY order status migration, judgement detect twice There is banknote to be sent out from cash box during the business operation of cash box state, cash box availability declines successively;The self-service device is held A business operation is gone, the business operation has banknote to be recovered to collection box so that withdrawal case banknote is reduced, and circulating box banknote increases It is more;For collection box, if in this operating process, thering is banknote to enter collection box, and the stateful OK- of collection box>State LOW, Violate EMPTY>LOW>OK>HIGH>FULL order, this collection box state obtained by sensor are typical miss Report, this collection box state, which obtains, to be disregarded, then the newest logic state of collection box is still OK;Equally, withdrawal case banknote is reduced, and is taken Money box-like state is by FULL->OK, meet FULL>HIGH>OK>LOW>EMPTY order migration, has a banknote reduction, withdrawal case is newest Logic state takes the state OK that sensor obtains;Circulating box banknote increases, and circulating box is considered as deposit boxes, and state is by OK->HIGH, Meet EMPTY>LOW>OK>HIGH>FULL order migration, has banknote to subtract increase, the newest logic state of circulating box takes sensor The state HIGH of acquisition.
The embodiment of the present invention is the foregoing is only, the description is merely to explain the principles of the invention, and Limiting the scope of the invention can not be construed in any way.Based on explanation herein, those skilled in the art is not Other specific implementation methods of the present invention can be associated by needing to pay performing creative labour, and these modes fall within the present invention Protection domain within.

Claims (7)

  1. A kind of 1. movement cash box state fault-tolerance processing method, it is characterised in that including:
    Obtain cash box physical state;
    Newest cash box logic state is obtained according to the cash box physical state and default cash box state fault-tolerant processing rule list;
    The newest cash box logic state is sent to movement;
    It is described that newest cash box logic state tool is obtained according to cash box physical state and default cash box state fault-tolerant processing rule list Body includes:
    Judge whether the acquisition cash box physical state is to be obtained for the first time after movement starts, if so, then by the paper money of this acquisition Case physical state is as newest cash box logic state;
    If it is described obtain cash box physical state be not movement start after first time obtain, judge the physical state whether etc. In the former cash box logic state that the cash box physical state of previous acquisition converts to obtain, if so, then using former cash box logic state as Newest cash box logic state;
    If the physical state converts obtained former cash box logic state not equal to the cash box physical state of previous acquisition, judge Obtain whether cash box physical state has banknote to enter to the cash box in the period of this acquisition cash box physical state from last Go out, if so, then using the cash box physical state of this acquisition as newest cash box logic state, otherwise, by former cash box logic state As newest cash box logic state.
  2. A kind of 2. movement cash box state fault-tolerance processing method according to claim 1, it is characterised in that the cash box state Fault-tolerant processing rule list is used for according to the cash box physical state and former cash box logic state, judges that the cash box physical state is It is no effective, and then determine newest cash box logic state.
  3. A kind of 3. movement cash box state fault-tolerance processing method according to claim 2, it is characterised in that the cash box physics State is obtained by sensor, and the cash box physical state includes:EMPTY, LOW, OK, HIGH, FULL, accordingly, the paper money Case logic state also includes:EMPTY、LOW、OK、HIGH、FULL.
  4. A kind of 4. movement cash box state fault-tolerance processing method according to claim 3, it is characterised in that the cash box bag Include:Deposit boxes, withdrawal case, circulating box and collection box, wherein, the fault-tolerant order of the deposit boxes or collection box is:EMPTY>LOW >OK>HIGH>FULL, when cash box original logic state is preceding, the cash box physical state of acquisition is when rear, then the cash box of the acquisition Physical state be it is effective, it is on the contrary then invalid;The fault-tolerant order of the withdrawal case is:FULL>HIGH>OK>LOW>EMPTY, work as paper money Case original logic state is preceding, and when rear, then the cash box physical state of the acquisition is effective, on the contrary for the cash box physical state of acquisition It is then invalid.
  5. A kind of 5. movement cash box state fault-tolerance processing system, it is characterised in that including:
    Cash box physical state acquisition module, for obtaining cash box physical state;
    Cash box state fault-tolerant processing rule list, for according to the cash box physical state and former cash box logic state, described in judgement Whether cash box physical state is effective, and then determines newest cash box logic state;
    Cash box logic state acquisition module, for according to the cash box physical state and default cash box state fault-tolerant processing rule Table obtains newest cash box logic state;
    Cash box logic state update module, for the newest cash box logic state to be sent to movement;
    The cash box logic state acquisition module includes:
    First judging unit, for judging whether the acquisition cash box physical state is to be obtained for the first time after movement starts, if so, Then using the cash box physical state of this acquisition as newest cash box logic state;
    Second judging unit, for not being when obtaining the first time after movement starts, to judge when the acquisition cash box physical state The cash box the physical state whether physical state is equal to previous acquisition converts obtained former cash box logic state, if so, then will Former cash box logic state is as newest cash box logic state;
    Cash box enters note output monitoring unit, for converting to obtain not equal to the cash box physical state of previous acquisition when the physical state Former cash box logic state when, judge from the last cash box physical state that obtains to the period of this acquisition cash box physical state Whether the interior cash box has banknote disengaging, if so, then using the cash box physical state of this acquisition as newest cash box logic state, Otherwise, using former cash box logic state as newest cash box logic state.
  6. A kind of 6. movement cash box state fault-tolerance processing system according to claim 5, it is characterised in that the cash box physics State is obtained by sensor, and the cash box physical state includes:EMPTY, LOW, OK, HIGH, FULL, accordingly, the paper money Case logic state also includes:EMPTY、LOW、OK、HIGH、FULL.
  7. A kind of 7. movement cash box state fault-tolerance processing system according to claim 6, it is characterised in that the cash box bag Include:Deposit boxes, withdrawal case, circulating box and collection box, wherein, the fault-tolerant order of the deposit boxes or collection box is:EMPTY>LOW >OK>HIGH>FULL, when cash box original logic state is preceding, the cash box physical state of acquisition is when rear, then the cash box of the acquisition Physical state be it is effective, it is on the contrary then invalid;The fault-tolerant order of the withdrawal case is:FULL>HIGH>OK>LOW>EMPTY, work as paper money Case original logic state is preceding, and when rear, then the cash box physical state of the acquisition is effective, on the contrary for the cash box physical state of acquisition It is then invalid.
CN201510216563.9A 2015-04-30 2015-04-30 Movement cash box state fault-tolerance processing method and system Active CN104809825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510216563.9A CN104809825B (en) 2015-04-30 2015-04-30 Movement cash box state fault-tolerance processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510216563.9A CN104809825B (en) 2015-04-30 2015-04-30 Movement cash box state fault-tolerance processing method and system

Publications (2)

Publication Number Publication Date
CN104809825A CN104809825A (en) 2015-07-29
CN104809825B true CN104809825B (en) 2017-12-08

Family

ID=53694627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510216563.9A Active CN104809825B (en) 2015-04-30 2015-04-30 Movement cash box state fault-tolerance processing method and system

Country Status (1)

Country Link
CN (1) CN104809825B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106251476B (en) * 2016-07-29 2019-04-12 深圳怡化电脑股份有限公司 A kind of fault-tolerant self-service method for processing business of cash box and system
CN109285297B (en) * 2018-09-19 2020-12-08 浪潮金融信息技术有限公司 Banknote box fault tolerance processing method and system and self-service cash recycling machine
CN110298984A (en) * 2019-07-05 2019-10-01 中国工商银行股份有限公司 A kind of inter-bank based on withdrawal element is without card enchashment processing method and processing device
CN114550366B (en) * 2022-03-01 2023-08-01 浪潮金融信息技术有限公司 Intelligent banknote box state management method, system and medium for terminal equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050038748A1 (en) * 2003-08-11 2005-02-17 Ncr Corporation Method of consolidating remotely-captured cheque image data and a consolidation server therefor
US8584947B2 (en) * 2011-09-13 2013-11-19 Ncr Corporation Fraud prevention
CN103810784B (en) * 2014-01-24 2016-01-20 广州御银科技股份有限公司 Possum cash box dynamic control method and system
CN104134294B (en) * 2014-07-18 2016-04-06 浪潮软件集团有限公司 Authorization authentication method based on business hall self-service terminal
CN104408831B (en) * 2014-10-27 2017-02-22 中国建设银行股份有限公司 Monitoring method and device for state of bank self-service equipment

Also Published As

Publication number Publication date
CN104809825A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN104809825B (en) Movement cash box state fault-tolerance processing method and system
CN103810784B (en) Possum cash box dynamic control method and system
CN103065387B (en) Method and system for self-service equipment money outputting and collecting
CN102737439B (en) Bill handling device
CN100570653C (en) A kind of bank self-aid apparatus and maintaining method thereof
US8689055B2 (en) Detecting device impairment through statistical monitoring
CN105023349B (en) Cash box choosing method and cash box during withdrawal
WO2008100861A3 (en) Automated teller machine with fraud detection system
CN102622821B (en) Method, device and system for supporting large amount of self-service withdrawal
CN105741442B (en) A kind of unit failure treating method and apparatus of self-service dealing equipment
CN107980152B (en) ATM (automatic teller machine) clearing method, device and system and ATM
KR101077191B1 (en) Paper money transaction apparatus
CN103778724B (en) Cash automatic processing device and the Refund Method of cash
EP3118804A1 (en) Self-service terminal service emergency method and site server
CN107438868A (en) Self-service device adds paper money control method and system, self-service device
CN105993037B (en) A kind of method for processing business and system of self-service device
CN106408789A (en) Self-service equipment, and money box priority change method thereof
CN103310553B (en) Finance device
JP2005258675A (en) Transaction degeneration processing method and system for automatic transaction device and its operation server
CN106203665A (en) Trouble Report optimization method and Trouble Report optimize device
CN102610031B (en) Self-service equipment banknote recovery system and recovery method
CN106201439B (en) A kind of method and device of abnormality processing
WO2019117746A1 (en) Method for automatically crediting deposited funds in the event of fault occurrences
CN106600815B (en) Self-service device control method and system
CN104809824A (en) Cash box adaptation method and device based on self-service equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant