CN104504803A - Cash distribution method and device and financial self-service device - Google Patents

Cash distribution method and device and financial self-service device Download PDF

Info

Publication number
CN104504803A
CN104504803A CN201510007713.5A CN201510007713A CN104504803A CN 104504803 A CN104504803 A CN 104504803A CN 201510007713 A CN201510007713 A CN 201510007713A CN 104504803 A CN104504803 A CN 104504803A
Authority
CN
China
Prior art keywords
paper money
banknote
value
mixing
money case
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510007713.5A
Other languages
Chinese (zh)
Other versions
CN104504803B (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.)
GRG Banking Equipment Co Ltd
Guangdian Yuntong Financial Electronic Co Ltd
Original Assignee
Guangdian Yuntong Financial Electronic Co Ltd
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 Guangdian Yuntong Financial Electronic Co Ltd filed Critical Guangdian Yuntong Financial Electronic Co Ltd
Priority to CN201510007713.5A priority Critical patent/CN104504803B/en
Publication of CN104504803A publication Critical patent/CN104504803A/en
Application granted granted Critical
Publication of CN104504803B publication Critical patent/CN104504803B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a cash distribution method, and aims at solving the technical problem of limited cash sequence in cash distribution and low success rate of cash distribution. The method comprises the steps of acquiring the cash sequence and corresponding denomination of a plurality of blended cash boxes, wherein the blended cash boxes are the cash boxes in which cashes of a plurality of denominations are blended and stored and cashes can be deposited and withdrawn in a stack way; acquiring the limit of the current cash distribution; discharging the cashes of the first number from the blended cash boxes; separating the cashes of the second number from the cashes of the first number during discharging so as to obtain the cash distribution limit by subtracting the second amount of the cashes of the first number from the first amount of the cashes of the second number. The embodiment of the invention also provides a cash distribution device and a financial self-service device. By adopting the method and device, the technical problems of limited cash sequence in cash distribution and low success rate of cash distribution can be solved.

Description

Bank note distribution method, join paper money device and financial self-service equipment
Technical field
The present invention relates to finance device field, particularly relate to bank note distribution method, join paper money device and financial self-service equipment.
Background technology
Along with expanding economy, the demand of people to self-aided terminal is increasing, financial industry also in the quantity constantly expanding financial self-service equipment, to meet the market demand day by day increased.
At present, the financial self-service equipment of prior art adopts paper money case to deposit banknote usually, a kind of banknote of denomination deposited by a paper money case, when client concludes the business, financial self-service equipment joins paper money according to joining of providing of client banknote that paper money amount obtains multiple denomination from multiple different paper money case for client, thus meets the multiple demand of joining paper money amount of client.
But, existing financial self-service equipment is due to the restriction of the factor such as manufacturing cost, the device space, make the paper money case number in financial self-service equipment very limited, again because existing financial self-service equipment requires that a paper money case can only deposit a kind of banknote of denomination due to bank note distribution method, thus the banknote denomination quantity of financial self-service equipment is also very limited, this just causes the paper money ability of joining of financial self-service equipment and joins paper money scope being all restricted, and the difference that cannot meet client joins the demand of paper money amount.
Therefore, the technology of a multiple banknote of paper money case mixed storage has occurred, the paper money technology of joining of prior art relevant mixing denomination has the patent No. to be the file of CN201410372966.8, it discloses following technology: mixing denomination bank note distribution method has two kinds of methods: a kind ofly whether equal to join paper money total value by several banknotes before directly calculating mixing paper money case, then joining paper money failure if do not waited; Whether another kind assists mixing denomination paper money case jointly to join paper money by single denomination paper money case, extract several banknotes front of single denomination paper money case and several banknotes front of mixing denomination paper money case, calculating summation and equal to join the paper money amount of money, then joining paper money failure if do not waited.
But the banknote order due to mixing paper money case each paper money case carries out depositing paper money and note output with the storage mode of " stack " in data structure, when joining paper money, banknote order is restricted, make these two kinds of bank note distribution methods to join paper money success ratio too low.
Summary of the invention
Embodiments provide bank note distribution method, join paper money device and financial self-service equipment, banknote order when joining paper money can be solved and be restricted, join the technical matters that paper money success ratio is too low.
A kind of bank note distribution method that the embodiment of the present invention provides, comprising:
Obtain the banknote order of some mixing paper money casees and the denomination of correspondence, described mixing paper money case is that mixed storage has the paper money case of several denomination banknotes and accesses described banknote in the mode of stack;
Obtain and current join paper money amount;
Banknote is opened to the first numerical value of described mixing paper money case and carries out note output, and when note output, isolate the second value that described first numerical value opens in banknote and open banknote, the first total value making described first numerical value open banknote deduct the second total value that described second value opens banknote equal described in join paper money amount.
Alternatively,
Isolated second value is opened banknote and transfer to the paper money case or the temporary place of banknote that do not participate in joining paper money.
Alternatively, described the first numerical value to described mixing paper money case is opened before banknote carries out note output and is also comprised:
Calculate described first numerical value and described second value.
Alternatively, described first numerical value of described calculating and described second value specifically comprise:
S1: according to the banknote order of described mixing paper money case and the denomination of correspondence, the banknote number first getting each mixing paper money case forms the mixing number array do not obtained, banknote total value corresponding to described mixing number array as mixing banknote total value, and ensures that described mixing banknote total value joins paper money amount described in being greater than;
S2: calculate described mixing banknote total value and described difference of joining paper money amount, obtain overflow value;
S3: judge that the banknote total value that whether there is the banknote combination that second value is opened in described mixing number array equals described overflow value, if, the banknote number then obtaining each mixing paper money case corresponding to current described mixing number array is the described second value of described first numerical value and correspondence, if not, then step S1 is re-executed.
Alternatively,
When the banknote total value judging whether to exist in described mixing number array the banknote combination that second value is opened equals described overflow value, carry out matching inquiry to the banknote combination that described second value is opened, wherein, described second value carries out value from small to large.
Alternatively,
When exist a plurality of described mixing number array meet the banknote total value that there is the banknote combination that second value opens equal the condition of described overflow value time, get the banknote number of optimum mixing number array as described first numerical value, described optimum mixing number array is the minimum described mixing number array of the banknote number of corresponding each mixing paper money case.
The one that the embodiment of the present invention provides joins paper money device, comprising:
Mixing paper money case acquisition module, for the denomination of the banknote order and correspondence that obtain some mixing paper money casees, described mixing paper money case is that mixed storage has the paper money case of several denomination banknotes and accesses described banknote in the mode of stack;
Joining paper money amount acquisition module, current joining paper money amount for obtaining;
Paper money supplying module, carries out note output for opening banknote to the first numerical value of described mixing paper money case;
Separation module, for when described paper money supplying module note output, isolates the second value that described first numerical value opens in banknote and opens banknote, the first total value making described first numerical value open banknote deduct the second total value that described second value opens banknote equal described in join paper money amount.
Alternatively, join paper money device described in also to comprise:
Banknote shift module, transfers to for isolated for described separation module second value being opened banknote the paper money case or the temporary place of banknote that do not participate in joining paper money.
Alternatively, join paper money device described in also to comprise:
Computing module, for calculating described first numerical value and described second value.
A kind of financial self-service equipment that the embodiment of the present invention provides, comprises some mixing paper money casees, and described mixing paper money case is used for the banknote of the several denomination of mixed storage, and accesses described banknote in the mode of stack, also comprises above-mentioned joining paper money device.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the present invention, first, obtain the banknote order of some mixing paper money casees and the denomination of correspondence, described mixing paper money case is that mixed storage has the paper money case of several denomination banknotes and accesses described banknote in the mode of stack; And obtain and current join paper money amount; Then, banknote is opened to the first numerical value of described mixing paper money case and carries out note output, and when note output, isolate the second value that described first numerical value opens in banknote and open banknote, the first total value making described first numerical value open banknote deduct the second total value that described second value opens banknote equal described in join paper money amount.In embodiments of the present invention, by while note output, open in banknote at the first numerical value of note output and isolate second value and open banknote, make the total value of final note output equal to join paper money amount.Therefore, banknote order when joining paper money is no longer subject to the strict restriction of " stack " note output mode, and note output is more flexible, greatly improves and joins paper money success ratio.
Accompanying drawing explanation
Fig. 1 is bank note distribution method embodiment process flow diagram in the embodiment of the present invention;
Fig. 2 is another embodiment process flow diagram of bank note distribution method in the embodiment of the present invention;
Fig. 3 joins paper money device example structure figure in the embodiment of the present invention;
Fig. 4 joins another example structure figure of paper money device in the embodiment of the present invention;
Fig. 5 is financial self-service equipment example structure figure in the embodiment of the present invention.
Embodiment
Embodiments provide bank note distribution method, join paper money device and financial self-service equipment, when joining paper money for solving, banknote order is restricted, and joins the technical matters that paper money success ratio is too low.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only the present invention's part embodiments, and the embodiment of not all.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, in the embodiment of the present invention, a kind of bank note distribution method embodiment comprises:
101, the banknote order of some mixing paper money casees and the denomination of correspondence is obtained;
Once in transaction, before carrying out joining paper money analyzing and processing, first can obtain the banknote order of some mixing paper money casees and the denomination of correspondence, this mixing paper money case is that mixed storage has the paper money case of several denomination banknotes and accesses this banknote in the mode of stack.
102, obtain and current join paper money amount;
Once in transaction, before carrying out joining paper money analyzing and processing, first can obtain and current join paper money amount.
103, banknote is opened to the first numerical value of this mixing paper money case and carry out note output;
Getting banknote order and the denomination of correspondence of this mixing paper money case, and get current join paper money amount after, banknote can be opened to the first numerical value of this mixing paper money case and carry out note output.
104, when note output, isolate the second value that this first numerical value opens in banknote and open banknote, the first total value making this first numerical value open banknote deducts the second total value that this second value opens banknote and equals this and join paper money amount.
When opening banknote to the first numerical value of this mixing paper money case and carrying out note output, can isolate the second value that this first numerical value opens in banknote and open banknote, the first total value making this first numerical value open banknote deducts the second total value that this second value opens banknote and equals this and join paper money amount.
In the present embodiment, first, obtain the banknote order of some mixing paper money casees and the denomination of correspondence, this mixing paper money case is that mixed storage has the paper money case of several denomination banknotes and accesses this banknote in the mode of stack; And obtain and current join paper money amount; Then, banknote is opened to the first numerical value of this mixing paper money case and carries out note output, and when note output, isolate the second value that this first numerical value opens in banknote and open banknote, the first total value making this first numerical value open banknote deducts the second total value that this second value opens banknote and equals this and join paper money amount.In the present embodiment, by while note output, open in banknote at the first numerical value of note output and isolate second value and open banknote, make the total value of final note output equal to join paper money amount.Therefore, banknote order when joining paper money is no longer subject to the strict restriction of " stack " note output mode, and note output is more flexible, greatly improves and joins paper money success ratio.
For ease of understanding, be described in detail a kind of bank note distribution method in the embodiment of the present invention below, refer to Fig. 2, in the embodiment of the present invention, another embodiment of a kind of bank note distribution method comprises:
201, the banknote order of some mixing paper money casees and the denomination of correspondence is obtained;
Once in transaction, before carrying out joining paper money analyzing and processing, first can obtain the banknote order of some mixing paper money casees and the denomination of correspondence, this mixing paper money case is that mixed storage has the paper money case of several denomination banknotes and accesses this banknote in the mode of stack.Because mixing paper money case accesses banknote in the mode of stack, can know that banknote is " first-in last-out " in this mixing paper money case, each banknote all can go on record when depositing in this mixing paper money case denomination and banknote order, thus before can knowing taking-up when getting paper money in mixing paper money case, several banknotes are respectively the banknote of which kind of denomination.
202, obtain and current join paper money amount;
Once in transaction, before carrying out joining paper money analyzing and processing, first can obtain and current join paper money amount.
203, this first numerical value and this second value is calculated;
Before note output is carried out to mixing paper money case, this first numerical value and this second value can be calculated.Be understandable that, this first numerical value and the following condition of second value demand fulfillment: the first total value that this first numerical value opens banknote deducts the second total value that this second value opens banknote and equals this and join paper money amount.Therefore, its concrete computing method can be:
S1: according to the banknote order of this mixing paper money case and the denomination of correspondence, the banknote number first getting each mixing paper money case forms the mixing number array do not obtained, banknote total value corresponding to this mixing number array as mixing banknote total value, and ensures that this mixing banknote total value is greater than this and joins paper money amount;
S2: calculate this mixing banknote total value and this joins the difference of paper money amount, obtains overflow value;
S3: judge that the banknote total value that whether there is the banknote combination that second value is opened in this mixing number array equals this overflow value, if, the banknote number then obtaining each mixing paper money case corresponding to this mixing number array current is this second value of this first numerical value and correspondence, if not, then step S1 is re-executed.
It should be noted that, in step sl, due to having obtained the banknote order of some mixing paper money casees and the denomination of correspondence before, then for each mixing paper money case, can know that it is how many for obtaining the total value that the front X of this mixing paper money case opens banknote, wherein X is more than or equal to zero.Therefore, in several mixing paper money casees, the total value of all banknotes extracted from mixing paper money case can be made to be greater than this by the combination of multiple extraction number and join paper money amount.Wherein, being combined as of these numbers mixes number array, and this mixing number array is necessary for the combination do not obtained.Such as, in 3 mixing paper money casees, first mixing paper money case gets that X opens, second mixing paper money case is got Y and opened, and the 3rd mixing paper money case is got Z and opened, then when to perform this step S1 next time, this mixing number array (X, Y, Z) was acquired, again cannot obtain, can (X, Y be obtained, or (X, Y-1, Z) etc. Z-1), after unless this joins paper money closing the transaction, obtain record and reset, once joining in paper money process of exchange in addition, just may get (X, Y, Z).
It should be noted that, in step S3, when the banknote total value judging whether to exist in this mixing number array the banknote combination that second value is opened equals this overflow value, matching inquiry is carried out in the banknote combination can opened this second value, wherein, this second value carries out value from small to large.The value that second value carries out from small to large is mated, inquire the banknote combination that this second value opens and equal this overflow value, thus ensure when satisfying condition, the value of second value is minimum, when follow-up note output, the number be separated is also just minimum, and alleviate the processing load of joining paper money device, note output efficiency is higher.
It should be noted that, when exist this mixing number array a plurality of meet the banknote total value that there is the banknote combination that second value opens equal the condition of this overflow value time, can get the banknote number of optimum mixing number array as this first numerical value, this optimum mixing number array is minimum this mixing number array of the banknote number of each mixing paper money case of correspondence.That is, when ensure that second value is minimum, ensure that the first numerical value is minimum, thus the note output number mixing paper money case is reduced, alleviate while joining paper money device work load, improve note output efficiency.
204, banknote is opened to the first numerical value of this mixing paper money case and carry out note output;
Getting banknote order and the denomination of correspondence of this mixing paper money case, and get current join paper money amount after, banknote can be opened to the first numerical value of this mixing paper money case and carry out note output.
205, when note output, isolate the second value that this first numerical value opens in banknote and open banknote;
When opening banknote to the first numerical value of this mixing paper money case and carrying out note output, can isolate the second value that this first numerical value opens in banknote and open banknote, the first total value making this first numerical value open banknote deducts the second total value that this second value opens banknote and equals this and join paper money amount.Be understandable that, the operation of this separation can increase by a separation module and has come joining in paper money device, is not construed as limiting herein.
206, isolated second value is opened banknote and transfer to the paper money case or the temporary place of banknote that do not participate in joining paper money.
After isolating this first numerical value second value opened in banknote and opening banknote, isolated second value can be opened banknote and transfer to the paper money case or the temporary place of banknote that do not participate in joining paper money, thus realize recovery or the arrangement of separating bank notes.
In the present embodiment, by adopting in transfer note output process, certain is opened or a few banknotes, reach a certain or a few banknotes are separated from note output banknote, thus make it not participate in joining the object of paper money, make the paper money ability of joining of mixing paper money case and join paper money scope to get a promotion, join the demand of paper money amount with the difference meeting client, promote the experience of client.
For ease of understanding, the embodiment described by Fig. 2, is described mainly for the method calculating the first numerical value and second value in bank note distribution method below by practical application scene:
For ease of describing, remember that the first numerical value is p, second value is q, and computing method are as follows:
Total number of banknote of certain mixing paper money case might as well be set as n, then successively from paper money case cash dispensing port first banknote, until paper money case last, each corresponding banknote denomination is D i(i=1,2,3...n, wherein n is the total number of banknote of this paper money case), the total value of front m (1<=m<=n) banknote is
Calculate the subordinate ordered array S (i) (1<=i<=n) of each mixing paper money case, wherein S (1)=D 1, stepping type S (i+1)=S (i)+ D (i+1), can obtain general term formula is
Might as well the establishing paper money amount of money be T, if D i(1<=i<=n) in, maximal value is D maxif maximum transfer banknote number is a, then
If for subordinate ordered array S (i) (1<=i<=n), there is T<S (1) or T>S (n), then join paper money failure, flow process terminates; Otherwise
If subordinate ordered array S (i) (1<=i<=n) exists a certain element S (i)=T, then join paper money and terminate; Otherwise
As a=1, there is S i< T < S i+1(1<=i<n), if there is D jwith S (b) (1<=j<b<=i+k), S i< S b≤ min ((S i+ D max), S n), make (S b-T)=D j, join paper money success, note output b opens, and wherein jth is opened banknote and is separated, and flow process terminates;
Suppose that mixing paper money case has 20 banknotes, its denomination D array is
i 1 2 3 4 5 6 7 8 9 10
D(i) 5 10 3 20 3 3 5 5 2 2
i 11 12 13 14 15 16 17 18 19 20
D(i) 5 10 3 20 3 3 5 3 3 5
Can obtain S array is
i 1 2 3 4 5 6 7 8 9 10
S(i) 5 15 18 38 41 44 49 54 56 58
i 11 12 13 14 15 16 17 18 19 20
S(i) 63 73 76 96 99 102 107 110 113 118
Example one: suppose that joining paper money total value is 86, for S i< T < S i+1(1<=i<n) 76=S (13) <86<S (14)=96 is had, D again max=20, there is D j, i.e. D (2)=10 or D (12)=10 and S (b) (1<=j<b<=i+k), namely S (14), has S i< S b≤ min ((S i+ D max), S n),
I.e. S i=S 13< S b=S 14≤ (S i+ D max)=(S 13+ 20)≤S 13+1, make (S b-T)=D j, i.e. (S 14-86)=10=D 2or (S 14-86)=10=D 12, join paper money success.
Example two: suppose that joining paper money total value is 103, for S i< T < S i+1(1<=i<n) 102=S (16) <T=103<S (17)=107 is had, D again max=20, there is D j, i.e. D (2)=10 or D (12)=10 and S (b) (1<=j<b<=i+k), namely S (19), has S i< S b≤ min ((S i+ D max), S n),
I.e. S i=S 16< S b=S 19≤ min ((S i+ D max)=(S 16+ 20)=122, S 20)=118, make (S b-T)=D j, i.e. (S 19-103)=10=D 2or (S 19-103)=10=D 12, join paper money success.
As a=2, find out D i(1<=i<=n) two value D maximum in max1and D max2, have S i< T < S i+1(1<=i<n), if there is D j, D cwith S (b) (1<=j, c<b<=n), S i< S b≤ min ((S i+ D max1+ D max2), S n), make (S b-T)=D j+ D c, join paper money success, note output b opens, and wherein jth is opened and opened banknote with c and be separated, and flow process terminates;
Suppose that mixing paper money case has 20 banknotes, its denomination D array is
i 1 2 3 4 5 6 7 8 9 10
D(i) 5 10 3 20 3 3 5 5 2 2
i 11 12 13 14 15 16 17 18 19 20
D(i) 5 10 3 20 3 3 5 5 2 2
Can obtain S array is
i 1 2 3 4 5 6 7 8 9 10
S(i) 5 15 18 38 41 44 49 54 56 58
i 11 12 13 14 15 16 17 18 19 20
S(i) 63 73 76 96 99 102 107 112 114 116
Suppose that joining paper money total value is 103, for S i< T < S i+1(1<=i<n) 102=S (16) <103<S (17)=107 is had, D again max1=D (4)=20, D max2, there is D in=D (14)=20 9=2, D 10=2 and S (b) (1<=j<b<=i+k), namely S (17), has S i< S b≤ min ((S i+ D max1+ D max2), S n), i.e. 102=S i=S 16< S b=S 17≤ min ((S i+ D max1+ D max2), S n)=min (142,116)=116, makes (S b-T)=D j+ D c, i.e. (S 17-T)=107-103=4=D 9+ D 10=2+2, join paper money success, note output 17, wherein the 9th and the 10th banknote are separated, and flow process terminates;
When a is underrange, find out D i(1<=i<=n) front a the maximal value D that in, peace arranges from big to small max1, D max2... D maxa, have S i< T < S i+1(1<=i<n) S is had i< T < S i+1(1<=i<n), if there is S (b) (1<=j, c<b<=i+k), S i< S b< (S i+ D max1+ D max2+ ...+D maxa) < S i+k, and D i(1<=i<=b) in exist an a element its denomination of combination and be (S b-T), join paper money success, note output b opens, and the banknote of the wherein combination of a element is separated, and flow process terminates.
Example two of the present invention is the examples carrying out joining paper money from two mixing paper money casees.
Two might as well be established to mix paper money case respectively has M and N to open banknote, and its denomination is respectively A i(1≤i≤M) and B j(1≤j≤N), requires that joining the paper money amount of money is T.
If there is a and b, wherein 1≤a≤M, 1≤b≤N, makes then join paper money successfully to terminate; Wherein, calculate a value number is M × N number of, and the identical value of repetition is included.A value can form a matrix structure:
By each element in this matrix, according to order arrangement from small to large, form an array A=[(sa 1+ sb 1) ... (sa i+ sb j) ... (sa m+ sb n)].
Judge whether T value equals a certain element in above-mentioned array, is, joins paper money and successfully terminates; Otherwise continue to join paper money according to the following method of mixing paper money case allotment banknote that allows.
If allow mixing paper money case allotment banknote,
If allotment banknote number is 1, then
If there is a, b, c or a, b, d, wherein 1≤a≤M, 1≤b≤N, 1≤c < a, 1≤d < b, makes T = &Sigma; i = 1 a SA i + &Sigma; j = 1 b SB j - SA c Or T = &Sigma; i = 1 a SA i + &Sigma; j = 1 b SB j - SB d , Then join paper money success, flow process terminates;
At array A=[(sa 1+ sb 1) ... (sa i+ sb j) ... (sa m+ sb n)] in find out two adjacent elements, meet SA i< T < SA i+1, i.e. (sa i+ sb j) < T < (sa k+ sb m), to find out in all array A size at region [(sa k+ sb m), (sa i+ sb j+ A max)] in all elements, wherein A maxfor the maximum denomination value in mixing paper money case A and B, by these elements successively with join paper money total value and do mathematic interpolation, then join paper money success when the difference calculated meets following condition, otherwise need according to allotment banknote number to be 2 continue to join paper money, this condition is:
Certain element (sa p+ sb q) in array A, size is at region [(sa k+ sb m), (sa i+ sb j+ A max)] in, as (sa p+ sb q) difference of-T
Equal mixing paper money case denomination A i, wherein 1≤i < p, or
Equal mixing paper money case denomination B i, wherein 1≤i < q.
If allotment banknote number is 2, then
If there is a, b, c and d, wherein 1≤a≤M, 1≤b≤N, 1≤c < a, 1≤d < b, makes T = &Sigma; i = 1 a SA i + &Sigma; j = 1 b SB j - A c - B d , Then join paper money success, flow process terminates.
Example three: known two mixing paper money case information are as following table.
A max=20, calculate ?
T ( 5 &times; 4 ) = 7 9 29 31 17 19 39 41 22 24 44 46 32 34 54 56 37 39 59 61
Array A is: A=[7,9,17,19,22,24,29,31,32,34,37,39,39,41,44,46,54,56,59,61], comprises two 39. of repetition
If allotment banknote number is 1, it is 27 that paper money total value is joined in existing requirement.
Owing to there is not the element equaling 27 in array SA and SB, therefore paper money failure joined by an independent mixing paper money case, therefore considers that two mixing paper money casees join paper money together;
Owing to there is not the element equaling 27 in array T, when not allocating banknote, paper money failure joined together by two mixing paper money casees, therefore joins paper money when considering an allotment banknote;
Due to sa 3+ sb 2=24<27<29=sa 1+ sb 3, sa 3+ sb 2+ A max=24+20=44.
Following elements is had: 29,31,32,34,37,39,39,41,44 in region [29,44] array A.
Calculate successively and with the difference of joining the paper money amount of money be: 2,4,5,7,10,12,12,14,17.
Following two kinds can be obtained and join paper money scheme:
When difference is 5, note output sum 32=sa 4+ sb 1=30+2, allotment is separated into 5, i.e. paper money case A note output 4, paper money case B note output 1, and the banknote wherein allocating separation is paper money case A the 1st i.e. denomination is the banknote of 5.
When difference is 10, note output sum 37=sa 5+ sb 1=35+2, allotment separation 10, i.e. paper money case A note output 5, paper money case B note output 1, the banknote wherein allocating separation is paper money case A the 2nd, or paper money case A the 4th i.e. denomination is the banknote of 10.
The main bank note distribution method to the embodiment of the present invention is described above, joins paper money device below, refer to Fig. 3 by the specific descriptions embodiment of the present invention, joins paper money device embodiment and comprise in the embodiment of the present invention:
Mixing paper money case acquisition module 301, for the denomination of the banknote order and correspondence that obtain some mixing paper money casees, this mixing paper money case is that mixed storage has the paper money case of several denomination banknotes and accesses this banknote in the mode of stack;
Joining paper money amount acquisition module 302, current joining paper money amount for obtaining;
Paper money supplying module 303, carries out note output for opening banknote to the first numerical value of this mixing paper money case;
Separation module 304, for when this paper money supplying module 303 note output, isolates the second value that this first numerical value opens in banknote and opens banknote, and the first total value making this first numerical value open banknote deducts the second total value that this second value opens banknote and equals this and join paper money amount.
In the present embodiment, first, mixing paper money case acquisition module 301 obtains the banknote order of some mixing paper money casees and the denomination of correspondence, and joins paper money amount acquisition module 302 and obtain and current join paper money amount; Then, first numerical value of paper money supplying module 303 to this mixing paper money case is opened banknote and is carried out note output; Finally, when this paper money supplying module 303 note output, separation module 304 is isolated the second value that this first numerical value opens in banknote and is opened banknote, and the first total value making this first numerical value open banknote deducts the second total value that this second value opens banknote and equals this and join paper money amount.In the present embodiment, by while note output, open in banknote at the first numerical value of note output and isolate second value and open banknote, make the total value of final note output equal to join paper money amount.Therefore, banknote order when joining paper money is no longer subject to the strict restriction of " stack " note output mode, and note output is more flexible, greatly improves and joins paper money success ratio.
For ease of understanding, below the paper money device of joining in the embodiment of the present invention being described in detail, referring to Fig. 4, joining another embodiment of paper money device in the embodiment of the present invention and comprise:
Mixing paper money case acquisition module 401, for the denomination of the banknote order and correspondence that obtain some mixing paper money casees, this mixing paper money case is that mixed storage has the paper money case of several denomination banknotes and accesses this banknote in the mode of stack;
Joining paper money amount acquisition module 402, current joining paper money amount for obtaining;
Paper money supplying module 403, carries out note output for opening banknote to the first numerical value of this mixing paper money case;
Separation module 404, for when this paper money supplying module 403 note output, isolates the second value that this first numerical value opens in banknote and opens banknote, and the first total value making this first numerical value open banknote deducts the second total value that this second value opens banknote and equals this and join paper money amount.
In the present embodiment, this is joined paper money device and can also comprise:
Banknote shift module 405, transfers to for isolated for this separation module second value being opened banknote the paper money case or the temporary place of banknote that do not participate in joining paper money.
In the present embodiment, this is joined paper money device and can also comprise:
Computing module 406, for calculating this first numerical value and this second value.
Mainly describe one above and join paper money device, will be described in detail below, and refer to Fig. 5 to a kind of financial self-service equipment, in the embodiment of the present invention, a kind of financial self-service equipment embodiment comprises:
Mixing paper money case 501, and the corresponding embodiment of Fig. 3 or Fig. 4 join paper money device 502.
Wherein, this mixing paper money case 501 for the banknote of the several denomination of mixed storage, and accesses this banknote in the mode of stack.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a bank note distribution method, is characterized in that, comprising:
Obtain the banknote order of some mixing paper money casees and the denomination of correspondence, described mixing paper money case is that mixed storage has the paper money case of several denomination banknotes and accesses described banknote in the mode of stack;
Obtain and current join paper money amount;
Banknote is opened to the first numerical value of described mixing paper money case and carries out note output, and when note output, isolate the second value that described first numerical value opens in banknote and open banknote, the first total value making described first numerical value open banknote deduct the second total value that described second value opens banknote equal described in join paper money amount.
2. method according to claim 1, is characterized in that,
Isolated second value is opened banknote and transfer to the paper money case or the temporary place of banknote that do not participate in joining paper money.
3. method according to claim 1, is characterized in that, described the first numerical value to described mixing paper money case is opened before banknote carries out note output and also comprised:
Calculate described first numerical value and described second value.
4. method according to claim 3, is characterized in that, described first numerical value of described calculating and described second value specifically comprise:
S1: according to the banknote order of described mixing paper money case and the denomination of correspondence, the banknote number first getting each mixing paper money case forms the mixing number array do not obtained, banknote total value corresponding to described mixing number array as mixing banknote total value, and ensures that described mixing banknote total value joins paper money amount described in being greater than;
S2: calculate described mixing banknote total value and described difference of joining paper money amount, obtain overflow value;
S3: judge that the banknote total value that whether there is the banknote combination that second value is opened in described mixing number array equals described overflow value, if, the banknote number then obtaining each mixing paper money case corresponding to current described mixing number array is the described second value of described first numerical value and correspondence, if not, then step S1 is re-executed.
5. method according to claim 4, is characterized in that,
When the banknote total value judging whether to exist in described mixing number array the banknote combination that second value is opened equals described overflow value, carry out matching inquiry to the banknote combination that described second value is opened, wherein, described second value carries out value from small to large.
6. method according to claim 5, is characterized in that,
When exist a plurality of described mixing number array meet the banknote total value that there is the banknote combination that second value opens equal the condition of described overflow value time, get the banknote number of optimum mixing number array as described first numerical value, described optimum mixing number array is the minimum described mixing number array of the banknote number of corresponding each mixing paper money case.
7. join a paper money device, it is characterized in that, comprising:
Mixing paper money case acquisition module, for the denomination of the banknote order and correspondence that obtain some mixing paper money casees, described mixing paper money case is that mixed storage has the paper money case of several denomination banknotes and accesses described banknote in the mode of stack;
Joining paper money amount acquisition module, current joining paper money amount for obtaining;
Paper money supplying module, carries out note output for opening banknote to the first numerical value of described mixing paper money case;
Separation module, for when described paper money supplying module note output, isolates the second value that described first numerical value opens in banknote and opens banknote, the first total value making described first numerical value open banknote deduct the second total value that described second value opens banknote equal described in join paper money amount.
8. according to claim 7ly join paper money device, it is characterized in that, described in join paper money device and also comprise:
Banknote shift module, transfers to for isolated for described separation module second value being opened banknote the paper money case or the temporary place of banknote that do not participate in joining paper money.
9. according to claim 7ly join paper money device, it is characterized in that, described in join paper money device and also comprise:
Computing module, for calculating described first numerical value and described second value.
10. a financial self-service equipment, comprises some mixing paper money casees, and described mixing paper money case is used for the banknote of the several denomination of mixed storage, and accesses described banknote in the mode of stack, it is characterized in that, also comprises joining paper money device according to any one of claim 7 to 9.
CN201510007713.5A 2015-01-05 2015-01-05 Cash distribution method and device and financial self-service device Active CN104504803B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510007713.5A CN104504803B (en) 2015-01-05 2015-01-05 Cash distribution method and device and financial self-service device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510007713.5A CN104504803B (en) 2015-01-05 2015-01-05 Cash distribution method and device and financial self-service device

Publications (2)

Publication Number Publication Date
CN104504803A true CN104504803A (en) 2015-04-08
CN104504803B CN104504803B (en) 2017-04-26

Family

ID=52946215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510007713.5A Active CN104504803B (en) 2015-01-05 2015-01-05 Cash distribution method and device and financial self-service device

Country Status (1)

Country Link
CN (1) CN104504803B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104966352A (en) * 2015-06-29 2015-10-07 深圳怡化电脑股份有限公司 Method and device for depositing and withdrawing money by reasonably utilizing bank note boxes
WO2016015555A1 (en) * 2014-07-31 2016-02-04 广州广电运通金融电子股份有限公司 Banknote distribution method, banknote distribution device and financial self-service equipment
CN107346594A (en) * 2016-05-06 2017-11-14 广州御银科技股份有限公司 A kind of note output algorithm

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107633594A (en) * 2017-09-27 2018-01-26 深圳怡化电脑股份有限公司 A kind of bank note distribution method, device, financial self-service equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1413131A (en) * 1971-10-28 1975-11-05 Glory Kogyo Kk Money dispenser
US4188962A (en) * 1977-01-14 1980-02-19 Glory Kogyo Kabushiki Kaisha Money dispensation control device
CN101164085A (en) * 2005-03-14 2008-04-16 天鹤加拿大公司 Method and apparatus for optimizing a currency validator/dispenser
CN101395638A (en) * 2006-03-07 2009-03-25 西玛·迪·拉扎博尼股份及两合公司 Device and method for storing and dispensing banknotes
CN101763684A (en) * 2009-12-22 2010-06-30 广州广电运通金融电子股份有限公司 Financial self-service equipment bank note distribution method
CN102903177A (en) * 2012-10-09 2013-01-30 广州广电运通金融电子股份有限公司 Cash dispensing method of financial self-service equipment
CN102903176A (en) * 2012-10-09 2013-01-30 广州广电运通金融电子股份有限公司 Cash dispensing method of financial self-service equipment
CN104134275A (en) * 2014-07-31 2014-11-05 广州广电运通金融电子股份有限公司 Banknote distribution method, banknote distribution device and financial self-service equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB1413131A (en) * 1971-10-28 1975-11-05 Glory Kogyo Kk Money dispenser
US4188962A (en) * 1977-01-14 1980-02-19 Glory Kogyo Kabushiki Kaisha Money dispensation control device
CN101164085A (en) * 2005-03-14 2008-04-16 天鹤加拿大公司 Method and apparatus for optimizing a currency validator/dispenser
CN101395638A (en) * 2006-03-07 2009-03-25 西玛·迪·拉扎博尼股份及两合公司 Device and method for storing and dispensing banknotes
CN101763684A (en) * 2009-12-22 2010-06-30 广州广电运通金融电子股份有限公司 Financial self-service equipment bank note distribution method
CN102903177A (en) * 2012-10-09 2013-01-30 广州广电运通金融电子股份有限公司 Cash dispensing method of financial self-service equipment
CN102903176A (en) * 2012-10-09 2013-01-30 广州广电运通金融电子股份有限公司 Cash dispensing method of financial self-service equipment
CN104134275A (en) * 2014-07-31 2014-11-05 广州广电运通金融电子股份有限公司 Banknote distribution method, banknote distribution device and financial self-service equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016015555A1 (en) * 2014-07-31 2016-02-04 广州广电运通金融电子股份有限公司 Banknote distribution method, banknote distribution device and financial self-service equipment
CN104966352A (en) * 2015-06-29 2015-10-07 深圳怡化电脑股份有限公司 Method and device for depositing and withdrawing money by reasonably utilizing bank note boxes
CN107346594A (en) * 2016-05-06 2017-11-14 广州御银科技股份有限公司 A kind of note output algorithm

Also Published As

Publication number Publication date
CN104504803B (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN104134275A (en) Banknote distribution method, banknote distribution device and financial self-service equipment
CN104504804A (en) Cash distribution method and device and financial self-service device
CN104504803A (en) Cash distribution method and device and financial self-service device
US20190325512A1 (en) Using a Distributed Ledger for Tracking Debt Data
Jahan et al. The financial inclusion landscape in the Asia-Pacific region: A dozen key findings
CN109815122A (en) Test data generating method, device, electronic equipment and storage medium
CN105956122A (en) Object attribute determining method and device
CA2677147A1 (en) Cross-platform data processing
CN101794429A (en) Method and system for sharing guarantee data based on dynamic bill pool
CN108614864A (en) Bank transaction information processing method and processing device
CN107492215A (en) The method and ATM terminals of banknote are shared in ATM
CN111738709A (en) Transaction processing method and device
KR101766678B1 (en) Payment assistive apparatus and method considering the fixed expenses
CN104809646A (en) Financial self-service business handling method and system
CN102183923B (en) Computer related event executing control method and system
CN106157141A (en) Numerical Methods and device
CN107943988B (en) Data splicing method and device
CN115358739A (en) Information processing method and device
CN112261018B (en) Abnormal object detection method and device, storage medium and electronic device
Qubtia et al. A Re-Examination of the Empirical Evidence of Export Led Growth Hypothesis
Tambunlertchai et al. Fostering Private-Sector-Led Growth in the MENA Region: A New Role for the State
Sari et al. NEGATIVE IMPACT OF FINANCIAL TECHNOLOGY: A CASE STUDY OF ILLEGAL PEER TO PEER (P2P) LENDING" PINJOL"
CN113901112A (en) Data processing method and device, computer equipment and storage medium
CN117455287A (en) Card management method, device, equipment, storage medium and product
CN115375461A (en) Method, device, equipment and storage medium for instantiating product model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant