CN107958535A - A kind of acquisition methods, acquisition device and the terminal device of bank note information - Google Patents
A kind of acquisition methods, acquisition device and the terminal device of bank note information Download PDFInfo
- Publication number
- CN107958535A CN107958535A CN201711058475.6A CN201711058475A CN107958535A CN 107958535 A CN107958535 A CN 107958535A CN 201711058475 A CN201711058475 A CN 201711058475A CN 107958535 A CN107958535 A CN 107958535A
- Authority
- CN
- China
- Prior art keywords
- bank note
- information
- message queue
- currency examination
- examination mechanism
- 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
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D11/00—Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
- G07D11/20—Controlling or monitoring the operation of devices; Data handling
- G07D11/22—Means for sensing or detection
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D11/00—Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
- G07D11/10—Mechanical details
- G07D11/16—Handling of valuable papers
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07D—HANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
- G07D11/00—Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
- G07D11/20—Controlling or monitoring the operation of devices; Data handling
- G07D11/32—Record keeping
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The present invention is suitable for financial industry technical field of information processing, there is provided a kind of acquisition methods, acquisition device and the terminal device of bank note information, including:Under predetermined state, monitor whether that bank note enters currency examination mechanism;If having monitored that bank note enters currency examination mechanism, bank note message queue is established, and is being established in first scheduled time of the bank note message queue, is confirmed whether to receive the bank note information that the currency examination mechanism reports;If established in first scheduled time of the bank note message queue, the bank note information that the currency examination mechanism reports is received, then is write the bank note information reported in the bank note message queue;The communication efficiency that solves the problems, such as ATM machine core module in the prior art is low, system resource occupancy is high and cannot ensure that communication data is effectively obtained.
Description
Technical field
The invention belongs to financial industry technical field of information processing, more particularly to a kind of acquisition methods of bank note information, obtain
Take device and terminal device.
Background technology
With the development of science and technology automation equipment gradually dominates the market.ATM (Automatic Teller Machine,
ATM) Typical Representative of the machine as automation equipment in financial industry, has been widely used.In ATM machine core module,
Main control module needs and currency examination device carries out real-time communication, to obtain bank note information of each bank note after, includes bank note
The information such as true and false, crown word number, it is usually some a pair of of sensing of point installation in the passage of currency examination device rear end by the way of
Device reaches trigger condition when bank note reaches this sensor after currency examination device, main control module sends instruction as trigger condition
The corresponding information of current bank note is obtained to currency examination device, the money-checking information of current bank note is sent to after currency examination device receives instruction
Main control module.
The prior art there are some defects, be first communication efficiency than relatively low, obtaining the information of each banknote needs to carry out
Communicate twice, when a large amount of bank note and other information is handled, main control module or currency examination device module, which need to take, more is
System resource;Secondly communication data does not ensure effectively, when certain communication information is lost, (order that main control module is sent is lost
Or currency examination device return bank note information result lose) when current bank note information can be caused not accurately obtain.
The content of the invention
In view of this, an embodiment of the present invention provides a kind of acquisition methods, acquisition device and the terminal device of bank note information,
To solve, the communication efficiency of ATM machine core module in the prior art is low, system resource occupancy is high and cannot ensure communication number
The problem of according to effectively being obtained.
The first aspect of the embodiment of the present invention provides a kind of acquisition methods of bank note information, including:
Under predetermined state, monitor whether that bank note enters currency examination mechanism;
If having monitored that bank note enters currency examination mechanism, bank note message queue is established, and establishing the bank note information
In first scheduled time of queue, it is confirmed whether to receive the bank note information that the currency examination mechanism reports;
If established in first scheduled time of the bank note message queue, the paper that the currency examination mechanism reports is received
Coin information, then write the bank note information reported in the bank note message queue.
The second aspect of the embodiment of the present invention provides a kind of acquisition device of bank note information, including:
Monitoring unit, under predetermined state, having monitored whether that bank note enters currency examination mechanism;
Unit is established, if for having monitored that bank note enters currency examination mechanism, establishes bank note message queue, and establishing
In first scheduled time of the bank note message queue, it is confirmed whether to receive the bank note information that the currency examination mechanism reports;
First writing unit, if for establishing in first scheduled time of the bank note message queue, receives institute
The bank note information that currency examination mechanism reports is stated, then is write the bank note information reported in the bank note message queue.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor performs the computer program
The step of realizing the method that first aspect of the embodiment of the present invention provides.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage
Media storage has computer program, and the computer program realizes the embodiment of the present invention when being executed by one or more processors
On the one hand the step of the method provided.
Existing beneficial effect is the embodiment of the present invention compared with prior art:The present invention is by under predetermined state, supervising
Whether survey has bank note to enter currency examination mechanism;If having monitored that bank note enters currency examination mechanism, bank note message queue is established, and
Establish in first scheduled time of the bank note message queue, be confirmed whether to receive the bank note letter that the currency examination mechanism reports
Breath;If established in first scheduled time of the bank note message queue, the bank note letter that the currency examination mechanism reports is received
Breath, then write the bank note information reported in the bank note message queue;By the above method, the cash inspecting machine in ATM machine
Structure need not receive the instruction of main control module, it is possible to active reporting bank note information so that the communication efficiency raising of core module,
System resource occupancy reduces.
Brief description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is that the acquisition methods of bank note information provided in an embodiment of the present invention realize flow diagram;
Fig. 2 is that the acquisition methods of bank note information provided in an embodiment of the present invention realize flow diagram;
Fig. 3 is the schematic diagram of the acquisition device of bank note information provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of terminal device provided in an embodiment of the present invention;
Embodiment
In being described below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that these are specific
The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details hinders description of the invention.
It should be appreciated that ought be special described by the instruction of term " comprising " use in this specification and in the appended claims
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step,
Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combinations and all possible combinations of one or more of the associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Fig. 1 is that the acquisition methods of bank note information provided in an embodiment of the present invention realize flow diagram, as shown in the figure, institute
The method of stating comprises the following steps:
Step S101, under predetermined state, has monitored whether that bank note enters currency examination mechanism.
In practical applications, the predetermined state can be pre-set currency examination mechanism active reporting operating mode.
Under the pattern, after currency examination mechanism has identified current bank note, by recognition result active reporting to main control module.
In practical applications, can monitor whether that bank note enters by way of setting sensor (such as optical sensor) to test
Paper money mechanism.For example, installing sensor at the banknote entry of currency examination mechanism, when bank note is by the banknote entry, the biography is triggered
Sensor, at this time main control module can receive bank note enter currency examination mechanism information.
Step S102, if having monitored that bank note enters currency examination mechanism, establishes bank note message queue, and described in foundation
In first scheduled time of bank note message queue, it is confirmed whether to receive the bank note information that the currency examination mechanism reports.
Wherein, the bank note message queue includes:Bank note entering order numbering, bank note information flag position, bank note Information Number
According to domain;
The bank note information includes:The true and false information of paper money recognition serial number, bank note, paper money number.
In practical applications, whether the bank note information flag position can be used for marking the bank note information of current bank note
It is reported to main control module.The bank note information flag position, which can give tacit consent to, to be not set, and can also be given tacit consent to and is set to one in advance
If value, it is 0 by bank note information flag position position for example, when establishing bank note message queue, believes in the bank note of current bank note
Breath is reported to after main control module, is 1 by bank note information flag position position.The bank note information data field is defaulted as
Sky, main control module write the bank note information data after the bank note information that currency examination mechanism reports is received, by the bank note information
In domain.
Further, before having monitored whether that bank note enters currency examination mechanism, further include:
Bank note entering order numbering and the paper money recognition serial number are arranged to initial value;
It is described to establish bank note message queue and include:
By bank note entering order numbering plus 1;
After the bank note is by the currency examination mechanism, the paper money recognition serial number is added 1.
In practical applications, the initial value can be 0 or other be 0 natural number.It is described by bank note into
Enter serial number and add 1, bank note entering order numbering can also be subtracted 1 or add default value.It is described by the paper money recognition
Serial number adds 1, can also subtract 1 by the paper money recognition serial number or add default value.As long as it should be noted that can
The recognition sequence of entering order and bank note to bank note carries out serial number, is not limited specifically how to number.
Exemplary, after currency checking module active reporting operating mode is started, by bank note entering order numbering and paper
Coin recognition sequence numbering, which is arranged to 0, (when restarting currency examination mechanism every time, will number banknotes in sequence and paper money recognition is compiled
Number reset, so can accurately count the bank note quantity of each money-checking, and ensure numbering correctness), monitoring every time
When entering currency examination mechanism to bank note, by bank note entering order numbering plus 1;After having bank note by the currency examination mechanism every time,
After having bank note to be identified, paper money recognition serial number is added 1.
In practical applications, first scheduled time can be artificial set in advance.The bank note entering order is compiled
Number can be to enter the numbering that the order of currency examination mechanism carries out bank note by bank note.The paper money recognition serial number can be by
The numbering that the identified order of bank note carries out bank note.When currency examination mechanism normal work and all paper money recognition results are normal
When, bank note entering order numbering should be consistent with paper money recognition serial number;When currency examination mechanism breaks down, or a certain
The identification of bank note when something goes wrong, is likely to result in bank note entering order numbering and paper money recognition serial number is inconsistent.
Step S103, if established in first scheduled time of the bank note message queue, receives the cash inspecting machine
The bank note information that structure reports, then write the bank note information reported in the bank note message queue.
Further, before the bank note information reported is write in the bank note message queue, further include:
It is presupposed information by the bank note information flag position position in the bank note message queue, and judges that current bank note enters
Whether serial number and current paper money recognition serial number are consistent;
If current bank note entering order numbering is consistent with current paper money recognition serial number, by the bank note reported
Information is write in the bank note information data field in the bank note message queue;
If current bank note entering order numbering is inconsistent with current paper money recognition serial number, delete what is currently reported
Bank note information.
Wherein, the presupposed information can be artificial set in advance, and the presupposed information can be specific numerical value,
It can be certain symbol (such as *, #), can also be letter, as long as in the presupposed information and the bank note message queue initially set up
Bank note information flag position content difference, be not specifically limited herein.Exemplary, the bank note in bank note message queue
Information flag position is sky, if established in first scheduled time of the bank note message queue, receives the currency examination mechanism
The bank note information reported, then be 1 by bank note information flag position position.
In practical applications, if current bank note entering order numbering is consistent with current paper money recognition serial number, say
Bright current currency examination mechanism is working properly, and current paper money recognition result is normal, and the bank note information reported is write institute at this time
State in the bank note information data field in bank note message queue;If current bank note entering order numbering and current paper money recognition
Serial number is inconsistent, then illustrates that the work of current currency examination mechanism is abnormal, or current paper money recognition breaks down, it is described at this time on
The bank note information of report is probably incorrect, so needing to delete the bank note information currently reported, and stops handling, to search original
Cause.
The embodiment of the present invention is by under predetermined state, having monitored whether that bank note enters currency examination mechanism;If monitor
Bank note enters currency examination mechanism, then establishes bank note message queue, and is establishing in first scheduled time of the bank note message queue,
It is confirmed whether to receive the bank note information that the currency examination mechanism reports;It is if predetermined in establish the bank note message queue first
In time, the bank note information that the currency examination mechanism reports is received, then the bank note information reported is write the bank note believes
Cease in queue;By the above method, the currency examination mechanism in ATM machine need not receive the instruction of main control module, it is possible in active
Newspaper coin information so that the communication efficiency of core module improves, system resource occupancy reduces;When currency examination mechanism does not have in active
During newspaper coin information, main control module can also be confirmed by active obtaining order, ensure that communication data accuracy and
Validity.
Fig. 2 is that the acquisition methods for the bank note information that further embodiment of this invention provides realize flow diagram, such as figure institute
Show, the described method comprises the following steps:
Step S201, under predetermined state, has monitored whether that bank note enters currency examination mechanism.
The step is identical with step S101, specifically can refer to step S101, details are not described herein.
Step S202, if having monitored that bank note enters currency examination mechanism, establishes bank note message queue, and described in foundation
In first scheduled time of bank note message queue, it is confirmed whether to receive the bank note information that the currency examination mechanism reports.
The step is identical with step S102, specifically can refer to step S102, details are not described herein.
Step S203, if established in first scheduled time of the bank note message queue, does not receive the money-checking
The bank note information that mechanism reports, then be confirmed whether to receive information of the bank note by the currency examination mechanism by sensor.
In practical applications, trigger sensor usually is installed at the coin discharge of currency examination mechanism, when bank note passes through money-checking
When mechanism and the coin discharge by currency examination mechanism, the trigger sensor can be triggered, main control module can receive the bank note
Pass through the information of the currency examination mechanism.
In practical applications, if main control module is not received by the bank note information that the currency examination mechanism reports, need
Confirm that current bank note whether by the currency examination mechanism, judges the bank note identified or unrecognized, Jin Erye with this
It can be used for judging that paper money recognition goes wrong, or currency examination mechanism breaks down.For example, if current bank note has passed through
The currency examination mechanism, then be probably that current paper money recognition goes wrong;If current bank note by the currency examination mechanism,
It is probably that currency examination mechanism breaks down.
Step S204, if receiving information of the bank note by the currency examination mechanism by sensor, empties current
Information in bank note message queue.
Further, before the information in emptying current bank note message queue, further include:
Confirm whether the bank note information flag position in the bank note message queue is set to default value information;
If the bank note information flag position in the bank note message queue is set to default value information, current bank note is emptied
Information in message queue;
If the bank note information flag position in the bank note message queue is not set default value information, to the cash inspecting machine
Structure sends the instruction for obtaining the bank note information.
Exemplary, information of the bank note by the currency examination mechanism is being received, is confirming the bank note message queue
In bank note information flag position whether be set to presupposed information, if the bank note information flag position quilt in the bank note message queue
Set is presupposed information, then illustrates that the bank note information of current bank note has been reported to main control module, and the bank note letter of current bank note
Breath is had been written in the bank note information data field in the bank note message queue, and at this moment main control module is according to the bank note information
Current bank note is handled, it is necessary to the information in current bank note message queue be emptied, in order to under after being disposed
A piece of paper coin is handled;If the bank note information flag position in the bank note message queue is not set as presupposed information, say
The bank note information of bright current bank note is not reported to main control module, and the bank note information of current bank note is not written to the bank note
In bank note information data field in message queue, at this moment main control module need actively to currency examination mechanism obtain bank note information, i.e., to
The currency examination mechanism sends the instruction for obtaining the bank note information.
Wherein, it is described processing is carried out to current bank note to be:If current paper money number is shown in bank note information just
Really and bank note is genuine note, then allows the bank note to pass through;If show that current paper money number is incorrect or paper in bank note information
Coin is counterfeit money, then rejects the bank note and send the report signal of counterfeit money.It should be noted that it is above-mentioned simply to current bank note into
One example of row processing, does not do any restriction to the method for how handling current bank note.
Further, after the instruction for obtaining the bank note information is sent to the currency examination mechanism, further include:
If receiving the bank note information that the currency examination mechanism is sent, the bank note information is write into the bank note information team
In bank note information data field in row, and current bank note is handled according to the bank note information;
If being not received by the bank note information that the currency examination mechanism is sent, exception information daily record is generated.
Exemplary, currency examination mechanism judges whether after the instruction of acquisition bank note information of main control module transmission is received
The identification mission of current bank note has been handled, if being disposed, the bank note information of current bank note is sent to master control
Module, main control module receive the bank note information that the currency examination mechanism is sent, then the bank note information is write the bank note believes
Cease in the bank note information data field in queue, and current bank note is handled according to the bank note information;If do not handle
Finish, then stop identification mission, and acquiescence abnormal results information is sent to main control module, main control module is not received by described test
The bank note information that paper money mechanism is sent, but receive acquiescence result information, then exception information daily record is generated, in order to staff point
Analyse reason.Wherein, the acquiescence result information can be the pre-set information for being used for representing money-checking results abnormity.
In practical applications, if being not received by information of the bank note by the currency examination mechanism, main control module can
To continue waiting for currency examination mechanism active reporting bank note information;Can also in the given time, main control module continues waiting for cash inspecting machine
Structure active reporting bank note information, if it exceeds the scheduled time, then stop money-checking, alarm of being concurrently out of order.Wherein, the pre- timing
Between can be artificial set in advance.
The present invention is by under predetermined state, having monitored whether that bank note enters currency examination mechanism;If monitored bank note into
Enter currency examination mechanism, then establish bank note message queue, and establishing in first scheduled time of the bank note message queue, confirmation is
The no bank note information for receiving the currency examination mechanism and reporting;If establishing first scheduled time of the bank note message queue
It is interior, the bank note information that the currency examination mechanism reports is not received, then is confirmed whether that receiving the bank note passes through the cash inspecting machine
The information of structure;If receiving information of the bank note by the currency examination mechanism by sensor, current bank note information is emptied
Information in queue.Pass through the above method, when main control module does not receive the bank note information of currency examination mechanism active reporting, master control
Module can ensure that the standard of communication data by confirming whether bank note by currency examination mechanism judges that bank note currently identifies situation
True property and validity.
It is to be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic
It is fixed.
Fig. 3 is the schematic diagram of the acquisition device of bank note information provided in an embodiment of the present invention, for convenience of description, is only shown
With relevant part of the embodiment of the present invention.
The acquisition device 3 of the bank note information includes:
Monitoring unit 31, under predetermined state, having monitored whether that bank note enters currency examination mechanism.
Unit 32 is established, if for having monitored that bank note enters currency examination mechanism, establishes bank note message queue, and building
In first scheduled time for standing the bank note message queue, it is confirmed whether to receive the bank note information that the currency examination mechanism reports.
First writing unit 33, if for establishing in first scheduled time of the bank note message queue, receives
The bank note information that the currency examination mechanism reports, then write the bank note information reported in the bank note message queue.
Wherein, the bank note message queue includes:Bank note entering order numbering, bank note information flag position, bank note Information Number
According to domain;
The bank note information includes:The true and false information of paper money recognition serial number, bank note, paper money number.
Further, described device 3 further includes:
Set unit, described in before the bank note information reported is write in the bank note message queue, inciting somebody to action
Bank note information flag position position in bank note message queue be presupposed information, and judge current bank note entering order numbering with currently
Whether paper money recognition serial number is consistent.
Second writing unit, if consistent with current paper money recognition serial number for current bank note entering order numbering,
Then the bank note information reported is write in the bank note information data field in the bank note message queue.
Unit is deleted, if inconsistent with current paper money recognition serial number for current bank note entering order numbering,
Delete the bank note information currently reported.
Further, described device 3 further includes:
Confirmation unit, for establishing in first scheduled time of the bank note message queue, is confirmed whether to receive institute
After stating the bank note information that currency examination mechanism reports, if established in first scheduled time of the bank note message queue, do not connect
The bank note information that the currency examination mechanism reports is received, then is confirmed whether that receiving the bank note passes through the money-checking by sensor
The information of mechanism.
First empties unit, if for receiving information of the bank note by the currency examination mechanism, empties current paper
Information in coin message queue.
Further, described device 3 further includes:
Set confirmation unit, before the information in current bank note message queue is emptied, confirms the bank note information
Whether the bank note information flag position in queue is set to presupposed information.
Second empties unit, if being set to default letter for the bank note information flag position in the bank note message queue
Breath, then empty the information in current bank note message queue.
Transmitting element, if being not set for the bank note information flag position in the bank note message queue as presupposed information,
The instruction for obtaining the bank note information is then sent to the currency examination mechanism.
Further, described device 3 further includes:
3rd writes people's unit, for after the instruction for obtaining the bank note information is sent to the currency examination mechanism, if connecing
The bank note information that the currency examination mechanism is sent is received, then is believed the bank note that the bank note information is write in the bank note message queue
Cease in data field, and current bank note is handled according to the bank note information.
Recording unit, if the bank note information sent for being not received by the currency examination mechanism, generates exception information day
Will.
Further, described device 3 further includes:
Initialization unit, for before having monitored whether that bank note enters currency examination mechanism, the bank note entering order to be compiled
Number and the paper money recognition serial number be arranged to initial value.
The unit 32 of establishing includes:
Serial number module, for bank note entering order numbering to be added 1.
Described device 3 further includes:
Identiflication number unit, after in the bank note by the currency examination mechanism, paper money recognition order is compiled
Number plus 1.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units integrate in a unit, it is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system
The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
Fig. 4 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 4, the terminal of the embodiment is set
Standby 4 include:Processor 40, memory 41 and it is stored in the meter that can be run in the memory 41 and on the processor 40
Calculation machine program 42.The processor 40 realizes that the acquisition methods of above-mentioned each bank note information are real when performing the computer program 42
Apply the step in example, such as the step S101 to S103 shown in Fig. 1.Alternatively, the processor 40 performs the computer program
The function of each module/unit in above-mentioned each device embodiment, such as the function of module 31 to 34 shown in Fig. 3 are realized when 42.
Exemplary, the computer program 42 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 41, and are performed by the processor 40, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 42 in the terminal device 4 is described.For example, the computer program 42 can be divided
Monitoring unit is cut into, unit, the first writing unit is established, first empties unit, each unit concrete function is as follows:
Monitoring unit, under predetermined state, having monitored whether that bank note enters currency examination mechanism.
Unit is established, if for having monitored that bank note enters currency examination mechanism, establishes bank note message queue, and establishing
In first scheduled time of the bank note message queue, it is confirmed whether to receive the bank note information that the currency examination mechanism reports.
First writing unit, if for establishing in first scheduled time of the bank note message queue, receives institute
The bank note information that currency examination mechanism reports is stated, then is write the bank note information reported in the bank note message queue.
Wherein, the bank note message queue includes:Bank note entering order numbering, bank note information flag position, bank note Information Number
According to domain;
The bank note information includes:The true and false information of paper money recognition serial number, bank note, paper money number.
Further, described device further includes:
Set unit, described in before the bank note information reported is write in the bank note message queue, inciting somebody to action
Bank note information flag position in bank note message queue is presupposed information, and judges current bank note entering order numbering and current bank note
Whether recognition sequence numbering is consistent.
Second writing unit, if consistent with current paper money recognition serial number for current bank note entering order numbering,
Then the bank note information reported is write in the bank note information data field in the bank note message queue.
Unit is deleted, if inconsistent with current paper money recognition serial number for current bank note entering order numbering,
Delete the bank note information currently reported.
Further, described device further includes:
Confirmation unit, if for establishing in first scheduled time of the bank note message queue, does not receive described
The bank note information that currency examination mechanism reports, then be confirmed whether to receive letter of the bank note by the currency examination mechanism by sensor
Breath.
First empties unit, if for receiving information of the bank note by the currency examination mechanism, empties current paper
Information in coin message queue.
Further, described device further includes:
Set confirmation unit, before the information in current bank note message queue is emptied, confirms the bank note information
Whether the bank note information flag position in queue is set to presupposed information.
Second empties unit, if being set to default letter for the bank note information flag position in the bank note message queue
Breath, then empty the information in current bank note message queue.
Transmitting element, if being not set for the bank note information flag position in the bank note message queue as presupposed information,
The instruction for obtaining the bank note information is then sent to the currency examination mechanism.
Further, described device further includes:
3rd writes people's unit, for after the instruction for obtaining the bank note information is sent to the currency examination mechanism, if connecing
The bank note information that the currency examination mechanism is sent is received, then is believed the bank note that the bank note information is write in the bank note message queue
Cease in data field, and current bank note is handled according to the bank note information.
Recording unit, if the bank note information sent for being not received by the currency examination mechanism, generates exception information day
Will.
Further, described device further includes:
Initialization unit, for before having monitored whether that bank note enters currency examination mechanism, the bank note entering order to be compiled
Number and the paper money recognition serial number be arranged to initial value.
The unit of establishing includes:
Serial number module, for bank note entering order numbering to be added 1.
Described device further includes:
Identiflication number unit, after in the bank note by the currency examination mechanism, paper money recognition order is compiled
Number plus 1.
The terminal device 4 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set
It is standby.The terminal device may include, but be not limited only to, processor 40, memory 41.It will be understood by those skilled in the art that Fig. 4
The only example of terminal device 4, does not form the restriction to terminal device 4, can include than illustrating more or fewer portions
Part, either combines some components or different components, such as the terminal device can also include input-output equipment, net
Network access device, bus etc..
Alleged processor 40 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 41 can be the internal storage unit of the terminal device 4, such as the hard disk of terminal device 4 or interior
Deposit.The memory 41 can also be the External memory equipment of the terminal device 4, such as be equipped with the terminal device 4
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodges
Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the terminal device 4
Member also includes External memory equipment.The memory 41 is used to store needed for the computer program and the terminal device
Other programs and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical solution.Professional technician
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, can be with
Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute
The division of module or unit is stated, is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as
Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or
In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer-readable recording medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method..Wherein, the computer program includes computer program code, the computer program
Code can be source code form, object identification code form, executable file or some intermediate forms etc..Computer-readable Jie
Matter can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, mobile hard disk,
Magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described
The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to foregoing each
Technical solution described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical solution, should all
Within protection scope of the present invention.
Claims (10)
- A kind of 1. acquisition methods of bank note information, it is characterised in that including:Under predetermined state, monitor whether that bank note enters currency examination mechanism;If having monitored that bank note enters currency examination mechanism, bank note message queue is established, and establishing the bank note message queue First scheduled time in, be confirmed whether to receive the bank note information that the currency examination mechanism reports;If established in first scheduled time of the bank note message queue, the bank note letter that the currency examination mechanism reports is received Breath, then write the bank note information reported in the bank note message queue.
- 2. the acquisition methods of bank note information as claimed in claim 1, it is characterised in that the bank note message queue includes:Paper Coin entering order numbering, bank note information flag position, bank note information data field;The bank note information includes:The true and false information of paper money recognition serial number, bank note, paper money number.
- 3. the acquisition methods of bank note information as claimed in claim 2, it is characterised in that write by the bank note information reported Before entering in the bank note message queue, further include:It is presupposed information by the bank note information flag position position in the bank note message queue, and judges current bank note entering order Whether numbering is consistent with current paper money recognition serial number;If current bank note entering order numbering is consistent with current paper money recognition serial number, by the bank note information reported Write in the bank note information data field in the bank note message queue;If current bank note entering order numbering is inconsistent with current paper money recognition serial number, the bank note currently reported is deleted Information.
- 4. the acquisition methods of bank note information as claimed in claim 2, it is characterised in that establishing the bank note message queue In first scheduled time, it is confirmed whether after receiving the bank note information that the currency examination mechanism reports, further includes:If established in first scheduled time of the bank note message queue, the bank note that the currency examination mechanism reports is not received Information, then be confirmed whether to receive information of the bank note by the currency examination mechanism by sensor;If receiving information of the bank note by the currency examination mechanism, the information in current bank note message queue is emptied.
- 5. the acquisition methods of bank note information as claimed in claim 4, it is characterised in that in current bank note message queue is emptied Information before, further include:Confirm whether the bank note information flag position in the bank note message queue is set to default value information;If the bank note information flag position in the bank note message queue is set to default value information, current bank note information is emptied Information in queue;If the bank note information flag position in the bank note message queue is not set to preset value information, to the currency examination mechanism Send the instruction for obtaining the bank note information.
- 6. the acquisition methods of bank note information as claimed in claim 5, it is characterised in that obtained being sent to the currency examination mechanism After the instruction of the bank note information, further include:If receiving the bank note information that the currency examination mechanism is sent, the bank note information is write in the bank note message queue Bank note information data field in, and current bank note is handled according to the bank note information;If being not received by the bank note information that the currency examination mechanism is sent, exception information daily record is generated.
- 7. such as the acquisition methods of claim 1 to 6 any one of them bank note information, it is characterised in that monitoring whether paper Coin enters before currency examination mechanism, further includes:Bank note entering order numbering and the paper money recognition serial number are arranged to initial value;It is described to establish bank note message queue and include:By bank note entering order numbering plus 1;After the bank note is by the currency examination mechanism, the paper money recognition serial number is added 1.
- A kind of 8. acquisition device of bank note information, it is characterised in that including:Monitoring unit, under predetermined state, having monitored whether that bank note enters currency examination mechanism;Unit is established, if for having monitored that bank note enters currency examination mechanism, establishes bank note message queue, and described in foundation In first scheduled time of bank note message queue, it is confirmed whether to receive the bank note information that the currency examination mechanism reports;First writing unit, if for establishing in first scheduled time of the bank note message queue, receives described test The bank note information that paper money mechanism reports, then write the bank note information reported in the bank note message queue.
- 9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that the processor realizes such as claim 1 to 7 when performing the computer program The step of any one the method.
- 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 7 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711058475.6A CN107958535B (en) | 2017-11-01 | 2017-11-01 | Method and device for acquiring paper money information and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711058475.6A CN107958535B (en) | 2017-11-01 | 2017-11-01 | Method and device for acquiring paper money information and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107958535A true CN107958535A (en) | 2018-04-24 |
CN107958535B CN107958535B (en) | 2020-08-18 |
Family
ID=61964489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711058475.6A Active CN107958535B (en) | 2017-11-01 | 2017-11-01 | Method and device for acquiring paper money information and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107958535B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109741518A (en) * | 2019-03-01 | 2019-05-10 | 聚龙股份有限公司 | Bank note information processing method, device and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1997030422A1 (en) * | 1996-02-15 | 1997-08-21 | Cummins-Allison Corp. | Method and apparatus for document identification |
KR20070045450A (en) * | 2005-10-27 | 2007-05-02 | 주식회사 카스모아이티 | Bill counting device |
CN101958804A (en) * | 2010-09-20 | 2011-01-26 | 中兴通讯股份有限公司 | Method for promoting warning processing efficiency, server and system |
CN103166827A (en) * | 2011-12-09 | 2013-06-19 | 北京神州泰岳软件股份有限公司 | Method and system for user behavior data reporting |
CN103413264A (en) * | 2013-08-28 | 2013-11-27 | 庄葵 | Fire-fighting equipment information processing system and method based on PDA (Personal Digital Assistant) |
CN103778711A (en) * | 2012-10-24 | 2014-05-07 | 日立欧姆龙金融系统有限公司 | Sheet processing device, sheet sorting device and sheet sorting system |
CN105513220A (en) * | 2015-11-24 | 2016-04-20 | 深圳怡化电脑股份有限公司 | Currency examination data fault tolerance processing method based on ATM |
CN106846612A (en) * | 2016-12-16 | 2017-06-13 | 恒银金融科技股份有限公司 | Financial equipment channel state detection method and device |
CN107180481A (en) * | 2017-04-01 | 2017-09-19 | 深圳怡化电脑股份有限公司 | A kind of finance self-help traction equipment |
-
2017
- 2017-11-01 CN CN201711058475.6A patent/CN107958535B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1997030422A1 (en) * | 1996-02-15 | 1997-08-21 | Cummins-Allison Corp. | Method and apparatus for document identification |
KR20070045450A (en) * | 2005-10-27 | 2007-05-02 | 주식회사 카스모아이티 | Bill counting device |
CN101958804A (en) * | 2010-09-20 | 2011-01-26 | 中兴通讯股份有限公司 | Method for promoting warning processing efficiency, server and system |
CN103166827A (en) * | 2011-12-09 | 2013-06-19 | 北京神州泰岳软件股份有限公司 | Method and system for user behavior data reporting |
CN103778711A (en) * | 2012-10-24 | 2014-05-07 | 日立欧姆龙金融系统有限公司 | Sheet processing device, sheet sorting device and sheet sorting system |
CN103413264A (en) * | 2013-08-28 | 2013-11-27 | 庄葵 | Fire-fighting equipment information processing system and method based on PDA (Personal Digital Assistant) |
CN105513220A (en) * | 2015-11-24 | 2016-04-20 | 深圳怡化电脑股份有限公司 | Currency examination data fault tolerance processing method based on ATM |
CN106846612A (en) * | 2016-12-16 | 2017-06-13 | 恒银金融科技股份有限公司 | Financial equipment channel state detection method and device |
CN107180481A (en) * | 2017-04-01 | 2017-09-19 | 深圳怡化电脑股份有限公司 | A kind of finance self-help traction equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109741518A (en) * | 2019-03-01 | 2019-05-10 | 聚龙股份有限公司 | Bank note information processing method, device and electronic equipment |
CN109741518B (en) * | 2019-03-01 | 2021-10-22 | 聚龙股份有限公司 | Paper money information processing method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107958535B (en) | 2020-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110866820A (en) | Real-time monitoring system, method, equipment and storage medium for banking business | |
CN107636741B (en) | Fault early warning method of financial terminal, terminal equipment and storage medium | |
CN110365703A (en) | Internet-of-things terminal abnormal state detection method, apparatus and terminal device | |
CN107767588A (en) | A kind of cash box condition detection method and atm device | |
CN109635564A (en) | A kind of method, apparatus, medium and equipment detecting Brute Force behavior | |
CN110599670B (en) | Abnormal detection method and system for number of paper money in money box, server and financial equipment | |
CN114365169A (en) | Method and device for analyzing encrypted currency transaction | |
CN108763051B (en) | Electronic device, transaction software running risk early warning method and storage medium | |
CN107507330B (en) | Detection method, detection device and the terminal device of banknote thickness abnormity | |
CN107980152A (en) | ATM clears method, apparatus, system and ATM machine | |
CN107909747A (en) | A kind of acquisition methods, acquisition device and the terminal device of bank note information | |
CN106408751B (en) | A kind of clear of atm device is made an inventory of goods in a warehouse method and system | |
CN103679961A (en) | Automated trade device and bill processing method | |
CN108133540B (en) | Detection method and detection device for abnormal number of paper money in paper money box and electronic equipment | |
CN107958535A (en) | A kind of acquisition methods, acquisition device and the terminal device of bank note information | |
CN107358717B (en) | A kind of Paper Currency Identification, system and its terminal device | |
CN107464334A (en) | Recognition methods, identification device and the terminal device of bank note | |
CN107705414A (en) | A kind of recognition methods of bank note, device, terminal device and storage medium | |
JP4854355B2 (en) | Electronic money deposit machine | |
CN109155745A (en) | Payment gateway is connected to the network detection method and terminal device | |
CN111176975B (en) | Test method, device, equipment and computer readable storage medium | |
CN114187116A (en) | Method and apparatus for managing account information | |
CN101216972A (en) | A counterfeit currency rejection ATM and method | |
JP2006065434A (en) | Automatic transaction device and transaction system | |
CN113470245A (en) | Big data management-based signal matching system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |