A kind of cash box, financial self-service equipment and cassette management system
Technical field
The present invention relates to financial technology field, more particularly to a kind of cash box, financial self-service equipment and cassette management system.
Background technology
In the finance services such as bank, in order to mitigate the operating pressure of Receptionist, and in order that the access of client
The cash such as money processing business realizes automation, and finance service all employs substantial amounts of financial self-service equipment.These gold
Melt and a kind of banknote apparatus for placing that carries out banknote storage and can be recycled, i.e. cash box in self-service equipment all be present.When
Banknote in cash box is not enough to support when client withdraws the money, it is necessary to add extra banknote in cash box;When banknote is filled with it in cash box
Emptied afterwards, it is necessary to which each special site of cash box escort to bank is carried out into the banknote in cash box.
In the transport process of cash box, there is a possibility that cash box is opened, is replaced, cause the banknote in cash box to exist
Potential safety hazard.And in the related art, the generic way for avoiding above mentioned problem from occurring is in cash box, is added using modes such as lead sealings
Seal bar.But this generic way is easily forged, security is poor.
The content of the invention
The embodiment of the present invention provides a kind of cash box, financial self-service equipment and cassette management system, realizes in transportation
In automatic monitoring to cash box, improve security of the cash box in the process of circulation.
To achieve the above object, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, the embodiments of the invention provide a kind of cash box, the cash box includes:
Electronic switch, it is arranged in the cash box, for detecting the on off state of the chamber door;
Encryption chip, electrically connected with the electronic switch, for according to the on off state, chamber door described in encrypting storing
History switch record;
Control board, it is arranged inside the cash box, is electrically connected with the encryption chip, for is opened according to the history
Record is closed, controls the current operating state of the cash box.
Further, when history switch, which is recorded as the chamber door, once to be opened, the control board controls institute
The current operating state for stating cash box is unavailable.
Second aspect, the embodiments of the invention provide a kind of financial self-service equipment, the financial self-service equipment includes:With
In:
It is right when detecting as described in being installed in the cash box that any embodiment of the present invention is provided on financial self-service equipment
The history switch record of the chamber door in the encryption chip is decrypted;
Switched and recorded according to the history, judge whether the chamber door is once opened;
If judging, the chamber door is once opened, and does not start the cash box.
The third aspect, the embodiments of the invention provide a kind of cassette management system, wherein, the cassette management system bag
Include;The cash box that any embodiment of the present invention is provided;
Base, for the cash box to be encrypted, obtain encrypting cash box;
Finance self-help device, for when the encryption cash box is installed on the finance self-help device, decryption is described to be added
Close cash box, obtain solving confidential information, and verify the solution confidential information;
According to the result to the decryption Information Authentication, judge whether to start the cash box.
Further, the base is additionally operable to:Before the cash box is encrypted, the cash box is authenticated,
After cash box certification success, signing messages is write into the cash box.
Further, the base is specifically used for:For by the signing messages and encryption information, writing the encryption core
Piece is encrypted, wherein, the encryption information includes current plus the paper money amount of money and the default private key of the cash box.
Further, the finance self-help device, is specifically used for:
Cash box is encrypted using described in default public key decryptions corresponding with the default private key, obtains solving confidential information;
Signing messages is obtained from the solution confidential information;
The signing messages is verified;
If the signing messages is proved to be successful, the history switch record is obtained;
Switched and recorded according to the history, judge whether the chamber door is once opened;
If the chamber door is once opened, the cash box is not started.
Further, the finance self-help device is additionally operable to:
If the signing messages is verified, and the chamber door of the cash box is not opened, then starts the cash box.
Further, the financial self-service equipment is additionally operable to:If the signing messages checking is unsuccessful, institute is not started
State cash box.
Further, the cassette management system also includes:
Information carrying means, it is connected with the finance self-help device, for the result for decrypting Information Authentication to be uploaded into institute
State the control centre of finance self-help device.
In the technical scheme of the embodiment of the present invention, cash box includes control electronic switch, encryption chip and control board.Its
In, electronic switch, it is arranged in cash box, for detecting the on off state of cash box chamber door;Encryption chip, it is electrically connected with electronic switch
Connect, for according on off state, the history switch of chamber door described in encrypting storing to record;Control board, it is arranged inside cash box,
Electrically connect with encryption chip, recorded for being switched according to history, control the current operating state of cash box.By using of the invention real
The technical scheme of example offer is provided, is transported, during maintenance in cash box, the open record of chamber door protects encrypted chip always
Deposit.If electronic switch detects that cash box chamber door is opened, encryption chip then records the switch for storing chamber door immediately, simultaneously
Also by the functional circuitry in trigger control circuit plate, and then the current operating state of cash box is controlled.If do not obtain encrypting core
The operation of piece, the functional circuitry in control board will be unable to normal work.Because cash box of the prior art is all adopted substantially
With the relatively simple mechanical code lock of structure, patch can not can only be passed through to being monitored in transport and maintenance process to cash box
The mode of strip of paper used for sealing ensures the security of cash box, and the embodiment of the present invention is by using electronic switch, encryption chip and control electricity
Road plate, the intelligentized performance of cash box is imparted, the on off state of cash box can be monitored and record in real time, relative to the side of prior art
Case security is higher, and reliability is stronger.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, it can also be implemented according to the present invention
The content of example and these accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of structured flowchart for cash box that the embodiment of the present invention one provides;
Fig. 2 a are a kind of structured flowchart for cassette management system that the embodiment of the present invention two provides;
Fig. 2 b are a kind of structured flowchart for cassette management system that the embodiment of the present invention two provides.
Embodiment
For make present invention solves the technical problem that, the technical scheme that uses and the technique effect that reaches it is clearer, below
The technical scheme of the embodiment of the present invention will be described in further detail with reference to accompanying drawing, it is clear that described embodiment is only
It is part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art exist
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Embodiment one
Fig. 1 is a kind of structured flowchart for cash box that the embodiment of the present invention one provides.The cash box can be integrated in money box system.
As shown in figure 1, the cash box 100 includes:Electronic switch 110, encryption chip 120 and control board 130.
Wherein, electronic switch 110, it is arranged in cash box, for detecting the on off state of cash box chamber door;Encryption chip 120,
Electrically connected with electronic switch 110, for according on off state, the history switch record of encrypting storing chamber door;Control board
130, it is arranged inside cash box, is electrically connected with encryption chip 120, recorded for being switched according to history, controls the current work of cash box
Make state.
Wherein, all kinds of symmetric and unsymmetric algorithms can be integrated inside encryption chip, itself there is high safe class, can be with
The key and information data for ensureing storage inside illegally will not be read with distorting.
Exemplary, the encryption chip in the present embodiment is arranged in control board, is electrically connected with electronic switch.Work as paper money
Case is during transported, as long as electronic switch detects that cash box chamber door is opened, encryption chip will store chamber door quilt
Open This move, even if cash box chamber door is closed again, the open record (may include the opening time) of chamber door also will always by
Encryption chip preserves.Therefore, the use of encryption chip, the intelligentized performance of cash box is assigned, can be in real time to the on off state of cash box
It is monitored.
It is exemplary, when cash box is during transported, if electronic switch detects that cash box chamber door is opened, add
Close chip also will be in trigger control circuit plate functional circuitry, for example, can be locked with control function circuit so that function
Property circuit can not normal work, and then control cash box can not be activated, to ensure the security of cash box.
Further, the embodiment of the present invention additionally provides a kind of financial self-service equipment, when the financial self-service equipment detects
When the cash box that any embodiment of the present invention is provided is installed in the financial self-service equipment, gone through to what is stored in cash box encryption chip
History switch record is decrypted.Switched and recorded according to history, judge whether chamber door is once opened;If judging, chamber door is once opened
When, then do not start cash box.
Exemplary, record is switched for the history of encrypting storing in encryption chip, if history switch record is added
The close encrypted preservation of chip, then when cash box is placed into financial self-service equipment, first cash box will be carried out in financial self-service equipment
Decryption, obtain history switch record.
It is exemplary, history switch record can also store cash box such as flash memories (Flash Memory, FLASH)
Or EEPROM (Electrically Erasable Programmable Read-Only Memory,
) etc. EEPROM in nonvolatile memory.If history switch record is stored into above-mentioned memory, when cash box is installed to
When in financial self-service equipment, financial self-service equipment can directly read the history switch record of chamber door.
Exemplary, no matter history switch record storage is wherein, as long as the processor of financial self-service equipment reads paper money
The history switch record that case chamber door was once opened, then it represents that the cash box has potential safety hazard, if be continuing with, may cause
Actual account is expected the skimble-scamble situation of account with system and occurred, therefore financial self-service equipment does not start to the cash box.Its
In, financial self-service equipment can be that automatic cash dispenser, ATM, automatic teller machine or cleaning-sorting machine etc. can carry out financial friendship
Easy equipment.
The embodiments of the invention provide a kind of cash box, the cash box includes control board, electronic switch and encryption chip.It is logical
Cross using technical scheme provided in an embodiment of the present invention, cash box is transported, during maintenance, the open record of chamber door will be by
Encryption chip preserves always.If electronic switch detects that cash box chamber door is opened, encryption chip will then store chamber door immediately
Switch record, while also by the functional circuitry in trigger control circuit plate, and then control the current operating state of cash box.Such as
Fruit does not obtain the permission of encryption chip, and the functional circuitry in control board will be unable to normal work.When cash box is installed in
When in financial self-service equipment, the history switch that financial self-service equipment can read cash box chamber door from encryption chip records, and according to
Open record judges whether cash box chamber door is previously opened, and then determines whether to enable the cash box, ensure that cash box in the process of circulation
In security, relative to prior art provide seal bar ensure cash box safety by way of, the embodiment of the present invention carries
The technical scheme security of confession is higher, and reliability is stronger.
Embodiment two
Fig. 2 a are a kind of structured flowchart for cassette management system that the embodiment of the present invention two provides.As shown in Figure 2 a, cash box
System 200 includes base 210, finance self-help device 220 and the cash box 230 such as the offer of above-mentioned embodiment.
Wherein, when cash box 230 unloads from the equipment of finance self-help device 220, when being placed on base 210, bottom is passed through
Seat 210, cash box 230 is encrypted, and obtains encrypting cash box;Wherein, base is that the one of which that cash box is encrypted can be added
Close device.Directly cash box can be encrypted for the encryption device, cash box can also be added indirectly in the case where adding the control at paper money center
It is close.
When encryption cash box is installed in finance self-help device 220, finance self-help device 220, encryption cash box is solved
It is close, obtain solving confidential information, and solution confidential information is verified, according to the result of checking, judge whether to start the cash box.(should
State represented by process is shown in figure 2b).Exemplary, the finance self-help device in the present embodiment can be above-mentioned implementation
Any financial self-service equipment that example is provided.
It should be noted that when cash box is placed on base, before cash box is encrypted base, can first use
It is authenticated in cash box.Exemplary, the certification carried out to cash box is preferably the legitimacy certification to cash box.For example, can
By identifying that cash box identifies, determine whether the cash box is produced by regular cash box production company, and whether its circulation obtains gold
Melt license of mechanism etc..Wherein, cash box mark can be cash box before dispatching from the factory, production company belonging to cash box be cash box distribution bar
Shape code or financial institution are the marks such as the ID number of cash box distribution.Exemplary, when carrying out legitimacy certification to cash box, base
Above-mentioned identification information can be uploaded to and add paper money center, add paper money center after above- mentioned information is got, can be with being deposited in advance in database
The identification information of the cash box of storage is matched, if the match is successful, it is determined that cash box certification success.Confirm cash box certification into
After work(, signing messages can be write cash box by base.Wherein, cash box sequence number and bar code etc. are may include in signing messages.
Exemplary, after completing certification to cash box and writing signing messages, the cash box can be encrypted.It is exemplary
, by base, the step of cash box is encrypted, specifically includes:According to predetermined encryption rule, signing messages and encryption are believed
Breath, writes in the encryption chip of cash box and is encrypted, wherein, the encryption information includes adding the paper money amount of money and presetting for the cash box
Private key.When Fig. 2 a show that cash box is placed on base, by base, cash box is authenticated, write signing messages and
State when cash box is encrypted.
Also needing to explanation is, after cryptographic operation is completed, need to record the original switch preserved in cash box encryption chip
Remove, to ensure that the history that follow-up finance self-help device is read switchs the validity recorded.
Exemplary, predetermined encryption rule is preferably rivest, shamir, adelman.The algorithm is a kind of time slot scrambling of key,
Security is very high.Default asymmetric arithmetic usually requires two keys:That is public key (publickey) and private key
(privatekey).Public key and private key are a pair of secret keys, and data are carried out if presetting asymmetric arithmetic according to this using public key
Encryption, then private key only corresponding to utilization, and could being decrypted based on the default asymmetric arithmetic.Similarly, if utilizing private key pair
Data are encrypted, then public key corresponding to also only using could be decrypted.In the technical scheme that the present embodiment provides, preferably
Encryption chip will be write in default private key by base, cash box is encrypted, obtain encrypting cash box.And can be by adding paper money center
Default public key corresponding with default private key is sent to finance self-help device corresponding with encryption cash box, makes finance self-help device root
According to default public key to encryption cash box decryption.
Exemplary, because corresponding relation be present in default public key and default private key, if after default private key is write into cash box, only
Have just can complete decryption by default public key to encryption cash box, and then can just start the encryption cash box.Therefore, when encryption cash box exists
During transport, maintenance, due to presetting the presence of private key, criminal can not arbitrarily open cash box and steal cash, even if plus
Close cash box is artificially exchanged during transport or maintenance, and encryption cash box can not normally be started, and the security of cash box obtains
To effective guarantee.
Fig. 2 b are a kind of structured flowchart for cassette management system that the embodiment of the present invention two provides, and Fig. 2 b show that cash box is put
When putting in finance self-help device, finance self-help device is decrypted to cash box, and to solving state when confidential information is verified.Its
In, if the cash box being placed in the finance self-help device shown in 2b is to have completed the encryption cash box of encryption, now, if finance is certainly
Help in device and do not preserve default public key corresponding with the default private key in encryption cash box, then the encryption cash box can not be still activated.
This has also evaded the phenomenon that cash box is imitated and occurred to a certain extent, it is further provided peace during finance self-help plant running
Full property and reliability.
Preferably, when encryption cash box is placed into finance self-help device, finance self-help device is specifically used for:Using with it is pre-
If presetting corresponding to private key described in public key decryptions and encrypting cash box, obtain solving confidential information;Signing messages is obtained from solution confidential information;It is right
Signing messages is verified;If signing messages is proved to be successful, history switch record is obtained;Switched and recorded according to history, sentenced
Whether disconnected chamber door was once previously opened;If chamber door is once previously opened, do not start cash box.
Exemplary, when encryption cash box is placed into finance self-help device, finance self-help device to cash box by carrying out
Decryption, obtain after solving confidential information, also can first obtain history switch record, if cash box chamber door was not present once in history switch record
The record opened, then verify to signing messages again, and then determines whether to start the cash box.Exemplary, if signature
Information Authentication is unsuccessful, then does not start the cash box.
Exemplary, finance self-help device can be for the process verified to signing messages:Obtained from signing messages
Take the sequence number and bar code of cash box, and by the sequence number got and bar code respectively with prestored in finance device (or
From add paper money center obtain) sequence number and bar code matched, if the match is successful for the two, represent signing messages checking into
Work(.And if there is one among the two, it fails to match, or the two is when it fails to match, then it represents that signing messages authentication failed.
In the case of signing messages authentication failed, finance self-help device does not start to cash box.
Exemplary, if history switchs record storage in the non-volatile memories of cash box, rather than in encryption chip, then exist
In this case, when encryption cash box is placed into finance self-help device, finance self-help device also can first read the history of cash box
Switch record, and switched and recorded according to the history, judge whether cash box chamber door was once previously opened;If judged cash box chamber door once
It is previously opened, then does not start cash box.And if finance self-help device judges that cash box chamber door is not previously opened, then cash box is entered
Row decryption, obtain solving confidential information.Signing messages is obtained from solution confidential information, and signing messages is verified, and then judgement is
No startup cash box.
Exemplary, when encryption cash box is positioned in finance self-help device, only it is verified in signing messages, and gold
Melt in the case that self-auxiliary device judges that the chamber door of the cash box is not opened, cash box can just be started.
Further, suggestion device is may also include in encryption system, be connected with finance self-help device, for confidential information will to be solved
The result of checking is uploaded to the control centre of finance self-help device, to inform the currently used situation of control centre's cash box.
, can be by suggestion device by legitimacy specifically, when finance self-help device fails to the legitimate verification of cash box
The result of authentication failed is uploaded to the control centre of finance self-help device so that safety existing for cash box can be known in control centre
Hidden danger, and carry out safe kernel and test, to exclude potential safety hazard.
A kind of money box system is present embodiments provided, including base, such as automatic cash dispenser or ATM finance are certainly
Help device and the cash box such as the offer of above-mentioned embodiment.When cash box unloads from finance self-help device, when being placed on base,
By base, cash box can be encrypted, obtain encrypting cash box.Due to default private key can be written into the encryption chip of cash box,
Therefore, only just encryption cash box can be decrypted using default public key corresponding with default private key for finance self-help device, and then
It can just further determine whether to start encryption cash box, to avoid cash box from illegally being opened or by more during transport, maintenance
Situation about changing occurs, and has ensured the security of fund in cash box.When encryption cash box is placed into finance self-help device, finance is certainly
Help device that encryption cash box need to be decrypted, obtain solving confidential information, by being switched to the signing messages in solution confidential information and history
After record is verified respectively, judge whether to start cash box.By using above-mentioned technical proposal, the peace of cash box is improved
Quan Xing, while it also avoid illegal cash box and be passed to financial system.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.