Patent ID: 9437068
Filing Date: 2016-09-06
CPC Classification: G07D

Claim Text:
1. A method for a financial self-service equipment to dispense banknotes, comprising: acquiring a total dispensing amount input into the equipment 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; via a calculation section of the equipment; determining via said calculation section a total available amount in the self-service equipment according to the denomination values and the number of the available banknotes; establishing a relation between the denomination values, the number of the available banknotes corresponding to each denomination value and the total dispensing amount that is represented by the following equation processed by the calculation section: in the case where the total available amount is not less than the total dispensing amount and the greatest common divisor of the denomination values available in the self-service equipment can divide the total dispensing amount with no remainder, where A i is the denomination values, X i is an unknown number of banknotes to be output corresponding to A i , n is a total number of the denomination value types and is not less than 2, and M is the total dispensing amount; dividing both sides of the equation by the greatest common divisor of the n denomination values, gcd(A 1 , A 2 . . . A n ), in the case where gcd(A 1 , A 2 . . . A n ) is not 1, to obtain a linear indeterminate equation with integer coefficients and n unknowns, 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 of the linear indeterminate equation with integer coefficients and n unknowns: where t, x 3 , x 4 , . . . , x n εZ and gcd(a 1 , a 2 )=1; calculating a particular solution (X calculating out a set of all t satisfying 0≦X and the particular solution of (X 01 , X 02 ), where S 1 , S 2 . . . S n are the numbers of the available banknotes corresponding to the denomination values; determining the range of t in set A according to a preset banknote-dispensing principle corresponding to X substituting t in the general solution above by an integral t to calculate out the values of X