Cash replenishment method for financial self-service equipment
Abstract
A cash replenishment method for financial self-service equipment, including: acquiring the cash replenishment amount input by a user; acquiring the denominations of available banknotes in the self-service equipment; acquiring the remaining number of notes corresponding to each denomination; determining the total amount in the self-service equipment; performing cash replenishment of the cash replenishment amount using a precise cash replenishment method; determining a new cash replenishment amount capable of exactly dividing the only denomination remaining in the self-service equipment or the greatest common divisor of several denominations remaining in the self-service equipment within the range from the cash replenishment amount with a preset error value subtracted to the cash replenishment amount; performing cash replenishment of the cash replenishment amount using the precise cash replenishment method; and prompting that cash replenishment has failed.
Claims
exact text as granted — not AI-modified1 . A method a financial self-service equipment to dispense banknotes, comprising:
acquiring a total dispensing amount input by a user; acquiring denomination values of available banknotes in the self-service equipment; acquiring the number of available banknotes corresponding to each denomination value; determining a total available amount in the self-service equipment according to the denomination values and the number of available banknotes; dispensing banknotes for the total dispensing amount adopting a precise banknote dispensing method, in the case where the total available amount is not less than the total dispensing amount and the greatest common divisor of only one denomination value or some denomination values available in the self-service equipment can divide the total dispensing amount with no remainder; determining a new dispensing amount which falls into a range from the total dispensing amount minus a preset error to the total dispensing amount, wherein the new dispensing amount can divide the greatest common divisor of only one denomination value or some denomination values available in the self-service equipment with no remainder, in the case where the total available amount is not less than the total dispensing amount and the greatest common divisor of only one denomination value or some denomination values available in the self-service equipment can not divide the total dispensing amount with no remainder; if there is a new dispensing amount, setting the new dispensing amount as the total dispensing amount, and dispensing banknotes for the total dispensing amount adopting the precise banknote dispensing method; and if there is no new dispensing amount in the range from the total dispensing amount minus the preset error to the total dispensing amount, prompting that the banknote dispensing fails.
2 . The method for a financial self-service equipment to dispense banknotes according to claim 1 , wherein, in the case where there is only one denomination value available in the self-service equipment, the precise banknote dispensing method comprises:
calculating a quotient from dividing the total dispensing amount by the only one denomination value; and outputting banknotes with the only one denomination value by the self-service equipment, the number of the outputting banknotes being equal to the quotient.
3 . The method for a financial self-service equipment to dispense banknotes according to claim 1 , wherein, in the case where there are two denomination values available in the self-service equipment, the precise banknote dispensing method comprises:
establishing a relation between the two denomination values, the number of available banknotes corresponding to each of the two denomination values and the total dispensing amount, which is expressed as the following equation: A 1 X 1 +A 2 X 2 =M, where A 1 and A 2 are the two denomination values respectively, X 1 is the number of dispensing banknotes with the denomination value A 1 , X 2 is the number of dispensing banknotes with the denomination value A 2 , and M is the total dispensing amount; dividing both sides of the equation A 1 X 1 +A 2 X 2 =M by the greatest common divisor gcd(A 1 ,A 2 ) to obtain a linear equation with two unknowns, a 1 X 1 +a 2 X 2 =m, in the case where the greatest common divisor gcd(A 1 ,A 2 ) of the two denomination values is not greater than 1, where a 1 is a quotient from dividing A 1 by gcd(A 1 ,A 2 ), a 2 is a quotient from dividing A 2 by gcd(A 1 ,A 2 ), and m is the quotient from dividing M by gcd(A 1 ,A 2 ); calculating a general solution of a 1 X 1 +a 2 X 2 =m to obtain a general solution formula
{
X
1
=
X
01
+
a
2
t
X
2
=
X
02
-
a
1
t
,
where
{
X
01
X
02
is one particular solution of a 1 X 1 +a 2 X 2 =m, and t is an integer free variable;
calculating out a set of A all t satisfying 0≦X 1 ≦S 1 , 0≦X 2 ≦S 2 according to the general solution formula, where S 1 is the actual number of available banknotes with the denomination value A 1 , and S 2 is the actual number of available banknotes with the denomination A 2 ;
further determining, in the set A, the range of t according to a preset banknote dispensing principle corresponding to X 1 and X 2 ; and
substituting the integer t into the general solution formula to calculate out values of X 1 and X 2 , and outputting X 1 number of banknotes with the denomination value A 1 and X 2 number of banknotes with the denomination value A 2 by the self-service equipment, in the case where there is an integer t.
4 . The method for a financial self-service equipment to dispense banknotes according to claim 1 , wherein, in the case where there are n types of denomination values available in the self-service equipment, the precise banknote dispensing method comprises:
establishing a relation between the n types of denomination values, the number of available banknotes corresponding to each of the n types of denomination values and the total dispensing, which is expressed as the following equation:
∑
i
=
1
n
A
i
X
i
=
M
,
where A i is one denomination value of the n types of denomination values, X i is the number of dispensing banknotes with the denomination value A i , n is the total number of the denomination value types, and M is the total dispensing amount;
dividing both sides of the equation
∑
i
=
1
n
A
i
X
i
=
M
by the greatest common divisor gcd(A 1 , A 2 . . . A n ) to obtain a linear indeterminate equation with integer coefficients and n unknowns,
∑
i
=
1
n
a
i
X
i
=
m
,
in the case where the greatest common divisor gcd(A 1 , A 2 . . . A n ) of the n types of denomination values is not greater than 1, where a i is a quotient from dividing A i by gcd(A 1 , A 2 . . . A n ), and m is a quotient from dividing M by gcd(A 1 , A 2 . . . A n );
calculating a general solution formula of the linear indeterminate equation with integer coefficients and n unknowns
∑
i
=
1
n
a
i
X
i
=
m
(
where
gcd
(
a
1
,
a
2
…
,
a
n
)
=
1
)
,
which is
{
X
1
=
X
01
[
M
-
(
a
3
X
3
+
…
+
a
n
X
n
)
]
+
a
2
t
X
2
=
X
02
[
M
-
(
a
3
X
3
+
…
+
a
n
X
n
)
]
-
a
1
t
,
where t, x 3 , x 4 , . . . , x n εZ;
calculating out a set A of all t satisfying 0≦X 1 ≦S 1 , 0≦X 2 ≦S 2 . . . 0≦X n ≦S n according to the general solution of
∑
i
=
1
n
a
i
X
i
=
m
,
where S 1 , S 2 . . . S n are the numbers of available banknotes respectively with the denominations values A 1 , A 2 . . . A n ;
determining, in the set A, the range of t according to a preset banknote dispensing principle corresponding to X 1 , X 2 . . . X n ; and
substituting the integer t into the general solution formula to calculate out values of X 1 , X 2 . . . X n , and outputting X 1 , X 2 . . . X n numbers of banknotes with corresponding denomination values A 1 , A 2 . . . A n , in the case where there is an integer t.
5 . The method for a financial self-service equipment to dispense banknotes according to claim 3 , wherein, the preset banknote dispensing principle is an average-dispensing principle.
6 . The method for a financial self-service equipment to dispense banknotes according to claim 3 , wherein, the preset banknote dispensing principle is an equal-emptying principle.
7 . The method for a financial self-service equipment to dispense banknotes according to claim 3 , wherein, the preset banknote dispensing principle is a number minimum principle.
8 . The method for a financial self-service equipment to dispense banknotes according to claim 3 , wherein, the preset banknote dispensing principle is a maximum-denomination priority principle.
9 . The method for a financial self-service equipment to dispense banknotes according to claim 3 , wherein, the preset banknote dispensing principle is a minimum-denomination priority principle.
10 . The method for a financial self-service equipment to dispense banknotes according to claim 1 , wherein, in the case where there is no new dispensing amount, after the step of prompting that the banknote dispensing fails, the method further comprises:
acquiring, in a database, by the self-service equipment, available denomination values and the number of banknotes corresponding to each available denomination value of other self-service equipments connected to a network; determining, in the database, a specific address of a self-service equipment that conforms to a preset condition, the preset condition being that: the total available amount in the self-service equipment is not less than the total dispensing amount and the greatest common divisor of only one denomination value or some denomination values available in the self-service equipment can divide the total dispensing amount with no remainder; or that there is a new dispensing amount which falls into a range from the total dispensing amount minus a preset error to the total dispensing amount and can divide the greatest common divisor of only one denomination value or some denomination values available in the self-service equipment with no remainder; and displaying the specific address.
11 . The method for a financial self-service equipment to dispense banknotes according to claim 4 , wherein, the preset banknote dispensing principle is an average-dispensing principle.
12 . The method for a financial self-service equipment to dispense banknotes according to claim 4 , wherein, the preset banknote dispensing principle is an equal-emptying principle.
13 . The method for a financial self-service equipment to dispense banknotes according to claim 4 , wherein, the preset banknote dispensing principle is a number minimum principle.
14 . The method for a financial self-service equipment to dispense banknotes according to claim 4 , wherein, the preset banknote dispensing principle is a maximum-denomination priority principle.
15 . The method for a financial self-service equipment to dispense banknotes according to claim 4 , wherein, the preset banknote dispensing principle is a minimum-denomination priority principle.Join the waitlist — get patent alerts
Track US2015206370A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.