CN112802259B - Method and device for detecting number of paper money in money box, terminal equipment and storage medium - Google Patents

Method and device for detecting number of paper money in money box, terminal equipment and storage medium Download PDF

Info

Publication number
CN112802259B
CN112802259B CN201911108063.8A CN201911108063A CN112802259B CN 112802259 B CN112802259 B CN 112802259B CN 201911108063 A CN201911108063 A CN 201911108063A CN 112802259 B CN112802259 B CN 112802259B
Authority
CN
China
Prior art keywords
weight
paper money
banknote
paper
currency
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.)
Active
Application number
CN201911108063.8A
Other languages
Chinese (zh)
Other versions
CN112802259A (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 CN201911108063.8A priority Critical patent/CN112802259B/en
Publication of CN112802259A publication Critical patent/CN112802259A/en
Application granted granted Critical
Publication of CN112802259B publication Critical patent/CN112802259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/23Means for sensing or detection for sensing the quantity of valuable papers in containers
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D11/00Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
    • G07D11/20Controlling or monitoring the operation of devices; Data handling
    • G07D11/32Record keeping
    • G07D11/34Monitoring the contents of devices, e.g. the number of stored valuable papers
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

The application relates to the technical field of financial machine control, provides a method and a device for detecting the number of paper money in a paper money box, terminal equipment and a storage medium, and can improve the accuracy of detecting the number of paper money in the paper money box. The method comprises the following steps: recording the attribute of each paper currency to be entered into the currency box in the currency detection process; respectively determining a weight error value of each paper currency according to a pre-constructed paper currency weight comparison table and a paper currency attribute of each paper currency, wherein the paper currency weight comparison table records the corresponding relation between the paper currency attribute and the paper currency weight, the weight error value of any target paper currency is the weight difference value between the target paper currency and a single standard paper currency, and the standard paper currency has a designated paper currency attribute; weighing the total weight of the paper money in the paper money box after adding the paper money in the paper money box; and determining the number of the paper money in the paper money box according to the total weight of the paper money, the weight of a single piece of the standard paper money and the weight error value of each paper money.

Description

Method and device for detecting number of paper money in money box, 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 the number of paper money in a money box, terminal equipment and a storage medium.
Background
Currently, when detecting the number of paper money in a paper money box, a paper money weighing method is generally adopted. That is, the banknotes in the banknote cassette are weighed to obtain the total weight of the banknotes, and then the total weight of the banknotes is divided by the weight of a single banknote to obtain the number of banknotes. However, since the banknotes stored in the banknote cassette may have different attributes (such as different classes, different denominations, different versions) and the like, and the banknotes with different attributes usually have different weights, this may result in a lower accuracy of the number of banknotes obtained by the above-mentioned banknote weighing method.
Disclosure of Invention
In view of this, the embodiment of the present application provides a method, an apparatus, a terminal device and a storage medium for detecting the number of banknotes in a banknote box, which can improve the accuracy of detecting the number of banknotes in the banknote box.
A first aspect of an embodiment of the present application provides a method for detecting the number of banknotes in a banknote cassette, including:
recording the attribute of each paper currency to be entered into the currency box in the currency detection process;
respectively determining a weight error value of each paper currency according to a pre-constructed paper currency weight comparison table and a paper currency attribute of each paper currency, wherein the paper currency weight comparison table records the corresponding relation between the paper currency attribute and the paper currency weight, the weight error value of any target paper currency is the weight difference value between the target paper currency and a single standard paper currency, and the standard paper currency has a designated paper currency attribute;
weighing the total weight of the paper money in the paper money box after adding the paper money in the paper money box;
and determining the number of the paper money in the paper money box according to the total weight of the paper money, the weight of a single piece of the standard paper money and the weight error value of each paper money.
In the currency detection process, the attribute of each piece of currency to enter the currency box, such as the attribute of the category, denomination, version and the like of the currency, is recorded. Then, according to the pre-constructed paper money weight comparison table and the paper money attribute of each paper money, the weight error value of each paper money, namely the difference between the weight of the paper money and the weight of the standard paper money is respectively determined. After the total weight of the paper money in the paper money box is obtained through weighing, the number of the paper money in the paper money box can be determined by combining the total weight of the paper money, the weight of a single piece of standard paper money and the weight error value of each piece of paper money, so that the weight error between the non-standard paper money and the standard paper money with different paper money attributes can be offset through operation, and the accuracy of detecting the number of the paper money in the paper money box can be effectively improved.
Further, the weight error value of the target banknote may be determined according to the following steps:
acquiring the paper money attribute of the target paper money;
searching a first weight of a single banknote corresponding to the banknote attribute of the target banknote and a second weight of a single banknote corresponding to the banknote attribute of the standard banknote from the banknote weight comparison table;
and calculating the difference between the first weight and the second weight to obtain a weight error value of the target paper money.
Further, the searching the banknote weight table for the first weight of the single banknote corresponding to the banknote attribute of the target banknote may include:
searching a third weight of a single banknote corresponding to the type of the target banknote from the banknote type weight comparison table;
searching the fourth weight of the single paper currency corresponding to the version of the target paper currency from the paper currency version weight comparison table;
searching a fifth weight of a single banknote corresponding to the denomination of the target banknote from the banknote denomination weight comparison table;
looking up a sixth weight of a single banknote corresponding to the contamination grade of the target banknote from the banknote contamination weight look-up table;
searching a seventh weight of a single banknote corresponding to the unfilled corner condition of the target banknote from the banknote unfilled corner weight comparison table;
subtracting 4 times of the second weight from the sum of the third weight, the fourth weight, the fifth weight, the sixth weight and the seventh weight to obtain the first weight.
Further, the determining the number of the banknotes in the banknote cassette according to the total weight of the banknotes, the weight of a single standard banknote and the weight error value of each banknote may include:
dividing the total weight of the paper money by the weight of a single piece of standard paper money to obtain the initial paper money number;
and correcting the initial number of the paper money by combining the weight error value of each piece of the paper money to obtain the number of the paper money in the paper money box.
Firstly weighing all paper money entering the paper money box once, and then dividing the weighed weight by the weight of a single standard paper money to obtain the initial number of the paper money. Then, the initial number of banknotes is corrected by combining the obtained weight error value of each banknote, and the actual number of banknotes in the banknote box is obtained.
Specifically, the correcting the initial number of banknotes by combining the weight error value of each banknote to obtain the number of banknotes in the banknote cassette may include:
calculating the sum of the weight error values of each paper currency to obtain error weight;
dividing the error weight by the weight of a single standard paper currency to obtain an error quantity;
and calculating the sum of the initial banknote quantity and the error quantity to obtain the banknote quantity in the banknote box.
Further, the determining the number of the banknotes in the banknote cassette according to the total weight of the banknotes, the weight of a single standard banknote, and the weight error value of each banknote may include:
calculating the sum of the weight error values of each paper currency to obtain error weight;
subtracting the error weight from the total weight of the paper money to obtain a corrected weight;
and dividing the corrected weight by the weight of a single standard paper currency to obtain the number of the paper currencies in the cash box.
Further, in the process of checking the banknote, the method may further include:
recording the number of paper money to be entered into the money box;
after determining the number of banknotes in the banknote cassette, the method may further comprise:
and if the difference value between the number of the paper money to enter the paper money box and the number of the paper money in the paper money box exceeds a preset threshold value, outputting alarm information.
A second aspect of the embodiments of the present application provides a device for detecting the number of banknotes in a banknote cassette, including:
the paper money attribute recording module is used for recording the paper money attribute of each paper money to enter the paper money box in the process of money detection;
the weight error determining module is used for respectively determining the weight error value of each piece of paper money according to a paper money weight comparison table which is constructed in advance and the paper money attribute of each piece of paper money, wherein the paper money weight comparison table records the corresponding relation between the paper money attribute and the paper money weight, the weight error value of any one target paper money is the weight difference value between the target paper money and a single standard paper money, and the standard paper money has a designated paper money attribute;
the paper money weighing module is used for weighing the total weight of the paper money in the paper money box after the paper money is added into the paper money box;
and the paper money quantity determining module is used for determining the quantity of the paper money in the paper money box according to the total weight of the paper money, the weight of a single piece of standard paper money and the weight error value of each piece of paper money.
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 implements the steps of the method for detecting the number of banknotes in a banknote cassette, as provided in the first aspect of the embodiments of the present application, when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method of detecting the number of banknotes in a cassette as provided in 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 the number of banknotes in a banknote cassette according to the first aspect of the embodiments of the present application.
It is to be understood that, for the beneficial effects of the second aspect to the fifth aspect, reference may be made to the relevant description in the first aspect, and details 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 the number of banknotes in a banknote cassette according to an embodiment of the present application;
FIG. 2 is a flowchart of a second embodiment of a method for detecting the number of banknotes in a banknote cassette according to an embodiment of the present application;
FIG. 3 is a flowchart of a method for detecting the number of banknotes in a banknote cassette according to a third embodiment of the present disclosure;
FIG. 4 is a flowchart of a fourth embodiment of a method for detecting the number of banknotes in a banknote cassette according to the embodiment of the present application;
FIG. 5 is a structural diagram of an embodiment of an apparatus for detecting the number of banknotes in a banknote cassette 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 the number of paper money in a paper money box, terminal equipment and a storage medium, and can improve the accuracy of detecting the number of paper money in the paper money box. 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 the number of banknotes in a banknote cassette in an embodiment of the present application is shown, including:
101. recording the paper money attribute of each paper money to enter the paper money box in the process of detecting the paper money;
in the process of cash depositing and withdrawing transactions, the currency detecting device is adopted to detect each paper currency entering the currency box, and record the characteristics of the type, the version, the denomination, the stain, the unfilled corner and the like of the paper currency, so that the attribute information of the paper currency, such as the type, the version, the denomination, the stain grade, the unfilled corner condition and the like of each paper currency entering the currency box, is obtained.
102. Respectively determining the weight error value of each paper currency according to a pre-constructed paper currency weight comparison table and the paper currency attribute of each paper currency;
and then, respectively determining the weight error value of each piece of paper currency according to a pre-constructed paper currency weight comparison table and the paper currency attribute of each piece of paper currency. The banknote weight comparison table records the corresponding relation between the banknote attributes and the banknote weights, the weight error value of any one target banknote is the weight difference value between the target banknote and a single standard banknote, and the standard banknote has the designated banknote attributes. For example, considering the denomination attribute of the banknote, the standard banknote is a 100-dollar banknote, and the target banknote is a 50-dollar banknote, the weight error value of the target banknote is the weight difference between the 50-dollar banknote and the 100-dollar banknote. Or, considering the category, version and denomination attributes of the banknotes, the standard banknote is the 100-yuan RMB of the 2015-year version, and the target banknote is the 50-yuan RMB of the 2009 version, the weight error value of the target banknote is the weight difference between the 50-yuan RMB of the 2009 version and the 100-yuan RMB of the 2015-year version.
Specifically, the weight error value of the target banknote may be determined according to the following steps:
(1) Acquiring the paper money attribute of the target paper money;
(2) Searching a first weight of a single banknote corresponding to the banknote attribute of the target banknote and a second weight of a single banknote corresponding to the banknote attribute of the standard banknote from the banknote weight comparison table;
(3) And calculating the difference between the first weight and the second weight to obtain a weight error value of the target paper money.
TABLE 1
Figure BDA0002271909590000061
Figure BDA0002271909590000071
Taking the banknote weight comparison table shown in table 1 as an example, assuming that the target banknote is a banknote of 50 yuan denomination and the standard banknote is a banknote of 100 yuan denomination, a single banknote of 1.2g corresponding to 50 yuan denomination and a single banknote of 1.5g corresponding to 100 yuan denomination can be found from table 1. Then, the weight error value of the target banknote is 1.2g-1.5g = -0.3g.
Further, the banknote weight comparison table includes a banknote category weight comparison table, a banknote version weight comparison table, a banknote denomination weight comparison table, a banknote defect weight comparison table and a banknote defect weight comparison table, the banknote attributes include the category, version, denomination, defect grade and defect condition of the banknote, and the searching for the first weight of a single banknote corresponding to the banknote attribute of the target banknote from the banknote weight comparison table includes:
(1) Searching a third weight of a single banknote corresponding to the type of the target banknote from the banknote type weight comparison table;
(2) Searching the fourth weight of the single paper currency corresponding to the version of the target paper currency from the paper currency version weight comparison table;
(3) Searching a fifth weight of a single banknote corresponding to the denomination of the target banknote from the banknote denomination weight comparison table;
(4) Looking up a sixth weight of a single banknote corresponding to the insult level of the target banknote from the banknote insult weight comparison table;
(5) Searching a seventh weight of a single banknote corresponding to the unfilled corner condition of the target banknote from the banknote unfilled corner weight comparison table;
(6) Subtracting 4 times of the second weight from the sum of the third weight, the fourth weight, the fifth weight, the sixth weight and the seventh weight to obtain the first weight.
In practical operation, the attributes of the banknote may be separated, and a banknote weight comparison table may be constructed for each attribute, and specifically, the banknote weight comparison table may include 5 tables, such as a banknote category weight comparison table, a banknote version weight comparison table, a banknote denomination weight comparison table, a banknote contamination weight comparison table, and a banknote unfilled corner weight comparison table. After obtaining the banknote attributes such as the type, version, denomination, stain level and unfilled corner condition of the target banknote, the weight x of a single banknote corresponding to the type of the target banknote can be searched from the banknote type weight comparison table 1 Looking up the weight x of a single banknote corresponding to the version of the target banknote from the banknote version weight comparison table 2 Looking up the weight x of a single banknote corresponding to the denomination of the target banknote from the banknote denomination weight look-up table 3 Looking up the weight x of a single banknote corresponding to the insult level of the target banknote from the banknote insult weight look-up table 4 Looking up the weight x of the single note corresponding to the corner defect condition of the target note from the note corner defect weight comparison table 5 . Then, the first weight g 1 =x 1 +x 2 +x 3 +x 4 +x 5 -4g 2 Wherein g is 2 Representing the weight of standard paper currency, the weight error value of target paper currency is g 1 -g 2= x 1 +x 2 +x 3 +x 4 +x 5 -5g 2 I.e. the sum of the weight error values corresponding to the respective banknote attributes.
103. Weighing the total weight of the paper money in the paper money box after adding the paper money in the paper money box;
specifically, a banknote weighing device may be provided in the banknote box, and after the banknote box is filled with banknotes, the weighing device is used to weigh the total weight of the banknotes in the banknote box.
104. And determining the number of the paper money in the paper money box according to the total weight of the paper money, the weight of a single piece of the standard paper money and the weight error value of each paper money.
And finally, determining the number of the paper money in the paper money box according to the total weight of the paper money, the weight of a single standard paper money and the weight error value of each paper money. In a traditional banknote weighing method, the total weight of weighed banknotes is generally directly divided by the weight of a single standard banknote to obtain the number of banknotes in a banknote box. However, the number of banknotes obtained by conventional banknote weighing methods is not accurate, since banknotes stored in the banknote cassette may have different attributes (e.g. different types, different denominations, different versions), etc., whereas banknotes of different attributes usually have different weights. In view of this, in the embodiment of the present application, when determining the number of the banknotes, a weight error value of each banknote entering the banknote box is considered, so as to offset a weight error between the non-standard banknote and the standard banknote having different banknote attributes, and effectively improve accuracy of detecting the number of the banknotes in the banknote box.
In the currency detection process, the attribute of each piece of currency to enter the currency box, such as the attribute of the category, denomination, version and the like of the currency, is recorded. Then, according to the pre-constructed paper money weight comparison table and the paper money attribute of each paper money, the weight error value of each paper money, namely the difference between the weight of the paper money and the weight of the standard paper money is respectively determined. After the total weight of the paper money in the paper money box is obtained through weighing, the number of the paper money in the paper money box can be determined by combining the total weight of the paper money, the weight of a single piece of standard paper money and the weight error value of each piece of paper money, so that the weight error between the non-standard paper money and the standard paper money with different paper money attributes can be offset through operation, and the accuracy of detecting the number of the paper money in the paper money box can be effectively improved.
Referring to fig. 2, another method for detecting the number of banknotes in a banknote cassette in an embodiment of the present application is shown, including:
201. recording the attribute of each paper currency to be entered into the currency box in the currency detection process;
202. respectively determining the weight error value of each paper currency according to a pre-constructed paper currency weight comparison table and the paper currency attribute of each paper currency;
203. weighing the total weight of the paper money in the paper money box after adding the paper money in the paper money box;
steps 201-203 are the same as steps 101-103, and reference may be made to the related descriptions of steps 101-103.
204. Dividing the total weight of the paper money by the weight of a single standard paper money to obtain the initial number of the paper money;
after the total weight of the paper money in the paper money box is weighed, the total weight of the paper money is divided by the weight of a single standard paper money to obtain the initial number of the paper money. For example, if the standard banknotes are 100 yuan RMB, the weight is 1.5 g/piece, and the total weight of the weighed banknotes is 1020g, the initial number of banknotes is 1020/1.5= 680.
205. And correcting the initial number of the banknotes by combining the weight error value of each banknote to obtain the number of the banknotes in the banknote box.
If the standard banknotes with the same attribute are stored in the banknote box, the obtained initial banknote quantity is relatively accurate. In practice, however, banknotes of various attributes are stored in the banknote cassette, and in order to obtain an accurate banknote count result, the initial banknote count needs to be corrected in combination with the weight error value of each banknote.
The specific modification mode may include:
(1) Calculating the sum of the weight error values of each paper currency to obtain error weight;
(2) Dividing the error weight by the weight of a single piece of standard paper money to obtain an error quantity;
(3) And calculating the sum of the initial number of the paper money and the error number to obtain the number of the paper money in the paper money box.
For example, the initial number of the paper money is 680, and the sum of the calculated weight error values of the paper money entering the paper money box is 150g as the error weight; dividing the error weight by 1.5g of the weight of a single standard banknote to obtain 150g/1.5g of error pieces which are not less than 100; finally, the sum of the initial banknote number and the error number is calculated, namely 680+100=780, and the sum is used as the corrected banknote number in the banknote box.
In the currency detection process, the attribute of each piece of currency to enter the currency box, such as the attribute of the category, denomination, version and the like of the currency, is recorded. Then, according to the pre-constructed paper money weight comparison table and the paper money attribute of each paper money, the weight error value of each paper money, namely the difference between the weight of the paper money and the weight of the standard paper money is respectively determined. After the total weight of the paper money in the paper money box is obtained through weighing, the number of the paper money in the paper money box can be determined by combining the total weight of the paper money, the weight of a single piece of standard paper money and the weight error value of each paper money. Compared with the first embodiment of the present application, this embodiment proposes a specific way to determine the number of banknotes in the banknote cassette according to the total weight of the banknotes, the weight of a single standard banknote and the weight error value of each banknote.
Referring to fig. 3, another method for detecting the number of banknotes in a banknote cassette in an embodiment of the present application is shown, including:
301. recording the attribute of each paper currency to be entered into the currency box in the currency detection process;
302. respectively determining the weight error value of each paper currency according to a pre-constructed paper currency weight comparison table and the paper currency attribute of each paper currency;
303. weighing the total weight of the paper money in the paper money box after adding the paper money in the paper money box;
steps 301-303 are the same as steps 101-103, and reference may be made to the related descriptions of steps 101-103.
304. Calculating the sum of the weight error values of each paper currency to obtain error weight;
305. subtracting the error weight from the total weight of the paper money to obtain a corrected weight;
306. and dividing the corrected weight by the weight of a single standard paper currency to obtain the number of the paper currencies in the cash box.
For steps 304-306, the following is illustrated: assuming that the total weight of the weighed paper money is 1020g, and the weight of a single piece of standard paper money is 1.5g, the sum of the calculated weight error values of the paper money entering the paper money box is-150 g, and the sum is used as the error weight; subtracting the error weight from the total weight of the paper currency to obtain corrected weight of 1020g- (-150 g) =1170g; finally, the corrected weight is divided by the weight of a single standard banknote to obtain the banknote number of the banknote box of 1170g/1.5g = 780. The principle of this processing method is to correct the total weight of the weighed banknotes to a corrected weight (i.e. the weight that should be assumed if all the banknotes in the banknote cassette are standard banknotes), and finally divide the corrected weight by the weight of a single standard banknote, thereby obtaining a relatively accurate number of banknotes.
In the currency detection process, the attributes of each piece of currency to enter the currency box, such as the attributes of the category, denomination and version of the currency, are recorded. Then, according to the pre-constructed paper money weight comparison table and the paper money attribute of each paper money, the weight error value of each paper money, namely the difference between the weight of the paper money and the weight of the standard paper money is respectively determined. After the total weight of the paper money in the paper money box is obtained through weighing, the number of the paper money in the paper money box can be determined by combining the total weight of the paper money, the weight of a single piece of standard paper money and the weight error value of each piece of paper money. Compared with the second embodiment of the present application, this embodiment provides another specific way to determine the number of banknotes in the banknote cassette according to the total weight of the banknotes, the weight of a single standard banknote, and the weight error value of each banknote.
Referring to fig. 4, another method for detecting the number of banknotes in a banknote cassette in an embodiment of the present application is shown, including:
401. in the process of currency detection, the number of the paper currencies to enter the currency box and the attribute of each paper currency are recorded;
in the process of currency detection, the embodiment not only records the attribute of each piece of paper currency to be entered into the paper currency box, but also records the number of the paper currencies to be entered into the paper currency box as the logic counting of the paper currencies.
402. Respectively determining the weight error value of each paper currency according to a pre-constructed paper currency weight comparison table and the paper currency attribute of each paper currency;
403. weighing the total weight of the paper money in the paper money box after adding the paper money in the paper money box;
404. determining the number of the paper money in the paper money box according to the total weight of the paper money, the weight of a single piece of the standard paper money and the weight error value of each paper money;
steps 402-404 are the same as steps 102-104, and reference may be made specifically to the description of steps 102-104.
405. And if the difference value between the number of the paper money to enter the paper money box and the number of the paper money in the paper money box exceeds a preset threshold value, outputting alarm information.
After determining the number of banknotes in the banknote cassette, the difference between the number of banknotes to be entered into the banknote cassette (logical count) recorded in step 401 and the number of banknotes in the banknote cassette (physical count) determined in step 404 is determined. Under normal conditions, the number of paper money to enter the paper money box and the number of paper money in the paper money box should be the same or similar, if the difference between the two is large, it indicates that abnormal conditions such as manual modification of physical counting of the paper money box, manual stealing of paper money, or false paper money error exist, and at the moment, alarm information is output to remind relevant paper money box monitoring personnel to pay attention.
In the currency detection process, the number of the banknotes to enter the currency box and the attributes of each banknote, such as the category, denomination and version of the banknote, are recorded. Then, according to the pre-constructed paper money weight comparison table and the paper money attribute of each paper money, the weight error value of each paper money, namely the difference between the weight of the paper money and the weight of the standard paper money is respectively determined. After the total weight of the paper money in the paper money box is obtained through weighing, determining the number of the paper money in the paper money box by combining the total weight of the paper money, the weight of a single piece of standard paper money and the weight error value of each paper money; and finally, if the difference value between the number of the paper money to enter the paper money box and the number of the paper money in the paper money box exceeds a preset threshold value, outputting alarm information. Through the arrangement, the abnormal condition of the number of the paper money in the paper money box can be found in time.
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.
A method of detecting the number of banknotes in a banknote cassette is described above primarily, and an apparatus for detecting the number of banknotes in a banknote cassette is described below.
Referring to fig. 5, an embodiment of an apparatus for detecting the number of banknotes in a banknote cassette in an embodiment of the present application includes:
the banknote attribute recording module 501 is used for recording the banknote attribute of each banknote to be fed into the banknote box in the banknote detection process;
the weight error determining module 502 is configured to determine a weight error value of each banknote according to a banknote weight comparison table constructed in advance and a banknote attribute of each banknote, where the banknote weight comparison table records a correspondence between a banknote attribute and a banknote weight, a weight error value of any target banknote is a weight difference value between the target banknote and a single standard banknote, and the standard banknote has an assigned banknote attribute;
the banknote weighing module 503 is configured to weigh the total weight of the banknotes in the banknote box after the banknote box is filled with banknotes;
and a banknote number determining module 504, configured to determine the number of banknotes in the banknote box according to the total weight of the banknotes, the weight of a single standard banknote, and the weight error value of each banknote.
Further, the device for detecting the number of paper money in the paper money box can further comprise:
the paper money attribute acquisition module is used for acquiring the paper money attribute of the target paper money;
the paper money weight searching module is used for searching a first weight of a single paper money corresponding to the paper money attribute of the target paper money and a second weight of the single paper money corresponding to the paper money attribute of the standard paper money from the paper money weight comparison table;
and the weight error calculation module is used for calculating the difference between the first weight and the second weight to obtain the weight error value of the target paper money.
Further, the banknote weight lookup table may include a banknote category weight lookup table, a banknote version weight lookup table, a banknote denomination weight lookup table, a banknote insult weight lookup table, and a banknote unfilled corner weight lookup table, and the banknote attributes may include a banknote category, version, denomination, insult level, and unfilled corner condition:
a first weight searching unit, configured to search a third weight of a single banknote corresponding to the category of the target banknote from the banknote category weight lookup table;
the second weight searching unit is used for searching a fourth weight of a single banknote corresponding to the version of the target banknote from the banknote version weight comparison table;
the third weight searching unit is used for searching a fifth weight of a single banknote corresponding to the denomination of the target banknote from the banknote denomination weight comparison table;
a fourth weight searching unit for searching a sixth weight of a single banknote corresponding to the stain level of the target banknote from the banknote stain weight look-up table;
a fifth weight searching unit, configured to search, from the banknote unfilled corner weight comparison table, a seventh weight of a single banknote corresponding to the unfilled corner condition of the target banknote;
and the banknote weight calculating unit is used for subtracting 4 times of the second weight from the sum of the third weight, the fourth weight, the fifth weight, the sixth weight and the seventh weight to obtain the first weight.
Further, the banknote quantity determination module may include:
the initial paper money number calculating unit is used for dividing the total weight of the paper money by the weight of a single piece of standard paper money to obtain the initial paper money number;
and the banknote number correction unit is used for correcting the initial banknote number by combining the weight error value of each banknote to obtain the banknote number in the banknote box.
Further, the bill quantity correction unit may include:
the error weight operator unit is used for calculating the sum of weight error values of each paper currency to obtain error weight;
the error counting operator unit is used for dividing the error weight by the weight of a single piece of standard paper money to obtain the error number;
and the paper money number correction subunit is used for calculating the sum of the initial paper money number and the error number to obtain the paper money number in the paper money box.
Further, the banknote quantity determination module may include:
the error weight calculation unit is used for calculating the sum of weight error values of each piece of paper money to obtain error weight;
the corrected weight calculating unit is used for subtracting the error weight from the total weight of the paper money to obtain a corrected weight;
and the paper money number calculating unit is used for dividing the corrected weight by the weight of a single piece of standard paper money to obtain the number of the paper money in the paper money box.
Further, the device for detecting the number of paper money in the paper money box can further comprise:
the banknote number recording module is used for recording the number of banknotes to enter the banknote box;
and the alarm information output module is used for outputting alarm information if the difference value between the number of the paper money to enter the paper money box and the number of the paper money in the paper money box exceeds a preset threshold value.
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 capable of running on the processor, where the processor implements the steps of any one of the methods for detecting the number of banknotes in a banknote cassette, as shown in 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 any one of the steps of the method for detecting the number of banknotes in a banknote cassette, as shown in fig. 1 to 4.
The embodiment of the present application further provides a computer program product, which, when running on a terminal device, enables the terminal device to execute the steps of implementing any one of the methods for detecting the number of banknotes in a banknote cassette, as shown in 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 the number of banknotes in a banknote cassette, such as the steps 101 to 104 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 501 to 504 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 technical solution. 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, and the like. 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 to illustrate the technical solutions of the present application, and not to limit 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 (8)

1. A method for detecting the number of paper money in a money box is characterized by comprising the following steps:
recording the paper money attribute of each paper money to enter the paper money box in the process of detecting the paper money;
respectively determining a weight error value of each paper currency according to a paper currency weight comparison table which is constructed in advance and the paper currency attribute of each paper currency, wherein the paper currency weight comparison table records the corresponding relation between the paper currency attribute and the paper currency weight, the weight error value of any target paper currency is the weight difference value between the target paper currency and a single piece of standard paper currency, and the standard paper currency has an appointed paper currency attribute;
weighing the total weight of the paper money in the paper money box after adding the paper money in the paper money box;
determining the number of the paper money in the paper money box according to the total weight of the paper money, the weight of a single piece of the standard paper money and the weight error value of each paper money;
wherein the weight error value of the target banknote is determined according to the following steps:
acquiring the paper money attribute of the target paper money;
searching a first weight of a single banknote corresponding to the banknote attribute of the target banknote and a second weight of a single banknote corresponding to the banknote attribute of the standard banknote from the banknote weight comparison table; calculating the difference between the first weight and the second weight to obtain a weight error value of the target paper money;
the method for searching the first weight of the single banknote corresponding to the banknote attribute of the target banknote from the banknote weight comparison table comprises the following steps of:
searching a third weight of a single banknote corresponding to the type of the target banknote from the banknote type weight comparison table;
looking up the fourth weight of a single banknote corresponding to the version of the target banknote from the banknote version weight comparison table;
searching a fifth weight of a single banknote corresponding to the denomination of the target banknote from the banknote denomination weight comparison table;
looking up a sixth weight of a single banknote corresponding to the insult level of the target banknote from the banknote insult weight comparison table;
searching a seventh weight of a single banknote corresponding to the unfilled corner condition of the target banknote from the banknote unfilled corner weight comparison table;
subtracting 4 times of the second weight from the sum of the third weight, the fourth weight, the fifth weight, the sixth weight and the seventh weight to obtain the first weight.
2. The method of detecting the number of notes in a cassette as claimed in claim 1, wherein said determining the number of notes in the cassette based on the total weight of the notes, the weight of a single standard note and the weight error value for each note comprises:
dividing the total weight of the paper money by the weight of a single standard paper money to obtain the initial number of the paper money;
and correcting the initial number of the paper money by combining the weight error value of each piece of the paper money to obtain the number of the paper money in the paper money box.
3. The method of detecting a banknote count for a banknote cassette as claimed in claim 2 wherein said correcting said initial banknote count in combination with said error in weight of each banknote to obtain said banknote count for said cassette comprises:
calculating the sum of the weight error values of each paper currency to obtain error weight;
dividing the error weight by the weight of a single standard paper currency to obtain an error quantity;
and calculating the sum of the initial banknote quantity and the error quantity to obtain the banknote quantity in the banknote box.
4. The method of detecting the number of notes in a cassette as claimed in claim 1, wherein said determining the number of notes in the cassette based on the total weight of the notes, the weight of a single standard note and the weight error value for each note comprises:
calculating the sum of the weight error values of each paper currency to obtain error weight;
subtracting the error weight from the total weight of the paper money to obtain a corrected weight;
and dividing the corrected weight by the weight of a single standard paper currency to obtain the number of the paper currencies in the cash box.
5. Method for detecting the number of banknotes in a banknote cassette according to any one of claims 1 to 4, characterized in that during the verification of the banknotes it further comprises:
recording the number of paper money to be entered into the paper money box;
after the number of paper money in the paper money box is determined, the method further comprises the following steps:
and if the difference value between the number of the paper money to enter the paper money box and the number of the paper money in the paper money box exceeds a preset threshold value, outputting alarm information.
6. A device for detecting the number of paper money in a paper money box is characterized by comprising:
the paper money attribute recording module is used for recording the paper money attribute of each paper money to enter the paper money box in the process of money detection;
the weight error determining module is used for respectively determining the weight error value of each piece of paper money according to a paper money weight comparison table which is constructed in advance and the paper money attribute of each piece of paper money, wherein the paper money weight comparison table records the corresponding relation between the paper money attribute and the paper money weight, the weight error value of any one target paper money is the weight difference value between the target paper money and a single standard paper money, and the standard paper money has a designated paper money attribute;
the paper money weighing module is used for weighing the total weight of the paper money in the paper money box after the paper money is added into the paper money box;
the paper money number determining module is used for determining the number of the paper money in the paper money box according to the total weight of the paper money, the weight of a single piece of standard paper money and the weight error value of each piece of paper money;
the paper money attribute acquisition module is used for acquiring the paper money attribute of the target paper money;
the paper money weight searching module is used for searching a first weight of a single paper money corresponding to the paper money attribute of the target paper money and a second weight of the single paper money corresponding to the paper money attribute of the standard paper money from the paper money weight comparison table;
the weight error calculation module is used for calculating the difference between the first weight and the second weight to obtain a weight error value of the target paper money;
the banknote weight comparison table comprises a banknote category weight comparison table, a banknote version weight comparison table, a banknote denomination weight comparison table, a banknote contamination weight comparison table and a banknote unfilled corner weight comparison table, the banknote attributes comprise the category, version, denomination, contamination grade and unfilled corner condition of the banknote, and the banknote weight lookup module comprises:
the first weight searching unit is used for searching the third weight of the single paper currency corresponding to the type of the target paper currency from the paper currency type weight comparison table;
the second weight searching unit is used for searching a fourth weight of a single banknote corresponding to the version of the target banknote from the banknote version weight comparison table;
a third weight searching unit, configured to search a fifth weight of a single banknote corresponding to the denomination of the target banknote from the banknote denomination weight look-up table;
a fourth weight searching unit for searching a sixth weight of a single banknote corresponding to the stain level of the target banknote from the banknote stain weight look-up table;
a fifth weight searching unit, configured to search, from the banknote unfilled corner weight comparison table, a seventh weight of a single banknote corresponding to the unfilled corner condition of the target banknote;
and the banknote weight calculating unit is used for subtracting 4 times of the second weight from the sum of the third weight, the fourth weight, the fifth weight, the sixth weight and the seventh weight to obtain the first weight.
7. Terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, carries out the steps of the method of detecting the number of banknotes of a cassette as claimed in any one of claims 1 to 5.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of a method of detecting a number of banknotes of a banknote cassette as claimed in any one of claims 1 to 5.
CN201911108063.8A 2019-11-13 2019-11-13 Method and device for detecting number of paper money in money box, terminal equipment and storage medium Active CN112802259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911108063.8A CN112802259B (en) 2019-11-13 2019-11-13 Method and device for detecting number of paper money in money box, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911108063.8A CN112802259B (en) 2019-11-13 2019-11-13 Method and device for detecting number of paper money in money box, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112802259A CN112802259A (en) 2021-05-14
CN112802259B true CN112802259B (en) 2023-03-31

Family

ID=75803380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911108063.8A Active CN112802259B (en) 2019-11-13 2019-11-13 Method and device for detecting number of paper money in money box, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112802259B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101625778B (en) * 2009-08-10 2012-01-11 深圳捷佳德现金自动化处理设备有限公司 Automatic bundled money receipt and payment system
US8668069B1 (en) * 2012-11-30 2014-03-11 Outerwall Inc. Differential detection coin discrimination systems and methods for use with consumer-operated kiosks and the like
CN203950377U (en) * 2014-07-08 2014-11-19 国家电网公司 The built-in Paper currency identifier of a kind of electric power self-service payment terminal
CN205644773U (en) * 2016-05-27 2016-10-12 杭州电子科技大学 Coin paper currency separator
CN206891562U (en) * 2017-06-23 2018-01-16 潘风景 A kind of scale with cash inspecting machine
CN109872442B (en) * 2019-02-15 2021-02-02 常州万泰天平仪器有限公司 Coin detection method and system and coin weight detector

Also Published As

Publication number Publication date
CN112802259A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN110599670B (en) Abnormal detection method and system for number of paper money in money box, server and financial equipment
CA2067823C (en) Method and apparatus for validating money
CN110599675B (en) Method and device for detecting number of paper money in money box, terminal equipment and storage medium
CN107492215B (en) Method for sharing bank note in ATM and ATM terminal
CN107767588A (en) A kind of cash box condition detection method and atm device
WO2005071623A1 (en) Detecting misplaced cash items within cash drawers
CN108133540B (en) Detection method and detection device for abnormal number of paper money in paper money box and electronic equipment
CN107909747B (en) Method and device for acquiring paper money information and terminal equipment
CN104835245B (en) The method of the installation of medium cassette installation detecting device and detection medium cassette
CN107358759B (en) Clearing method and system of financial self-service equipment, terminal equipment and storage medium
CN112802259B (en) Method and device for detecting number of paper money in money box, terminal equipment and storage medium
US8844808B2 (en) Cash till load cell
CN108109284B (en) Deposit transaction processing method, device and computer readable storage medium
CN102870141B (en) Pay the method for bank note by ATM and perform the ATM of the method
CN110599668B (en) Abnormal detection method and system for number of paper money in money box, server and financial equipment
CN107958535B (en) Method and device for acquiring paper money information and terminal equipment
CN108648330B (en) Deposit and withdrawal management method, deposit and withdrawal management device and self-service terminal
CN108665604B (en) Method and device for detecting new and old grades of paper money
CN108091080B (en) Bank note box management method, bank note box management device and electronic equipment
CN114596681B (en) Method and device for processing exception of circulator
CN113255672B (en) Paper money identification method and device and terminal equipment
JP7358893B2 (en) cash handling equipment
CN115100786B (en) Cash management and control method, system, equipment and storage medium
CN110599672B (en) Cash-sticking detection method and device for financial equipment, terminal equipment and storage medium
CN108154595B (en) Currency detection data correction method, currency detection data correction device and computer readable storage medium

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