CN110599672A - Cash-sticking detection method and device for financial equipment, terminal equipment and storage medium - Google Patents

Cash-sticking detection method and device for financial equipment, terminal equipment and storage medium Download PDF

Info

Publication number
CN110599672A
CN110599672A CN201910811942.0A CN201910811942A CN110599672A CN 110599672 A CN110599672 A CN 110599672A CN 201910811942 A CN201910811942 A CN 201910811942A CN 110599672 A CN110599672 A CN 110599672A
Authority
CN
China
Prior art keywords
magnetic
threshold
paper money
data
value
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
CN201910811942.0A
Other languages
Chinese (zh)
Other versions
CN110599672B (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 CN201910811942.0A priority Critical patent/CN110599672B/en
Publication of CN110599672A publication Critical patent/CN110599672A/en
Application granted granted Critical
Publication of CN110599672B publication Critical patent/CN110599672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G07D11/235Means for sensing or detection for monitoring or indicating operating conditions; for detecting malfunctions
    • G07D11/237Means for sensing or detection for monitoring or indicating operating conditions; for detecting malfunctions for detecting transport malfunctions, e.g. jams or misfeeds
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/04Testing magnetic properties of the materials thereof, e.g. by detection of magnetic imprint

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Inspection Of Paper Currency And Valuable Securities (AREA)

Abstract

The application relates to the technical field of financial machine control, and provides a method and a device for detecting a bank note clamping of financial equipment, terminal equipment and a storage medium. The method comprises the following steps: in the process of money feeding, magnetic data of paper money is detected through a magnetic sensor; extracting target magnetic data of a magnetic line region from the magnetic data; and judging whether the paper money is jammed or not according to the target magnetic data. When the paper currency passes through the magnetic sensor, the magnetic data of the paper currency can be detected, and then the magnetic data of the magnetic line area of the paper currency is extracted from the magnetic data, and since the magnetic data of the magnetic line area of the clamped paper currency usually has different magnetic characteristics from the normal paper currency, whether the paper currency is clamped or not can be judged according to the obtained magnetic data. Through setting up like this, just can judge out the paper currency and whether block when paper currency passes through magnetic sensor to can in time stop digging the paper currency action, reduce the first paper currency card paper money and lead to that several subsequent paper currencies also block the condition of tearing even.

Description

Cash-sticking detection method and device for financial equipment, terminal equipment and storage medium
Technical Field
The application relates to the technical field of financial machine control, in particular to a method and a device for detecting a bank note clamping of financial equipment, terminal equipment and a storage medium.
Background
For financial equipment such as a self-service deposit and withdrawal machine and the like, sometimes, the phenomenon of paper money clamping occurs, and inconvenience is brought to the deposit and withdrawal operation of a user. Currently, the financial device generally detects the card money by the following method: and after one piece of paper money enters the paper money conveying channel through the initial position sensor, if the paper money does not pass through the end position sensor within a certain time, the paper money jamming is judged.
However, with the development of hardware facilities, the speed of money running of financial equipment is faster and faster, and if a position sensor is still used to determine whether a paper money jam occurs or not from a position, after a current paper money jam occurs in a transport channel, several subsequent paper money also enter the transport channel of the paper money jam as usual before reaching the time of determining the paper money jam and stopping the paper money digging action, and may be jammed or even torn.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for detecting a banknote jam of a financial device, a terminal device, and a storage medium, which can detect a banknote jam of a banknote in time, and reduce the occurrence of the situation that a first banknote jams and even tears several subsequent banknotes.
A first aspect of an embodiment of the present application provides a method for detecting a banknote jam of a financial device, including:
in the process of money feeding, magnetic data of paper money is detected through a magnetic sensor;
extracting target magnetic data of a magnetic line region from the magnetic data;
and judging whether the paper money is jammed or not according to the target magnetic data.
At present, a magnetic sensor is generally arranged in a paper money conveying channel of financial equipment, and the magnetic sensor is generally used for identifying the authenticity of paper money. The magnetic sensor is used for detecting the paper money, when the paper money passes through the magnetic sensor, the magnetic data of the paper money can be detected, then the target magnetic data of the magnetic line area of the paper money is extracted from the magnetic data, and the magnetic data of the magnetic line area of the paper money to be clamped usually has the magnetic characteristics different from those of normal paper money, so that whether the paper money is clamped or not can be judged according to the obtained target magnetic data. Through setting up like this, just can judge out the paper currency and whether block when paper currency passes through magnetic sensor to can in time stop digging the paper currency action, reduce the first paper currency card paper money and lead to that several subsequent paper currencies also block the condition of tearing even.
Specifically, the determining whether the banknote is jammed according to the target magnetic data may include:
constructing a magnetic characteristic curve based on the target magnetic data, wherein the magnetic characteristic curve is used for representing the magnetic numerical value of each position on the magnetic line area of the paper money;
and if the magnetic characteristic curve has periodic waveform characteristics corresponding to the type of the paper money, and the amplitude difference between the waveform characteristics in different periods exceeds a preset threshold value, judging that the paper money is jammed.
The target magnetic data is expressed in the form of a magnetic characteristic curve, so that the magnetic characteristics of each position point on the magnetic line area of the paper money can be checked more intuitively. Through a large number of experiments, the magnetic characteristic curve of the magnetic line region of the paper money to be clamped has periodic waveform characteristics, and the amplitude difference between the waveform characteristics of different periods is large, so that whether the paper money is clamped or not can be judged through the two characteristics.
Further, whether the magnetic characteristic curve has a periodic waveform characteristic corresponding to the type of the bill may be determined by:
acquiring an image of the paper money through an image sensor;
determining the type of the paper currency according to the image of the paper currency;
searching a wave crest feature corresponding to the type of the paper money from a pre-constructed database, wherein the wave crest feature comprises a plurality of wave crests in a preset number, and the peak values of the plurality of wave crests are not identical;
and if the magnetic characteristic curve has the periodic wave crest characteristics, determining that the magnetic characteristic curve has periodic wave form characteristics corresponding to the type of the paper currency.
The magnetic characteristic curves of the magnetic line regions of different types of paper money often have different waveform characteristics, so that the type of the paper money is determined through an image of the paper money firstly, and then the peak characteristic corresponding to the type of the paper money is searched from a pre-constructed database, for example, for a 2005 edition 100 yuan RMB, the peak characteristic has 5 peaks, wherein the peak values of the 3 rd peak and the 5 th peak are lower, namely, the peak characteristic of 'high-low-high-low' is presented.
Further, whether the amplitude difference between the waveform characteristics in different periods exceeds a preset threshold value is judged by the following steps:
if the waveform feature of each period in the magnetic feature curve has a magnetic value of a part of wave peaks larger than a first magnetic threshold value and a magnetic value of another part of wave peaks between the first magnetic threshold value and a second magnetic threshold value, determining that the amplitude difference between the waveform features of different periods does not exceed a preset threshold value, wherein the second magnetic threshold value is smaller than the first magnetic threshold value;
if the waveform feature of the first period in the magnetic characteristic curve has a magnetic value of a part of the peaks larger than the first magnetic threshold value and a magnetic value of another part of the peaks between the first magnetic threshold value and the second magnetic threshold value, and the waveform feature of the second period in the magnetic characteristic curve has a magnetic value of each peak less than the first magnetic threshold, reducing the first magnetic threshold to a third magnetic threshold, reducing the second magnetic threshold to a fourth magnetic threshold, enabling the waveform feature of the second period in the magnetic characteristic curve to have a magnetic value of a part of peaks larger than the third magnetic threshold value and a magnetic value of another part of peaks between the third magnetic threshold value and the fourth magnetic threshold value, wherein the third magnetic threshold value is larger than the fourth magnetic threshold value;
if the difference between the first magnetic threshold and the third magnetic threshold exceeds a preset threshold, or the difference between the second magnetic threshold and the fourth magnetic threshold exceeds a preset threshold, determining that the amplitude difference between the waveform features of different periods exceeds a preset threshold.
The first magnetic threshold and the second magnetic threshold may be preset, and then the amplitude difference between the waveform features of different periods may be determined according to the magnitude relationship between each peak in the waveform features of different periods and the set magnetic threshold.
Still further, reducing the first magnetic threshold to a third magnetic threshold and reducing the second magnetic threshold to a fourth magnetic threshold may include:
respectively reducing the first magnetic threshold and the second magnetic threshold by the same step value;
judging whether the magnetic value of a part of wave crests in the wave features of the second period in the magnetic characteristic curve is larger than the first magnetic threshold after reduction, and the magnetic value of the other part of wave crests is between the first magnetic threshold after reduction and the second magnetic threshold after reduction;
if so, determining the reduced first magnetic threshold as the third magnetic threshold, and determining the reduced second magnetic threshold as the fourth magnetic threshold;
if not, respectively reducing the first magnetic threshold value after reduction and the second magnetic threshold value after reduction by one step value, and then returning to execute the step of judging whether the magnetic values of a part of wave crests in the wave characteristics of the second period in the magnetic characteristic curve are larger than the first magnetic threshold value after reduction, and the magnetic values of the other part of wave crests are between the first magnetic threshold value after reduction and the second magnetic threshold value after reduction.
When the magnetic threshold is reduced, a gradual adjustment mode can be adopted, namely, a fixed stepping value is reduced by each adjustment, and then whether the reduced magnetic threshold meets the requirement or not is judged.
Specifically, the determining whether the banknote is jammed according to the target magnetic data may include:
matching the target magnetic data with pre-stored first magnetic data to obtain a first similarity, wherein the first magnetic data is the magnetic data of a magnetic line area of the paper money which is the same as the type of the paper money and is not blocked;
if the first similarity is smaller than a preset threshold value, judging that the paper money is blocked;
or
Matching the target magnetic data with second pre-stored magnetic data to obtain a second similarity, wherein the second magnetic data is the magnetic data of a magnetic line area of the clamped paper money, and the type of the second magnetic data is the same as that of the paper money;
and if the second similarity is larger than a preset threshold value, judging that the paper money is blocked.
Because the magnetic data of the magnetic line region of the paper money which is blocked and the magnetic data of the magnetic line region of the paper money which is not blocked are obviously different, two different types of magnetic data can be stored in advance, then the detected target magnetic data and the stored magnetic data are matched, and whether the detected paper money is blocked or not is judged according to the matching result.
Further, the determining that the banknote is jammed may include:
identifying the authenticity of the paper currency;
and if the paper money is true, judging that the paper money is blocked.
The two kinds of pre-stored different magnetic data are respectively from the blocked real money and the unblocked real money, and the magnetic data of the real money and the counterfeit money are different, so in order to improve the accuracy of the money blocking detection, the authenticity of the paper money also needs to be detected, and only when the paper money is the real money, the matching result of the detected target magnetic data and the pre-stored magnetic data is accurate and reliable.
A second aspect of an embodiment of the present application provides a banknote jamming detection apparatus for a financial device, including:
the magnetic data detection module is used for detecting the magnetic data of the paper money through the magnetic sensor in the paper money walking process;
the magnetic data extraction module is used for extracting target magnetic data of a magnetic line region from the magnetic data;
and the paper money clamping judgment module is used for judging whether the paper money is clamped or not according to the target magnetic data.
A third aspect of the embodiments of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the method for detecting a bill of a financial device according to the first aspect of the embodiments of the present application.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method for detecting a jammed banknote of a financial device according to the first aspect of embodiments of the present application.
A fifth aspect of the embodiments of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the method for detecting a banknote-stuck in a financial device according to the first aspect of the embodiments of the present application.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of a first embodiment of a method for detecting a bill jam of a financial device according to an embodiment of the present disclosure;
fig. 2A is a flowchart illustrating a method for detecting a banknote jam of a financial device according to a second embodiment of the present disclosure;
FIG. 2B is a graph showing the magnetic characteristics of the magnetic line regions of an unchecked note of the embodiment of FIG. 2A;
FIG. 2C is a graph showing the magnetic characteristics of the magnetic line regions of a stuck note in the embodiment of FIG. 2A;
fig. 3 is a flowchart illustrating a method for detecting a jammed banknote in a financial device according to a third embodiment of the present disclosure;
fig. 4 is a flowchart of a banknote jamming detection method of a financial device according to a fourth embodiment of the present disclosure;
fig. 5 is a block diagram of an embodiment of a banknote-jamming detection apparatus of a financial device according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail. Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
The embodiment of the application provides a method and a device for detecting a paper money jam of financial equipment, terminal equipment and a storage medium, which can detect the paper money jam of paper money in time and reduce the situation that the first paper money jam causes subsequent paper money to be blocked or even torn. The bill jamming is an event that the paper money is jammed in the paper money conveying channel and cannot be normally conveyed.
It should be understood that the execution subject of the various method embodiments of the present application is financial equipment such as an ATM machine, or other relevant terminal equipment.
Referring to fig. 1, a method for detecting a jammed banknote of a financial device according to an embodiment of the present application is shown, including:
101. in the process of money feeding, magnetic data of paper money is detected through a magnetic sensor;
in the process of currency feeding of the financial equipment, magnetic data of the paper currency are detected through the magnetic sensor. The banknote feeding refers to a process that a conveying mechanism inside the financial equipment operates to convey banknotes in a banknote conveying channel. At present, a banknote conveying channel of financial equipment is generally provided with a magnetic sensor, the magnetic sensor is used for detecting magnetic data of banknotes, and the detected magnetic data is generally used for identifying the authenticity of the banknotes. The method for detecting the paper money clamping can be directly used for detecting the magnetic data of the paper money by using the magnetic sensor, and more hardware devices do not need to be additionally arranged. During the money feeding process, every paper currency passes through the magnetic sensor, and the magnetic data of the paper currency is detected.
In particular, the detected magnetic data may be stored in a three-dimensional matrix of X Y Z, where X represents the number of channels, such as 18 channels in total including 0-17; y represents the longitudinal coordinate of the paper money, and the value range is different according to different hardware designs, for example, the value range can be 0-1385, namely the value range comprises 1386 lines of data; z represents the magnitude of the magnetic signal after being converted into the electric signal by the amplifier, and is a parameter reflecting the magnitude of the magnetism by using a digital quantity, for example, the fluctuation range can be 2000-4000.
102. Extracting target magnetic data of a magnetic line region from the magnetic data;
after the magnetic data of the paper money is detected, the target magnetic data of the magnetic line area is extracted from the magnetic data, namely the magnetic data of the area where the magnetic line is located is extracted as the target magnetic data. Because the paper money transversely passes through the paper money in the conveying channel, when the paper money is jammed, the magnetic data of the magnetic line area is influenced most, namely, the difference between the magnetic data of the magnetic line area of the jammed paper money and the magnetic data of the magnetic line area of the undamped paper money is the largest. For this reason, the embodiment of the present application extracts and analyzes the magnetic data in the magnetic line region, and can accurately detect the phenomenon of paper money jamming.
Specifically, when extracting the magnetic data of the magnetic line region from the magnetic data of the whole banknote, a position template mode may be adopted, that is, the magnetic data of a large number of normal banknotes is obtained in advance, and the position information of each magnetic region, such as the position of the crown word region, the position of the magnetic line region, and the like, is determined through the data. A location template can then be constructed based on the location information. When data is extracted, the position information of each magnetic area in the position template is mapped to the magnetic data of the whole paper money, and then the magnetic data corresponding to the position of the magnetic line is extracted.
103. And judging whether the paper money is jammed or not according to the target magnetic data.
And after extracting the target magnetic data of the magnetic line area, judging whether the paper money is stuck according to the target magnetic data. Because the difference between the magnetic data of the magnetic line region of the clamped paper money and the magnetic data of the magnetic line region of the undamped paper money is large, whether the corresponding paper money is clamped or not can be judged only by carrying out characteristic analysis on the target magnetic data, namely whether the phenomenon of clamping the paper money occurs currently or not can be judged. There are many specific judgment ways, for example, the target magnetic data can be compared with the magnetic data of the jammed paper money; whether the target magnetic data satisfies the characteristics specific to the magnetic data of the jammed paper money or not is analyzed, and the details can be referred to the descriptions of several embodiments later in the present application.
At present, a magnetic sensor is generally arranged in a paper money conveying channel of financial equipment, and the magnetic sensor is generally used for identifying the authenticity of paper money. The magnetic sensor is used for detecting the paper money, when the paper money passes through the magnetic sensor, the magnetic data of the paper money can be detected, then the target magnetic data of the magnetic line area of the paper money is extracted from the magnetic data, and the magnetic data of the magnetic line area of the paper money to be clamped usually has the magnetic characteristics different from those of normal paper money, so that whether the paper money is clamped or not can be judged according to the obtained target magnetic data. Through setting up like this, just can judge out the paper currency and whether block when paper currency passes through magnetic sensor to can in time stop digging the paper currency action, reduce the first paper currency card paper money and lead to that several subsequent paper currencies also block the condition of tearing even.
Referring to fig. 2, another method for detecting a jammed financial device of a financial device in an embodiment of the present application is shown, including:
201. in the process of money feeding, magnetic data of paper money is detected through a magnetic sensor;
202. extracting target magnetic data of a magnetic line region from the magnetic data;
the steps 201-202 are the same as the steps 101-102, and the related description of the steps 101-102 can be referred to.
203. Constructing a magnetic characteristic curve based on the target magnetic data, wherein the magnetic characteristic curve is used for representing the magnetic numerical value of each position on the magnetic line area of the paper money;
after the target magnetic data is extracted, a magnetic characteristic curve is constructed based on the target magnetic data. Assuming that the detected magnetic data is stored in a three-dimensional matrix of X × Y × Z, where X denotes the number of channels, Y denotes the longitudinal coordinate of the banknote, and Z denotes the magnitude of the magnetic signal after being converted into the electrical signal by the amplifier, the extracted target magnetic data may be the data of the channel corresponding to the magnetic line region, for example, the data of X ═ 10, and then the magnetic characteristic curve may be constructed with the longitudinal coordinate Y of the banknote as the abscissa and the magnetic value Z as the ordinate. The magnetic characteristic curve is used for representing the magnetic numerical value of each position on the magnetic line area of the paper money and can reflect the magnetic characteristic of the magnetic line area.
The constructed magnetic characteristic curve can be referred to fig. 2B and fig. 2C, wherein fig. 2B is a magnetic characteristic curve of a magnetic line region of a normal banknote (i.e., a non-jammed banknote), and fig. 2C is a magnetic characteristic curve of a magnetic line region of a jammed banknote.
204. Judging whether the magnetic characteristic curve has periodic waveform characteristics corresponding to the types of the paper money or not, and whether amplitude differences among the waveform characteristics in different periods exceed a preset threshold or not;
after the magnetic characteristic curve is constructed, whether the characteristic curve has periodic waveform characteristics corresponding to the types of the paper money or not and whether the amplitude difference between the waveform characteristics of different periods exceeds a preset threshold value or not is judged.
Generally, the magnetic characteristic curve corresponding to the magnetic line region of each type of paper currency has a periodic waveform characteristic, and the waveform characteristics of different types of paper currencies are generally different. For the jammed paper money, the waveform amplitude of the magnetic characteristic curve corresponding to the magnetic line region of the jammed paper money is changed sharply, for example, the amplitude of the waveform characteristic with different periods is compressed. Therefore, if the characteristic curve is detected to have corresponding periodic waveform characteristics, and the amplitude difference between the waveform characteristics of different periods exceeds a preset threshold value, the currently detected paper money can be judged to be jammed.
Specifically, whether the magnetic characteristic curve has a periodic waveform characteristic corresponding to the type of the banknote may be determined by:
(1) acquiring an image of the paper money through an image sensor;
(2) determining the type of the paper currency according to the image of the paper currency;
(3) searching a wave crest feature corresponding to the type of the paper money from a pre-constructed database, wherein the wave crest feature comprises a plurality of wave crests in a preset number, and the peak values of the plurality of wave crests are not identical;
(4) and if the magnetic characteristic curve has the periodic wave crest characteristics, determining that the magnetic characteristic curve has periodic wave form characteristics corresponding to the type of the paper currency.
In determining the banknote type, images of the banknote collected by the image sensor may be utilized. In addition, the waveform characteristics of the magnetic characteristic curves corresponding to the magnetic line regions of various types of banknotes can be stored in the database in advance, and since the waveform characteristics are periodic, only one period of waveform characteristics need to be stored. Specifically, when determining whether the constructed magnetic characteristic curve has corresponding periodic waveform characteristics, peak characteristics in the waveform characteristics, such as how many peaks are in the waveform, how many peaks are in each peak, and the like, may be detected, and the database may store the peak characteristics in the waveform for reducing the data amount. In the determination, as long as the magnetic characteristic curve is detected to have a periodic peak characteristic corresponding to the type of the bill, it is determined that the magnetic characteristic curve has a periodic waveform characteristic corresponding to the type of the bill.
For example, in fig. 2B, a 2005 version of the magnetic characteristic curve of the magnetic line region of the 100-yuan RMB is shown, in which the waveform of one cycle includes 5 peaks, wherein the peak values of the 3 rd peak and the 5 th peak are lower, i.e., the waveform of one cycle exhibits a peak characteristic of "high-low-high-low".
Specifically, whether the amplitude difference between the waveform features in different periods exceeds a preset threshold value can be determined by the following steps:
(1) if the waveform feature of each period in the magnetic feature curve has a magnetic value of a part of wave peaks larger than a first magnetic threshold value and a magnetic value of another part of wave peaks between the first magnetic threshold value and a second magnetic threshold value, determining that the amplitude difference between the waveform features of different periods does not exceed a preset threshold value, wherein the second magnetic threshold value is smaller than the first magnetic threshold value;
(2) if the magnetic value of a part of the wave peaks of the wave feature of the first period in the magnetic characteristic curve is greater than the first magnetic threshold, the magnetic value of another part of the wave peaks is between the first magnetic threshold and the second magnetic threshold, and the magnetic value of each wave peak of the wave feature of the second period in the magnetic characteristic curve is less than the first magnetic threshold, reducing the first magnetic threshold to a third magnetic threshold, and reducing the second magnetic threshold to a fourth magnetic threshold, so that the magnetic value of a part of the wave peaks of the wave feature of the second period in the magnetic characteristic curve is greater than the third magnetic threshold, and the magnetic value of another part of the wave peaks is between the third magnetic threshold and the fourth magnetic threshold, the third magnetic threshold is greater than the fourth magnetic threshold;
(3) if the difference between the first magnetic threshold and the third magnetic threshold exceeds a preset threshold, or the difference between the second magnetic threshold and the fourth magnetic threshold exceeds a preset threshold, determining that the amplitude difference between the waveform features of different periods exceeds a preset threshold.
For the above step (1), the magnetic characteristic curve shown in fig. 2B is taken as an example, and the magnetic characteristic curve of the magnetic line region of the normal paper money which is not jammed is shown, and it can be seen from the figure that the amplitude between the waveform characteristics (corresponding to the peak characteristics of "high, low, high and low") of each period is basically unchanged. In the specific determination, a first magnetic threshold (assumed to be 4000) and a second magnetic threshold (assumed to be 2000) are set, and then it is determined whether the waveform characteristics of each period in the magnetic characteristic curve satisfy the following conditions: the magnetic value of one part of each wave peak is larger than the first magnetic threshold value, and the magnetic value of the other part of each wave peak is between the first magnetic threshold value and the second magnetic threshold value. In fig. 2B, it is apparent that 3 "high" peaks per cycle are greater than the first magnetic threshold (4000) and 2 "low" peaks are between the first and second magnetic thresholds (i.e., 2000-. As long as this condition is met, it indicates that the amplitude between the waveform features of different periods is substantially unchanged, i.e. the amplitude difference does not exceed a preset threshold.
In the above steps (2) and (3), the magnetic characteristic curve shown in fig. 2C is taken as an example, which is a magnetic characteristic curve of the magnetic line region of the jammed paper money, and it can be seen from the figure that the amplitude between the waveform characteristics (corresponding to the peak characteristics of "high, low, high and low") of each period thereof is in a tendency of being greatly reduced. Similarly, assuming that the first magnetic threshold 4000 and the second magnetic threshold 2000 are explained, in the specific determination, it is first determined whether the magnetic characteristic curve satisfies the following condition: the waveform feature of the first cycle has a magnetic value of a part of the peaks larger than the first magnetic threshold, a magnetic value of another part of the peaks between the first magnetic threshold and the second magnetic threshold, and a magnetic value of each of the peaks of the waveform feature of the second cycle is smaller than the first magnetic threshold. If the condition is met, reducing the first magnetic threshold to a third magnetic threshold, and reducing the second magnetic threshold to a fourth magnetic threshold, so that the magnetic values of a part of wave crests of the wave features of the second period in the magnetic characteristic curve are greater than the third magnetic threshold, the magnetic values of another part of wave crests are between the third magnetic threshold and the fourth magnetic threshold, and the third magnetic threshold is greater than the fourth magnetic threshold. And finally, calculating a difference value between the first magnetic threshold value and the third magnetic threshold value or a difference value between the second magnetic threshold value and the fourth magnetic threshold value, and if the calculated difference value exceeds a preset threshold value, determining that the amplitude difference between the waveform characteristics in different periods is large, namely the amplitude difference exceeds the preset threshold value. In fig. 2C, the first period of the waveform feature has 3 "high" peaks that are all greater than the first magnetic threshold (4000), 2 "low" peaks that are all between the first magnetic threshold and the second magnetic threshold (i.e., 2000-4000), and the second period of the waveform feature has peaks that have magnetic values that are less than the first magnetic threshold (4000). That is, the waveform characteristics of the first period and the second period satisfy the condition, and at this time, the set first magnetic threshold and the second magnetic threshold are reduced, and the reduction values of the two may be the same or different, for example, the two magnetic thresholds are reduced by 1400, so as to obtain the third magnetic threshold (2600) and the fourth magnetic threshold (1100), so that the 3 "high" peaks of the waveform characteristic of the second period are all larger than the third magnetic threshold (2600), and the 2 "low" peaks are all between the third magnetic threshold and the fourth magnetic threshold (i.e. 1100-. Finally, the value 1400 of the magnetic threshold decrease is calculated and is higher than a set threshold (e.g. 300), so that it can be determined that the amplitude difference between waveform features of different periods exceeds the preset threshold.
Further, in the step (2), the reducing the first magnetic threshold to a third magnetic threshold and the reducing the second magnetic threshold to a fourth magnetic threshold may include:
(2.1) reducing the first magnetic threshold and the second magnetic threshold by the same step value, respectively;
(2.2) judging whether the magnetic value of a part of wave crests in the wave features of the second period in the magnetic characteristic curve is larger than the first magnetic threshold after reduction, and the magnetic value of the other part of wave crests is between the first magnetic threshold after reduction and the second magnetic threshold after reduction;
(2.3) if so, determining the first magnetic threshold after being reduced as the third magnetic threshold, and determining the second magnetic threshold after being reduced as the fourth magnetic threshold;
(2.4) if not, respectively reducing the reduced first magnetic threshold value and the reduced second magnetic threshold value by one step value again, and then returning to the step (2.2).
When the magnetic threshold is reduced, a gradual adjustment mode can be adopted, namely, a fixed stepping value is reduced by each adjustment, and then whether the reduced magnetic threshold meets the requirement or not is judged. For example, in fig. 2C, the decreasing step value may be set to 200, that is, the threshold value is adjusted from (2000-.
If the magnetic characteristic curve has periodic waveform characteristics corresponding to the type of the paper currency, and the amplitude difference between the waveform characteristics of different periods exceeds a preset threshold value, executing step 205, otherwise executing step 206.
205. Determining that the paper money is jammed;
the magnetic characteristic curve has periodic waveform characteristics corresponding to the types of the paper money, and the amplitude difference between the waveform characteristics in different periods exceeds a preset threshold value and accords with the corresponding characteristics of magnetic data in the magnetic line region of the paper money to be blocked, so that the paper money to be blocked can be judged.
206. Determining that the banknote is not jammed.
The magnetic characteristic curve does not meet the corresponding characteristics of the magnetic data of the magnetic line area of the paper money to be blocked, so that the paper money can be judged to be not blocked.
The method for detecting the paper money clamping provided by the embodiment of the application has the following advantages:
1. in the original detection steps of the paper money, the detection magnetism is necessary, so that the embodiment only detects whether the paper money is jammed in a forward path, does not need to perform any change on the flow logic, and only adds a simple branch.
2. When data analysis is carried out, only one signal is counted and processed, the calculation amount of the data is very small, and the time consumption is short, and the efficiency is high.
3. The paper money counting machine is suitable for various types of paper money and has strong compatibility.
In this embodiment, a specific manner of determining whether a banknote is jammed according to the target magnetic data is provided, that is, a magnetic characteristic curve is constructed based on the target magnetic data, and then it is determined whether the magnetic characteristic curve has a periodic waveform characteristic corresponding to the type of the banknote, and whether an amplitude difference between the waveform characteristics of different periods exceeds a preset threshold, and if the two conditions are met, it is determined that the banknote is jammed. By adopting the mode of constructing the magnetic characteristic curve, the waveform characteristics of the target magnetic data can be intuitively reflected, and whether the current paper money is clamped or not can be accurately and conveniently detected by detecting whether the waveform characteristics meet the specific characteristic conditions of the clamped paper money or not.
Referring to fig. 3, another method for detecting a jammed financial device of a financial device in an embodiment of the present application is shown, including:
301. in the process of money feeding, magnetic data of paper money is detected through a magnetic sensor;
302. extracting target magnetic data of a magnetic line region from the magnetic data;
the steps 301-302 are the same as the steps 101-102, and the related description of the steps 101-102 can be referred to.
303. Matching the target magnetic data with pre-stored first magnetic data to obtain first similarity;
after the target magnetic data is extracted, the target magnetic data is matched with pre-stored first magnetic data to obtain first similarity. The first magnetic data is the magnetic data of the magnetic line region of the paper money which is the same as the type of the paper money and is not blocked. Specifically, the magnetic data of the magnetic line regions of various types of paper money can be stored in advance, after the type of the current paper money to be detected is identified, the corresponding magnetic data of the corresponding type of paper money is found, and then the extracted target magnetic data is matched with the found pre-stored magnetic data to obtain a similarity.
304. Judging whether the first similarity is smaller than a preset threshold value or not;
if the first similarity is smaller than the preset threshold, step 305 is executed, otherwise step 306 is executed.
305. Determining that the paper money is jammed;
the first similarity is smaller than a preset threshold value, which indicates that the magnetic data of the magnetic line region of the currently detected paper money is larger than the magnetic data of the magnetic line region of the paper money which is not blocked, so that the currently detected paper money can be judged to be blocked.
306. Determining that the banknote is not jammed.
The first similarity is larger than or equal to a preset threshold value, which indicates that the magnetic data of the magnetic line region of the currently detected paper money is basically the same as the magnetic data of the magnetic line region of the paper money which is not blocked, so that the currently detected paper money can be judged to be not blocked.
Further, step 306 may include:
(1) identifying the authenticity of the paper currency;
(2) and if the paper money is true, judging that the paper money is blocked.
The pre-stored magnetic data is from the true banknote which is not clamped, and the magnetic data of the true banknote and the counterfeit banknote are different, so in order to improve the accuracy of banknote clamping detection, the authenticity of the banknote also needs to be detected, and only when the banknote is the true banknote, the matching result of the detected target magnetic data and the pre-stored magnetic data is accurate and reliable.
In this embodiment, a specific manner of determining whether a banknote is jammed according to the target magnetic data is provided, that is, the target magnetic data is matched with magnetic data in a magnetic line region of a banknote that is the same as the banknote in type and is not jammed, so as to determine the similarity.
Referring to fig. 4, another method for detecting a jammed financial device of a financial device in an embodiment of the present application is shown, including:
401. in the process of money feeding, magnetic data of paper money is detected through a magnetic sensor;
402. extracting target magnetic data of a magnetic line region from the magnetic data;
the steps 401-402 are the same as the steps 101-102, and the related description of the steps 101-102 can be referred to.
403. Matching the target magnetic data with pre-stored second magnetic data to obtain a second similarity;
after the target magnetic data is extracted, the target magnetic data is matched with pre-stored second magnetic data to obtain a second similarity. The second magnetic data is the magnetic data of the magnetic line region of the clamped paper currency, and the type of the paper currency is the same as that of the paper currency. Specifically, the magnetic data of the magnetic line regions of the different types of jammed paper money can be stored in advance, after the type of the current paper money to be detected is identified, the corresponding magnetic data of the corresponding type of jammed paper money is found, and then the extracted target magnetic data is matched with the found pre-stored magnetic data to obtain a similarity.
404. Judging whether the second similarity is larger than a preset threshold value or not;
if the second similarity is greater than the preset threshold, go to step 405, otherwise go to step 406.
405. Determining that the paper money is jammed;
the second similarity is larger than a preset threshold value, which indicates that the magnetic data of the magnetic line region of the currently detected paper money and the magnetic data of the magnetic line region of the clamped paper money are basically the same, so that the clamping of the currently detected paper money can be judged.
406. Determining that the banknote is not jammed.
The second similarity is smaller than or equal to a preset threshold value, which indicates that the magnetic data of the magnetic line region of the currently detected paper money is larger than the magnetic data of the magnetic line region of the paper money to be blocked, so that the currently detected paper money can be judged to be not blocked.
Further, step 406 may include:
(1) identifying the authenticity of the paper currency;
(2) and if the paper money is true, judging that the paper money is blocked.
The pre-stored magnetic data is from the true banknote which is clamped, and the magnetic data of the true banknote and the counterfeit banknote are different, so that the authenticity of the banknote needs to be detected in order to improve the accuracy of banknote clamping detection, and only when the banknote is the true banknote, the matching result of the detected target magnetic data and the pre-stored magnetic data is accurate and reliable.
In this embodiment, a specific manner of determining whether a banknote is jammed according to the target magnetic data is provided, that is, the target magnetic data is matched with magnetic data in a magnetic line region of a banknote that is the same as the type of the banknote and is jammed, so as to determine the similarity.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
The above mainly describes a method for detecting a card money of a financial device, and a device for detecting a card money of a financial device will be described below.
Referring to fig. 5, an embodiment of a device for detecting a banknote-stuck in financial equipment in the present application includes:
the magnetic data detection module 501 is used for detecting the magnetic data of the paper money through a magnetic sensor in the paper money transporting process;
a magnetic data extraction module 502 for extracting target magnetic data of a magnetic line region from the magnetic data;
and a banknote clamping judgment module 503, configured to judge whether the banknote is clamped according to the target magnetic data.
Further, the banknote jam judging module may include:
a magnetic characteristic curve constructing unit, configured to construct a magnetic characteristic curve based on the target magnetic data, where the magnetic characteristic curve is used to represent magnetic numerical values at various positions on a magnetic line region of the banknote;
and the paper money clamping judgment unit is used for judging that the paper money is clamped if the magnetic characteristic curve has periodic waveform characteristics corresponding to the type of the paper money and the amplitude difference between the waveform characteristics of different periods exceeds a preset threshold value.
Further, the money-jam judging module may further include:
the paper money image acquisition unit is used for acquiring an image of the paper money through an image sensor;
a banknote type determination unit for determining the type of the banknote from the image of the banknote;
the peak feature searching unit is used for searching a peak feature corresponding to the type of the paper money from a pre-constructed database, wherein the peak feature comprises a plurality of peaks with a preset number, and the peaks of the plurality of peaks are not identical;
a waveform feature determination unit configured to determine that the magnetic characteristic curve has a periodic waveform feature corresponding to the type of the bill if the magnetic characteristic curve has the periodic peak feature.
Further, the money-jam judging module may further include:
a first amplitude difference determining unit, configured to determine that an amplitude difference between the waveform features of different periods does not exceed a preset threshold if a magnetic value of a part of peaks in the waveform features of each period in the magnetic characteristic curve is greater than a first magnetic threshold and a magnetic value of another part of peaks is between the first magnetic threshold and a second magnetic threshold, where the second magnetic threshold is smaller than the first magnetic threshold;
a magnetic threshold adjusting unit, configured to reduce the first magnetic threshold to a third magnetic threshold and reduce the second magnetic threshold to a fourth magnetic threshold if the waveform feature of a first period in the magnetic characteristic curve has a magnetic value of a part of peaks larger than the first magnetic threshold, and the waveform feature of a second period in the magnetic characteristic curve has a magnetic value smaller than the first magnetic threshold, so that the waveform feature of the second period in the magnetic characteristic curve has a magnetic value of a part of peaks larger than the third magnetic threshold, and a magnetic value of another part of peaks is between the third magnetic threshold and the fourth magnetic threshold, the third magnetic threshold is greater than the fourth magnetic threshold;
a second amplitude difference determination unit, configured to determine that the amplitude difference between the waveform features of different periods exceeds a preset threshold if a difference between the first magnetic threshold and the third magnetic threshold exceeds a preset threshold, or if a difference between the second magnetic threshold and the fourth magnetic threshold exceeds a preset threshold.
Further, the magnetic threshold adjusting unit may include:
a magnetic threshold value reducing subunit configured to reduce the first magnetic threshold value and the second magnetic threshold value by the same step value, respectively;
a magnetic threshold judging subunit, configured to judge whether a magnetic value of a part of peaks in the waveform feature of the second period in the magnetic feature curve is greater than the first magnetic threshold after being reduced, and a magnetic value of another part of peaks is between the first magnetic threshold after being reduced and the second magnetic threshold after being reduced;
a magnetic threshold determining subunit, configured to determine, if yes, the first magnetic threshold after being reduced as the third magnetic threshold, and determine the second magnetic threshold after being reduced as the fourth magnetic threshold;
and a magnetic threshold adjusting subunit, configured to, if not, decrease the first magnetic threshold after the decrease and the second magnetic threshold after the decrease by one step value respectively, and then return to perform the step of determining whether the magnetic value of a part of the peaks in the waveform feature of the second period in the magnetic feature curve is greater than the first magnetic threshold after the decrease, and the magnetic value of another part of the peaks is between the first magnetic threshold after the decrease and the second magnetic threshold after the decrease.
Further, the banknote jam judging module may include:
the first matching unit is used for matching the target magnetic data with pre-stored first magnetic data to obtain first similarity, wherein the first magnetic data is the magnetic data of a magnetic line area of the paper money which is the same as the type of the paper money and is not blocked;
the first judging unit is used for judging that the paper money is blocked if the first similarity is smaller than a preset threshold value;
the first matching unit is used for matching the target magnetic data with pre-stored second magnetic data to obtain a second similarity, wherein the second magnetic data is the magnetic data of a magnetic line area of the clamped paper money and the type of the paper money is the same;
and the second judging unit is used for judging that the paper money is blocked if the second similarity is larger than a preset threshold value.
Specifically, the first determination unit and the second determination unit may include:
a bill authenticity identifying sub-unit for identifying authenticity of the bill;
and the paper money stuck judging subunit is used for judging that the paper money is stuck if the paper money is true.
The embodiment of the present application further provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for detecting a bill of a financial device as shown in any one of fig. 1 to 4 when executing the computer program.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method for detecting a banknote-stuck in a financial device as shown in any one of fig. 1 to 4.
The embodiment of the present application further provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the steps of implementing the method for detecting a banknote-stuck in a financial device as shown in any one of fig. 1 to 4.
Fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present application. As shown in fig. 6, the terminal device 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60. The processor 60, when executing the computer program 62, implements the steps of the above-described embodiments of the method for detecting a bill jam of each financial device, such as the steps 101 to 103 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of each module/unit in the above-mentioned device embodiments, for example, the functions of the modules 501 to 503 shown in fig. 5.
The computer program 62 may be divided into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the terminal device 6.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal device 6. The memory 61 is used for storing the computer program and other programs and data required by the terminal device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for detecting a card money of a financial device is characterized by comprising the following steps:
in the process of money feeding, magnetic data of paper money is detected through a magnetic sensor;
extracting target magnetic data of a magnetic line region from the magnetic data;
and judging whether the paper money is jammed or not according to the target magnetic data.
2. The method for detecting a jammed banknote according to claim 1, wherein the determining whether the banknote is jammed based on the target magnetic data includes:
constructing a magnetic characteristic curve based on the target magnetic data, wherein the magnetic characteristic curve is used for representing the magnetic numerical value of each position on the magnetic line area of the paper money;
and if the magnetic characteristic curve has periodic waveform characteristics corresponding to the type of the paper money, and the amplitude difference between the waveform characteristics in different periods exceeds a preset threshold value, judging that the paper money is jammed.
3. The method for detecting a jammed banknote according to claim 2, wherein whether the magnetic characteristic curve has a periodic waveform characteristic corresponding to the type of the banknote is judged by:
acquiring an image of the paper money through an image sensor;
determining the type of the paper currency according to the image of the paper currency;
searching a wave crest feature corresponding to the type of the paper money from a pre-constructed database, wherein the wave crest feature comprises a plurality of wave crests in a preset number, and the peak values of the plurality of wave crests are not identical;
and if the magnetic characteristic curve has the periodic wave crest characteristics, determining that the magnetic characteristic curve has periodic wave form characteristics corresponding to the type of the paper currency.
4. The method of claim 3, wherein whether the difference in amplitude between the waveform signatures at different periods exceeds a predetermined threshold is determined by:
if the waveform feature of each period in the magnetic feature curve has a magnetic value of a part of wave peaks larger than a first magnetic threshold value and a magnetic value of another part of wave peaks between the first magnetic threshold value and a second magnetic threshold value, determining that the amplitude difference between the waveform features of different periods does not exceed a preset threshold value, wherein the second magnetic threshold value is smaller than the first magnetic threshold value;
if the waveform feature of the first period in the magnetic characteristic curve has a magnetic value of a part of the peaks larger than the first magnetic threshold value and a magnetic value of another part of the peaks between the first magnetic threshold value and the second magnetic threshold value, and the waveform feature of the second period in the magnetic characteristic curve has a magnetic value of each peak less than the first magnetic threshold, reducing the first magnetic threshold to a third magnetic threshold, reducing the second magnetic threshold to a fourth magnetic threshold, enabling the waveform feature of the second period in the magnetic characteristic curve to have a magnetic value of a part of peaks larger than the third magnetic threshold value and a magnetic value of another part of peaks between the third magnetic threshold value and the fourth magnetic threshold value, wherein the third magnetic threshold value is larger than the fourth magnetic threshold value;
if the difference between the first magnetic threshold and the third magnetic threshold exceeds a preset threshold, or the difference between the second magnetic threshold and the fourth magnetic threshold exceeds a preset threshold, determining that the amplitude difference between the waveform features of different periods exceeds a preset threshold.
5. The method of claim 4, wherein reducing the first magnetic threshold to a third magnetic threshold and reducing the second magnetic threshold to a fourth magnetic threshold comprises:
respectively reducing the first magnetic threshold and the second magnetic threshold by the same step value;
judging whether the magnetic value of a part of wave crests in the wave features of the second period in the magnetic characteristic curve is larger than the first magnetic threshold after reduction, and the magnetic value of the other part of wave crests is between the first magnetic threshold after reduction and the second magnetic threshold after reduction;
if so, determining the reduced first magnetic threshold as the third magnetic threshold, and determining the reduced second magnetic threshold as the fourth magnetic threshold;
if not, respectively reducing the first magnetic threshold value after reduction and the second magnetic threshold value after reduction by one step value, and then returning to execute the step of judging whether the magnetic values of a part of wave crests in the wave characteristics of the second period in the magnetic characteristic curve are larger than the first magnetic threshold value after reduction, and the magnetic values of the other part of wave crests are between the first magnetic threshold value after reduction and the second magnetic threshold value after reduction.
6. The method for detecting a jammed banknote according to claim 1, wherein the determining whether the banknote is jammed based on the target magnetic data includes:
matching the target magnetic data with pre-stored first magnetic data to obtain a first similarity, wherein the first magnetic data is the magnetic data of a magnetic line area of the paper money which is the same as the type of the paper money and is not blocked;
if the first similarity is smaller than a preset threshold value, judging that the paper money is blocked;
or
Matching the target magnetic data with second pre-stored magnetic data to obtain a second similarity, wherein the second magnetic data is the magnetic data of a magnetic line area of the clamped paper money, and the type of the second magnetic data is the same as that of the paper money;
and if the second similarity is larger than a preset threshold value, judging that the paper money is blocked.
7. The method for detecting a jammed banknote according to claim 6, wherein the determining that the banknote is jammed comprises:
identifying the authenticity of the paper currency;
and if the paper money is true, judging that the paper money is blocked.
8. A card money detection device of financial equipment is characterized by comprising:
the magnetic data detection module is used for detecting the magnetic data of the paper money through the magnetic sensor in the paper money walking process;
the magnetic data extraction module is used for extracting target magnetic data of a magnetic line region from the magnetic data;
and the paper money clamping judgment module is used for judging whether the paper money is clamped or not according to the target magnetic data.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of the method for detecting a bill of a financial device according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the method for detecting a bill by a financial device according to any one of claims 1 to 7.
CN201910811942.0A 2019-08-30 2019-08-30 Cash-sticking detection method and device for financial equipment, terminal equipment and storage medium Active CN110599672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910811942.0A CN110599672B (en) 2019-08-30 2019-08-30 Cash-sticking detection method and device for financial equipment, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910811942.0A CN110599672B (en) 2019-08-30 2019-08-30 Cash-sticking detection method and device for financial equipment, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110599672A true CN110599672A (en) 2019-12-20
CN110599672B CN110599672B (en) 2021-10-08

Family

ID=68856729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910811942.0A Active CN110599672B (en) 2019-08-30 2019-08-30 Cash-sticking detection method and device for financial equipment, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110599672B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1325087A (en) * 2000-05-24 2001-12-05 劳雷尔机械株式会社 Paper-money counting machine
JP2007137009A (en) * 2005-11-22 2007-06-07 Lonesome Sugar Kk Money clip
CN201570058U (en) * 2009-11-25 2010-09-01 魏伟 Cash register
CN201910088U (en) * 2010-12-17 2011-07-27 辽宁聚龙金融设备股份有限公司 Magnetic detection sensor mounting structure of banknote sorter and banknote counter
CN102542654A (en) * 2010-12-17 2012-07-04 辽宁聚龙金融设备股份有限公司 Installation structure of magnetism detection sensor of paper money sorter and paper money counting machine
CN103106727A (en) * 2013-01-23 2013-05-15 广州纳龙智能科技有限公司 Magnetic sensor and method of quantitatively identify characteristics of magnetic code hysteresis circuit line
CN104050749A (en) * 2013-04-15 2014-09-17 深圳博众智能科技有限公司 Method for making judgment by automatically selecting different feature points of banknotes
CN106447897A (en) * 2016-08-15 2017-02-22 深圳怡化电脑股份有限公司 Method and apparatus for detecting magnetic characteristics of paper note
CN106780954A (en) * 2016-12-01 2017-05-31 深圳怡化电脑股份有限公司 A kind of method and device of paper money recognition
CN107204072A (en) * 2017-05-25 2017-09-26 深圳怡化电脑股份有限公司 Paper Currency Identification and paper money identifier
CN107316374A (en) * 2017-06-13 2017-11-03 东方通信股份有限公司 A kind of Magnetic testi mechanism for bank note
CN107369240A (en) * 2017-07-10 2017-11-21 深圳怡化电脑股份有限公司 A kind of paper money discrimination method, apparatus, computer and storage medium
CN208156764U (en) * 2018-05-07 2018-11-27 湖南丰汇银佳科技股份有限公司 A kind of currency counting and detecting machine
EP3503047A1 (en) * 2017-12-22 2019-06-26 CI Tech Sensors AG Apparatus for the detection of a magnetic security feature of a value document and method for value compensation for the detection of a magnetic security feature of a valuable document

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1325087A (en) * 2000-05-24 2001-12-05 劳雷尔机械株式会社 Paper-money counting machine
JP2007137009A (en) * 2005-11-22 2007-06-07 Lonesome Sugar Kk Money clip
CN201570058U (en) * 2009-11-25 2010-09-01 魏伟 Cash register
CN201910088U (en) * 2010-12-17 2011-07-27 辽宁聚龙金融设备股份有限公司 Magnetic detection sensor mounting structure of banknote sorter and banknote counter
CN102542654A (en) * 2010-12-17 2012-07-04 辽宁聚龙金融设备股份有限公司 Installation structure of magnetism detection sensor of paper money sorter and paper money counting machine
CN103106727A (en) * 2013-01-23 2013-05-15 广州纳龙智能科技有限公司 Magnetic sensor and method of quantitatively identify characteristics of magnetic code hysteresis circuit line
CN104050749A (en) * 2013-04-15 2014-09-17 深圳博众智能科技有限公司 Method for making judgment by automatically selecting different feature points of banknotes
CN106447897A (en) * 2016-08-15 2017-02-22 深圳怡化电脑股份有限公司 Method and apparatus for detecting magnetic characteristics of paper note
CN106780954A (en) * 2016-12-01 2017-05-31 深圳怡化电脑股份有限公司 A kind of method and device of paper money recognition
CN107204072A (en) * 2017-05-25 2017-09-26 深圳怡化电脑股份有限公司 Paper Currency Identification and paper money identifier
CN107316374A (en) * 2017-06-13 2017-11-03 东方通信股份有限公司 A kind of Magnetic testi mechanism for bank note
CN107369240A (en) * 2017-07-10 2017-11-21 深圳怡化电脑股份有限公司 A kind of paper money discrimination method, apparatus, computer and storage medium
EP3503047A1 (en) * 2017-12-22 2019-06-26 CI Tech Sensors AG Apparatus for the detection of a magnetic security feature of a value document and method for value compensation for the detection of a magnetic security feature of a valuable document
CN208156764U (en) * 2018-05-07 2018-11-27 湖南丰汇银佳科技股份有限公司 A kind of currency counting and detecting machine

Also Published As

Publication number Publication date
CN110599672B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
CN102737435A (en) Paper money discrimination method and device
EP2858042A1 (en) Paper money detection and counting device and detection and counting method
EP1647944A2 (en) Verification of goods using IC tags
CN107331026B (en) Paper money identification method and device
CN105243732A (en) Filtering method and system of sensor information during banknote information
KR101511043B1 (en) Banknote processing apparatus capable of detection, report, integrated management of counterfeit money and control method thereof
CN107507330A (en) Detection method, detection means and the terminal device of banknote thickness abnormity
CN107909747B (en) Method and device for acquiring paper money information and terminal equipment
CN107134045A (en) A kind of detection method, device and the equipment of safety line magnetic feature
CN110599672B (en) Cash-sticking detection method and device for financial equipment, terminal equipment and storage medium
CN103996240B (en) A kind of bank note turnover money system
KR101397722B1 (en) Method and apparatus for medium genuine/counterfeit discriminating, auto teller machine
CN109543554B (en) Bill detection method, device, terminal and computer readable storage medium
CN113192252B (en) Method, device, equipment and readable medium for detecting note duplicate
CN108230546B (en) Banknote thickness abnormality detection method and device, terminal device and storage medium
CN108109284B (en) Deposit transaction processing method, device and computer readable storage medium
CN107358717B (en) A kind of Paper Currency Identification, system and its terminal device
CN107958531B (en) Paper money identification method and device and equipment
KR102273720B1 (en) Bill discrimination apparatus
CN107958535B (en) Method and device for acquiring paper money information and terminal equipment
CN107170111B (en) Control method and device for reducing waste paper money
CN108665604B (en) Method and device for detecting new and old grades of paper money
CN104008596B (en) Detection to non-banknote object
CN107590902B (en) The recovery and recognition methods of clamping stagnation when a kind of bank note transmits
KR20090060004A (en) Apparatus and method for medium recognition, auto teller machine

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