CN107341916A - A kind of discrimination method and identification device - Google Patents

A kind of discrimination method and identification device Download PDF

Info

Publication number
CN107341916A
CN107341916A CN201710565599.7A CN201710565599A CN107341916A CN 107341916 A CN107341916 A CN 107341916A CN 201710565599 A CN201710565599 A CN 201710565599A CN 107341916 A CN107341916 A CN 107341916A
Authority
CN
China
Prior art keywords
coin
user
prompt message
foreign currency
unit
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
CN201710565599.7A
Other languages
Chinese (zh)
Other versions
CN107341916B (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 CN201710565599.7A priority Critical patent/CN107341916B/en
Publication of CN107341916A publication Critical patent/CN107341916A/en
Application granted granted Critical
Publication of CN107341916B publication Critical patent/CN107341916B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F11/00Coin-freed apparatus for dispensing, or the like, discrete articles
    • 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/0087Banknote changing devices
    • 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/50Sorting or counting valuable papers

Abstract

A kind of discrimination method and identification device provided in an embodiment of the present invention, belong to automatic trading apparatus manufacturing field.This method includes obtaining the first coin that user is put into by coin slot;Judge whether first coin belongs to foreign currency;If so, then send prompt message;Obtain the confirmation that user is inputted based on the prompt message;Obtain the face amount of first coin;Obtain the exchange rate of the foreign currency corresponding to first coin;Commodity according to selected by the face amount and the exchange rate and user complete purchase.By the way that the first coin is identified, judge whether the first input coin is foreign currency, so as to obtain the currency type information of the coin input by user, when the first coin input by user is foreign currency, after user selects to carry out foreign currency purchase, then the exchange rate corresponding to first coin is obtained, so that user can carry out automatic shopping by foreign currency, the accurate exchange rate can also be enjoyed to exchange, further brought great advantage to the user.

Description

A kind of discrimination method and identification device
Technical field
The present invention relates to automatic trading apparatus manufacturing field, in particular to a kind of discrimination method and identification device.
Background technology
Existing identification device None- identified goes out the foreign currency input by user, or can not be according to input by user it is outer Coin is computed correctly the exchange rate so that the purchasing price of justice can not be obtained by holding the user that foreign currency is bought, or be so that use Family can not be bought, and then bring great inconvenience to user.
The content of the invention
It is an object of the invention to provide a kind of discrimination method and identification device, and it can improve above mentioned problem.
What embodiments of the invention were realized in:
In a first aspect, the present invention provides a kind of discrimination method, it includes obtaining the first money that user is put into by coin slot Coin;Judge whether first coin belongs to foreign currency;If so, then send prompt message;Obtain user and be based on the prompt message The confirmation inputted;Obtain the face amount of first coin;Obtain the exchange rate of the foreign currency corresponding to first coin;Root Purchase is completed according to the commodity selected by the face amount and the exchange rate and user.
Preferably, it is described if so, then send prompt message, including:If so, first coin is moved back by coin discharge Go out, and send prompt message;The face amount for obtaining first coin, including:The of coin slot input is obtained again Two coins;Judge whether second coin is identical with first coin, if second coin and the first coin phase Together, using second coin as the first coin;Obtain the face amount of first coin.
Preferably, it is described to judge second coin whether after the step identical with first coin, in addition to: If second coin differs with first coin, judge whether second coin is foreign currency, if so, by described second Coin is as first coin.
Preferably, it is described to judge whether second coin identical with first coin, if second coin with First coin is identical, and second coin is included as the step of the first coin:Judge to obtain second coin Whether the time difference between time and the time for obtaining first coin exceedes predetermined threshold value, if the time difference is not less than default threshold Value, using second coin as the first coin.
Preferably, described judgement was obtained between the time of second coin and the time of acquisition first coin After the step of whether time difference exceedes predetermined threshold value, in addition to:If the time difference exceedes predetermined threshold value, prompting letter is sent again Breath;The confirmation that user is inputted based on the prompt message is obtained again;Obtain the 3rd money currently put into by coin slot Coin;Using the 3rd coin as the first coin.
Second aspect, the present invention provide a kind of identification device, and it includes:First acquisition unit, pass through for obtaining user First coin of coin slot input;First judging unit, for judging whether first coin belongs to foreign currency;First prompting is single Member, for if so, then sending prompt message;Second acquisition unit, inputted based on the prompt message for obtaining user Confirmation;3rd acquiring unit, for obtaining the face amount of first coin;4th acquiring unit, for obtaining described The exchange rate of foreign currency corresponding to one coin;Processing unit, for according to selected by the face amount and the exchange rate and user Commodity complete purchase.
Preferably, first Tip element is specifically used for:If so, first coin is exited by coin slot, and Send prompt message;3rd acquiring unit includes:First obtains subelement, for obtaining the coin slot input again Second coin;First judgment sub-unit, for judging whether second coin is identical with first coin, if described second Coin is identical with first coin, using second coin as the first coin;Second obtains subelement, described for obtaining The face amount of first coin.
Preferably, also include after first judgment sub-unit:Second judgment sub-unit, if for second coin Differed with first coin, judge whether second coin is foreign currency, if so, using second coin as described One coin.
Preferably, first judgment sub-unit is specifically used for:The time for judging to obtain second coin is with obtaining institute State whether the time difference between the time of the first coin exceedes predetermined threshold value, if the time difference not less than predetermined threshold value, by described Two coins are as the first coin.
Preferably, after first judgment sub-unit, in addition to:Second Tip element, if exceeding for the time difference pre- If threshold value, prompt message is sent again;5th acquiring unit, inputted based on the prompt message for obtaining user again Confirmation;6th acquiring unit, for obtaining the 3rd coin currently put into by coin slot;Indexing unit, for by described in 3rd coin is as the first coin.
A kind of discrimination method and identification device that the invention described above provides, the application to the user by passing through coin slot The first input coin is identified, and judges whether the first input coin is foreign currency, so as to obtain input by user The currency type information of coin, when the first coin input by user is foreign currency, by sending prompt message, to prompt the user whether Foreign currency purchase is carried out, after user selects to carry out foreign currency purchase, then obtains face amount and the institute of the first coin input by user The exchange rate corresponding to the first coin is stated, so that user can carry out automatic shopping by foreign currency, and is done shopping using foreign currency While, additionally it is possible to enjoy the accurate exchange rate and exchange, further bring great advantage to the user.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by embodiment it is required use it is attached Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore be not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is the structural representation of automatic trading apparatus provided in an embodiment of the present invention;
Fig. 2 is the functional block diagram of the control structure of the automatic trading apparatus shown in Fig. 1;
Fig. 3 is a kind of flow chart for discrimination method that first embodiment of the invention provides;
Fig. 4 is a kind of flow chart for discrimination method that second embodiment of the invention provides;
Fig. 5 is a kind of high-level schematic functional block diagram for identification device that third embodiment of the invention provides;
Fig. 6 is a kind of high-level schematic functional block diagram for identification device that fourth embodiment of the invention provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.Therefore, The detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit the model of claimed invention below Enclose, but be merely representative of the selected embodiment of the present invention.Based on the embodiment in the present invention, those of ordinary skill in the art are not having There is the every other embodiment made and obtained under the premise of creative work, belong to the scope of protection of the invention.
Fig. 1 and Fig. 2 are refer to, the automatic trading apparatus 100 is provided with coin slot 111, coin discharge 112, touches display Screen 113 and the controller 114 and identification device 115 being placed in the automatic trading apparatus.
Wherein, the coin slot 111 is used to insert notes here for user, to carry out the purchase of commodity.
The coin discharge 112 is used to return to the remaining sum that user is paid, and for exiting the nothing of automatic trading apparatus 100 The bank note of method identification either foreign currency.
Wherein, the touch display screen 113 and identification device 115 couple with the controller 114.It is described to touch display Screen 113 is used for display reminding information, allows the user to the prompt message according to transmitted by the automatic trading apparatus 100 and make sentence It is disconnected.
In the present embodiment, the controller 114 can be a kind of IC chip, have the disposal ability of signal. Above-mentioned controller 114 can be general processor, including central processing unit (Central Processing Unit, referred to as CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), special Integrated circuit (ASIC), ready-made programmable gate array (FPGA) either other PLDs, discrete gate or transistor Logical device, discrete hardware components.It can realize or perform disclosed each method, step and the logic in the embodiment of the present invention Block diagram.General processor can be microprocessor or the processor can also be any conventional processor etc..Preferably, institute It is SMT32 single-chip microcomputers to state controller 114.
Wherein, the exchange rate of the coin is obtained after the coin that the controller 114 is identified according to the identification device 115 Information, allow the user to buy commodity by foreign currency in the automatic trading apparatus 100.
In the present embodiment, the identification device 115 can be Paper currency identifier.The identification device 15, which is used to identify, to be used The currency type information or par value information of bank note input by family.
Referring to Fig. 3, it is a kind of flow chart for discrimination method that first embodiment of the invention provides.The discrimination method should For automatic trading apparatus.The idiographic flow shown in Fig. 3 will be described in detail below.
Step S301, obtain the first coin that user is put into by coin slot.
Wherein, the automatic trading apparatus is provided with coin slot, the amount of money paid required for being put into when being done shopping for user.
Wherein, first coin refers to the coin that user is put into the automatic trading apparatus for the first time.
In the present embodiment, after user is put into the first coin by the coin slot, the automatic trading apparatus is certainly Dynamic the first coin got input by user.For example, it can be carried out by the controller set in the automatic trading apparatus Identification, after having bank note to enter the coin slot, the controller will recognize user and insert notes here.
Step S302, judges whether first coin belongs to foreign currency.
In the present embodiment, Paper currency identifier is provided with the automatic trading apparatus, the Paper currency identifier passes through utilization CCD unanimous votes face image processing techniques and Through Several Survey Measure banknote is carried out fluorescence, magnetic ink, infrared, magnetic security line and Size and thickness are detected, so as to carry out truth identification and currency type identification to bank note.Wherein, the operation principle of fluoroscopic examination It is that the papery for being directed to RMB is detected.RMB is using the manufacture of special paper (high-quality cotton for containing more than 85%), counterfeit money Common paper of the generally use after bleaching is manufactured, and in ultraviolet, (wavelength is 365nm's to the paper after bleaching Blue light) irradiation under occur fluorescence reaction (under the exciting of ultraviolet diffraction go out wavelength be 420-460nm blue light), people People's coin does not have fluorescence reaction then.So banknote is irradiated with ultraviolet source and detects the glimmering of banknote with silicon photocell simultaneously Light reflects, can differentiate that banknote is true and false.
In the present embodiment, the first coin input by user is identified by the Paper currency identifier, judges institute State whether the first coin belongs to foreign currency.It is for example, complete by the way that the size of first coin is identified, or with CCD First coin is identified nominal value image processing techniques, so as to judge whether first coin is foreign currency.
Step S303, if so, then sending prompt message.
Wherein, the prompt message refers to shown use in the touch display screen set by the automatic trading apparatus In the information for prompting the user whether progress foreign currency purchase.
Step S304, obtain the confirmation that user is inputted based on the prompt message.
Wherein, the confirmation refers to the letter of determination selection foreign currency purchase of the user according to selected by the prompt message Breath.I.e. described confirmation refers to prompt message of the user according to " whether carrying out foreign currency purchase " shown in touch display screen Selected " carrying out foreign currency purchase " information afterwards.
As a kind of embodiment, when whether display " carries out foreign currency purchase in the touch display screen of the automatic trading apparatus Buy " prompt message when, when user selects to carry out foreign currency purchase, then the confirmation is " carry out foreign currency purchase ".For example, work as When the prompt message of " whether carrying out foreign currency purchase " is shown in the touch display screen of the automatic trading apparatus, user passes through touch Shown ACK button in the touch display screen, and then cause the automatic trading apparatus to get the determination letter that user is inputted Breath.
Step S305, obtain the face amount of first coin.
In the present embodiment, first coin is identified by Paper currency identifier set in the automatic trading apparatus Face amount.For example, by the length and color of Paper currency identifier identification first bank note either after distinguishing true from false, By gathering the image of first bank note, and then go out by image recognition the face amount of first bank note.
As a kind of embodiment, Paper currency identifier, controller and camera are provided with the automatic trading apparatus, it is described Paper currency identifier and camera couple with the controller.First pass through the true and false of the Paper currency identifier to first coin It is identified, recognition result is sent to the controller by the Paper currency identifier after identification, and the controller is based on the knowledge Other result judges whether the first current coin is true, and when the first coin is true, the controller controls the camera to adopt Collect the image of first coin, and acquired image sent to the controller, so cause the controller according to The camera acquired image identifies the face amount of first coin.
Step S306, obtain the exchange rate of the foreign currency corresponding to first coin.
In the present embodiment, as a kind of embodiment, adopted by camera set in the automatic trading apparatus Collect the image of the first coin, and described image be sent to controller, controller by by received image with it is default Image is compared, and then gets the currency type information of the first coin, further according to the currency type acquisition of information obtained The exchange rate value of first coin.
Step S307, the commodity according to selected by the face amount and the exchange rate and user complete purchase.
The effective par of first coin is calculated by the face amount and the exchange rate of first coin.For example, input by user Coin be dollar, face amount is 5 dollars, then after being converted into RMB, the coin input by user for RMB just It it is 30 yuans, now, 30 yuan are then the effective par after conversion.Carried out by the face amount after conversion selected by payment user Commodity, so as to complete the purchase of commodity.
Referring to Fig. 4, it is a kind of flow chart for discrimination method that second embodiment of the invention provides.The discrimination method should For automatic trading apparatus.The idiographic flow shown in Fig. 4 will be described in detail below.
Step S401, obtain the first coin that user is put into by coin slot.
Step S402, judges whether first coin belongs to foreign currency.
Step S401 and step S402 specific implementation step, step corresponding in first embodiment is refer to, here, Repeat no more.
Step S403, if so, first coin is exited by coin discharge, and send prompt message.
As a kind of embodiment, the automatic trading apparatus is provided with coin discharge, and the coin discharge is used to return user Remaining sum and exit the foreign currency not identified.When controller set in the automatic trading apparatus identifies that user is thrown When the first coin entered is foreign currency, the first coin input by user is exited by the coin discharge, and prompts the user whether Carry out foreign currency purchase commodity.
Step S404, obtain the confirmation that user is inputted based on the prompt message.
Step S404 specific implementation step, step corresponding in first embodiment is refer to, here, repeating no more.
Step S405, the second coin of the coin slot input is obtained again.
After step S403, the first coin input by user is exited so that user needs to put into coin again Purchase article is carried out, i.e., described second coin.
Step S406, judge whether second coin identical with first coin, if second coin with it is described First coin is identical, using second coin as the first coin.
After getting second coin, by the way that second coin and the first coin input by user's first time are entered Row compares, and judges whether first coin and second coin are identical.When identical, represent that second of user is input Coin is the first coin input by first time.When second coin and the first coin difference, it is necessary to again to institute The currency type information for stating the second coin is judged, judges whether second coin is foreign currency, if so, second coin is made For first coin.
In this embodiment, it is preferred that by judging to obtain the time of second coin and obtaining first coin Time between time difference whether exceed predetermined threshold value, to judge whether second coin is the first coin, even time Difference is not less than predetermined threshold value, using second coin as the first coin.Wherein, if the time difference exceedes predetermined threshold value, send out again Go out prompt message;The confirmation that user is inputted based on the prompt message is obtained again;Acquisition is currently put into by coin slot The 3rd coin;Using the 3rd coin as the first coin.
Wherein, the pre-set threshold value can be 1 minute or 2 minutes.Here, it is not especially limited.
Wherein, the 3rd coin refers to user when being inserted coins for the second time, and the time inserted coins exceedes pre-set threshold value Input coin later.
Step S407, obtain the face amount of first coin.
Step S408, obtain the exchange rate of the foreign currency corresponding to first coin.
Step S409, the commodity according to selected by the face amount and the exchange rate and user complete purchase.
Step S407, step S408 and step S409 specific implementation step, refer in first embodiment corresponding Step, here, repeating no more.
Referring to Fig. 5, it is a kind of high-level schematic functional block diagram for identification device that third embodiment of the invention provides.The mirror Other device 500 include first acquisition unit 510, the first judging unit 520, the first Tip element 530, second acquisition unit 540, 3rd acquiring unit 550, the 4th acquiring unit 560 and processing unit 570.
First acquisition unit 510, the first coin put into for obtaining user by coin slot.
First judging unit 520, for judging whether first coin belongs to foreign currency.
First Tip element 530, for if so, then sending prompt message.
Second acquisition unit 540, the confirmation inputted for obtaining user based on the prompt message.
3rd acquiring unit 550, for obtaining the face amount of first coin.
4th acquiring unit 560, for obtaining the exchange rate of the foreign currency corresponding to first coin.
Processing unit 570, purchase is completed for the commodity according to selected by the face amount and the exchange rate and user.
Referring to Fig. 6, it is a kind of high-level schematic functional block diagram for identification device that fourth embodiment of the invention provides.The mirror Other device 600 include first acquisition unit 610, the first judging unit 620, the first Tip element 630, second acquisition unit 640, 3rd acquiring unit 650, the 4th acquiring unit 660 and processing unit 670.
First acquisition unit 610, the first coin put into for obtaining user by coin slot.
First judging unit 620, for judging whether first coin belongs to foreign currency.
First Tip element 630, for if so, then sending prompt message.
Second acquisition unit 640, the confirmation inputted for obtaining user based on the prompt message.
3rd acquiring unit 650, for obtaining the face amount of first coin.
Wherein, the 3rd acquiring unit 650 also includes first and obtains subelement 651, the first judgment sub-unit 652 and the Two obtain subelement 653.
First obtains subelement 651, for obtaining the second coin of the coin slot input again.
First judgment sub-unit 652, for judging whether second coin is identical with first coin, if described Two coins are identical with first coin, using second coin as the first coin.
Wherein, first judgment sub-unit 652 is specifically used for:The time for judging to obtain second coin is with obtaining institute State whether the time difference between the time of the first coin exceedes predetermined threshold value, if the time difference not less than predetermined threshold value, by described Two coins are as the first coin.
Wherein, also include after first judgment sub-unit 652:Second Tip element, the 5th acquiring unit, the 6th obtain Take unit and indexing unit.
Second Tip element, if exceeding predetermined threshold value for the time difference, prompt message is sent again;
5th acquiring unit, the confirmation inputted for obtaining user again based on the prompt message;
6th acquiring unit, for obtaining the 3rd coin currently put into by coin slot;
Indexing unit, for using the 3rd coin as the first coin.
Wherein, also include after first judgment sub-unit 652:Second judgment sub-unit.
Second judgment sub-unit, if being differed for second coin and first coin, judge second money Whether coin is foreign currency, if so, using second coin as first coin.
Second obtains subelement 653, for obtaining the face amount of first coin.
4th acquiring unit 660, for obtaining the exchange rate of the foreign currency corresponding to first coin.
Processing unit 670, purchase is completed for the commodity according to selected by the face amount and the exchange rate and user.
In summary, the present invention provides a kind of discrimination method and identification device, and the application to the user by passing through throwing The first coin input by coin mouth is identified, and judges whether the first input coin is foreign currency, is thrown so as to obtain user The currency type information of the coin entered, when the first coin input by user is foreign currency, by sending prompt message, to prompt user Whether carry out foreign currency purchase, after user selects to carry out foreign currency purchase, then obtain the face amount of the first coin input by user with And the exchange rate corresponding to first coin, so that user can carry out automatic shopping by foreign currency, and using foreign currency While shopping, additionally it is possible to enjoy the accurate exchange rate and exchange, further bring great advantage to the user.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show the device of multiple embodiments according to the present invention, method and computer program product architectural framework in the cards, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part, a part for the module, program segment or code include one or more and are used to realize holding for defined logic function Row instruction.It should also be noted that at some as in the implementation replaced, the function that is marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially perform substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is it is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, function or the special base of action as defined in performing can be used Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need It is noted that herein, such as first and second or the like relational terms are used merely to an entity or operation Made a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating any this Actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, article or equipment including a series of elements not only include those key elements, but also wrapping Include the other element being not expressly set out, or also include for this process, method, article or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Other identical element also be present in the process of element, method, article or equipment.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (10)

1. a kind of discrimination method, it is characterised in that methods described includes:
Obtain the first coin that user is put into by coin slot;
Judge whether first coin belongs to foreign currency;
If so, then send prompt message;
Obtain the confirmation that user is inputted based on the prompt message;
Obtain the face amount of first coin;
Obtain the exchange rate of the foreign currency corresponding to first coin;
Commodity according to selected by the face amount and the exchange rate and user complete purchase.
2. according to the method for claim 1, it is characterised in that it is described if so, then send prompt message, including:
If so, first coin is exited by coin discharge, and send prompt message;
The face amount for obtaining first coin, including:
The second coin of the coin slot input is obtained again;
Judge whether second coin is identical with first coin, if second coin is identical with first coin, Using second coin as the first coin;
Obtain the face amount of first coin.
3. according to the method described in claim 2, it is characterised in that it is described judge second coin whether with first money After the identical step of coin, in addition to:
If second coin differs with first coin, judge whether second coin is foreign currency, if so, by described in Second coin is as first coin.
4. according to the method for claim 2, it is characterised in that described to judge second coin whether with described first Coin is identical, if second coin is identical with first coin, second coin is wrapped as the step of the first coin Include:
It is pre- whether the time difference between the time for judging to obtain the time of second coin and obtain first coin exceedes If threshold value, if the time difference not less than predetermined threshold value, using second coin as the first coin.
5. according to the method for claim 4, it is characterised in that described judgement obtains the time of second coin with obtaining After the step of taking the time difference between the time of first coin whether to exceed predetermined threshold value, in addition to:
If the time difference exceedes predetermined threshold value, prompt message is sent again;
The confirmation that user is inputted based on the prompt message is obtained again;
Obtain the 3rd coin currently put into by coin slot;
Using the 3rd coin as the first coin.
6. a kind of identification device, it is characterised in that described device includes:
First acquisition unit, the first coin put into for obtaining user by coin slot;
First judging unit, for judging whether first coin belongs to foreign currency;
First Tip element, for if so, then sending prompt message;
Second acquisition unit, the confirmation inputted for obtaining user based on the prompt message;
3rd acquiring unit, for obtaining the face amount of first coin;
4th acquiring unit, for obtaining the exchange rate of the foreign currency corresponding to first coin;
Processing unit, purchase is completed for the commodity according to selected by the face amount and the exchange rate and user.
7. device according to claim 6, it is characterised in that first Tip element is specifically used for:
If so, first coin is exited by coin slot, and send prompt message;
3rd acquiring unit includes:
First obtains subelement, for obtaining the second coin of the coin slot input again;
First judgment sub-unit, for judging whether second coin is identical with first coin, if second coin It is identical with first coin, using second coin as the first coin;
Second obtains subelement, for obtaining the face amount of first coin.
8. device according to claim 7, it is characterised in that also include after first judgment sub-unit:
Second judgment sub-unit, if being differed for second coin and first coin, judge that second coin is No is foreign currency, if so, using second coin as first coin.
9. device according to claim 7, it is characterised in that first judgment sub-unit is specifically used for:
It is pre- whether the time difference between the time for judging to obtain the time of second coin and obtain first coin exceedes If threshold value, if the time difference not less than predetermined threshold value, using second coin as the first coin.
10. device according to claim 9, it is characterised in that after first judgment sub-unit, in addition to:
Second Tip element, if exceeding predetermined threshold value for the time difference, prompt message is sent again;
5th acquiring unit, the confirmation inputted for obtaining user again based on the prompt message;
6th acquiring unit, for obtaining the 3rd coin currently put into by coin slot;
Indexing unit, for using the 3rd coin as the first coin.
CN201710565599.7A 2017-07-12 2017-07-12 Identification method and identification device Active CN107341916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710565599.7A CN107341916B (en) 2017-07-12 2017-07-12 Identification method and identification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710565599.7A CN107341916B (en) 2017-07-12 2017-07-12 Identification method and identification device

Publications (2)

Publication Number Publication Date
CN107341916A true CN107341916A (en) 2017-11-10
CN107341916B CN107341916B (en) 2020-01-14

Family

ID=60219172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710565599.7A Active CN107341916B (en) 2017-07-12 2017-07-12 Identification method and identification device

Country Status (1)

Country Link
CN (1) CN107341916B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107958251A (en) * 2017-11-16 2018-04-24 维沃移动通信有限公司 A kind of amount of currency conversion method, device and mobile terminal
CN111553430A (en) * 2020-04-30 2020-08-18 中国银行股份有限公司 Foreign currency identification method and device
CN113850948A (en) * 2018-06-18 2021-12-28 天使集团股份有限公司 Device for exchanging first currency with second currency

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09192325A (en) * 1996-01-19 1997-07-29 Ace Denken:Kk Cashing device for game parlor
JP2000285293A (en) * 1999-03-30 2000-10-13 Sanden Corp Automatic vending machine
JP2011048727A (en) * 2009-08-28 2011-03-10 Panasonic Corp Device for controlling vending machine
JP2012089006A (en) * 2010-10-21 2012-05-10 Nippon Conlux Co Ltd Automatic vending machine system
CN106803177A (en) * 2017-01-17 2017-06-06 世纪禾光科技发展(北京)有限公司 For the Multiple Currencies method of payment and device of e-commerce platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09192325A (en) * 1996-01-19 1997-07-29 Ace Denken:Kk Cashing device for game parlor
JP2000285293A (en) * 1999-03-30 2000-10-13 Sanden Corp Automatic vending machine
JP2011048727A (en) * 2009-08-28 2011-03-10 Panasonic Corp Device for controlling vending machine
JP2012089006A (en) * 2010-10-21 2012-05-10 Nippon Conlux Co Ltd Automatic vending machine system
CN106803177A (en) * 2017-01-17 2017-06-06 世纪禾光科技发展(北京)有限公司 For the Multiple Currencies method of payment and device of e-commerce platform

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107958251A (en) * 2017-11-16 2018-04-24 维沃移动通信有限公司 A kind of amount of currency conversion method, device and mobile terminal
CN113850948A (en) * 2018-06-18 2021-12-28 天使集团股份有限公司 Device for exchanging first currency with second currency
CN113850948B (en) * 2018-06-18 2023-12-01 天使集团股份有限公司 Exchange device for first currency and second currency
CN111553430A (en) * 2020-04-30 2020-08-18 中国银行股份有限公司 Foreign currency identification method and device
CN111553430B (en) * 2020-04-30 2023-08-18 中国银行股份有限公司 Foreign currency identification method and device

Also Published As

Publication number Publication date
CN107341916B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
DE69838949T2 (en) AUTOMATIC DOCUMENT PROCESSING SYSTEM WITH FULL SCANNING
CN107341916A (en) A kind of discrimination method and identification device
CN205451240U (en) Automatic exchange system is deposited to change
WO1995012170A1 (en) Method and apparatus for electronic cash transactions
JP2008513902A (en) Method and apparatus for facilitating currency exchange transactions
JP6942985B2 (en) Remittance source device, remittance destination device, remittance method, remittance method, program and remittance system
CN107749115A (en) One kind opens automatic selling equipment door method and vending equipment based on credit
CN109961297A (en) Article identification method, device, block chain node device and readable storage medium storing program for executing
CN105741440B (en) Banknote currency type exchanges self-service device operation method and device
JP2001229455A5 (en)
CN106463018B (en) Media processing device and medium transaction device
CN108109284B (en) Deposit transaction processing method, device and computer readable storage medium
JP2013020301A (en) Adjustment system
CN205788571U (en) A kind of identity-based is examined and can be for the degerming automatic trading apparatus of bank note
RU2013140407A (en) CASH PROCESSING DEVICE
CN205722221U (en) A kind of identity-based is examined and can be for the degerming automated trading system of bank note
JP2016158832A (en) Money management tool for clothing and money management device for clothing
JPH0716265U (en) Valuable material processing equipment
CN107527419A (en) For the banknote detection method of finance device, device, finance device and storage medium
CN107767535A (en) A kind of method and apparatus for identifying the simultaneously identification note true and false
CN204087344U (en) A kind of automatic trading apparatus
JP7420117B2 (en) Voting ticket processing device, voting ticket processing method, program
JPH06203046A (en) Device and system for providing entrance ticket and information
CN108122100A (en) Transaction/circulation method of currency in a kind of financial transaction
JP4704023B2 (en) Gift certificate issuing device

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