CN113192272B - Banknote issuing method, banknote issuing device, terminal and storage medium - Google Patents

Banknote issuing method, banknote issuing device, terminal and storage medium Download PDF

Info

Publication number
CN113192272B
CN113192272B CN202010035423.2A CN202010035423A CN113192272B CN 113192272 B CN113192272 B CN 113192272B CN 202010035423 A CN202010035423 A CN 202010035423A CN 113192272 B CN113192272 B CN 113192272B
Authority
CN
China
Prior art keywords
banknote
box
discharged
boxes
difference 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.)
Active
Application number
CN202010035423.2A
Other languages
Chinese (zh)
Other versions
CN113192272A (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 CN202010035423.2A priority Critical patent/CN113192272B/en
Publication of CN113192272A publication Critical patent/CN113192272A/en
Application granted granted Critical
Publication of CN113192272B publication Critical patent/CN113192272B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F19/00Complete banking systems; Coded card-freed arrangements adapted for dispensing or receiving monies or the like and posting such transactions to existing accounts, e.g. automatic teller machines
    • G07F19/20Automatic teller machines [ATMs]
    • G07F19/203Dispensing operations within ATMs
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D11/00Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
    • G07D11/20Controlling or monitoring the operation of devices; Data handling
    • 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/24Managing the stock of valuable papers

Landscapes

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

Abstract

The embodiment of the invention discloses a banknote discharging method, which comprises the following steps: receiving a banknote outlet instruction, and determining the target banknote outlet quantity contained in the banknote outlet instruction; determining the corresponding banknote deposit quantity of each banknote box to be discharged, and arranging all banknote boxes to be discharged according to the banknote deposit quantity from large to small to generate a banknote box sequence; respectively calculating first difference values of the quantity of the deposited notes in two adjacent cash boxes to be discharged in the cash box sequence; determining the corresponding banknote dispensing quantity of each banknote box to be dispensed according to the first difference value and the target banknote dispensing quantity; and controlling the banknote box to be subjected to banknote discharging according to the banknote discharging distribution quantity. In addition, the embodiment of the invention also discloses a device and a terminal for balancing the banknote discharging and a computer readable storage medium. By adopting the invention, the working frequency of each banknote box in the automatic teller machine can be balanced, the banknote box is prevented from aging due to excessive operation, and the maintenance cost is reduced.

Description

Banknote issuing method, banknote issuing device, terminal and storage medium
Technical Field
The present invention relates to the field of financial instruments, and in particular, to a banknote dispensing method, device, terminal, and storage medium.
Background
The automatic teller machine is equipment for enabling clients to carry out bank counter services such as withdrawal, deposit, transfer and the like through machines, and based on the equipment, the automatic teller machine can reduce the business such as withdrawal, deposit or transfer and the like carried out by users through manual counters, so that the business handling speed of banks is greatly improved. Typical automated teller machines typically include a plurality of currency cassettes, each of which holds an unequal number of currency items. During the process of withdrawing and depositing money by a user, the automatic teller machine can put paper money into a specific paper money box or withdraw a certain amount of paper money from the paper money box.
The operation mode has the effects that when the quantity of the stored paper money in the paper money boxes is inconsistent or the deviation is larger, the working frequency of the paper money boxes with more or less stored paper money is far higher than that of the paper money boxes with other stored paper money quantity in the middle, so that the ageing of the individual paper money boxes is too fast, the maintenance times are increased, and the maintenance cost is increased.
Disclosure of Invention
In view of the above, the invention provides a banknote discharging method, device, terminal and storage medium, which are used for solving the problem that in the prior art, the banknote box with large working frequency is aged too fast due to the fact that the working frequency of the banknote box is too large.
The embodiment of the invention has the following specific technical scheme:
in a first aspect, an embodiment of the present invention provides a method for dispensing a banknote, including:
Receiving a banknote outlet instruction, and determining the target banknote outlet quantity contained in the banknote outlet instruction;
determining the corresponding banknote deposit quantity of each banknote box to be dispensed, and arranging all banknote boxes to be dispensed according to the banknote deposit quantity from large to small to generate a banknote box sequence;
Respectively calculating first difference values of the quantity of the deposited banknotes in two adjacent banknote boxes to be discharged in the banknote box sequence;
Determining the corresponding banknote dispensing quantity of each banknote box to be dispensed according to the first difference value and the target banknote dispensing quantity;
and controlling the banknote box to be subjected to banknote discharging according to the banknote discharging distribution quantity.
Optionally, the determining, according to the first difference value and the target banknote output number, a banknote output distribution number corresponding to each banknote to be output box includes:
Generating a corresponding difference sequence according to the first difference value;
Multiplying each first difference value in the difference value sequence by the serial number of the first difference value in the difference value sequence in sequence to obtain a multiplied sum value, and calculating a second difference value between the target banknote output quantity and the sum value;
Traversing each second difference value, and determining a target banknote outlet box according to the second difference value under the condition that the second difference value is smaller than or equal to zero; and
And determining the banknote dispensing quantity of each target banknote outlet box according to the second difference value, the first difference value and the quantity of the target banknote outlet boxes which are greater than or equal to zero.
Optionally, the arranging all the banknote boxes to be paid out according to the banknote storage quantity from large to small includes:
judging whether banknote boxes to be discharged with the same banknote storage quantity exist or not;
And under the condition that the banknote boxes to be discharged with the same banknote storage quantity exist, the banknote boxes to be discharged with the same banknote storage quantity are sequentially arranged.
Optionally, after the arranging all the banknote boxes to be paid out according to the banknote storage quantity from large to small, the method includes:
calculating the average value of the number of the deposited banknotes in all banknote boxes to be discharged.
Optionally, the method further comprises:
Judging whether the number of the deposited banknotes in each banknote box to be discharged is smaller than the average value;
When the number of the deposited banknotes in each banknote box to be deposited is smaller than the average value, executing the step of arranging the banknote boxes to be deposited according to the number of the deposited banknotes from large to small, and executing the step of calculating the average value of the number of the deposited banknotes in all the banknote boxes to be deposited.
Optionally, the calculating the first difference value of the number of the deposited banknotes in the two adjacent banknote boxes to be ejected in the banknote box sequence includes:
And calculating the difference of the number of the deposited banknotes in the previous banknote box to be discharged and the next banknote box to be discharged as the first difference in the two adjacent banknote boxes to be discharged of the banknote box sequence.
In a second aspect, an embodiment of the present invention provides a banknote dispensing apparatus, including:
the instruction receiving module is used for receiving a banknote outlet instruction;
the banknote box arrangement module is used for arranging all banknote boxes to be discharged according to the banknote storage quantity from large to small;
the first calculation module is used for calculating a first difference value of the quantity of the deposited notes in two adjacent banknote boxes to be discharged in the banknote box sequence;
the sequence generation module is used for generating a corresponding difference sequence according to the first difference value;
The second calculation module is used for multiplying each first difference value in the difference value sequence by the serial number of the first difference value in the difference value sequence in sequence, calculating the sum value after multiplication, and calculating a second difference value between the number of the target banknote and the sum value;
The quantity distribution module is used for determining the corresponding banknote outlet distribution quantity of each banknote box to be subjected to banknote outlet according to the first difference value and the target banknote outlet quantity;
And the banknote outlet control module is used for controlling banknote outlet of the banknote box according to the banknote outlet distribution quantity.
Optionally, the banknote dispensing device further includes:
the numerical value traversing module is used for performing traversing operation on each second difference value;
the average value calculating module is used for calculating the average value of the number of the deposited banknotes contained in all banknote boxes to be discharged;
The quantity judging module is used for judging whether the quantity of the paper money stored in the paper money box to be discharged is smaller than the average value or not and judging whether the paper money box to be discharged with the same quantity of the paper money exists or not.
In a third aspect, an embodiment of the present invention further provides a terminal, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the method for issuing bank notes as described above when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer readable storage medium comprising computer instructions which, when run on a computer, cause the computer to perform a method of banknote dispensing as described above.
The implementation of the embodiment of the invention has the following beneficial effects:
After the banknote discharging method, the banknote discharging device, the banknote discharging terminal and the banknote storage medium are adopted, banknote box sequences are obtained by arranging banknote boxes to be discharged according to the banknote storage quantity from large to small, and the difference between the banknote storage quantity in the previous banknote box and the banknote storage quantity in the next banknote box in two adjacent banknote box sequences to be discharged is calculated as a first difference; determining the target banknote output quantity based on the received banknote output instruction, and determining the banknote output distribution quantity corresponding to each banknote to be output box according to the target banknote output quantity and the first difference value; and then controlling the corresponding banknote boxes to carry out banknote discharging according to the determined banknote discharging distribution quantity, so as to finish banknote discharging. According to the embodiment, based on the first difference value of the banknote storage quantity of two adjacent banknote storage boxes in the banknote storage box sequence and the difference value relation between the target banknote storage quantity and the first difference value, the corresponding banknote storage boxes to be discharged are controlled to discharge banknotes according to the banknote discharge distribution quantity, so that balance operation of the banknote discharge quantity of all banknote storage boxes to be discharged is realized, working frequencies among the banknote storage boxes to be discharged are balanced, the banknote storage boxes to be discharged with overlarge working frequencies are avoided, and the banknote storage boxes to be discharged are reduced in maintenance times and maintenance cost.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Wherein:
FIG. 1 is a flow chart of a method of dispensing money according to one embodiment;
FIG. 2 is a flow chart of a method for dispensing money according to another embodiment;
FIG. 3 is a flow chart of a method of dispensing money according to yet another embodiment;
FIG. 4 is a schematic diagram of a banknote dispensing apparatus according to an embodiment;
FIG. 5 is a schematic diagram of a banknote dispensing apparatus according to another embodiment;
fig. 6 is a schematic diagram of the internal structure of a computer device for running the banknote dispensing method according to one embodiment.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The automatic teller machine solves the problems that in the prior art, certain banknote boxes are excessively high in working frequency in the banknote distribution process, so that the aging speed of the corresponding banknote boxes is increased, the maintenance times of the automatic teller machine are increased, and the maintenance cost is increased. In this embodiment, a method for dispensing money is specifically provided. The implementation of the method may rely on a computer program that is executable on a von neumann system-based computer system.
The banknote discharging method of the embodiment can determine the banknote discharging quantity of each banknote discharging box according to the target banknote discharging quantity of a user in one banknote discharging process of the user, so that the corresponding banknote discharging quantity of each banknote discharging box can be determined according to the banknote storing quantity in the banknote discharging process, the relative equilibrium state among the banknote discharging boxes is realized, namely the working frequency of each banknote discharging box can be relatively balanced, and the situation that the maintenance cost is increased due to overlarge working frequency of part of banknote discharging boxes is avoided.
Specifically, as shown in fig. 1, the banknote dispensing method provided in this embodiment includes steps S10 to S50:
step S10: and receiving a banknote outlet instruction, and determining the target banknote outlet quantity contained in the banknote outlet instruction.
In this embodiment, the banknote dispensing instruction is specifically determined by a button, a display screen, etc. set on the atm, and in one embodiment, the banknote dispensing instruction is determined on the atm, and the target banknote dispensing amount in a banknote dispensing process is determined according to the banknote dispensing instruction.
The banknote outlet instruction is specifically implemented through touch keys arranged on the display screen, such as a cash withdrawal button, a cash withdrawal amount button, a nine-grid digital key and the like; after the user clicks "withdraw money", the user enters the corresponding input box, and a specific amount of money can be input to the input box through the physical key or the "nine-grid number key", such as "500", "1000", "2000" and the like. Or by clicking a preset money withdrawing amount button on the automatic teller machine, for example, after the general automatic teller machine clicks the money withdrawing button, buttons such as 1000, 2000 and the like correspondingly appear, and a user can determine the specific money outlet amount only by clicking the corresponding button.
In one embodiment, after the user performs corresponding operation on the automatic teller machine, the corresponding banknote outlet instruction is received, so that the corresponding target banknote outlet quantity is determined, and banknote outlet of the banknote box is controlled based on the target banknote outlet quantity.
Step S20: determining the corresponding banknote deposit quantity of each banknote box to be discharged, and arranging all banknote boxes to be discharged according to the banknote deposit quantity from large to small to generate a banknote box sequence.
In order to realize the balance of the working frequency of each banknote box to be discharged, after the target banknote discharging quantity is determined according to the banknote discharging instruction, the banknote boxes to be discharged are arranged according to the banknote storing quantity from large to small to generate a corresponding banknote box sequence.
For example, assuming that the automatic teller machine includes 4 banknote boxes, the 4 banknote boxes are taken as banknote boxes to be discharged, and if the number of deposited banknotes included in the 4 banknote boxes to be discharged is 95, 56, 31 and 78 respectively, the banknote box sequence generated according to the number of deposited banknotes of each banknote box to be discharged is: the banknote counting machine comprises a banknote case 1 to be counted (including banknote counting number is 95), a banknote case 2 to be counted (including banknote counting number is 78), a banknote case 3 to be counted (including banknote counting number is 56) and a banknote case 4 to be counted (including banknote counting number is 31).
In order to give better use experience to the user, after determining the corresponding deposit amount in all the banknote boxes to be discharged at each time, the sum of the deposit amounts in all the banknote boxes to be discharged is further determined. At this time, the number of the target banknote out is compared with the sum, so that whether banknote out operation can be completed through all banknote out boxes to be processed can be judged. Specifically, when the sum of the stored banknote numbers is smaller than the target banknote output number, the user is reminded that the stored banknote number in the banknote output box is insufficient, and banknote taking cannot be completed. The reminding mode can be realized through display of a display screen, voice broadcasting and the like.
In an alternative embodiment, in order to avoid the problem of arranging the banknote boxes to be discharged with the same banknote storage quantity, as shown in fig. 2, the banknote storage quantity of each banknote box to be discharged is compared to determine whether the banknote boxes to be discharged with the same banknote storage quantity exist. The banknote boxes to be discharged with the same banknote deposit quantity are arranged in sequence, namely the banknote boxes to be discharged with the same banknote deposit quantity are arranged according to any sequence, but the banknote boxes to be discharged with the same banknote deposit quantity are arranged between a minimum value with the banknote deposit quantity larger than the banknote deposit quantity and a maximum value with the banknote deposit quantity smaller than the banknote deposit quantity.
For example, assuming that the automatic teller machine includes 6 banknote boxes to be paid out, if each banknote box to be paid out includes the banknote deposit number 77, 31, 50 and 66, respectively, in the process of generating the banknote box sequence according to the banknote deposit number, three banknote boxes with the banknote deposit number 77 can be arranged at any position, that is, the three banknote boxes can be arranged at any position on the first position, the second position and the third position of the banknote box sequence, the finally determined banknote box sequence is: banknote cassette 1 (including banknote deposit quantity of 77), banknote cassette 2 (including banknote deposit quantity of 77), banknote cassette 3 (including banknote deposit quantity of 77), banknote cassette 4 (including banknote deposit quantity of 66), banknote cassette 5 (including banknote deposit quantity of 50) and banknote cassette 6 (including banknote deposit quantity of 31) to be discharged.
The banknote boxes to be discharged are arranged according to the banknote storage quantity from large to small, so that on one hand, a user can be informed of the actual banknote storage quantity condition in the banknote boxes to be discharged in time, and better experience is given to the user; on the other hand, the corresponding banknote box sequence is generated, and the banknote outlet quantity of each banknote box to be discharged is controlled according to the actual banknote storage quantity of each banknote box to be discharged, so that the banknote outlet among the banknote boxes to be discharged is relatively balanced.
Step S30: respectively calculating first difference values of the quantity of the deposited notes in two adjacent cash boxes to be discharged in the cash box sequence;
in one embodiment, based on the banknote box sequence generated in the step S20, for all the two adjacent banknote boxes to be ejected, the difference between the number of banknotes stored in the previous banknote box to be ejected and the number of banknotes stored in the next banknote box to be ejected is calculated as the first difference.
Illustratively, it is assumed that the automatic teller machine includes 4 banknote boxes to be ejected, and the banknote box sequence generated by the 4 banknote boxes to be ejected according to the banknote storage amount is: to be discharged the paper money case 1 (including deposit paper money quantity is 95), to be discharged the paper money case 2 (including deposit paper money quantity is 78), to be discharged the paper money case 3 (including deposit paper money quantity is 56) and to be discharged the paper money case 4 (including deposit paper money quantity is 31), then calculate respectively: the difference between the number of deposited banknotes in the banknote cassette 1 to be ejected and the banknote cassette 2 to be ejected, the difference between the number of deposited banknotes in the banknote cassette 2 to be ejected and the banknote cassette 3 to be ejected, and the difference between the number of deposited banknotes in the banknote cassette 3 to be ejected and the banknote cassette 4 to be ejected are used as a first difference, namely the difference: 95-78=17, 78-56=22, 56-31=25 as the first difference.
By calculating the first difference value of two adjacent banknote boxes to be discharged in the banknote box sequence, banknote discharging control is conveniently carried out on each banknote box to be discharged according to the banknote storage quantity and the first difference value in the banknote discharging process, and the banknote boxes to be discharged with a large banknote storage quantity are ensured to discharge more banknotes in each banknote discharging process; at this time, the banknote boxes to be discharged with less banknote storage quantity can not discharge banknotes or only discharge a small part of banknotes, so that the working frequency of each banknote box to be discharged is similar in the banknote discharging process of the banknote boxes to be discharged, and the mutual balance banknote discharging among the banknote boxes to be discharged is ensured.
Step S40: determining the corresponding banknote dispensing quantity of each banknote box to be dispensed according to the first difference value and the target banknote dispensing quantity;
in one embodiment, because the final banknote output quantity is determined based on the target banknote output quantity, after the target banknote output quantity is determined according to the banknote output instruction under the condition that the banknote storage quantity in the banknote output boxes is not uniform, the banknote output quantity of each banknote output box is determined by combining the first difference value between the banknote storage quantities in the banknote output boxes so as to realize the effect of balancing banknote output.
In one embodiment, as shown in fig. 3, determining the corresponding banknote dispensing number of each banknote to be dispensed box according to the first difference value and the target banknote dispensing number includes the following steps:
step S401: and generating a corresponding difference sequence according to the first difference, and calculating a second difference of the sum value obtained by multiplying the first difference of the preset number in the target banknote number and the difference sequence by the first difference sequence.
Specifically, each first difference value in the difference sequence is multiplied by the serial number of the first difference value in the difference sequence in sequence, the sum value after multiplication is obtained, and the difference between the number of the target banknotes and the sum value is calculated to be used as a second difference value.
Because the number of the deposited banknotes of each banknote box to be discharged is different, in order to ensure the balance of the working frequency among all banknote boxes to be discharged after the banknote taking of a user is completed, after corresponding difference sequences are generated for all the first difference values obtained through calculation, the first difference values with the preset number are multiplied by the serial numbers of the first difference values in sequence, and the multiplied sum value is obtained; and then calculating a second difference value of the sum and the quantity of the target banknote, and determining a target banknote-out box according to the second difference value.
For example, assuming that the target banknote number is set to 50, the automatic teller machine includes 4 banknote boxes to be ejected, and the banknote storage numbers included in the 4 banknote boxes to be ejected are respectively 95, 56, 31 and 78, the generated banknote box sequences are sequentially: the first difference value comprises three values of 17, 22 and 25, and a difference value sequence {17, 22 and 25} is generated according to the first difference value, wherein the number of the 17 in the difference value sequence is 1, the number of the 22 in the difference value sequence is 2, and the number of the 25 in the difference value sequence is 3.
Wherein, the sum value of the first difference value in the difference value sequence {17, 22, 25} multiplied by the sequence of the first difference value is sequentially: 17×1=17, 17+22×2=61, 17+22×2+25×3=136, the corresponding second differences are respectively: 50-17=33, 50-61= -11, 50-136= -86.
Step S402: traversing each second difference value, and judging whether the second difference value is smaller than or equal to zero.
Specifically, a second difference between the number of the target banknotes and the sum is calculated, and the second difference is compared with zero. Illustratively, based on the second difference obtained in step S402, described above: 33. -11 and-86, then the values less than zero in the second difference value are known to include: -11<0, -86<0. If the second difference is less than or equal to zero, step S403 is performed, otherwise step S401 is repeated.
Step S403: determining a target banknote outlet box according to the second difference value; step S404: and determining the banknote dispensing quantity of each target banknote outlet box according to the second difference value, the first difference value and the quantity of the target banknote outlet boxes which are greater than or equal to zero.
Specifically, under the condition that the second difference value is smaller than or equal to zero, the corresponding banknote box to be discharged after being smaller than zero can be determined without continuing to discharge banknotes, namely, the banknote box to be discharged corresponding to the second difference value which is larger than or equal to zero is used as the target banknote box to discharge banknotes, and the banknote discharging operation of the target banknote quantity can be completed. Therefore, the banknote dispensing quantity of each banknote outlet box can be determined according to all the second difference values, the first difference values and the quantity of the banknote outlet boxes which are greater than or equal to zero.
In combination with step S401 and step S402, each time of banknote discharging starts by the banknote to be discharged with a large number of banknote storage boxes, and when the second difference between the sum and the target banknote discharge number is calculated to be smaller than zero, it can be determined that the banknote to be discharged corresponding to all the first differences corresponding to the sum can finish banknote discharging operation.
Illustratively, based on the difference sequence {17, 22, 25} generated in the step S401, in order to achieve the uniformity of the banknote output frequency of each banknote to be output, and the maximum number of banknotes stored in the banknote to be output 1, the banknote to be output 1 is output for the first time, and the number of banknotes to be output is 17, at this time, the number of banknotes stored in the banknote to be output 1 is 78, that is, the same or similar number of banknotes stored in the banknote to be output 1 and the banknote to be output 2 can be ensured after the banknote to be output 1 is output for the first round; since the number of the target banknotes is 50, the number of the banknotes is 50-17=33, and at this time, since the number of the banknotes stored in the banknote cassette 1 to be discharged is the same as the number of the banknotes stored in the banknote cassette 2 to be discharged, in order to ensure the balance of the banknote cassette discharge, the banknote is discharged from the second wheel through the banknote cassette 1 to be discharged and the banknote cassette 2 to be discharged. Meanwhile, as the unit number of the banknotes is a positive integer, 17 banknotes can be continuously discharged from the banknote case 1 to be discharged, 16 banknotes still need to be discharged from the banknote case 2 to be discharged, and at the moment, banknote discharging operation with the target banknote discharge quantity of 50 is completed through the banknote case 1 to be discharged and the banknote case 2 to be discharged.
It can be known that the target banknote-out banknote boxes are banknote-out banknote boxes 1 and banknote-out banknote boxes 2, the banknote-out distribution number of the banknote-out banknote boxes 1 is 17+17=34, and the banknote-out distribution number of the banknote-out banknote boxes 2 is 16.
In one embodiment, all the target banknote outlet boxes are determined according to whether the second difference value is greater than or equal to zero, and the banknote outlet times of each target banknote outlet box and the corresponding banknote outlet distribution number are determined according to the first difference value, all the second difference values greater than zero and the number of the target banknote outlet boxes. Based on the above-mentioned related data, the first banknote-out number of the banknote-out boxes 1 to be ejected is determined by the first difference 17, and the second banknote-out number of the banknote-out boxes 1 to be ejected and the banknote-out number of the banknote-out boxes 2 to be ejected are determined by the number 2 of the target banknote-out boxes and the second difference 33.
The target banknote outlet boxes in the banknote box sequence are determined through the second difference value, the banknote outlet distribution quantity of each target banknote outlet box is determined through the first difference value, the second difference value and the quantity of the target banknote outlet boxes, and banknote distribution is sequentially carried out according to the banknote storage quantity in the banknote outlet boxes from large to small in the banknote outlet process according to the target banknote outlet quantity, so that the balance of working frequencies among all the banknote outlet boxes is ensured.
In an alternative embodiment, since the banknote boxes to be ejected are firstly arranged from large to small according to the banknote storage quantity in the banknote taking process, and banknote boxes with the largest banknote storage quantity in the banknote box sequence are ejected in the banknote ejecting process for the first time, if banknote ejection is performed based on the steps S10-S40, the banknote boxes with the largest banknote storage quantity in the banknote box sequence are ejected with the largest banknote ejection time in the banknote ejecting process; at this time, if the number of the bill discharging boxes related to the bill discharging process is relatively large, the condition that the bill box with the largest bill storing number has larger working frequency in the whole bill discharging process may occur.
For example, assuming that 11 banknote boxes are included in total and the number of banknote boxes to be discharged is 10 times, according to the above steps, it can be known that the banknote boxes to be discharged corresponding to the largest number of banknote boxes to be discharged are 10 times, and the banknote boxes to be discharged corresponding to the largest number of banknote boxes to be discharged are 9 times, and the banknote boxes to be discharged are sequentially decremented until the banknote boxes to be discharged at the 10 th rank in the 11 banknote boxes to be discharged are discharged, and then the banknote discharging operation is completed. To avoid this, in one embodiment, after the banknote boxes to be discharged are arranged according to the number of banknotes from large to small, an average value of the number of banknotes stored in all the banknote boxes to be discharged is calculated, that is, an average value of the number of banknotes stored in all the banknote boxes to be discharged in the automatic teller machine is calculated, and based on the average value, it is determined whether the working frequency of the individual banknote boxes to be discharged is too high in the whole banknote discharging process. As shown in fig. 3, the method specifically comprises the following steps:
step S405: judging whether the number of deposited paper money in each paper money box to be discharged is smaller than the average value.
After the target banknote-out banknote boxes and the corresponding banknote-out distribution number are determined in the step S40, after each target banknote-out banknote box executes banknote-out action according to the banknote-out distribution number, the banknote-out quantity of all banknote-out banknote boxes in the banknote box sequence is compared with the average value, so as to judge whether the banknote-out quantity of all banknote-out banknote boxes is smaller than the average value. If the number of the deposited banknotes in all banknote cassettes to be discharged is smaller than the average value, step S406 is executed; otherwise, step S407 is performed.
Step S406: rearranging the banknote boxes according to the large banknote storage quantity from small banknote storage quantity, and calculating the average value of the banknote storage quantity in all banknote boxes to be discharged again.
Specifically, when the number of deposited banknotes in each banknote box to be deposited is smaller than the average value, it is indicated that in the banknote box depositing process, there is a situation that the working frequency of the banknote box to be deposited is too high or the banknote box to be deposited is not uniform in distribution number, based on the situation, all banknote boxes to be deposited are rearranged according to the number of deposited banknotes from large to small, a new banknote box sequence is obtained, and the average value of the number of deposited banknotes of all banknote boxes to be deposited in the new banknote box sequence is recalculated.
Step S407: if the number of the banknotes is smaller than the target banknote taking number, continuing to send out the banknotes, otherwise, completing the banknote sending.
Specifically, when the number of the deposited banknotes of each banknote box to be discharged is larger than the average value, further judging whether the total banknote discharging number of all the target banknote box to be discharged is smaller than the target banknote discharging number; if the number of the banknotes is smaller than the target banknote number, banknote discharging is continued, namely, the banknote discharging operation is continued according to the target banknote discharging box determined by the second difference value and the banknote discharging distribution number of each target banknote discharging box determined by the first difference value, the second difference value and the target banknote discharging box; otherwise, the banknote discharging is completed.
By setting the average value of the number of the deposited banknotes in all banknote boxes to be deposited, and arranging all banknote boxes to be deposited according to the number of the deposited banknotes from large to small when the real-time number of the deposited banknotes in all banknote boxes to be deposited is smaller than the average value, a new banknote box sequence is obtained, and the average value corresponding to the new banknote box sequence is recalculated, so that the balance of the number of deposited banknotes in the banknote box to be deposited in the banknote depositing process can be ensured, and the balance of the banknote depositing working frequency of each banknote box to be deposited can be ensured.
Step S50: and controlling the banknote box to be subjected to banknote discharging according to the banknote discharging distribution quantity.
In one embodiment, the target banknote outlet boxes are determined according to the second difference values, and after the banknote outlet distribution number of each target banknote outlet box is determined according to the first difference values, all the second difference values larger than zero and the number of the target banknote outlet boxes, the corresponding target banknote outlet boxes can be controlled to carry out banknote outlet according to the banknote outlet distribution number so as to carry out banknote taking operation through the automatic teller machine.
In one embodiment, the balance of the banknote discharging among the banknote discharging boxes can be realized, the working frequencies of the banknote discharging boxes are guaranteed to be similar, and after the banknote discharging is finished each time, the banknote storing quantity of each banknote discharging box is guaranteed to be closest.
After the target banknote output quantity is determined, determining the banknote output sequence and the banknote output distribution quantity of each banknote box according to the quantity of the banknotes stored in the banknote box to be output, namely the banknote box to be output with a large quantity of banknotes is output first and more banknotes are output, the banknote box to be output with a small quantity of banknotes is output after the banknote box to be output is output with fewer banknotes, balance of banknote output among the banknote boxes to be output is ensured, balance of working frequency of the banknote boxes to be output is realized, maintenance cost of the banknote boxes to be output can be reduced, and service life of the banknote boxes to be output is prolonged.
Based on the same inventive concept, an embodiment of the present invention provides a banknote dispensing device 100, where the banknote dispensing device 100 is applied to an automatic teller machine including a banknote case to be dispensed. Specifically, as shown in fig. 4, the banknote dispensing apparatus 100 includes: the instruction receiving module 101 is used for receiving a banknote outlet instruction; the banknote box arrangement module 102 is used for arranging all banknote boxes to be discharged according to the number of banknotes stored from large to small; a first calculating module 103, configured to calculate a first difference value of the number of deposited banknotes in two adjacent banknote cassettes to be ejected in the banknote cassette sequence; a sequence generating module 104, configured to generate a corresponding difference sequence according to the first difference value; a second calculating module 105, configured to multiply each first difference value in the difference sequence with a sequence number of the first difference value in the difference sequence in sequence, calculate a sum value after multiplication, and calculate a second difference value of the number of banknotes and the sum value of the target; the quantity distribution module 106 is configured to determine a corresponding banknote output distribution quantity of each banknote box to be output according to the first difference value and the target banknote output quantity; the banknote outlet control module 107 is configured to control the banknote outlet of the corresponding banknote box 111 according to the banknote outlet distribution number.
In one embodiment, as shown in fig. 5, the banknote dispensing apparatus 100 further includes: a value traversing module 108, configured to perform a traversing operation on each second difference value; the average value calculating module 109 is used for calculating the average value of the number of stored notes in all the to-be-discharged note boxes; the number judging module 110 is configured to judge whether the number of the banknotes stored in the banknote cassette to be discharged is smaller than the average value, and judge whether the banknote cassette to be discharged with the same number of the banknotes exists.
It should be noted that, the implementation of the banknote dispensing device 100 is consistent with the implementation concept of the banknote dispensing method, and the implementation principle is not described herein, and specific reference may be made to the corresponding content in the banknote dispensing method.
After the method and the device for discharging the paper money are adopted, the paper money box sequences are obtained by arranging the paper money boxes to be discharged according to the paper money storage quantity from large to small, and the difference between the paper money storage quantity in the previous paper money box and the paper money storage quantity in the next paper money box in the two adjacent paper money boxes to be discharged is calculated as a first difference; determining target banknote output quantity based on banknote output instructions, and determining banknote output distribution quantity corresponding to each banknote to be output box according to the target banknote output quantity and the first difference value; and then controlling the corresponding banknote boxes to carry out banknote discharging according to the determined banknote discharging distribution quantity. According to the embodiment, based on the first difference value of the banknote storage quantity of two adjacent banknote storage boxes in the banknote storage box sequence and the difference value relation between the target banknote storage quantity and the first difference value, the corresponding banknote storage boxes to be discharged are controlled to discharge banknotes according to the banknote discharge distribution quantity, so that balance operation of the banknote discharge quantity of all banknote storage boxes to be discharged is realized, working frequencies among the banknote storage boxes to be discharged are balanced, the banknote storage boxes to be discharged with overlarge working frequencies are avoided, and the banknote storage boxes to be discharged are reduced in maintenance times and maintenance cost.
FIG. 6 illustrates an internal block diagram of a computer device in one embodiment. The computer device may be a server or a terminal. As shown in fig. 6, the computer device includes a processor, a memory, and a network interface connected by a system bus. The memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system, and may also store a computer program that, when executed by the processor, causes the processor to implement a banknote dispensing method. The internal memory may also store a computer program which, when executed by the processor, causes the processor to perform the method of dispensing notes. It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements are applied, and that a particular computer device may include more or fewer components than shown in fig. 6, or may combine certain components, or have a different arrangement of components.
In one embodiment, the banknote dispensing method provided by the application can be implemented in the form of a computer program, and the computer program can run on a computer device as shown in fig. 6. The memory of the computer device may store the various program modules that make up the banknote dispensing apparatus. Such as instruction receiving module 101, etc.
In one embodiment, a computer device is presented comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of: receiving a banknote outlet instruction, and determining the target banknote outlet quantity contained in the banknote outlet instruction; determining the corresponding banknote deposit quantity of each banknote box to be discharged, and arranging all banknote boxes to be discharged according to the banknote deposit quantity from large to small to generate a banknote box sequence; respectively calculating first difference values of the quantity of the deposited notes in two adjacent cash boxes to be discharged in the cash box sequence; determining the corresponding banknote dispensing quantity of each banknote box to be dispensed according to the first difference value and the target banknote dispensing quantity; and controlling the banknote box to be subjected to banknote discharging according to the banknote discharging distribution quantity.
Those skilled in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by a computer program for instructing relevant hardware, where the program may be stored in a non-volatile computer readable storage medium, and where the program, when executed, may include processes in the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The foregoing disclosure is illustrative of the present invention and is not to be construed as limiting the scope of the invention, which is defined by the appended claims.

Claims (5)

1. A method of dispensing notes, comprising:
Receiving a banknote outlet instruction, and determining the target banknote outlet quantity contained in the banknote outlet instruction;
Determining the corresponding banknote deposit quantity of each banknote box to be dispensed, arranging all banknote boxes to be dispensed according to the banknote deposit quantity from large to small to generate a banknote box sequence, and calculating the average value of the banknote deposit quantity in all banknote boxes to be dispensed;
Respectively calculating first difference values of the quantity of the deposited banknotes in two adjacent banknote boxes to be discharged in the banknote box sequence;
Determining the corresponding banknote dispensing quantity of each banknote box to be dispensed according to the first difference value and the target banknote dispensing quantity;
Controlling the banknote box to be banknote-fed to feed banknote according to the banknote-fed distribution quantity;
the determining the corresponding banknote dispensing quantity of each banknote box to be dispensed according to the first difference value and the target banknote dispensing quantity comprises the following steps:
Generating a corresponding difference sequence according to the first difference value;
Multiplying each first difference value in the difference value sequence by the serial number of the first difference value in the difference value sequence in sequence to obtain a multiplied sum value, and calculating a second difference value between the target banknote output quantity and the sum value;
Traversing each second difference value, and taking the banknote box to be detected, of which the second difference value is greater than or equal to zero, as a target banknote box; and
Determining the banknote dispensing quantity of each target banknote outlet box according to the second difference value, the first difference value and the quantity of the target banknote outlet boxes which are greater than or equal to zero;
the method further comprises the steps of:
Judging whether the real-time money storage quantity in each money box to be paid out is smaller than the average value;
And when the real-time banknote storage quantity in each banknote box to be discharged is smaller than the average value, the step of arranging all banknote boxes to be discharged according to the real-time banknote storage quantity from large to small is re-executed, and the step of calculating the average value of the real-time banknote storage quantity in all banknote boxes to be discharged is re-executed.
2. The method of claim 1, wherein said calculating a first difference in the number of said deposited notes in two adjacent said notes cassettes to be ejected in said series, respectively, comprises:
And calculating the difference of the number of the deposited banknotes in the previous banknote box to be discharged and the next banknote box to be discharged as the first difference in the two adjacent banknote boxes to be discharged of the banknote box sequence.
3. A banknote dispensing apparatus for performing a banknote dispensing method as claimed in claim 1 or claim 2, comprising:
the instruction receiving module is used for receiving a banknote outlet instruction;
The banknote box arrangement module is used for arranging all banknote boxes to be discharged according to the banknote storage quantity from large to small;
the first calculation module is used for calculating a first difference value of the quantity of the deposited notes in two adjacent banknote boxes to be discharged in the banknote box sequence;
the sequence generation module is used for generating a corresponding difference sequence according to the first difference value;
The second calculation module is used for multiplying each first difference value in the difference value sequence by the serial number of the first difference value in the difference value sequence in sequence, calculating the sum value after multiplication, and calculating a second difference value between the number of the target banknote and the sum value;
The quantity distribution module is used for determining the corresponding banknote outlet distribution quantity of each banknote box to be subjected to banknote outlet according to the first difference value and the target banknote outlet quantity;
the banknote outlet control module is used for controlling banknote outlet of the banknote box according to the banknote outlet distribution quantity;
The banknote dispensing device further comprises:
the numerical value traversing module is used for performing traversing operation on each second difference value;
the average value calculating module is used for calculating the average value of the number of the deposited banknotes contained in all banknote boxes to be discharged;
The quantity judging module is used for judging whether the quantity of the paper money to be discharged is smaller than the average value or not and judging whether the paper money to be discharged with the same quantity of the paper money to be discharged exists or not.
4. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of dispensing banknotes according to claim 1 or 2 when executing the computer program.
5. A computer readable storage medium comprising computer instructions which, when run on a computer, cause the computer to perform the method of dispensing banknote as claimed in claim 1 or 2.
CN202010035423.2A 2020-01-14 2020-01-14 Banknote issuing method, banknote issuing device, terminal and storage medium Active CN113192272B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010035423.2A CN113192272B (en) 2020-01-14 2020-01-14 Banknote issuing method, banknote issuing device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010035423.2A CN113192272B (en) 2020-01-14 2020-01-14 Banknote issuing method, banknote issuing device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113192272A CN113192272A (en) 2021-07-30
CN113192272B true CN113192272B (en) 2024-05-10

Family

ID=76972425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010035423.2A Active CN113192272B (en) 2020-01-14 2020-01-14 Banknote issuing method, banknote issuing device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113192272B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB273728A (en) * 1926-06-29 1928-10-01 The Federal Bill Counter Co.
JP2004086312A (en) * 2002-08-23 2004-03-18 Fuji Soken Media Create:Kk Transfer processing method and transfer processing program
CN104537758A (en) * 2014-12-19 2015-04-22 深圳怡化电脑股份有限公司 Money sending mechanism and self-service deposit and withdrawal device thereof
CN104809824A (en) * 2015-04-30 2015-07-29 深圳市怡化时代科技有限公司 Cash box adaptation method and device based on self-service equipment
CN105719407A (en) * 2016-01-14 2016-06-29 广州广电运通金融电子股份有限公司 Method and device for feeding deposit banknote into ATM with multiple boxes of same denomination
CN107346582A (en) * 2016-05-06 2017-11-14 广州御银科技股份有限公司 A kind of balanced note output algorithm
CN107346581A (en) * 2016-05-06 2017-11-14 广州御银科技股份有限公司 A kind of more denomination note output algorithms
CN107346594A (en) * 2016-05-06 2017-11-14 广州御银科技股份有限公司 A kind of note output algorithm
CN109377636A (en) * 2018-08-28 2019-02-22 苏州浪潮智能软件有限公司 A kind of bank note distribution method for realizing minimum note output number based on wholesale circulator
CN110634227A (en) * 2019-09-04 2019-12-31 浪潮金融信息技术有限公司 Banknote distribution method for realizing balanced banknote output based on large-amount circulator

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB273728A (en) * 1926-06-29 1928-10-01 The Federal Bill Counter Co.
JP2004086312A (en) * 2002-08-23 2004-03-18 Fuji Soken Media Create:Kk Transfer processing method and transfer processing program
CN104537758A (en) * 2014-12-19 2015-04-22 深圳怡化电脑股份有限公司 Money sending mechanism and self-service deposit and withdrawal device thereof
CN104809824A (en) * 2015-04-30 2015-07-29 深圳市怡化时代科技有限公司 Cash box adaptation method and device based on self-service equipment
CN105719407A (en) * 2016-01-14 2016-06-29 广州广电运通金融电子股份有限公司 Method and device for feeding deposit banknote into ATM with multiple boxes of same denomination
CN107346582A (en) * 2016-05-06 2017-11-14 广州御银科技股份有限公司 A kind of balanced note output algorithm
CN107346581A (en) * 2016-05-06 2017-11-14 广州御银科技股份有限公司 A kind of more denomination note output algorithms
CN107346594A (en) * 2016-05-06 2017-11-14 广州御银科技股份有限公司 A kind of note output algorithm
CN109377636A (en) * 2018-08-28 2019-02-22 苏州浪潮智能软件有限公司 A kind of bank note distribution method for realizing minimum note output number based on wholesale circulator
CN110634227A (en) * 2019-09-04 2019-12-31 浪潮金融信息技术有限公司 Banknote distribution method for realizing balanced banknote output based on large-amount circulator

Also Published As

Publication number Publication date
CN113192272A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
WO2016015555A1 (en) Banknote distribution method, banknote distribution device and financial self-service equipment
CN107346594B (en) Cash-out algorithm
US20190026970A1 (en) Money management apparatus, money handling system, and money handling method
CN110634227B (en) Banknote distribution method for realizing balanced banknote output based on large-amount circulator
US20210056794A1 (en) Money handling apparatus
WO2017121350A1 (en) Cash deposit inlet method and device for atm machine having a plurality of cashboxes with identical denomination
EP1866875A1 (en) Method and apparatus for optimizing a currency validator/dispenser
EP2075770B1 (en) Reducing transaction time in a self-service terminal
US6715670B1 (en) Interactive dispense denomination adjustment
CN113192272B (en) Banknote issuing method, banknote issuing device, terminal and storage medium
EP3547273B1 (en) Recycling multiple currency notes from a cassette
US4185646A (en) Control circuit for multi-denomination cash dispenser
JP6645757B2 (en) Money management device and money management system
CN113870495B (en) Equal-piece banknote distribution method for multiple banknote boxes storing banknotes of different denominations in withdrawal device
CN114170743B (en) Banknote distribution method, device and storage medium
CN113593140B (en) Bank note distribution method, system and medium for financial self-service equipment
CN107484429B (en) Cash-out control method and system of financial terminal and financial terminal
CN108648330B (en) Deposit and withdrawal management method, deposit and withdrawal management device and self-service terminal
EP1492059B1 (en) Method for controlling a device for storing and dispensing banknotes
US20230222474A1 (en) Money handling system and money handling method
CN113947836B (en) Equal-space banknote distribution method for multiple banknote boxes with different denominations stored in cash dispenser
CN113971857A (en) Withdrawal processing method and device and deposit and withdrawal equipment
CN108091080B (en) Bank note box management method, bank note box management device and electronic equipment
GB2553539A (en) A transaction device and a method of currency item replenishment in a transaction device
JP5924202B2 (en) Cash management device, cash management system and cash management program

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