CN107909747A - 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 PDF

Info

Publication number
CN107909747A
CN107909747A CN201711057226.5A CN201711057226A CN107909747A CN 107909747 A CN107909747 A CN 107909747A CN 201711057226 A CN201711057226 A CN 201711057226A CN 107909747 A CN107909747 A CN 107909747A
Authority
CN
China
Prior art keywords
bank note
information
currency examination
examination mechanism
note information
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
Application number
CN201711057226.5A
Other languages
Chinese (zh)
Other versions
CN107909747B (en
Inventor
周东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201711057226.5A priority Critical patent/CN107909747B/en
Publication of CN107909747A publication Critical patent/CN107909747A/en
Application granted granted Critical
Publication of CN107909747B publication Critical patent/CN107909747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F19/00Complete banking systems; Coded card-freed arrangements adapted for dispensing or receiving monies or the like and posting such transactions to existing accounts, e.g. automatic teller machines
    • G07F19/20Automatic teller machines [ATMs]
    • G07F19/209Monitoring, auditing or diagnose of functioning of ATMs
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D11/00Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
    • G07D11/10Mechanical details
    • G07D11/16Handling of valuable papers
    • G07D11/18Diverting into different paths or containers
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D11/00Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
    • G07D11/20Controlling or monitoring the operation of devices; Data handling
    • G07D11/22Means for sensing or detection

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention is suitable for Financial Information processing technology field, 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 monitors whether to receive information of the bank note by the currency examination mechanism;If receiving information of the bank note by the currency examination mechanism, detection is being received in the first preset time of the bank note by the information of the currency examination mechanism, if receives the bank note information that the currency examination mechanism reports;If received in the first preset time of the bank note by the information of the currency examination mechanism, the bank note information that the currency examination mechanism reports is received, then is write the bank note information in the bank note message queue.Solve the problems, such as in time, effectively obtain bank note information in the prior art.

Description

A kind of acquisition methods, acquisition device and the terminal device of bank note information
Technical field
The invention belongs to Financial Information processing technology field, more particularly to a kind of acquisition methods of bank note information, acquisition dress Put 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.
However, main control module obtains currency examination device to the process of the money-checking result of bank note, there are currency examination mechanism can not in time by Bank note information is sent to main control module, or leakage hair bank note information, cause main control module can not in time, effectively get by The bank note information of currency examination device.
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 problems, such as in time, effectively obtain bank note information in the prior art.
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 monitors whether to receive described The information that bank note passes through the currency examination mechanism;
If receiving information of the bank note by the currency examination mechanism, detection receive the bank note pass through it is described In first preset time of the information of currency examination mechanism, if receive the bank note information that the currency examination mechanism reports;
If received in the first preset time of the bank note by the information of the currency examination mechanism, receive described The bank note information that currency examination mechanism reports, then write the bank note information 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 monitoring is It is no to receive information of the bank note by the currency examination mechanism;
Detection unit, if for receiving information of the bank note by the currency examination mechanism, is detected receiving State in the first preset time of the bank note by the information of the currency examination mechanism, if receive the bank note that the currency examination mechanism reports Information;
Writing unit, if for receiving the first preset time of the information that the bank note passes through the currency examination mechanism It is interior, the bank note information that the currency examination mechanism reports is received, then is write the bank note information 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 supervise Whether survey receives information of the bank note by the currency examination mechanism;If receiving the bank note passes through the currency examination mechanism Information, then detection are being received in the first preset time of the bank note by the information of the currency examination mechanism, if are received The bank note information that the currency examination mechanism reports;It is if pre- in receive the information that the bank note passes through the currency examination mechanism first If in the time, receiving the bank note information that the currency examination mechanism reports, then the bank note information is write into the bank note information team In row.By the above method, bank note information can in time, be effectively obtained.
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 the flow diagram of realizing of method provided in an embodiment of the present invention, as described in Figure, this method can include with Lower step:
Step S101, under predetermined state, has monitored whether that bank note enters currency examination mechanism.
In practical applications, predetermined state is a kind of working status set in advance when cash inspecting machine starts.Predetermined state Can be the working status of the currency examination mechanism active reporting bank note information of cash inspecting machine, i.e., the main control module without cash inspecting machine, which is sent, obtains The instruction of bank note information is taken, money-checking can be calculated a kind of work of the bank note information active reporting completed to main control module by currency examination mechanism Make state.
After cash inspecting machine is started, main control module needs to carry out parameter configuration to currency examination mechanism, wherein it is desired to the parameter of configuration Correspondence including the money-checking algorithm that current currency examination mechanism uses with the money-checking time needed for the money-checking algorithm.Money-checking algorithm can To be pre-defined and add, be stored in cash inspecting machine in advance;Money-checking algorithm can be stable algorithm or increase newly Function algorithm.Stable algorithm is current comparative maturity, common algorithm, what money-checking time of stable algorithm was usually to determine; What's new algorithm is the algorithm that new function is added on the basis of original stable algorithm, may due to adding new function The money-checking time of what's new algorithm can be caused to accordingly increase, but specific value added is, it is necessary to which algorithm development personnel determine Or adjusted repeatedly in application process.
Exemplary, the money-checking time needed for stable algorithm is 100ms, and the money-checking time needed for what's new algorithm is 150ms.After cash inspecting machine is started, main control module carries out parameter configuration to currency examination mechanism, will current testing of using of currency examination mechanism Paper money algorithm forms configuration parameter together with the money-checking ageing needed for the money-checking algorithm.If for example, current currency examination mechanism The algorithm used is stable algorithm, then it is (stable algorithm, 100ms) that main control module, which matches somebody with somebody the parameter postponed,.
It should be noted that the money-checking algorithm corresponding money-checking time no more than preset time, if it exceeds preset time, Then the money-checking algorithm cannot be added in cash inspecting machine.Wherein, preset time can be that bank note reaches sensor and middle control module To required maximum duration between currency examination mechanism transmission acquisition bank note information command.
The parameter needed to configure includes stable algorithm and correspondence, the what's new of the money-checking time needed for stable algorithm Algorithm and the money-checking time needed for the what's new algorithm.It should be noted that the parameter needed to configure include but not limited to On the every terms of information listed, other algorithms and corresponding money-checking time and other parameters needed to configure may be included, This is not limited.
In practical applications, it can monitor whether that bank note enters currency examination mechanism by way of sensor is set.For example, Optical sensor is installed at the banknote entry of currency examination mechanism, when bank note is by the banknote entry, triggers the optical sensor, is sensed Trigger signal is sent to main control module by device, and main control module can be determined by the trigger signal that receiving sensor is sent at this time Bank note comes into currency examination mechanism.
Step S102, if having monitored that bank note enters currency examination mechanism, establishes bank note message queue, and monitor whether to connect Receive information of the bank note by the currency examination mechanism.
Wherein, the bank note message queue includes:Bank note numbering, bank note information flag position, bank note information data field.
Optionally, in order to count the quantity of the bank note by currency examination mechanism, monitoring whether that bank note enters currency examination mechanism Before, further include:
Bank note numbering is arranged to initial value;
It is described to establish bank note message queue and include:
By bank note numbering plus 1.
Wherein, initial value can be artificial set in advance.Bank note information flag position can be used for marking current bank note Whether bank note information has been reported to main control module.Bank note information data field is defaulted as sky, and main control module is receiving cash inspecting machine After the bank note information that structure reports, the bank note information is write in the bank note information data field.
Exemplary, bank note numbering is arranged to 0, often monitors that bank note enters currency examination mechanism, then establishes bank note letter Queue is ceased, by bank note numbering plus 1.Bank note numbering can be the numbering carried out by the order of bank note into currency examination mechanism to bank note, It can also be the numbering carried out by bank note by the order of currency examination mechanism to bank note.
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.If main control module is not received by information of the bank note by the currency examination mechanism, Then continue waiting for, until receiving information of the bank note by the currency examination mechanism.It is of course also possible to artificially set one in advance If the time, if established in the preset time of bank note message queue, it is not received by the bank note and passes through the currency examination mechanism Information, then stopping handle, alarm of being concurrently out of order.
Step S103, if receiving information of the bank note by the currency examination mechanism, detection is receiving the paper In the first preset time of the coin by the information of the currency examination mechanism, if receive the bank note letter that the currency examination mechanism reports Breath.
Wherein, the bank note information includes:The true and false information of bank note, paper money number.First preset time can be It is artificial set in advance.
In practical applications, in order to distinguish the bank note information for whether receiving and reporting, detect the bank note information that reports it Afterwards, can be by the bank note information flag position position in the bank note message queue.The bank note information flag position can give tacit consent to not It is set, can also gives tacit consent to and be set to a preset value, for example, when establishing bank note message queue, by the bank note information Marker bit set is 0, after the bank note information of current bank note is reported to main control module, by the bank note information flag position Position is 1.
Step S104, if received in the first preset time of the bank note by the information of the currency examination mechanism, The bank note information that the currency examination mechanism reports is received, then is write the bank note information in the bank note message queue.
In practical applications, main control module is detecting the bank note information that reports, and by described in bank note information write-in After in bank note message queue, main control module is handled current bank note according to the bank note information;After being disposed, it is necessary to Information in current bank note message queue is emptied, in order to handle next bank note.
It is exemplary, it is described processing is carried out to current bank note to be:If current paper money is shown in bank note information Number correct and bank note is genuine note, then allows the bank note to pass through;If show that current paper money number is incorrect in bank note information Or bank note is counterfeit money, then the bank note is rejected and send the report signal of counterfeit money.It is it should be noted that above-mentioned simply to current paper The example that coin is handled, does not do any restriction to the method for how handling current bank note.
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 monitors whether that receiving the bank note passes through the currency examination mechanism Information;If receiving information of the bank note by the currency examination mechanism, detection receive the bank note pass through it is described In first preset time of the information of currency examination mechanism, if receive the bank note information that the currency examination mechanism reports;If connecing Receive in the first preset time of the bank note by the information of the currency examination mechanism, receive the paper that the currency examination mechanism reports Coin information, then write the bank note information in the bank note message queue;Can in time, effectively it be obtained by the above method Bank note information.
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 method may include following steps:
Step S201, under predetermined state, has monitored whether that bank note enters currency examination mechanism.
Step S202, if having monitored that bank note enters currency examination mechanism, establishes bank note message queue, and monitor whether to connect Receive information of the bank note by the currency examination mechanism.
Step S203, if receiving information of the bank note by the currency examination mechanism, detection is receiving the paper In the first preset time of the coin by the information of the currency examination mechanism, if receive the bank note letter that the currency examination mechanism reports Breath.
Step S201-S203 is identical with step S101-S103, specifically can refer to step S101-S103, no longer superfluous herein State.
Step S204, if received in the first preset time of the bank note by the information of the currency examination mechanism, Do not detect the bank note information that the currency examination mechanism reports, then send registration virtual-sensor instruction to the currency examination mechanism, In order to which the currency examination mechanism is after the acquisition virtual-sensor instruction is received, current bank note information is returned.
Wherein, it is a communication instruction between main control module and currency examination mechanism to register virtual-sensor instruction.Master control mould Register Sensor instruction is sent to currency examination mechanism by block, the function of being reported for simulating similar sensor signal;Currency examination mechanism exists Receive after obtaining bank note information command, reporting the trigger signal of a similar sensor, main control module is by connecing to main control module The trigger signal for receiving the similar sensor that currency examination mechanism is sent determines that current bank note has passed through currency examination mechanism.
Step S205, current paper is returned in the currency examination mechanism according to the registration virtual-sensor instruction received After coin information, the bank note information that the currency examination mechanism received is returned writes the bank note message queue.
Further, the currency examination mechanism returns to current bank note according to the registration virtual-sensor instruction received Information includes:
Obtain the currency examination mechanism current default money-checking time;
After the currency examination mechanism receives the instruction of the registration virtual-sensor, start timer, and in the timing After the timing time of device reaches the default money-checking time, the bank note information is returned.
Wherein, the default money-checking time arrives according to the preconfigured parameter acquiring of main control module.Main control module is matched somebody with somebody in advance The parameter put includes:The money-checking algorithm and the correspondence of the money-checking time needed for the algorithm of current currency examination mechanism.Currency examination mechanism The parameter configured according to main control module, i.e., above-mentioned correspondence, can get the current money-checking algorithm corresponding money-checking time, this The money-checking time is the default money-checking time.
Further, before the bank note information is returned, further include:
Confirm to calculate the money-checking of the bank note information of current bank note and whether complete;
If the money-checking calculating to the bank note information of current bank note has been completed, the bank note information of current bank note is returned;
If unfinished, the default exception information of return is calculated to the money-checking of the bank note information of current bank note, and by described in Default exception information write-in daily record.
Wherein, default exception information can be artificial information set in advance, representing money-checking calculating exception, can be text Word information, symbolic information, graphical information etc., are not specifically limited herein.
Exemplary, exception information is preset as " money-checking is abnormal ".If the money-checking of the bank note information of current bank note is calculated It is unfinished, then return " money-checking is abnormal ", and " money-checking is abnormal " is write into daily record, tested in order to which user searches abnormal cause and improves Paper money algorithm.
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 monitors whether that receiving the bank note passes through the currency examination mechanism Information;If receiving information of the bank note by the currency examination mechanism, detection receive the bank note pass through it is described In first preset time of the information of currency examination mechanism, if receive the bank note information that the currency examination mechanism reports;If connecing Receive in the first preset time of the bank note by the information of the currency examination mechanism, do not detect that the currency examination mechanism reports Bank note information, then to the currency examination mechanism send obtain bank note information command, in order to which the currency examination mechanism is receiving State after obtaining bank note information command, return to current bank note information;In the currency examination mechanism according to the acquisition received After bank note information command returns to current bank note information, by described in the bank note information write-in of the currency examination mechanism received return Bank note message queue.The time that the above method enables bank note to reach trigger sensor becomes according to dynamic of default money-checking time Change, on the basis of ensureing that bank note information effectively obtains, reduce the design difficulty of trigger sensor.
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 monitor Whether bank note information by the currency examination mechanism is received;
Detection unit 33, if for receiving information of the bank note by the currency examination mechanism, detection is receiving In the first preset time of the bank note by the information of the currency examination mechanism, if receive the paper that the currency examination mechanism reports Coin information;
Writing unit 34, if for when receive the information that the bank note passes through the currency examination mechanism first is default In, the bank note information that the currency examination mechanism reports is received, then is write the bank note information in the bank note message queue.
Wherein, the bank note message queue includes:Bank note numbering, bank note information flag position, bank note information data field.
The bank note information includes:The true and false information of bank note, paper money number.
Further, described device 3 further includes:
Transmitting element 35, for default in receive the information that the bank note passes through the currency examination mechanism first in detection In time, if after receiving the bank note information that the currency examination mechanism reports, if receive the bank note pass through it is described In first preset time of the information of currency examination mechanism, the bank note information that the currency examination mechanism reports is not detected, then to described Currency examination mechanism send registration virtual-sensor instruction, in order to the currency examination mechanism receive it is described registration virtual-sensor refer to After order, current bank note information is returned;
Receiving unit 36, works as being returned in the currency examination mechanism according to the registration virtual-sensor instruction received After preceding bank note information, the bank note information that the currency examination mechanism received is returned writes the bank note message queue.
Further, the receiving unit includes:
Acquisition module, the default money-checking time current for obtaining the currency examination mechanism;
Timing module, after the instruction that the registration virtual-sensor is received for the currency examination mechanism, starts timer, And after the timing time of the timer reaches the default money-checking time, return to the bank note information.
Further, the receiving unit further includes:
Module is confirmed, for confirming whether the money-checking calculating to the bank note information of current bank note is completed;
Module is returned, has been completed if the money-checking for the bank note information to current bank note calculates, has returned to current paper The bank note information of coin;
Writing module, does not complete if the money-checking for the bank note information to current bank note calculates, and returns default abnormal Information, and the default exception information is write into daily record.
Further, described device 3 further includes:
Initialization unit, for bank note numbering to be arranged to initial value;
The unit 32 of establishing includes:
Numbering module, for bank note numbering to be added 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 S104 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 36 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 It is cut into monitoring unit, establishes unit, detection unit, writing 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 monitoring is It is no to receive information of the bank note by the currency examination mechanism;
Detection unit, if for receiving information of the bank note by the currency examination mechanism, is detected receiving State in the first preset time of the bank note by the information of the currency examination mechanism, if receive the bank note that the currency examination mechanism reports Information;
Writing unit, if for receiving the first preset time of the information that the bank note passes through the currency examination mechanism It is interior, the bank note information that the currency examination mechanism reports is received, then is write the bank note information in the bank note message queue.
Wherein, the bank note message queue includes:Bank note numbering, bank note information flag position, bank note information data field.
The bank note information includes:The true and false information of bank note, paper money number.
Further, described device further includes:
Transmitting element, for when detection is default in receive the information that the bank note passes through the currency examination mechanism first In, if after receiving the bank note information that the currency examination mechanism reports, if tested receiving the bank note by described In first preset time of the information of paper money mechanism, do not detect the bank note information that the currency examination mechanism reports, then tested to described Paper money mechanism sends registration virtual-sensor instruction, in order to which the currency examination mechanism is receiving the registration virtual-sensor instruction Afterwards, current bank note information is returned;
Receiving unit, for being returned currently according to the registration virtual-sensor instruction received in the currency examination mechanism Bank note information after, the bank note information that the currency examination mechanism received is returned writes the bank note message queue.
Further, the receiving unit includes:
Acquisition module, the default money-checking time current for obtaining the currency examination mechanism;
Timing module, after the instruction that the registration virtual-sensor is received for the currency examination mechanism, starts timer, And after the timing time of the timer reaches the default money-checking time, return to the bank note information.
Further, the receiving unit further includes:
Module is confirmed, for confirming whether the money-checking calculating to the bank note information of current bank note is completed;
Module is returned, has been completed if the money-checking for the bank note information to current bank note calculates, has returned to current paper The bank note information of coin;
Writing module, does not complete if the money-checking for the bank note information to current bank note calculates, and returns default abnormal Information, and the default exception information is write into daily record.
Further, described device 3 further includes:
Initialization unit, for bank note numbering to be arranged to initial value;
The unit 32 of establishing includes:
Numbering module, for bank note numbering to be added 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)

  1. 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 monitors whether to receive the bank note Pass through the information of the currency examination mechanism;
    If receiving information of the bank note by the currency examination mechanism, detection passes through the money-checking receiving the bank note In first preset time of the information of mechanism, if receive the bank note information that the currency examination mechanism reports;
    If received in the first preset time of the bank note by the information of the currency examination mechanism, the money-checking is received The bank note information that mechanism reports, then write the bank note information in the bank note message queue.
  2. 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 numbering, bank note information flag position, bank note information data field.
    The bank note information includes:The true and false information of bank note, paper money number.
  3. 3. the acquisition methods of bank note information as claimed in claim 2, it is characterised in that lead in detection receiving the bank note Cross in the first preset time of the information of the currency examination mechanism, if receive bank note information that the currency examination mechanism reports it Afterwards, further include:
    If received in the first preset time of the bank note by the information of the currency examination mechanism, do not detect described The bank note information that currency examination mechanism reports, then send registration virtual-sensor instruction, in order to the money-checking to the currency examination mechanism Mechanism returns to current bank note information after the registration virtual-sensor instruction is received;
    After the currency examination mechanism returns to current bank note information according to the registration virtual-sensor instruction received, it will connect The bank note information that the received currency examination mechanism returns writes the bank note message queue.
  4. 4. acquisition methods of bank note information as claimed in claim 3, it is characterised in that the currency examination mechanism is according to receiving The registration virtual-sensor instruction, which returns to current bank note information, to be included:
    Obtain the currency examination mechanism current default money-checking time;
    After the currency examination mechanism receives the instruction of the registration virtual sensing, start timer, and in the meter of the timer When the time reach default money-checking time after, return to the bank note information.
  5. 5. the acquisition methods of bank note information as claimed in claim 4, it is characterised in that before the bank note information is returned, Further include:
    Confirm to calculate the money-checking of the bank note information of current bank note and whether complete;
    If the money-checking calculating to the bank note information of current bank note has been completed, the bank note information of current bank note is returned;
    If unfinished, the default exception information of return is calculated to the money-checking of the bank note information of current bank note, and will be described default Exception information writes daily record.
  6. 6. such as the acquisition methods of claim 1 to 5 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 numbering is arranged to initial value;
    It is described to establish bank note message queue and include:
    By bank note numbering plus 1.
  7. A kind of 7. 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 monitor whether to connect Receive information of the bank note by the currency examination mechanism;
    Detection unit, if for receiving information of the bank note by the currency examination mechanism, detection is receiving the paper In the first preset time of the coin by the information of the currency examination mechanism, if receive the bank note letter that the currency examination mechanism reports Breath;
    Writing unit, if for receiving in the first preset time of the bank note by the information of the currency examination mechanism, The bank note information that the currency examination mechanism reports is received, then is write the bank note information in the bank note message queue.
  8. 8. the acquisition device of bank note information as claimed in claim 7, it is characterised in that the bank note message queue includes:Paper Coin numbering, bank note information flag position, bank note information data field.
    The bank note information includes:The true and false information of bank note, paper money number.
  9. 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 6 when performing the computer program The step of any one the method.
  10. 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 6 the method.
CN201711057226.5A 2017-11-01 2017-11-01 Method and device for acquiring paper money information and terminal equipment Active CN107909747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711057226.5A CN107909747B (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
CN201711057226.5A CN107909747B (en) 2017-11-01 2017-11-01 Method and device for acquiring paper money information and terminal equipment

Publications (2)

Publication Number Publication Date
CN107909747A true CN107909747A (en) 2018-04-13
CN107909747B CN107909747B (en) 2020-08-18

Family

ID=61843743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711057226.5A Active CN107909747B (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) CN107909747B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109389737A (en) * 2018-09-21 2019-02-26 上海古鳌电子科技股份有限公司 A kind of banknote detection method and its system
CN113140065A (en) * 2020-01-17 2021-07-20 深圳怡化电脑股份有限公司 Control method of commutator and financial self-service equipment
DE202022102516U1 (en) 2022-05-07 2022-06-01 Biswaranjan Acharya Counterfeit money detection device using intelligent circuitry and image processing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN107274545A (en) * 2017-05-31 2017-10-20 深圳怡化电脑股份有限公司 Currency examination control method, currency examination control device and withdrawal equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN107274545A (en) * 2017-05-31 2017-10-20 深圳怡化电脑股份有限公司 Currency examination control method, currency examination control device and withdrawal equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109389737A (en) * 2018-09-21 2019-02-26 上海古鳌电子科技股份有限公司 A kind of banknote detection method and its system
CN113140065A (en) * 2020-01-17 2021-07-20 深圳怡化电脑股份有限公司 Control method of commutator and financial self-service equipment
CN113140065B (en) * 2020-01-17 2024-02-02 深圳怡化电脑股份有限公司 Control method of reverser and financial self-service equipment
DE202022102516U1 (en) 2022-05-07 2022-06-01 Biswaranjan Acharya Counterfeit money detection device using intelligent circuitry and image processing

Also Published As

Publication number Publication date
CN107909747B (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
CN109635564A (en) A kind of method, apparatus, medium and equipment detecting Brute Force behavior
CN107767588A (en) A kind of cash box condition detection method and atm device
CN107507330B (en) Detection method, detection device and the terminal device of banknote thickness abnormity
CN107797919A (en) The method and computing device of a kind of automatic test
CN108182479A (en) Equipment point-detecting method, device and server
CN107909747A (en) A kind of acquisition methods, acquisition device and the terminal device of bank note information
CN110135856A (en) A kind of repeat business risk monitoring method, device and computer readable storage medium
CN109656812A (en) Data quality checking method, apparatus and storage medium
CN110134587A (en) A kind of test method, test device and computer readable storage medium
CN107679046A (en) A kind of detection method and device of fraudulent user
CN109636641A (en) Medical insurance method for detecting abnormality, device, equipment and medium based on big data analysis
CN107784094A (en) Monetary fund system automation liquidation method, device, equipment and storage medium
CN107832208A (en) The automatic test approach and terminal device of software
CN105868878A (en) Method and device for MAC (Media Access Control) address risk identification
CN107609797A (en) Electric operating checking method and terminal device
CN110599670A (en) Abnormal detection method and system for number of paper money in money box, server and financial equipment
CN109064104A (en) Material equipment management method, system and terminal device
CN109085811A (en) Equipment point-detecting method and device
CN106408751B (en) A kind of clear of atm device is made an inventory of goods in a warehouse method and system
CN108133540B (en) Detection method and detection device for abnormal number of paper money in paper money box and electronic equipment
CN111415168A (en) Transaction warning method and device
CN107958535A (en) A kind of acquisition methods, acquisition device and the terminal device of bank note information

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