CN104809825A - Fault-tolerance processing method and fault-tolerance processing system for state of movement cash box - Google Patents
Fault-tolerance processing method and fault-tolerance processing system for state of movement cash box Download PDFInfo
- Publication number
- CN104809825A CN104809825A CN201510216563.9A CN201510216563A CN104809825A CN 104809825 A CN104809825 A CN 104809825A CN 201510216563 A CN201510216563 A CN 201510216563A CN 104809825 A CN104809825 A CN 104809825A
- Authority
- CN
- China
- Prior art keywords
- paper money
- money case
- state
- physical state
- fault
- 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.)
- Granted
Links
- 238000012545 processing Methods 0.000 title claims abstract description 28
- 238000003672 processing method Methods 0.000 title claims abstract description 17
- 230000007306 turnover Effects 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 abstract description 20
- 230000008569 process Effects 0.000 description 11
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000013508 migration Methods 0.000 description 2
- 230000005012 migration Effects 0.000 description 2
- 239000013589 supplement Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000026676 system process Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Cash Registers Or Receiving Machines (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention relates to the technical field of financial self-service terminals, in particular to a fault-tolerance processing method and a fault-tolerance processing system for a state of movement cash box. The method comprises the following steps: obtaining a physical state of the cash box; obtaining a latest cash box logic state according to the physical state of the cash box and a preset cash box state fault-tolerance processing rule list; sending the latest cash box logic state to a movement. According to the fault-tolerance processing method and the fault-tolerance processing device, a software method is utilized to shield hardware faults, so that self-service equipment of an ATM (automatic teller machine) and the like does not stop servicing due to faults of hardware, a software fault-tolerance purpose is achieved, the reliability of the self-service equipment, especially the cash box is improved, and the self-service bottleneck is avoided.
Description
Technical field
The present invention relates to finance self-help field of terminal technology, be specifically related to a kind of movement paper money box like state fault-tolerance processing method and system.
Background technology
ATM (Automatic Teller Machine) (Automatic Teller Machine is called for short ATM) is widely used in each commercial bank, postal saving, and the mode of operation of its 24 hour self-help formula has brought great facility.
Possum is in operation or maintenance process, operation system ATMC (ATM control, atm end device control system) carry out the deposit or the withdrawal, need to obtain movement paper money case status information, to determine whether this business can carry out, when Possum operation system ATMC carries out withdrawing the money business, only detect in paper money box like state information displaying paper money case have enough banknotes, business of withdrawing the money just proceeds; Same when Possum ATMC carries out deposit business, only detect in paper money box like state information displaying paper money case have sufficient space, deposit business just proceeds.
Possum in normal service process by existing banknote amount in sensor report paper money case number, paper money box like state relies on paper money case sensor to be reported to operation system ATMC, concrete sensor has: 1) empty sensor: corresponding paper money case banknote state is EMPTY, represents do not have banknote in paper money case; 2) low sensor: corresponding paper money case banknote state is LOW, represents that in paper money case, number of banknotes is on the low side; 3) nominal sensor: corresponding paper money case banknote state is OK, represents that in paper money case, number of banknotes is moderate; 4) high sensor: corresponding paper money case banknote state is HIGH, represents and fills banknote soon in paper money case; 5) full sensor: corresponding paper money case banknote state is FULL, represents and fills banknote in paper money case.
The Obtaining Accurate of Possum paper money box like state, to the normal operation of Possum with provide service to have great meaning in time, Possum is withdrawn the money in process of exchange, need in paper money case rich in note output, paper money box like state is that LOW, OK, HIGH, FULL can meet note output function, and trade fair of withdrawing the money causes paper money case banknote to reduce; In credit transaction process, needing paper money case to have living space can stored in banknote, and paper money box like state is that EMPTY, LOW, OK, HIGH can meet savings function, and credit transaction can cause paper money case banknote to increase, acquisition paper money box like state promptly and accurately, make bank management person, paper money and add paper money service clearly can be provided timely and accurately, Possum is safeguarded timely, when paper money case is full, need to notify that keeper takes out banknote in time, when the fast sky of paper money case, need to notify that keeper supplements banknote in time.
Prior art, Possum operation system ATMC adopts hardware sensor report paper money box like state, as the unique channel obtaining paper money box like state, because hardware sensor easily becomes " dirty ", likely produce wrong report, can not the virtual condition of reflection paper money case promptly and accurately, as wrong report for sky can not perform transaction of withdrawing the money, guide management person that simultaneously can be wrong supplements banknote; Wrong report will be for completely can not perform credit transaction, and guide management person that simultaneously can be wrong takes out banknote, thus can affect the Homes Using TV of Possum, cause the wasting of resources that cash is idle, add the maintenance cost of Possum.
Summary of the invention
The object of the invention is to propose a kind of movement paper money box like state fault-tolerance processing method and system, the reliability of movement paper money case can be improved, make Possum can not stop service because of the fault of hardware, reach the object of software fault-tolerant.
For reaching this object, the present invention by the following technical solutions:
A kind of movement paper money box like state fault-tolerance processing method, comprising:
Obtain paper money case physical state;
Up-to-date paper money case logic state is obtained according to described paper money case physical state and default paper money box like state fault-tolerant processing rule list;
Described up-to-date paper money case logic state is sent to movement.
Wherein, describedly obtain up-to-date paper money case logic state according to paper money case physical state and default paper money box like state fault-tolerant processing rule list and specifically comprise:
Judge described acquisition paper money case physical state be whether after movement starts first time obtain, if so, then using this paper money case physical state obtained as up-to-date paper money case logic state;
If described acquisition paper money case physical state is not obtain the first time after movement startup, then judge that the paper money case physical state whether described physical state equals previous acquisition transforms the former paper money case logic state obtained, if so, then using former paper money case logic state as up-to-date paper money case logic state;
If the paper money case physical state that described physical state is not equal to previous acquisition transforms the former paper money case logic state obtained, then judge whether obtain described paper money case in paper money case physical state to the time period of this acquisition paper money case physical state from the last time has banknote to pass in and out, if, then using this obtain paper money case physical state as up-to-date paper money case logic state, otherwise, using former paper money case logic state as up-to-date paper money case logic state.
Wherein, described paper money box like state fault-tolerant processing rule list is used for according to described paper money case physical state and former paper money case logic state, judges that whether described paper money case physical state is effective, and then determines up-to-date paper money case logic state.
Wherein, described paper money case physical state is obtained by sensor, and described paper money case physical state comprises: EMPTY, LOW, OK, HIGH, FULL, and accordingly, described paper money case logic state also comprises: EMPTY, LOW, OK, HIGH, FULL.
Wherein, described paper money case comprises: deposit boxes, case of withdrawing the money, circulating box and collection box, wherein, the fault-tolerant order of described deposit boxes or collection box is: EMPTY>LOW>OK>H IGH>FULL, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effectively, otherwise then invalid; The fault-tolerant order of described case of withdrawing the money is: FULL>HIGH>OK>L OW>EMPTY, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effectively, otherwise then invalid.
A kind of movement paper money box like state fault-tolerance processing system, comprising:
Paper money case physical state acquisition module, for obtaining paper money case physical state;
Paper money box like state fault-tolerant processing rule list, for according to described paper money case physical state and former paper money case logic state, judges that whether described paper money case physical state is effective, and then determines up-to-date paper money case logic state;
Paper money case logic state acquisition module, for obtaining up-to-date paper money case logic state according to described paper money case physical state and default paper money box like state fault-tolerant processing rule list;
Paper money case logic state update module, for being sent to movement by described up-to-date paper money case logic state.
Wherein, described paper money case logic state acquisition module comprises:
First judging unit, for judge described acquisition paper money case physical state be whether after movement starts first time obtain, if so, then using this paper money case physical state obtained as up-to-date paper money case logic state;
Second judging unit, during for not being the first time acquisition after movement starts when described acquisition paper money case physical state, judge that the paper money case physical state whether described physical state equals previous acquisition transforms the former paper money case logic state obtained, if so, then using former paper money case logic state as up-to-date paper money case logic state;
Paper money case turnover paper money monitoring unit, when paper money case physical state for being not equal to previous acquisition when described physical state transforms the former paper money case logic state obtained, judge whether obtain described paper money case in paper money case physical state to the time period of this acquisition paper money case physical state from the last time has banknote to pass in and out, if, then using this obtain paper money case physical state as up-to-date paper money case logic state, otherwise, using former paper money case logic state as up-to-date paper money case logic state.
Wherein, described paper money case physical state is obtained by sensor, and described paper money case physical state comprises: EMPTY, LOW, OK, HIGH, FULL, and accordingly, described paper money case logic state also comprises: EMPTY, LOW, OK, HIGH, FULL.
Wherein, described paper money case comprises: deposit boxes, case of withdrawing the money, circulating box and collection box, wherein, the fault-tolerant order of described deposit boxes or collection box is: EMPTY>LOW>OK>H IGH>FULL, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effectively, otherwise then invalid; The fault-tolerant order of described case of withdrawing the money is: FULL>HIGH>OK>L OW>EMPTY, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effectively, otherwise then invalid.
Beneficial effect of the present invention is: a kind of movement paper money box like state fault-tolerance processing method, comprising: obtain paper money case physical state; Up-to-date paper money case logic state is obtained according to described paper money case physical state and default paper money box like state fault-tolerant processing rule list; Described up-to-date paper money case logic state is sent to movement, the present invention utilizes the method shielding hard error of software, make the Possums such as ATM be unlikely to the fault because of hardware and stop service, reach the object of software fault-tolerant, promote the reliability of Possum especially paper money case, make it the bottleneck not becoming Self-Service.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of movement paper money box like state fault-tolerance processing method that the embodiment of the present invention one provides.
Fig. 2 is the method flow diagram of the acquisition up-to-date paper money case logic state that the embodiment of the present invention one provides.
Fig. 3 is the structural drawing of a kind of movement paper money box like state fault-tolerance processing system that the embodiment of the present invention two provides.
Fig. 4 is the structural drawing of the paper money case logic state acquisition module that the embodiment of the present invention two provides.
Embodiment
Technical scheme of the present invention is further illustrated by embodiment below in conjunction with Fig. 1-Fig. 4.
Embodiment one
Fig. 1 is the process flow diagram of a kind of movement paper money box like state fault-tolerance processing method that the embodiment of the present invention one provides.
A kind of movement paper money box like state fault-tolerance processing method, comprising:
110, paper money case physical state is obtained;
120, up-to-date paper money case logic state is obtained according to described paper money case physical state and default paper money box like state fault-tolerant processing rule list;
130, described up-to-date paper money case logic state is sent to movement.
In the present embodiment, when the sensor hardware device wrong report of paper money box like state being detected, the paper money box like state fault-tolerance processing method provided by this method, reach the fault-tolerant object of movement, improve the utilization rate of paper money case, reduce movement fault, this method utilizes the method shielding hard error of software, make the Possums such as ATM be unlikely to the fault because of hardware sensor and stop service, reach the object of software fault-tolerant, promote the reliability of Possum especially paper money case, make it the bottleneck not becoming Self-Service, significantly improve the global function of Possum, especially the normal operation ratio of the deposit or the withdrawal, improve the normal service rate of Possum main body business.
In the present embodiment, paper money case physical state is: the paper money box like state obtained by paper money case sensor, has the states such as EMPTY (sky), LOW (low), OK (normally), HIGH (height), FULL (expiring).Paper money case logic state is: the paper money box like state that self-service operation system will be used, achieve conversion and the agreement of the paper money box like state of different manufacturers or different hardware report, user is made not need to be concerned about the different values of different manufacturers or different hardware paper money case physical state, also EMPTY (sky) is had, LOW (low), OK (normally), HIGH (height), the states such as FULL (expiring), for same paper money case, in this paper money case of paper money case status representative, the relation of banknote number is: EMPTY (sky) <LOW (low) <OK (normally) <HIGH (height) <FULL (expiring).
As shown in Figure 2, in the present embodiment, described step 120 specifically comprises:
121, judge described acquisition paper money case physical state be whether after movement starts first time obtain, if so, then using this paper money case physical state obtained as up-to-date paper money case logic state;
If 122 described acquisition paper money case physical states are not obtain the first time after movement startup, then judge that the paper money case physical state whether described physical state equals previous acquisition transforms the former paper money case logic state obtained, if so, then using former paper money case logic state as up-to-date paper money case logic state;
If the paper money case physical state that 123 described physical states are not equal to previous acquisition transforms the former paper money case logic state obtained, then judge whether obtain described paper money case in paper money case physical state to the time period of this acquisition paper money case physical state from the last time has banknote to pass in and out, if, then using this obtain paper money case physical state as up-to-date paper money case logic state, otherwise, using former paper money case logic state as up-to-date paper money case logic state.
In the present embodiment, described paper money box like state fault-tolerant processing rule list is used for according to described paper money case physical state and former paper money case logic state, judges that whether described paper money case physical state is effective, and then determines up-to-date paper money case logic state.
In the present embodiment, described paper money case physical state is obtained by sensor, and described paper money case physical state comprises: EMPTY, LOW, OK, HIGH, FULL, and accordingly, described paper money case logic state also comprises: EMPTY, LOW, OK, HIGH, FULL.
In the present embodiment, described paper money case comprises: deposit boxes, case of withdrawing the money, circulating box and collection box, wherein, the fault-tolerant order of described deposit boxes or collection box is: EMPTY>LOW>OK>H IGH>FULL, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effectively, otherwise then invalid; The fault-tolerant order of described case of withdrawing the money is: FULL>HIGH>OK>L OW>EMPTY, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effectively, otherwise then invalid.
In the present embodiment, for deposit boxes, its fault-tolerant order is: EMPTY>LOW>OK>H IGH>FULL, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of this acquisition is effective, as being respectively LOW and OK, or during LOW and HIGH, if the event that this time period has this paper money case banknote number to increase or operation occur, then upgrading the up-to-date logic state of this paper money case is the physical state that this obtains, otherwise up-to-date paper money case logic state is still former paper money case logic state, when the former logic state of paper money case after, the paper money case physical state obtained is when front, as being respectively HIGH and OK, or during HIGH and LOW, then the paper money case physical state of this acquisition is effective, significantly, for deposit boxes, the paper money case physical state of acquisition is the result of paper money case sensor wrong report, is judged to invalid should omitting, again obtain a paper money case physical state by paper money case sensor, or give tacit consent to up-to-date paper money case logic state still for former paper money case logic state.If this paper money case physical state obtained is invalid, then obtain paper money case physical state, the benchmark of comparing is still the former paper money case logic state that last time, effective physical state obtained next time.
As another embodiment, for case of withdrawing the money (note output case), its fault-tolerant order is: FULL>HIGH>OK>L OW>EMPTY, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effective, as being respectively HIGH and OK, or during HIGH and LOW, if the event that this time period has this paper money case banknote number to reduce or operation occur, then upgrading the up-to-date logic state of this paper money case is the physical state obtained, otherwise up-to-date paper money case logic state is still former paper money case logic state, when former paper money case logic state after, the paper money case physical state obtained is when front, as being respectively LOW and HIGH, or OK and HIGH, then the paper money case physical state of this acquisition is invalid, significantly, can not increase for note output case banknote, the paper money case physical state of acquisition is the result of paper money case sensor wrong report, should omit, again obtain a paper money case physical state by paper money case sensor, or give tacit consent to up-to-date paper money case logic state still for former paper money case logic state, if this paper money case physical state obtained is invalid, then obtain paper money case physical state, the benchmark of comparing is still the former paper money case logic state that last time, effective physical state obtained next time.
As another embodiment, for circulating box, if this time period event of only having this paper money case banknote number to reduce or operation occur, by aforementioned case process of withdrawing the money; If the event that this time period only has this paper money case banknote number to increase or operation occur, by aforementioned deposit boxes process, conventionally, following situation can not be there is in the time period between twice paper money case state updating: existing this paper money case banknote number is increased event or operation occur, have again event that this paper money case banknote number is reduced or operation generation.
As table 1.1 is depicted as paper money box like state change list in prior art.
As table 1.2 is depicted as the paper money box like state change list after using this method fault-tolerant.
As can be seen here, after have employed this method, paper money box like state is more fitted actual conditions.
Table 1.1
Table 1.2
Embodiment two
As shown in Figure 3, a kind of movement paper money box like state fault-tolerance processing system, comprising:
Paper money case physical state acquisition module, for obtaining paper money case physical state;
Paper money box like state fault-tolerant processing rule list, for according to described paper money case physical state and former paper money case logic state, judges that whether described paper money case physical state is effective, and then determines up-to-date paper money case logic state;
Paper money case logic state acquisition module, for obtaining up-to-date paper money case logic state according to described paper money case physical state and default paper money box like state fault-tolerant processing rule list;
Paper money case logic state update module, for being sent to movement by described up-to-date paper money case logic state.
In the present embodiment, shown paper money case physical state acquisition module is used for instant directly acquisition paper money case physical state, and by paper money case sensor direct-detection paper money box like state, because sensor easily becomes " dirty ", the paper money case virtual condition that this module obtains may be forbidden.
In the present embodiment, paper money box like state fault-tolerant processing rule list, for according to described paper money case physical state and former paper money case logic state, judge that whether described paper money case physical state is effective, and then determine up-to-date paper money case logic state, after paper money case physical state acquisition module obtains paper money case logic state, this condition conversion is directly paper money case physical state by prior art, pass to upper-layer service system, because this state is the paper money case data immediately obtained by paper money case sensor, paper money case sensor is made mistakes because its ardware feature easily becomes " dirty ", cause obtaining paper money case status data to be forbidden, thus under prior art upper-layer service system to take for paper money case unavailable and cannot use this paper money case, this condition conversion, after paper money case physical state acquisition module obtains paper money case logic state, is not directly that paper money case physical state passes to upper-layer service system by the present invention.But continued by paper money case logic state acquisition module to obtain the paper money case logic state be stored in internal memory, this paper money case logic state is the paper money case logic state result after the paper money case physical state obtained last time upgrades.Then pass in and out paper money event-monitoring module by paper money case and detect the time period between twice acquisition paper money case physical state, whether this paper money case there occurs turnover paper money event.Paper money case logic state judge module is according to the paper money case physical state value directly detected, the paper money case logic-state value that last time obtains, and whether this paper money case of this period there are banknote turnover paper money event three variablees, according to the up-to-date paper money case logic state judgment rule that paper money box like state fault-tolerant processing rule list provides, obtain up-to-date paper money case logic-state value, then transfer to paper money case logic state update module to upgrade paper money case logic state.
As shown in Figure 4, in the present embodiment, described paper money case logic state acquisition module comprises:
First judging unit, for judge described acquisition paper money case physical state be whether after movement starts first time obtain, if so, then using this paper money case physical state obtained as up-to-date paper money case logic state;
Second judging unit, during for not being the first time acquisition after movement starts when described acquisition paper money case physical state, judge that the paper money case physical state whether described physical state equals previous acquisition transforms the former paper money case logic state obtained, if so, then using former paper money case logic state as up-to-date paper money case logic state;
Paper money case turnover paper money monitoring unit, when paper money case physical state for being not equal to previous acquisition when described physical state transforms the former paper money case logic state obtained, judge whether obtain described paper money case in paper money case physical state to the time period of this acquisition paper money case physical state from the last time has banknote to pass in and out, if, then using this obtain paper money case physical state as up-to-date paper money case logic state, otherwise, using former paper money case logic state as up-to-date paper money case logic state.
In the present embodiment, described paper money case physical state is obtained by sensor, and described paper money case physical state comprises: EMPTY, LOW, OK, HIGH, FULL, and accordingly, described paper money case logic state also comprises: EMPTY, LOW, OK, HIGH, FULL.
In the present embodiment, described paper money case comprises: deposit boxes, case of withdrawing the money, circulating box and collection box, wherein, the fault-tolerant order of described deposit boxes or collection box is: EMPTY>LOW>OK>H IGH>FULL, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effectively, otherwise then invalid; The fault-tolerant order of described case of withdrawing the money is: FULL>HIGH>OK>L OW>EMPTY, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effectively, otherwise then invalid.
In the present embodiment, for Possum, certain Possum moment movement has four paper money casees: collection box, deposit boxes, note output case, circulating box, and this moment each paper money box like state is collection box OK, deposit boxes EMPTY, note output case FULL, circulating box OK; This Possum is after Service control software ATMC has started, if paper money case sensor detects this Possum movement each paper money box like, state is: collection box OK, deposit boxes EMPTY, note output case FULL, circulating box OK; Due to this time, acquisition paper money box like state obtains paper money box like state for the first time after movement starts, then up-to-date logic paper money box like state is each paper money box like state that state is directly got paper money case sensor and detected, that is: collection box OK, deposit boxes EMPTY, note output case FULL, circulating box OK, like this, after Service control software ATMC has started, the paper money case information that operation system process monetary transaction gets is up-to-date logic paper money box like state; In fact, after Service control software ATMC has started, the paper money box like state that paper money case sensor detects might not be accurate, also may there is wrong report situation.Thus can not get using to prevent from reporting by mistake the paper money case causing originally can normally working, when Service control software ATMC started rear paper money case sensor collection box FULL, deposit boxes FULL, note output case EMPTY, circulating box EMPTY or FULL detected time, namely when certain paper money case is unavailable, can suppose that the down state of this paper money case is wrong report, be set to an available state, perform and once enter or note output operation, to determine that whether the state of this paper money case is actual really for down state.
As another embodiment, certain Possum moment movement has four paper money casees: collection box, deposit boxes, note output case, circulating box, and certain moment each paper money case logic state is collection box OK, deposit boxes EMPTY, note output case FULL, circulating box OK.Possum performs a business operation, and this business operation has banknote to be recovered to collection box, and make case banknote minimizing of withdrawing the money, circulating box banknote increases; Having operated each paper money box like state that rear paper money case sensor reports is: collection box LOW, deposit boxes OK, note output case OK, circulating box HIGH.Now determine the up-to-date logic state of this Possum each paper money case; According to following rule: the banknote in deposit boxes or collection box becomes many, or the banknote of withdrawing the money in case tails off, and namely paper money case availability declines; Deposit boxes or collection box, move according to the order status of EMPTY>LOW>OK>H IGH>FULL, judging to detect in the business operation process of paper money box like state for twice has banknote to enter paper money case, and paper money case availability declines successively; To withdraw the money case, move according to the order status of FULL>HIGH>OK>L OW>EMPTY, judging to detect in the business operation process of paper money box like state for twice has banknote to send from paper money case, and paper money case availability declines successively; Described Possum performs a business operation, and this business operation has banknote to be recovered to collection box, and make case banknote minimizing of withdrawing the money, circulating box banknote increases; For collection box, if in this operating process, banknote is had to enter collection box, and collection box has state OK-> state LOW, violate the order of EMPTY>LOW>OK>H IGH>FULL, this is typical wrong report by the collection box state that sensor obtains, and this collection box state obtains to be disregarded, then the up-to-date logic state of collection box is still OK; Equally, case banknote of withdrawing the money reduces, box like of withdrawing the money state is by FULL->OK, meet the order migration of FULL>HIGH>OK>L OW>EMPTY, have banknote to reduce, the up-to-date logic state of case of withdrawing the money gets the state OK that sensor obtains; Circulating box banknote increases, circulating box is considered as deposit boxes, state is by OK->HIGH, meet the order migration of EMPTY>LOW>OK>H IGH>FULL, have banknote to subtract increase, the up-to-date logic state of circulating box gets the state HIGH that sensor obtains.
The foregoing is only the specific embodiment of the present invention, these describe just in order to explain principle of the present invention, and can not be interpreted as limiting the scope of the invention by any way.Based on explanation herein, those skilled in the art does not need to pay performing creative labour can associate other specific implementation method of the present invention, and these modes all will fall within protection scope of the present invention.
Claims (9)
1. a movement paper money box like state fault-tolerance processing method, is characterized in that, comprising:
Obtain paper money case physical state;
Up-to-date paper money case logic state is obtained according to described paper money case physical state and default paper money box like state fault-tolerant processing rule list;
Described up-to-date paper money case logic state is sent to movement.
2. a kind of movement paper money box like state fault-tolerance processing method according to claim 1, is characterized in that, describedly obtains up-to-date paper money case logic state according to paper money case physical state and default paper money box like state fault-tolerant processing rule list and specifically comprises:
Judge described acquisition paper money case physical state be whether after movement starts first time obtain, if so, then using this paper money case physical state obtained as up-to-date paper money case logic state;
If described acquisition paper money case physical state is not obtain the first time after movement startup, then judge that the paper money case physical state whether described physical state equals previous acquisition transforms the former paper money case logic state obtained, if so, then using former paper money case logic state as up-to-date paper money case logic state;
If the paper money case physical state that described physical state is not equal to previous acquisition transforms the former paper money case logic state obtained, then judge whether obtain described paper money case in paper money case physical state to the time period of this acquisition paper money case physical state from the last time has banknote to pass in and out, if, then using this obtain paper money case physical state as up-to-date paper money case logic state, otherwise, using former paper money case logic state as up-to-date paper money case logic state.
3. a kind of movement paper money box like state fault-tolerance processing method according to claim 2, it is characterized in that, described paper money box like state fault-tolerant processing rule list is used for according to described paper money case physical state and former paper money case logic state, judge that whether described paper money case physical state is effective, and then determine up-to-date paper money case logic state.
4. a kind of movement paper money box like state fault-tolerance processing method according to claim 3, it is characterized in that, described paper money case physical state is obtained by sensor, described paper money case physical state comprises: EMPTY, LOW, OK, HIGH, FULL, accordingly, described paper money case logic state also comprises: EMPTY, LOW, OK, HIGH, FULL.
5. a kind of movement paper money box like state fault-tolerance processing method according to claim 4, it is characterized in that, described paper money case comprises: deposit boxes, case of withdrawing the money, circulating box and collection box, wherein, the fault-tolerant order of described deposit boxes or collection box is: EMPTY > LOW > OK > HIGH > FULL, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effectively, otherwise then invalid; The fault-tolerant order of described case of withdrawing the money is: FULL > HIGH > OK > LOW > EMPTY, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effectively, otherwise then invalid.
6. a movement paper money box like state fault-tolerance processing system, is characterized in that, comprising:
Paper money case physical state acquisition module, for obtaining paper money case physical state;
Paper money box like state fault-tolerant processing rule list, for according to described paper money case physical state and former paper money case logic state, judges that whether described paper money case physical state is effective, and then determines up-to-date paper money case logic state;
Paper money case logic state acquisition module, for obtaining up-to-date paper money case logic state according to described paper money case physical state and default paper money box like state fault-tolerant processing rule list;
Paper money case logic state update module, for being sent to movement by described up-to-date paper money case logic state.
7. a kind of movement paper money box like state fault-tolerance processing system according to claim 6, it is characterized in that, described paper money case logic state acquisition module comprises:
First judging unit, for judge described acquisition paper money case physical state be whether after movement starts first time obtain, if so, then using this paper money case physical state obtained as up-to-date paper money case logic state;
Second judging unit, during for not being the first time acquisition after movement starts when described acquisition paper money case physical state, judge that the paper money case physical state whether described physical state equals previous acquisition transforms the former paper money case logic state obtained, if so, then using former paper money case logic state as up-to-date paper money case logic state;
Paper money case turnover paper money monitoring unit, when paper money case physical state for being not equal to previous acquisition when described physical state transforms the former paper money case logic state obtained, judge whether obtain described paper money case in paper money case physical state to the time period of this acquisition paper money case physical state from the last time has banknote to pass in and out, if, then using this obtain paper money case physical state as up-to-date paper money case logic state, otherwise, using former paper money case logic state as up-to-date paper money case logic state.
8. a kind of movement paper money box like state fault-tolerance processing system according to claim 7, it is characterized in that, described paper money case physical state is obtained by sensor, described paper money case physical state comprises: EMPTY, LOW, OK, HIGH, FULL, accordingly, described paper money case logic state also comprises: EMPTY, LOW, OK, HIGH, FULL.
9. a kind of movement paper money box like state fault-tolerance processing system according to claim 8, it is characterized in that, described paper money case comprises: deposit boxes, case of withdrawing the money, circulating box and collection box, wherein, the fault-tolerant order of described deposit boxes or collection box is: EMPTY > LOW > OK > HIGH > FULL, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effectively, otherwise then invalid; The fault-tolerant order of described case of withdrawing the money is: FULL > HIGH > OK > LOW > EMPTY, when the former logic state of paper money case is front, the paper money case physical state obtained is when rear, then the paper money case physical state of described acquisition is effectively, otherwise then invalid.
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 true CN104809825A (en) | 2015-07-29 |
CN104809825B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106251476A (en) * | 2016-07-29 | 2016-12-21 | 深圳怡化电脑股份有限公司 | Self-service method for processing business that a kind of cash box is fault-tolerant and system |
CN109285297A (en) * | 2018-09-19 | 2019-01-29 | 苏州浪潮智能软件有限公司 | A kind of processing method that paper money case is fault-tolerant, system and self-service automatic teller 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 |
CN114550366A (en) * | 2022-03-01 | 2022-05-27 | 浪潮金融信息技术有限公司 | Intelligent money box state management method, system and medium for terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1507241A1 (en) * | 2003-08-11 | 2005-02-16 | NCR International, Inc. | 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 |
CN103810784A (en) * | 2014-01-24 | 2014-05-21 | 广州御银科技股份有限公司 | Dynamic control method and system for cashbox of self-service equipment |
CN104134294A (en) * | 2014-07-18 | 2014-11-05 | 浪潮软件集团有限公司 | An authorization authentication method based on a self-service terminal in a business hall |
CN104408831A (en) * | 2014-10-27 | 2015-03-11 | 中国建设银行股份有限公司 | Monitoring method and device for state of bank self-service equipment |
-
2015
- 2015-04-30 CN CN201510216563.9A patent/CN104809825B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1507241A1 (en) * | 2003-08-11 | 2005-02-16 | NCR International, Inc. | 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 |
CN103810784A (en) * | 2014-01-24 | 2014-05-21 | 广州御银科技股份有限公司 | Dynamic control method and system for cashbox of self-service equipment |
CN104134294A (en) * | 2014-07-18 | 2014-11-05 | 浪潮软件集团有限公司 | An authorization authentication method based on a self-service terminal in a business hall |
CN104408831A (en) * | 2014-10-27 | 2015-03-11 | 中国建设银行股份有限公司 | Monitoring method and device for state of bank self-service equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106251476A (en) * | 2016-07-29 | 2016-12-21 | 深圳怡化电脑股份有限公司 | Self-service method for processing business that a kind of cash box is fault-tolerant and system |
CN109285297A (en) * | 2018-09-19 | 2019-01-29 | 苏州浪潮智能软件有限公司 | A kind of processing method that paper money case is fault-tolerant, system and self-service automatic teller 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 |
CN114550366A (en) * | 2022-03-01 | 2022-05-27 | 浪潮金融信息技术有限公司 | Intelligent money box state management method, system and medium for terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104809825B (en) | 2017-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103810784B (en) | Possum cash box dynamic control method and system | |
CN104809825A (en) | Fault-tolerance processing method and fault-tolerance processing system for state of movement cash box | |
CN101587611B (en) | Method of automatically recovering use when money cassette is closed | |
WO2008100861A3 (en) | Automated teller machine with fraud detection system | |
CN102622821A (en) | Method, device and system for supporting large amount of self-service withdrawal | |
CN105045533A (en) | Disk heartbeat transmitting and receiving method suitable for dual-control high-availability memory system | |
US20170011371A1 (en) | Self-service terminal service emergency method and site server | |
CN107980152A (en) | ATM clears method, apparatus, system and ATM machine | |
WO2019218892A1 (en) | Fault processing method, fault processing apparatus, and financial self-service device | |
CN111026769A (en) | Working method of dual-core front-end system and related equipment thereof | |
RU2677384C1 (en) | Way of automatic calculation of the included money in case of failures | |
CN106201439B (en) | A kind of method and device of abnormality processing | |
CN104809824A (en) | Cash box adaptation method and device based on self-service equipment | |
CN102610031B (en) | Self-service equipment banknote recovery system and recovery method | |
CN111338574B (en) | Data self-repairing method, device, medium and electronic equipment based on block chain | |
CN106203665A (en) | Trouble Report optimization method and Trouble Report optimize device | |
CN103761772A (en) | Train ticket taking, selling and returning all-in-one machine | |
JP2013145426A (en) | Failure detection system, failure detection method, program and automatic transaction device | |
CN111582851B (en) | Platform money printing method and device based on big data, electronic equipment and storage medium | |
JP5979719B2 (en) | ATM system and method | |
CN106815950B (en) | Intelligent teller machine driving method and system based on single module | |
CN105117352A (en) | Method and device for storing money depositing and withdrawing data of ATM | |
CN106600815B (en) | Self-service device control method and system | |
CN109155745A (en) | Payment gateway is connected to the network detection method and terminal device | |
CN108595367A (en) | A kind of server system based on computer cluster in LAN |
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 |